/* =========================================================================
   AQUA Restaurante — Reference mockup styles (v0.1)
   Brand: navy #0f2d54 + gold #c0a97f + white
   Type: Cormorant Garamond (display) + Inter (UI / body)
   ========================================================================= */

:root {
  --navy:   #2a2a2a;  /* primary — charcoal */
  --gold:   #9c8056;  /* accent — muted brass */
  --white:  #faf8f3;  /* surface — warm off-white */
  --ink:    #1f1f1f;
  --muted:  #6c6c6c;
  --line:   #e8e2d5;

  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1440px;
  --pad-x: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(42,42,42,0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wordmark strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.10em;
  color: var(--navy);
}
.brand-wordmark em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--navy);
  opacity: 0.7;
  margin-top: 4px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.site-nav a {
  color: var(--navy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
}

/* ---------- CTA BUTTONS ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.cta:active { transform: translateY(1px); }

.cta--gold {
  background: var(--gold);
  color: var(--navy);
}
.cta--gold:hover {
  background: var(--navy);
  color: var(--white);
}

.cta--solid {
  background: var(--navy);
  color: var(--white);
  padding: 18px 32px;
}
.cta--solid:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 var(--pad-x);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.0) 80%),
    linear-gradient(180deg, rgba(15,45,84,0.05) 0%, rgba(42,42,42,0.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 120px 0 60px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  color: var(--navy);
  text-transform: uppercase;
  margin: 0 0 28px;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 36px;
  max-width: 480px;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

/* ---------- PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pillar__media-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pillar__media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.pillar__media-link:hover img { transform: scale(1.04); }

.pillar__body {
  padding: 28px 28px 36px;
}
.pillar h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 36ch;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 6px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transition: transform .25s ease;
}
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover::after { transform: scaleX(1.05); }

/* ---------- LANG SWITCH (anchor variant) ---------- */
a.lang-switch {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  padding: 8px 6px;
}
a.lang-switch .lang-other { opacity: 0.55; transition: opacity .2s ease; }
a.lang-switch:hover .lang-other { opacity: 1; color: var(--gold); }

/* ---------- GENERIC SECTION ---------- */
.section {
  padding: clamp(60px, 8vw, 120px) var(--pad-x);
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 24px;
}
.section p { color: var(--ink); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
}
.eyebrow.centered { padding-left: 0; }
.eyebrow.centered::before { display: none; }
.centered { text-align: center; }
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto 48px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* ---------- ABOUT ---------- */
.about__copy h2 { max-width: 12ch; }
.about__copy p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 0 18px;
}
.about__media img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(42,42,42,0.12);
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- CARTA / MENUS ---------- */
.menus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
.menu-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  border-radius: 4px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.menu-card:hover { box-shadow: 0 18px 40px rgba(42,42,42,0.10); transform: translateY(-2px); }
.menu-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #f0ebe0 0%, #faf8f3 60%);
}
.menu-card header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.menu-card__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  font-weight: 500;
}
.menu-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0;
  letter-spacing: 0.01em;
}
.menu-card__price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}
.menu-card ul {
  margin: 0; padding: 0; list-style: none;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}
.menu-card li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(42,42,42,0.08);
}
.menu-card li:last-child { border-bottom: 0; }

.extras {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin: 24px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.extras__item {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.extras__item span { color: var(--muted); font-size: 14px; }
.extras__item b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
}
.footnote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 24px;
}

/* ---------- VINOS ---------- */
.section--vinos {
  background: #f0ebe0;  /* warmer surface for vinos/contact */
}
.wine-highlights {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wine-highlights li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.wine-highlights b {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
}
.wine-highlights span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- EVENTOS ---------- */
.section--eventos {
  background: var(--navy);
  color: var(--white);
}
.section--eventos h2, .section--eventos .eyebrow {
  color: var(--white);
}
.section--eventos .eyebrow { color: var(--gold); }
.section--eventos .lead { color: rgba(255,255,255,0.7); }
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.event-card {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-image: linear-gradient(180deg, rgba(42,42,42,0.0) 40%, rgba(42,42,42,0.80) 100%), url('assets/section-restaurante.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: transform .3s ease;
}
.event-card:nth-child(2) { background-image: linear-gradient(180deg, rgba(42,42,42,0.0) 40%, rgba(42,42,42,0.80) 100%), url('assets/section-reservas.jpg'); }
.event-card:nth-child(3) { background-image: linear-gradient(180deg, rgba(42,42,42,0.0) 40%, rgba(42,42,42,0.80) 100%), url('assets/section-carta.jpg'); }
.event-card:nth-child(4) { background-image: linear-gradient(180deg, rgba(42,42,42,0.0) 40%, rgba(42,42,42,0.80) 100%), url('assets/hero-poster.jpg'); }
.event-card:hover { transform: translateY(-4px); }

/* ---------- GALERÍA ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 48px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- RESERVAS (DARK) ---------- */
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2, .light { color: var(--white) !important; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .lead { color: rgba(255,255,255,0.75); }
.link-light { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.link-light:hover { color: var(--white); }

.reservation-iframe {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  max-width: 880px;
  margin: 32px auto 0;
  box-shadow: 0 24px 56px rgba(0,0,0,0.25);
}
.reservation-iframe iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
}

/* ---------- UBICACIÓN ---------- */
.section--location .hours {
  background: #f0ebe0;  /* warmer surface for vinos/contact */
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
}
.map-embed {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42,42,42,0.12);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* ---------- CONTACTO ---------- */
.section--contact {
  background: #f0ebe0;  /* warmer surface for vinos/contact */
}
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list b {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-list a { color: var(--navy); font-weight: 500; }
.contact-list a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(42,42,42,0.08);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font: 400 15px/1.5 var(--font-body);
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  border-radius: 4px;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .cta--solid { background: var(--navy); color: var(--white); border: 0; align-self: flex-start; padding: 16px 28px; }
.contact-form .cta--solid:hover { background: var(--gold); color: var(--navy); }
.form-privacy { font-size: 12px; color: var(--muted); margin: 0; }
.form-privacy a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--pad-x) 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand .footer-mark {
  width: 56px; height: 56px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.footer__tag {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  margin: 0;
  max-width: 22ch;
  line-height: 1.4;
}
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--gold); }
.footer__contact p { font-size: 14px; line-height: 1.7; margin: 0 0 12px; color: rgba(255,255,255,0.75); }
.footer__contact a { color: rgba(255,255,255,0.75); }
.footer__contact a:hover { color: var(--gold); }

.social-links {
  display: flex; gap: 12px;
}
.social-links a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-links a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px var(--pad-x);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer__legal a { color: rgba(255,255,255,0.5); text-decoration: none; margin-right: 4px; }
.footer__legal a:hover { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .site-header { grid-template-columns: auto auto; gap: 12px; }
  .site-nav { display: none; }
  .hero__content { padding: 140px 0 60px; }
  .pillars { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }
  .menus { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .wine-highlights { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .reservation-iframe iframe { min-height: 600px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
  .extras { gap: 24px; flex-direction: column; align-items: center; }
}
