/* ==========================================================================
   InFlow Cocktail Catering — Design tokens
   Palette: #0B4D5D (petróleo), #0F6478 (petróleo claro), #E7A80B (dorado),
            #E38200 (naranja), #FFEACB (crema), #FFF8ED (crema claro)
   Type: "Fraunces" (display, wonky optical sizing) + "Manrope" (body/UI)
   Signature: wave divider echoing the wave-in-glass mark of the logo
   ========================================================================== */

:root {
  --teal-900: #0a3f4d;
  --teal-800: #0b4d5d;
  --teal-700: #0f6478;
  --teal-100: #d7e9ec;
  --gold-600: #c98f09;
  --gold-500: #e7a80b;
  --gold-300: #f4cc63;
  --orange-600: #e38200;
  --cream-100: #fff8ed;
  --cream-200: #ffeacb;
  --cream-300: #ffdfa8;
  --ink: #1c2b2e;
  --ink-soft: #3c4d51;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -25px rgba(11, 61, 74, 0.45);
  --shadow-card: 0 12px 30px -18px rgba(11, 61, 74, 0.35);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-100);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-800);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

h1 { font-weight: 600; }
h2 { font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-600);
  display: inline-block;
}

.section-padding { padding: 88px 0; }
@media (max-width: 720px) {
  .section-padding { padding: 60px 0; }
}

.section-heading { max-width: 620px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { font-size: 1.05rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-800);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  min-height: 48px;
}
.btn:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--teal-900);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-300); }

.btn-outline {
  background: transparent;
  border-color: var(--teal-800);
  color: var(--teal-800);
}
.btn-outline:hover { background: var(--teal-800); color: var(--white); }

.btn-outline.on-dark {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline.on-dark:hover { background: var(--white); color: var(--teal-900); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream-200);
  border-bottom: 1px solid rgba(11, 77, 93, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 104px;
  width: 104px;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px) {
  .brand img { height: 76px; width: 76px; }
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.96rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--teal-800); border-color: var(--orange-600); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--teal-800);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; left: 0; }
.nav-toggle span::after { position: absolute; top: 8px; left: 0; }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--cream-100);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 20px 0;
  }
  .main-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 4px; padding: 0 24px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  color: var(--white);
  padding: 96px 0 0;
  text-align: center;
}

/* Background photo: atmosphere, heavily veiled so the copy always wins */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* soft scrim behind the copy column, so white type stays legible over bright sky */
    radial-gradient(80% 62% at 50% 42%, rgba(8,50,62,0.60) 0%, rgba(8,50,62,0.34) 62%, rgba(8,50,62,0.10) 100%),
    /* vertical shaping: darker at the top (sky), lightest over the crowd and bar */
    linear-gradient(180deg, rgba(8,50,62,0.66) 0%, rgba(8,50,62,0.42) 30%, rgba(8,50,62,0.16) 62%, rgba(10,63,77,0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  padding-bottom: 40px;
  text-shadow: 0 1px 2px rgba(6, 38, 47, 0.55), 0 2px 24px rgba(6, 38, 47, 0.75);
}

/* Logo as the opening statement */
.hero-logo {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream-200);
  padding: 12px;
  box-shadow: 0 18px 45px -18px rgba(0,0,0,0.55);
  margin-bottom: 26px;
}

.hero h1 {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Brand name — the largest type on the page */
.hero-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Location line — small caps, gold, framed by hairlines */
.hero-place {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.74rem, 1.5vw, 0.9rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}
.hero-place::before,
.hero-place::after {
  content: "";
  flex: 1 0 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* Tagline — smaller than the brand, sets the promise */
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  color: var(--cream-200);
  margin: 0 0 18px;
  max-width: 22ch;
}

.hero .lead {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  max-width: 60ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 34px 0 14px;
  text-shadow: none;
}

.hero-reassure {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  margin: 0;
}
.hero-note svg { flex-shrink: 0; }

.hero-wave { display: block; width: 100%; height: auto; position: relative; z-index: 1; margin-top: 56px; }

@media (max-width: 720px) {
  .hero { padding-top: 64px; }
  .hero-logo { width: 124px; height: 124px; padding: 9px; margin-bottom: 20px; }
  .hero-tagline { max-width: 100%; }
  .hero-place { letter-spacing: 0.14em; gap: 10px; }
  .hero-wave { margin-top: 40px; }
}

/* ==========================================================================
   Info strip
   ========================================================================== */
.info-strip {
  background: var(--cream-200);
  padding: 40px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.info-item h3 { font-size: 1rem; margin-bottom: 2px; font-family: var(--font-body); font-weight: 700; color: var(--teal-800); }
.info-item p { font-size: 0.92rem; margin: 0; }

@media (max-width: 940px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Wave divider (signature element)
   ========================================================================== */
.wave-divider { display: block; width: 100%; height: auto; line-height: 0; }
.wave-divider.flip { transform: scaleY(-1); }

/* ==========================================================================
   Nosotros
   ========================================================================== */
/* ==========================================================================
   Nosotros
   ========================================================================== */
.about { background: var(--cream-100); }

.values-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.values-list li {
  background: var(--cream-200);
  color: var(--teal-800);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ==========================================================================
   Partners / prueba social
   ========================================================================== */
.partners {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(11,77,93,0.14);
  text-align: center;
}
.partners-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.partners-list li {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--teal-800);
  opacity: 0.85;
}

.partners-note {
  margin: 18px auto 0;
  max-width: 62ch;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Feature panel — alternating full-bleed photo + copy (used in Nosotros & Servicios)
   ========================================================================== */
.feature-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid rgba(11,77,93,0.12);
}
.feature-panel:last-child { border-bottom: none; padding-bottom: 0; }
.feature-panel:first-of-type { padding-top: 0; }
.feature-panel.reverse { grid-template-columns: 0.85fr 1.15fr; }
.feature-panel.reverse .feature-media { order: 2; }
.feature-panel.reverse .feature-copy { order: 1; }

.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-copy h3 { font-size: 1.6rem; margin-bottom: 14px; }
.feature-copy p { font-size: 1.02rem; }
.feature-fit {
  font-weight: 700;
  color: var(--teal-700);
  border-left: 3px solid var(--gold-500);
  padding-left: 14px;
  margin-bottom: 0;
}
.feature-panel.on-dark .feature-copy p.feature-fit { color: var(--gold-300); }

.section-cta {
  text-align: center;
  margin: 48px 0 0;
}
.feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-500);
  margin-bottom: 8px;
}

.feature-panel.on-dark { border-bottom-color: rgba(255,255,255,0.14); }
.feature-panel.on-dark .feature-copy h3 { color: var(--white); }
.feature-panel.on-dark .feature-copy p { color: rgba(255,255,255,0.78); }

@media (max-width: 860px) {
  .feature-panel,
  .feature-panel.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 0;
  }
  .feature-panel.reverse .feature-media,
  .feature-panel.reverse .feature-copy { order: initial; }
  .feature-media { aspect-ratio: 4/3; }
}

/* ==========================================================================
   Servicios (section wrapper)
   ========================================================================== */
.services { background: var(--teal-900); color: var(--white); }
.services .section-heading h2 { color: var(--white); }
.services .section-heading p { color: rgba(255,255,255,0.75); }
.services .eyebrow { color: var(--gold-300); }
.services .eyebrow::before { background: var(--gold-300); }

/* ==========================================================================
   Cócteles
   ========================================================================== */
.cocktails { background: var(--cream-100); }
.cocktail-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.cocktail-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cocktail-card .photo { aspect-ratio: 3/4; overflow: hidden; }
.cocktail-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.cocktail-card .info { padding: 16px 18px 20px; }
.cocktail-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.cocktail-card p { font-size: 0.88rem; margin: 0; color: var(--ink-soft); }

.cocktail-footnote {
  margin-top: 28px;
  background: var(--cream-200);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cocktail-footnote svg { flex-shrink: 0; color: var(--orange-600); margin-top: 3px; }
.cocktail-footnote p { margin: 0; color: var(--ink); font-weight: 600; font-size: 0.96rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--cream-200); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(11,77,93,0.18);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--teal-800);
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--teal-800);
}
.faq-item summary .plus::before { width: 12px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 12px; transition: transform 0.2s ease; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p { margin: 14px 0 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--gold-500), var(--orange-600));
  color: var(--teal-900);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 56px 0;
}
.cta-band h2 { color: var(--teal-900); margin-bottom: 6px; }
.cta-band p { color: rgba(11,63,77,0.85); margin: 0; }
.cta-band .btn-primary { background: var(--teal-900); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--teal-700); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--cream-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-steps {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.contact-steps li span {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--teal-900);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
}

.form-field label .opt {
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--cream-200);
  color: var(--teal-800);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info address { font-style: normal; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-detail .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--cream-200);
  color: var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail h3 { font-family: var(--font-body); font-size: 0.98rem; margin-bottom: 2px; color: var(--teal-800); }
.contact-detail p, .contact-detail a { margin: 0; text-decoration: none; color: var(--ink-soft); font-size: 0.96rem; }
.contact-detail a:hover { color: var(--orange-600); }

.contact-social { display: flex; gap: 12px; margin-top: 8px; }
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-800);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--teal-800);
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-social a:hover { background: var(--teal-800); color: var(--white); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal-800);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11,77,93,0.25);
  background: var(--cream-100);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px rgba(227,130,0,0.18);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.75);
  padding-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 34px;
}
.footer-brand { display: flex; align-items: center; margin-bottom: 18px; }
.footer-brand img {
  height: 128px;
  width: 128px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
  background: var(--cream-200);
  padding: 8px;
}
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   Paginas legales
   ========================================================================== */
.legal { background: var(--cream-100); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 6px; }
.legal h2 {
  font-size: 1.22rem;
  margin-top: 40px;
  margin-bottom: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(11,77,93,0.14);
}
.legal p, .legal li { font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 20px; margin-bottom: 1em; }
.legal li { margin-bottom: 8px; color: var(--ink-soft); }
.legal a { color: var(--teal-700); text-decoration: underline; }
.legal a:hover { color: var(--orange-600); }
.legal-updated {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--teal-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: 0.6; }

/* Casilla de consentimiento del formulario */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.form-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal-800);
}
.form-consent label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.form-consent a { color: var(--teal-700); }

.footer-legal a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--gold-300); text-decoration: underline; }

.footer-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer-credit a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-credit a:hover { color: var(--gold-300); text-decoration: underline; }

/* Campo trampa antispam: invisible para personas, visible para bots */
.hidden-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.gracias-icono { color: var(--gold-500); margin-bottom: 8px; }
.gracias-icono svg { margin: 0 auto; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-500);
  margin-bottom: 0;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
