/* ==========================================================
   1. VARIABLES
   ========================================================== */

:root {
  --cream: #f5f0e7;
  --light: #fbfaf7;
  --green: #315845;
  --green2: #173d2a;
  --footer-bg: #112319;
  --ink: #171b18;
  --muted: #70766f;
  --white: #ffffff;
  --max: 1240px;
  --line: rgba(23, 61, 42, 0.16);
  --footer-line: rgba(255, 255, 255, 0.16);
}


/* ==========================================================
   2. RESET Y BASE
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  top: 16px;
  left: 16px;
  z-index: 99;
  padding: 12px;
  background: var(--white);
}


/* ==========================================================
   3. UTILIDADES
   ========================================================== */

.eyebrow,
.kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================
   4. CABECERA Y NAVEGACIÓN
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 102px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 231, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 285px);
}

.site-brand img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 1.8vw, 30px);
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--green2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green2);
  font-size: 23px;
  line-height: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-socials a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--green2);
  border-radius: 999px;
  background: none;
  color: var(--green2);
}


/* ==========================================================
   5. BOTONES
   ========================================================== */

.reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 25px;
  border-radius: 999px;
  background: var(--green2);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.reserve:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.reserve.compact {
  padding: 14px 19px;
  font-size: 11px;
}

.reserve.large {
  padding: 19px 30px;
  font-size: 13px;
}

.outline {
  display: inline-flex;
  padding: 15px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* ==========================================================
   6. HERO
   ========================================================== */

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 78px);
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}

.hero-logo {
  width: min(300px, 42vw);
  margin: 0 auto 26px;
}

.hero h1 {
  color: var(--green2);
  font-size: clamp(54px, 7vw, 104px);
  letter-spacing: -0.04em;
}

.hero .eyebrow {
  margin-top: 34px;
}

.down {
  position: absolute;
  bottom: 24px;
  left: 50%;
  color: var(--green);
  font-size: 28px;
  transform: translateX(-50%);
  animation: bob 2s infinite;
}

@keyframes bob {
  50% {
    transform: translate(-50%, 7px);
  }
}


/* ==========================================================
   7. BLOQUES DESTACADOS
   ========================================================== */

.question {
  display: flex;
  min-height: 78svh;
  align-items: center;
  padding: 100px max(7vw, 32px);
  background: var(--light);
}

.question h2 {
  color: var(--green2);
  font-size: clamp(56px, 8.3vw, 132px);
  letter-spacing: -0.05em;
}

.question .kicker {
  margin-bottom: 30px;
}

.photo-hero {
  position: relative;
  display: flex;
  min-height: 78svh;
  align-items: flex-end;
  padding: 8vw;
  background-position: center;
  background-size: cover;
}

.photo-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06),
    rgba(0, 0, 0, 0.58)
  );
}

.photo-copy {
  position: relative;
  max-width: 1000px;
  color: var(--white);
}

.photo-copy h2 {
  font-size: clamp(48px, 6.4vw, 96px);
}


/* ==========================================================
   8. SECCIONES Y LAYOUT
   ========================================================== */

.section {
  padding: 110px max(5vw, 24px);
}

.section.light {
  background: var(--light);
}

.section.dark {
  background: #17221c;
  color: var(--cream);
}

.section.cream {
  background: var(--cream);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 8vw;
  max-width: var(--max);
  margin: auto;
}

.two-col figure {
  margin: 0;
}

.two-col img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.copy h2,
.page-title h1,
.center-title h2 {
  margin: 22px 0 34px;
  color: var(--green2);
  font-size: clamp(44px, 5.3vw, 78px);
  letter-spacing: -0.035em;
}

.dark .copy h2 {
  color: var(--white);
}

.copy p,
.legal p,
.legal li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
}

.dark .copy p {
  color: #dfe4df;
}

.page-title {
  padding: 100px max(5vw, 24px) 65px;
  background: var(--cream);
  text-align: center;
}

.page-title p {
  max-width: 750px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.center-title {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
}


/* ==========================================================
   9. TARJETAS Y CAJAS
   ========================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: auto;
}

.card {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.card h3 {
  margin-bottom: 18px;
  color: var(--green2);
  font-size: 30px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.menu-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 40px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.menu-box h2 {
  margin-bottom: 24px;
  color: var(--green2);
  font-size: clamp(40px, 5vw, 70px);
}

.menu-box p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cta-band {
  padding: 100px 24px;
  background: var(--green2);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 35px;
  font-size: clamp(42px, 5vw, 72px);
}


/* ==========================================================
   10. GALERÍA
   ========================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 16px;
  max-width: var(--max);
  margin: auto;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
}

.gallery .tall {
  grid-row: span 2;
}

.gallery .wide {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}


/* ==========================================================
   11. CONTACTO
   ========================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: var(--max);
  margin: auto;
}

.contact-panel {
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.contact-panel h2 {
  margin-bottom: 28px;
  color: var(--green2);
  font-size: 44px;
}

.contact-panel p,
.contact-panel a {
  line-height: 1.8;
}

.contact-panel p {
  color: var(--muted);
}

.contact-panel strong {
  color: var(--green2);
}

.contact-panel iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
}

.map-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 40px;
  background: linear-gradient(135deg, #d8dece, #aebba9);
  text-align: center;
}

.map-placeholder strong {
  color: var(--green2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}


/* ==========================================================
   12. TEXTOS LEGALES
   ========================================================== */

.legal {
  max-width: 900px;
  margin: auto;
}

.legal h2 {
  margin: 45px 0 15px;
  color: var(--green2);
  font-size: 34px;
}

.legal p,
.legal li {
  font-size: 18px;
}


/* ==========================================================
   13. REDES SOCIALES
   ========================================================== */

.social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green2);
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.social-icons a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.social-icons svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: currentColor;
}


/* ==========================================================
   14. FOOTER UNIFICADO
   ========================================================== */

.site-footer {
  padding: 68px max(5vw, 25px) 30px;
  background: #eee9df;
  color: var(--green2);
  font-size: 15px;
  line-height: 1.7;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(270px, 1.15fr) minmax(250px, 0.9fr) minmax(250px, 0.9fr);
  gap: clamp(42px, 7vw, 110px);
  max-width: 1420px;
  margin: 0 auto;
}

.footer-main > * {
  min-width: 0;
}

.site-footer h3 {
  margin: 0 0 20px;
  color: var(--green2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 12px;
  color: rgba(23, 61, 42, 0.82);
}

.site-footer strong {
  color: var(--green2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.25vw, 23px);
  font-weight: 400;
  line-height: 1.25;
}

.site-footer a {
  color: rgba(23, 61, 42, 0.84);
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-footer a:hover {
  color: var(--green2);
}

.footer-brand-block {
  align-self: start;
  padding-top: 18px;
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.footer-logo,
.footer-mark {
  width: min(100%, 330px);
  height: auto;
  margin: 0 0 24px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.footer-claim {
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width: 260px;
  margin: 8px auto 0;
  color: rgba(23, 61, 42, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.3;
  text-align: center;
  transform: none;
}

.footer-claim span {
  color: rgba(23, 61, 42, 0.74);
  font-size: 1.06em;
}

.footer-column {
  padding-top: 8px;
}

.footer-phone {
  display: inline-block;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top: 7px;
  font-size: 18px;
}

.footer-hours p {
  margin-bottom: 16px;
}

.footer-hours p + p {
  margin-top: 18px;
}

.site-footer .social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.site-footer .social-icons a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 61, 42, 0.22);
  border-radius: 50%;
  color: var(--green2);
}

.site-footer .social-icons a:hover {
  border-color: var(--green2);
  opacity: 1;
  transform: translateY(-2px);
}

.site-footer .social-icons i {
  font-size: 21px;
  line-height: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 30px;
  max-width: 1420px;
  margin: 62px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(23, 61, 42, 0.2);
  color: rgba(23, 61, 42, 0.64);
  font-size: 13px;
}

.footer-legal p {
  margin: 0;
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-legal a,
.footer-links a {
  display: inline-block;
  color: rgba(23, 61, 42, 0.72);
}


/* ==========================================================
   15. RESPONSIVE
   ========================================================== */

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(150px, 210px) auto 1fr;
    gap: 14px;
    min-height: 82px;
    padding: 10px 16px;
  }

  .site-brand {
    width: min(100%, 210px);
  }

  .site-brand img {
    height: 62px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    gap: 12px;
  }

  .header-socials {
    gap: 11px;
  }

  .header-socials a {
    font-size: 20px;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--light);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .reserve.compact {
    padding: 12px 14px;
    font-size: 10px;
    white-space: nowrap;
  }

  .hero-logo {
    width: 190px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .question {
    padding: 90px 22px;
  }

  .question h2 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .photo-hero {
    min-height: 72svh;
    padding: 30px 22px 55px;
  }

  .photo-copy h2 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .section {
    padding: 80px 22px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .two-col img {
    height: 500px;
  }

  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 430px;
  }

  .gallery .tall,
  .gallery .wide {
    grid-row: auto;
    grid-column: auto;
  }

  .page-title {
    padding-top: 70px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 42px 50px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-logo,
  .footer-mark {
    width: min(100%, 280px);
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(135px, 180px) auto auto;
  }

  .site-brand {
    width: min(100%, 180px);
  }

  .site-brand img {
    height: 56px;
  }

  .header-socials {
    display: none;
  }

  .reserve.compact {
    padding: 11px 12px;
    font-size: 9px;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 48px 22px 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-column {
    padding-top: 0;
  }

  .footer-logo,
  .footer-mark {
    width: min(100%, 260px);
  }

  .footer-claim {
    max-width: 260px;
    transform: none;
  }

  .footer-legal {
    margin-top: 38px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .contact-panel {
    padding: 28px;
  }

  .two-col img {
    height: 420px;
  }

  .gallery {
    grid-auto-rows: 360px;
  }
}


/* ==========================================================
   16. ACCESIBILIDAD
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
