/* ═══════════════════════════════════════════
   SILVIA ARROYO · Design System
   Paleta: #e67f7d (coral) · #0680a7 (azul)
═══════════════════════════════════════════ */

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

:root {
  --coral:      #e67f7d;
  --coral-dark: #d16a68;
  --coral-soft: rgba(230,127,125,0.1);
  --blue:       #0680a7;
  --blue-dark:  #056690;
  --blue-soft:  rgba(6,128,167,0.1);
  --ink:        #1c1c1e;
  --ink-soft:   #4a4a4f;
  --muted:      #8e8e93;
  --light:      #f7f5f2;
  --white:      #ffffff;
  --border:     rgba(28,28,30,0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito Sans', sans-serif;

  --header-h: 76px;
  --radius:   3px;
  --shadow:   0 4px 30px rgba(28,28,30,0.08);
  --shadow-lg:0 12px 60px rgba(28,28,30,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(28,28,30,0.08); }

.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex; align-items: center; gap: .85rem;
  flex-shrink: 0;
}
.logo-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  color: var(--ink); letter-spacing: .3px;
}
.logo-sub {
  font-size: .6rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: .2rem; }
.nav-link {
  padding: .45rem .85rem;
  font-size: .78rem; letter-spacing: .5px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: .85rem; right: .85rem;
  height: 1.5px; background: var(--coral);
  transform: scaleX(0); transition: transform .25s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.nav-cta {
  background: var(--coral); color: #fff !important;
  padding: .5rem 1.2rem; margin-left: .5rem;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--coral-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .3rem;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink); display: block;
  transition: transform .3s, opacity .3s;
}

/* ── MAIN CONTENT OFFSET ── */
.page-body { padding-top: var(--header-h); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1240px; margin: 0 auto;
  padding: 4rem 2rem;
  gap: 4rem;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--blue);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 500; line-height: 1.1;
  color: var(--ink); margin-bottom: 1.5rem;
  letter-spacing: -.5px;
}
.hero h1 em { font-style: italic; color: var(--coral); }

.hero-desc {
  font-size: 1rem; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body); font-size: .78rem;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all .25s;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230,127,125,.35); }
.btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-blob {
  width: 100%; max-width: 480px; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--coral-soft) 0%, var(--blue-soft) 100%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: blob-morph 8s ease-in-out infinite;
}
@keyframes blob-morph {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
  66%      { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}
.hero-blob-inner {
  text-align: center; padding: 3rem;
}
.hero-stat {
  margin-bottom: 1.5rem;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat .label {
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-top: .3rem;
}

/* ── SECTIONS ── */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-alt { background: var(--light); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-size: .62rem; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 1rem; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500; color: var(--ink);
  line-height: 1.2; letter-spacing: -.3px;
}
.section-title em { font-style: italic; color: var(--blue); }
.section-lead {
  font-size: .95rem; color: var(--ink-soft); line-height: 1.75;
  max-width: 580px; margin: 1rem auto 0;
}

/* ── VALORES ── */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.valor-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--coral);
  transition: transform .25s, box-shadow .25s;
  background: var(--white);
}
.valor-card:nth-child(2) { border-top-color: var(--blue); }
.valor-card:nth-child(3) { border-top-color: var(--coral); }
.valor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.valor-icon { font-size: 2rem; margin-bottom: 1rem; }
.valor-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500; margin-bottom: .75rem;
}
.valor-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.7; }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4/5; object-fit: cover;
}
.about-accent {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--coral-soft), var(--blue-soft));
  border-radius: 50%; z-index: -1;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 500; line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-content h2 em { font-style: italic; color: var(--coral); }
.about-content p {
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.8; margin-bottom: 1rem;
}
.skills-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1.5rem 0 2rem;
}
.skill-tag {
  padding: .35rem .9rem;
  background: var(--light);
  border: 1px solid var(--border);
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-soft); border-radius: 20px;
}

/* ── SERVICIOS CARDS ── */
.servicios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.servicio-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.servicio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicio-icon {
  width: 52px; height: 52px;
  background: var(--coral-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; color: var(--coral);
}
.servicio-card:nth-child(2) .servicio-icon { background: var(--blue-soft); color: var(--blue); }
.servicio-card:nth-child(3) .servicio-icon { background: var(--coral-soft); color: var(--coral); }
.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500; margin-bottom: .75rem;
}
.servicio-card p {
  font-size: .85rem; color: var(--ink-soft);
  line-height: 1.7; flex: 1; margin-bottom: 1.5rem;
}
.servicio-link {
  font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--coral); font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s;
}
.servicio-link:hover { gap: .7rem; }
.servicio-card:nth-child(2) .servicio-link { color: var(--blue); }

/* ── GALERÍA PREVIEW ── */
.gallery-preview {
  columns: 4 200px; column-gap: .8rem;
}
.gallery-preview-item {
  break-inside: avoid; margin-bottom: .8rem;
  overflow: hidden; cursor: pointer;
  position: relative;
}
.gallery-preview-item img {
  width: 100%; display: block;
  transition: transform .4s ease;
}
.gallery-preview-item:hover img { transform: scale(1.05); }
.gallery-preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,128,167,.6), transparent 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: .8rem;
}
.gallery-preview-item:hover .gallery-preview-overlay { opacity: 1; }
.gallery-preview-overlay span {
  font-size: .75rem; color: #fff;
  font-family: var(--font-display); font-style: italic;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--coral) 0%, var(--blue) 100%);
  padding: 5rem 2rem; text-align: center; color: #fff;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500; margin-bottom: 1rem;
}
.cta-band p {
  font-size: .95rem; opacity: .88;
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.btn-white { background: #fff; color: var(--coral); }
.btn-white:hover { background: var(--light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ── SERVICE PAGE HERO ── */
.service-hero {
  padding: 5rem 2rem 4rem;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.service-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 1.25rem;
}
.service-hero-content h1 em { font-style: italic; color: var(--coral); }
.service-hero-content p {
  font-size: .95rem; color: var(--ink-soft);
  line-height: 1.8; margin-bottom: 1.5rem;
}
.service-hero-img {
  background: linear-gradient(135deg, var(--coral-soft), var(--blue-soft));
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 700;
  background-clip: text;
}

/* ── FEATURES LIST ── */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.feature-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.feature-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); margin-top: .5rem; flex-shrink: 0;
}
.feature-item:nth-child(even) .feature-dot { background: var(--blue); }
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500; margin-bottom: .4rem;
}
.feature-item p { font-size: .83rem; color: var(--ink-soft); line-height: 1.65; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 500; margin-bottom: 1rem;
}
.contact-info h2 em { font-style: italic; color: var(--coral); }
.contact-info p { font-size: .88rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: 2rem; }
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem;
}
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral-soft); color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon.blue { background: var(--blue-soft); color: var(--blue); }
.contact-detail h4 { font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-detail p, .contact-detail a { font-size: .88rem; color: var(--ink); }
.contact-detail a:hover { color: var(--coral); }

.contact-form { background: var(--white); border: 1px solid var(--border); padding: 2.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: .68rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.form-control {
  width: 100%; border: 1px solid var(--border);
  padding: .85rem 1rem; font-family: var(--font-body);
  font-size: .88rem; color: var(--ink); background: var(--light);
  outline: none; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--coral); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── GALERÍA PÚBLICA ── */
.gallery-hero-section {
  padding: 4rem 2rem 2rem;
  max-width: 720px; margin: 0 auto; text-align: center;
}
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry-item {
  break-inside: avoid; margin-bottom: 1rem;
  overflow: hidden; cursor: pointer; position: relative;
  background: var(--light);
}
.masonry-item img { width: 100%; display: block; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,30,.65) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay h3 {
  font-family: var(--font-display); font-size: .95rem;
  font-weight: 400; color: #fff; font-style: italic;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28,28,30,.93);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem; backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: lb-fade .2s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-wrap {
  display: flex; gap: 2.5rem; max-width: 1100px;
  width: 100%; max-height: 88vh; align-items: center;
}
.lb-img-side { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.lb-img-side img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border: 1px solid rgba(255,255,255,.1);
}
.lb-text-side { width: 260px; flex-shrink: 0; color: #fff; }
.lb-eyebrow {
  font-size: .6rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral); margin-bottom: .75rem; display: block;
}
.lb-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; font-style: italic; margin-bottom: 1rem; line-height: 1.2; }
.lb-desc { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.75; }
.lb-date { font-size: .65rem; color: rgba(255,255,255,.3); margin-top: 1.5rem; letter-spacing: 1px; }
.lb-close, .lb-nav {
  position: fixed; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s;
}
.lb-close { top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; font-size: 1.1rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.4rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }

/* ── SOBRE MÍ ── */
.sobre-hero {
  padding: 4rem 2rem 3rem;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 360px 1fr;
  gap: 5rem; align-items: start;
}
.sobre-photo img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 3/4; object-fit: cover;
}
.sobre-photo-caption {
  margin-top: 1rem; text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: .88rem; color: var(--muted);
}
.sobre-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500; margin-bottom: 1.5rem; line-height: 1.15;
}
.sobre-content h1 em { font-style: italic; color: var(--blue); }
.sobre-content p {
  font-size: .92rem; color: var(--ink-soft);
  line-height: 1.85; margin-bottom: 1.2rem;
}
.timeline { margin: 2rem 0; }
.timeline-item {
  display: flex; gap: 1.5rem; padding-bottom: 1.5rem;
  border-left: 2px solid var(--border); margin-left: 1rem;
  padding-left: 1.5rem; position: relative;
}
.timeline-item::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral); position: absolute;
  left: -6px; top: .4rem;
}
.timeline-item:nth-child(even)::before { background: var(--blue); }
.timeline-year {
  font-size: .65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; padding-top: .25rem;
}
.timeline-text h4 { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.timeline-text p { font-size: .82rem; color: var(--ink-soft); line-height: 1.6; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 4rem 2rem 0;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr auto;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: .95rem; color: rgba(255,255,255,.5); line-height: 1.5;
}
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 {
  font-size: .62rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  display: block; font-size: .82rem;
  color: rgba(255,255,255,.55); margin-bottom: .5rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--coral); }
.footer-social { display: flex; flex-direction: column; gap: .6rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: border-color .2s, color .2s, background .2s;
}
.social-icon:hover { border-color: var(--coral); color: var(--coral); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: rgba(255,255,255,.25); letter-spacing: .5px;
}
.footer-admin-link { color: transparent !important; }
.footer-admin-link:hover { color: rgba(255,255,255,.1) !important; }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative; width: 100%; max-width: 520px;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-slide {
  position: relative;
  opacity: 1;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: auto; object-fit: cover; display: block;
  border-radius: 12px;
}
.hero-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; cursor: pointer;
  transition: background .3s, transform .3s; padding: 0;
}
.hero-slider-ghost {
  display: none;
}


.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */

/* Evita desbordamiento horizontal global */
html { overflow-x: hidden; }
body { overflow-x: clip; max-width: 100%; }

/* ── MENÚ MÓVIL INDEPENDIENTE ── */
.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(28,28,30,.4);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #ffffff;
  z-index: 200;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 0 2rem;
  box-shadow: 0 8px 40px rgba(28,28,30,.15);
  border-top: 1px solid rgba(28,28,30,.06);
}
.mobile-nav.open {
  display: flex;
  animation: mnavIn .22s ease;
}
@keyframes mnavIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
.mobile-nav-link {
  display: block;
  padding: .9rem 2rem;
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--ink);
  letter-spacing: .3px;
  border-bottom: 1px solid rgba(28,28,30,.05);
  transition: background .15s, color .15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover,
.mobile-nav-link.active { background: var(--light); color: var(--coral); }
.mobile-nav-cta {
  margin: 1rem 2rem 0;
  border-bottom: none !important;
  background: var(--coral);
  color: #fff !important;
  text-align: center;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: .82rem;
  text-transform: uppercase;
}
.mobile-nav-cta:hover { background: var(--coral-dark) !important; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-hero { grid-template-columns: 1fr !important; }
  .sobre-hero { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-social { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  /* Ocultar nav de escritorio, mostrar toggle */
  .main-nav { display: none !important; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .hero { padding: 2rem 1.2rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .valores-grid { grid-template-columns: 1fr; }
  .valor-card:nth-child(3) { margin-top: 0; }
  .servicios-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.2rem 2rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 1.2rem; }
  .lb-wrap { flex-direction: column; }
  .lb-text-side { width: 100%; }
  .masonry { columns: 2 160px; }
  .gallery-preview { columns: 2 140px; }
  .section { padding: 3rem 1.2rem; }
  .cta-band { padding: 3rem 1.2rem; }
  .header-inner { padding: 0 1rem; }
  img { max-width: 100%; height: auto; }
  .about-accent { display: none; }
  .service-hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .sobre-hero { padding: 2rem 1.2rem; }
  .gallery-hero-section { padding: 2rem 1.2rem 1rem; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .masonry { columns: 1; }
  .gallery-preview { columns: 1; }
  .lb-nav { display: none; }
}
/* ══════════════════════════════
   LEGAL PAGES  (añadir a main.css)
   ══════════════════════════════ */

.legal-hero {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
}
.legal-hero-inner {        /* ya no se usa, el .container lo sustituye */
  max-width: 1240px; margin: 0 auto; padding: 0 2rem;
}
.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500; line-height: 1.15;
  color: var(--ink); margin: .75rem 0 1rem;
}
.legal-hero-title em { font-style: italic; color: var(--coral); }
.legal-updated {
  font-size: .72rem; letter-spacing: 1px;
  color: var(--muted); text-transform: uppercase;
}

/* TOC */
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 2rem);
}
.legal-toc-label {
  font-size: .62rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem; margin-top: 1rem;
}
.legal-toc ol {
  list-style: none; counter-reset: toc;
  border-left: 2px solid var(--border);
  padding-left: 1rem; margin: 0;
}
.legal-toc li { counter-increment: toc; margin-bottom: .5rem; }
.legal-toc a {
  font-size: .8rem; color: var(--ink-soft);
  transition: color .2s, padding-left .2s;
  display: block;
}
.legal-toc a:hover,
.legal-toc a.active { color: var(--coral); padding-left: .3rem; }

/* Content */
.legal-content section {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.legal-content section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 500;
  color: var(--ink); margin-bottom: 1.25rem;
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.legal-content h3 {
  font-size: .82rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--blue); margin: 1.75rem 0 .6rem;
}
.legal-content p {
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.85; margin-bottom: 1rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.4rem; margin-bottom: 1rem;
}
.legal-content li {
  font-size: .88rem; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: .4rem;
}
.legal-content a {
  color: var(--blue); text-decoration: underline;
  text-decoration-color: var(--blue-soft); transition: color .2s;
}
.legal-content a:hover { color: var(--coral); }
.legal-content strong { color: var(--ink); font-weight: 600; }

/* Cookie table */
.cookie-table-wrap {
  overflow-x: auto; margin: 1.5rem 0 .75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.cookie-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.cookie-table thead { background: var(--light); }
.cookie-table th {
  padding: .8rem 1rem; text-align: left;
  font-size: .62rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
  font-weight: 600; white-space: nowrap;
}
.cookie-table td {
  padding: .85rem 1rem; border-top: 1px solid var(--border);
  color: var(--ink-soft); vertical-align: top; line-height: 1.55;
}
.cookie-table tbody tr:hover td { background: var(--light); }
.cookie-table code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: .78rem; background: var(--light);
  padding: .15rem .45rem; border-radius: 3px; color: var(--blue);
}
.cookie-table-note {
  font-size: .78rem !important; color: var(--muted) !important;
  font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
  .legal-toc { position: static; margin-bottom: 1rem; }
}
@media (max-width: 768px) {
  .legal-hero { padding: 2.5rem 1.2rem 2rem; }
}
.valor-icon { font-size: 1.6rem; margin-bottom: 1rem; color: var(--coral); }
.valor-card:nth-child(2) .valor-icon { color: var(--blue); }
.footer-bottom a { color: rgba(255,255,255,.25); transition: color .2s; }
.footer-bottom a:hover { color: var(--coral); }
.gp-cats {
  font-size: .58rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral); display: block; margin-bottom: .3rem;
}