/* ============================================================
   ÉLISE & CO. · WEDDING PLANNER · STYLES.CSS
   Paleta: crema cálido, nude, dorado suave, verde salvia
   ============================================================ */

:root {
  --cream:   #faf6f1;
  --nude:    #e8ddd3;
  --gold:    #c9a96e;
  --gold-lt: #e8d5b0;
  --sage:    #8a9e8a;
  --dark:    #2c2520;
  --mid:     #6b5c52;
  --light:   #f5ede4;
  --white:   #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --transition: 0.35s ease;
  --shadow: 0 4px 30px rgba(44,37,32,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.5rem; font-weight: 400; }
em { font-style: italic; color: var(--gold); }
p  { color: var(--mid); }
a  { text-decoration: none; color: inherit; }

.center { text-align: center; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }
.btn-primary.light { background: var(--white); color: var(--dark); }
.btn-primary.light:hover { background: var(--gold-lt); }

.btn-outline {
  display: inline-block;
  width: auto;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5%;
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nude);
  transition: padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { padding: 0.9rem 5%; box-shadow: var(--shadow); }

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.05em;
}
.logo span { 
  color: var(--gold); 
 vertical-align: middle;
}
/* .logo img { height: 40px; width: auto; } */
.logo img {
  width: 120px; 
  height: auto;
  vertical-align: middle;
 }
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover, .nav-cta.active {
  background: var(--gold);
  color: var(--white) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
}
.mobile-menu a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 5%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(138,158,138,0.10) 0%, transparent 50%),
    var(--cream);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: fadeUp 1s ease forwards;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-content h1 { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

/* ── INTRO STRIP ── */
.intro-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--dark);
  padding: 3rem 5%;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 4rem;
}
.strip-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.strip-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nude);
  margin-top: 0.4rem;
}
.strip-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ── SECTION EYEBROW ── */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ── ABOUT TEASER ── */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  margin: 6rem 0;
}
.about-img-wrap {
  background: var(--nude);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 3rem;
  color: var(--mid);
}
.about-img-placeholder p { font-size: 0.85rem; letter-spacing: 0.1em; }
.about-img-placeholder img {
  width: 400px;
  height: auto;
  object-fit: cover;
}
.about-text {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.about-text h2 { margin-bottom: 0.5rem; }
.about-text p { max-width: 480px; }
.about-text .btn-outline { width: fit-content; }

/* ── SERVICES TEASER ── */
.services-teaser {
  padding: 6rem 5%;
  background: var(--light);
}
.services-teaser h2 { margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.8rem; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; }

/* ── TESTIMONIAL ── */
.testimonial-section {
  padding: 7rem 5%;
  background: var(--dark);
  text-align: center;
}
.testimonial-inner { max-width: 700px; margin: 0 auto; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 2rem;
  opacity: 0.6;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--nude);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
cite {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}
/* Mostrar enlaces dentro de testimonios */
.testimonial-section p a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 7rem 5%;
  background: var(--sage);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 10rem 5% 5rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--cream) 100%);
  text-align: center;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── SERVICES FULL ── */
.services-full { padding: 4rem 5% 6rem; max-width: 1100px; margin: 0 auto; }

.service-full-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3rem;
  padding: 3.5rem;
  background: var(--light);
  border: 1px solid var(--nude);
  border-radius: 12px;
  margin-bottom: 2rem;
  align-items: start;
}
.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }
.sfc-icon { font-size: 3rem; padding-top: 0.5rem; }
.sfc-content h2 { margin-bottom: 1rem; }
.sfc-content p  { margin-bottom: 1.5rem; }

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}
.service-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--mid);
  font-size: 0.9rem;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── GALLERY ── */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem 5%;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.55rem 1.6rem;
  background: none;
  border: 1px solid var(--nude);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--mid);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 180px;
  gap: 0.5rem;
  padding: 1.5rem 2rem 4rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--nude);
  border-radius: 8px;
}
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--nude);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.05); }

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
  background: var(--white);
}
.gallery-item:hover .gallery-image { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.35));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: none;
}

/* Slight variation for a harmonious mosaic */
.gallery-grid .gallery-item:nth-child(7n+1) { grid-row: span 2; grid-column: span 2; }
.gallery-grid .gallery-item:nth-child(7n+4) { grid-row: span 2; }

/* Compact gallery used on contacto.html */
.contact-gallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 0.25rem;
  padding: 1rem 0 1.5rem;
}
.contact-gallery .gallery-item { background: transparent; }
.contact-gallery .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44,37,32,0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}
.lightbox-content {
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.lightbox-content img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── BIO SECTION ── */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  max-width: 1200px;
  margin: 4rem auto 6rem;
  padding: 0 5%;
  align-items: start;
}
.bio-img-wrap { position: relative; }
.bio-img-placeholder {
  background: var(--nude);
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  gap: 0.5rem;
  color: var(--mid);
  overflow: hidden;
}
.bio-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bio-img-placeholder p { font-size: 0.85rem; }
.bio-img-deco {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold-lt);
  z-index: -1;
}

.bio-text-col { padding-left: 5rem; }
.bio-text-col h2 { margin-bottom: 1.5rem; }
.bio-text-col p  { margin-bottom: 1rem; max-width: 520px; }

.bio-values { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.bio-value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bio-value-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.2rem; }
.bio-value strong { display: block; color: var(--dark); font-weight: 400; margin-bottom: 0.2rem; }
.bio-value p { font-size: 0.9rem; margin: 0; }

/* ── TIMELINE ── */
.timeline-section { padding: 5rem 5% 6rem; background: var(--light); }
.timeline-section h2 { margin-bottom: 3.5rem; }

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5.5rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--gold-lt);
}
.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.5rem;
  padding: 0 0 2.5rem 0;
  align-items: start;
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: 0.2rem;
  text-align: right;
}
.timeline-content { padding-left: 2rem; }
.timeline-content h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.92rem; }

/* ── CONTACT ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 4rem auto 6rem;
  padding: 0 5%;
  align-items: start;
}

.contact-info h2 { margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--dark); font-weight: 400; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-item p { font-size: 0.95rem; }
.contact-item small { font-size: 0.8rem; color: var(--gold); }

.contact-social {
  margin-top: 2rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.social-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 1px solid var(--nude);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.social-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── FORM ── */
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.form-intro { font-size: 0.9rem; color: var(--mid); margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

input, select, textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--nude);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
  appearance: auto;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
}
textarea { resize: vertical; }

.form-check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.7rem;
}
.form-check input { width: auto; }
.form-check input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  accent-color: var(--gold);
}

/* Target the explicit checkbox used for marketing consent and force visibility in production */
.visible-checkbox {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2 !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  background: var(--white) !important;
  border: 1px solid var(--nude) !important;
  accent-color: var(--gold) !important;
  pointer-events: auto !important;
}

/* In case a host stylesheet hides inputs via ::-webkit-appearance none on checkboxes */
.visible-checkbox::-webkit-checkbox {
  -webkit-appearance: checkbox !important;
}

/* Consent toggle fallback */
.consent-toggle {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--nude);
  background: var(--white);
  color: var(--mid);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.consent-toggle[aria-pressed="true"] {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.consent-toggle:focus { outline: 3px solid rgba(201,169,110,0.18); }
.form-check label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  color: var(--mid) !important;
  cursor: pointer !important;
}
.form-check a { color: var(--gold); }

/* Enlace destacado para información de protección de datos */
.data-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.data-link:hover { color: var(--dark); }

.form-submit { width: 100%; text-align: center; margin-top: 0.5rem; }

.form-success {
  text-align: center;
  padding: 4rem 2rem;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 2rem; margin-bottom: 1rem; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 4rem 5% 2.5rem;
}
.footer .logo { font-size: 1.8rem; color: var(--nude); margin-bottom: 0.5rem; display: block; }
.footer > p { color: rgba(255,255,255,0.4); font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 2rem; }
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ── MODAL LEGAL ── */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 37, 32, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.legal-modal.open {
  display: flex;
}

.legal-modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 700px;
  max-height: 90vh;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(44, 37, 32, 0.2);
  animation: slideUp 0.4s ease;
}

.legal-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--mid);
  transition: color var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-modal-close:hover {
  color: var(--gold);
}

.legal-modal-scroll {
  overflow-y: auto;
  max-height: calc(90vh - 150px);
  padding-right: 1rem;
}

.legal-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.legal-modal-scroll::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 3px;
}

.legal-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.legal-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--mid);
}

.legal-modal-content h2 {
  margin-bottom: 1.5rem;
  color: var(--dark);
  font-size: 1.8rem;
}

.legal-modal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.2rem;
}

.legal-modal-content p {
  margin-bottom: 1rem;
  color: var(--mid);
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal-modal-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-modal-content li {
  margin-bottom: 0.8rem;
  color: var(--mid);
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal-modal-content strong {
  color: var(--dark);
}

.legal-modal-content a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-modal-content a:hover {
  color: var(--dark);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .legal-modal {
    padding: 1rem;
  }

  .legal-modal-content {
    max-width: 95vw;
    padding: 2rem;
    max-height: 95vh;
  }

  .legal-modal-close {
    top: 1rem;
    right: 1rem;
  }

  .legal-modal-scroll {
    max-height: calc(95vh - 120px);
  }
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .about-teaser,
  .bio-section,
  .contact-section { grid-template-columns: 1fr; }

  .about-text { padding: 3rem 5%; }
  .bio-text-col { padding-left: 0; padding-top: 2rem; }
  .bio-img-deco { display: none; }

  .services-grid { grid-template-columns: 1fr; max-width: 400px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    padding: 0.5rem 1rem 3rem;
  }
  .gallery-item.wide { grid-column: span 1; }

  .service-full-card { grid-template-columns: 1fr; }
  .service-full-card.reverse { direction: ltr; }
  .sfc-icon { font-size: 2.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .strip-item { padding: 1rem 2rem; }
  .strip-divider { height: 1px; width: 80px; }

  .timeline::before { left: 4rem; }
  .timeline-item { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; }
}
