/* Cofradía Las Aguas — refuerzo sobre theme-beige */

:root {
  --cof-ink: #1c1917;
  --cof-muted: #6b635b;
  --cof-sand: #f3ebe2;
  --cof-sea: #1e4d5c;
  --cof-gold: #b0893d;
}

body {
  color: var(--cof-ink);
}

#header.light,
#header-mobile.light {
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.06);
}

#header .module-logo img,
#header-mobile .module-logo img {
  max-height: 72px;
  width: auto;
  height: auto;
}

#nav-main > li > a {
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.cof-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.cof-hero .bg-image,
.cof-hero .bg-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cof-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 22, 0.72) 0%, rgba(12, 18, 22, 0.35) 55%, rgba(12, 18, 22, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 18, 22, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.cof-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.cof-brand {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
}

.cof-hero h1 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.cof-hero .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.cof-hero .cof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cof-hero .btn-outline-primary,
.section-main .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.cof-hero .btn-outline-primary:hover,
.section-main .btn-outline-primary:hover {
  background: #fff;
  color: var(--cof-ink);
}

.section-main.section-main-2.cof-slider {
  min-height: 72vh;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
}

.section-main.section-main-2.cof-slider .section-slider,
.section-main.section-main-2.cof-slider .slick-list,
.section-main.section-main-2.cof-slider .slick-track {
  height: 100%;
  min-height: inherit;
}

.section-main.section-main-2 .slide {
  min-height: 72vh;
  position: relative;
}

.section-main.section-main-2 .bg-image {
  position: absolute;
  inset: 0;
}

.section-main.section-main-2 .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-main.section-main-2 .bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 22, 0.25) 0%, rgba(12, 18, 22, 0.55) 55%, rgba(12, 18, 22, 0.78) 100%);
}

.section-main.section-main-2 .container {
  position: relative;
  z-index: 2;
}

.section-main.section-main-2 h1 {
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.cof-slider-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 36ch;
  margin: 0;
}

.cof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cof-actions .btn {
  min-width: 10.5rem;
}

.section .display-2 {
  letter-spacing: -0.02em;
}

.cof-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.feature-1 + .feature-1 {
  margin-top: 1.25rem;
}

.special-offer-content h5 {
  color: var(--cof-sea) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.menu-sample .title {
  letter-spacing: 0.06em;
}

.restaurant-guru-award-wrap {
  display: flex;
  justify-content: center;
  margin: 2rem 0 2.5rem;
  padding: 0 1rem;
}

.restaurant-guru-award-wrap #b-gold .b-gold_r-link,
.restaurant-guru-award-wrap #b-gold .b-gold_center,
.restaurant-guru-award-wrap #b-gold .b-gold_year {
  box-sizing: content-box;
}

#footer {
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  padding-top: 2.5rem;
}

#footer .cof-footer-brand {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#footer .cof-footer-meta {
  color: var(--cof-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

#footer .cof-footer-legal a {
  color: var(--cof-muted);
  font-size: 0.8rem;
  margin-right: 0.75rem;
}

#footer .cof-footer-legal a:hover {
  color: var(--cof-sea);
}

.mi-imagen-abajo-derecha {
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 99;
}

/* No romper el badge / iconos con reglas globales agresivas */
#b-gold,
#b-gold * {
  max-height: none;
}

@media (max-width: 767.98px) {
  .cof-hero,
  .section-main.section-main-2.cof-slider,
  .section-main.section-main-2 .slide {
    min-height: 58vh;
  }

  .section-main.section-main-2.cof-slider .cof-slider-content,
  .cof-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 58vh;
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .cof-hero h1,
  .section-main.section-main-2 h1 {
    font-size: 1.85rem;
    max-width: 14ch;
    margin-bottom: 0.65rem !important;
  }

  .cof-slider-lead,
  .cof-hero .lead {
    font-size: 0.98rem;
    margin-bottom: 1.25rem !important;
  }

  .cof-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    gap: 0.6rem;
  }

  .cof-actions .btn {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .cof-brand {
    display: none;
  }

  .restaurant-guru-award-wrap {
    margin: 1.25rem 0 1.75rem;
  }
}
