@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2d5a;
  --navy-dark: #0f1e3d;
  --blue: #2e5db3;
  --blue-light: #4a7fd4;
  --steel: #6b8cba;
  --silver: #c8d8f0;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #1c2340;
  --text-muted: #5a6580;
  --border: #dde4f0;
  --shadow: 0 4px 32px rgba(26,45,90,0.10);
  --shadow-lg: 0 16px 64px rgba(26,45,90,0.16);
  --radius: 4px;
  --radius-lg: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ──── NAV ──── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}

.nav-logo-mark {
  width: 44px; height: auto; object-fit: contain;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue) !important; color: var(--white) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ──── BUTTONS ──── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,45,90,0.25); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--silver); }

/* ──── SECTIONS ──── */
.section { padding: 100px 5vw; }
.section-sm { padding: 60px 5vw; }
.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }

.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}

.section-dark .section-label { color: var(--silver); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }

/* ──── HERO ──── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
  position: relative;
  background: url('img/hero-home.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,18,48,0.75) 0%, rgba(15,35,85,0.65) 60%, rgba(30,60,130,0.55) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 5vw;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6ab0ff;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: normal;
  color: #6ab0ff;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  justify-content: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-visual { display: none; }

/* ──── SERVICIOS CARDS ──── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.servicio-card {
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(26, 45, 90, 0.14);
  z-index: 1;
}

/* Image container – 38% of card height (~185px) */
.sc-image {
  width: 100%;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}

.sc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
  display: block;
}

.servicio-card:hover .sc-image img {
  transform: scale(1.04);
}

/* White content area */
.sc-content {
  flex: 1;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.sc-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.sc-icon { display: none; }

.sc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.sc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* Service button */
.sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  transition: color 0.25s ease;
}

.sc-btn-arrow {
  display: inline-block;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.servicio-card:hover .sc-btn {
  color: var(--navy);
}

.servicio-card:hover .sc-btn-arrow {
  transform: translateX(4px);
}

.sc-arrow { display: none; }

/* ──── WHY ──── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-item {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.why-item:last-child { border-bottom: none; }

.why-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.3rem; }
.why-item p { font-size: 0.85rem; color: rgba(200,216,240,0.7); line-height: 1.7; }

.why-visual {
  position: relative;
}

.why-card-main {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.years-badge {
  position: absolute;
  top: -20px; right: -20px;
  width: 110px; height: 110px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  color: white;
}

.years-badge .num { font-size: 2.25rem; font-weight: 700; line-height: 1; }
.years-badge .label { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }

/* ──── CTA ──── */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--blue) 100%);
  padding: 80px 5vw;
  text-align: center;
}

.cta-band h2 { color: white; margin-bottom: 1rem; }
.cta-band p { color: var(--silver); margin-bottom: 2rem; font-size: 1.05rem; }

/* ──── FOOTER ──── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  padding: 60px 5vw 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--silver); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }

/* ──── PAGE HERO (inner pages) ──── */
.page-hero {
  padding: 160px 5vw 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }

.page-hero .breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--silver);
}
.page-hero .breadcrumb a { color: var(--silver); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero p { color: var(--silver); font-size: 1.1rem; max-width: 600px; }

/* ──── SERVICE PAGE ──── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-list { list-style: none; }
.service-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.service-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ──── GALLERY GRID ──── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  color: var(--steel);
}

.gallery-item-placeholder .ph-icon { font-size: 2rem; opacity: 0.4; }
.gallery-item-placeholder .ph-text { font-size: 0.7rem; opacity: 0.5; text-align: center; }

/* ──── CONTACT ──── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.ci-icon {
  width: 44px; height: 44px;
  background: var(--silver);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.ci-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.ci-value a { color: var(--blue); text-decoration: none; }

/* ──── FORM ──── */
.form-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-card h3 { margin-bottom: 0.5rem; }
.form-card p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2rem; }

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

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: white;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ──── ALL SERVICES ──── */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.all-service-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}

.all-service-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.asc-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.asc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.asc-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }
.asc-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 1.25rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue);
}

/* ──── ANIMATIONS ──── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-1 { animation: fadeUp 0.6s ease both; }
.animate-2 { animation: fadeUp 0.6s 0.1s ease both; }
.animate-3 { animation: fadeUp 0.6s 0.2s ease both; }
.animate-4 { animation: fadeUp 0.6s 0.3s ease both; }
.animate-5 { animation: fadeUp 0.6s 0.4s ease both; }
.animate-6 { animation: fadeUp 0.6s 0.5s ease both; }

/* ──── RESPONSIVE ──── */
@media (max-width: 1024px) {
  .hero-content { padding: 120px 5vw 80px; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .sc-image { height: 200px; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .all-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .servicios-grid { grid-template-columns: 1fr; }
  .sc-image { height: 220px; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .all-services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .years-badge { display: none; }
}

/* Mobile nav open */
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; top: 72px; left: 0; right: 0;
  background: white;
  padding: 1.5rem 5vw;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  z-index: 99;
}

/* ── GALERÍA ── */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.galeria-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--border);
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.galeria-item:hover img { transform: scale(1.05); }

@media (max-width: 767px) {
  .galeria-desktop { display: none; }
  .galeria-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lb-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-wrap img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.lb-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
}
.lb-close {
  position: fixed;
  top: 18px; right: 22px;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer; line-height: 1;
  z-index: 1001;
}
.lb-prev, .lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none; color: white;
  font-size: 2.8rem; cursor: pointer;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  z-index: 1001;
  line-height: 1;
  transition: background 0.2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ════════════════════════════════════════
   SERVICE PAGE EXTENDED (sv-)
   ════════════════════════════════════════ */

/* Hero cu foto */
.page-hero--photo { background-size: cover !important; background-position: center !important; padding: 200px 5vw 100px; }
.page-hero--photo::before { background-image: none; background: linear-gradient(to right, rgba(10,20,50,0.90) 45%, rgba(10,20,50,0.50) 100%); }
.sv-hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.sv-badge {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: white; padding: 0.38rem 0.9rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; backdrop-filter: blur(4px);
}

/* Desc + Galería */
.sv-desc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sv-desc-text > p { color: var(--text-muted); line-height: 1.9; margin-bottom: 2rem; font-size: 0.95rem; }
.sv-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-bottom: 2.5rem; }
.sv-group h4 {
  font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue); margin-bottom: 0.6rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border);
}
.sv-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.sv-group ul li { font-size: 0.86rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.sv-group ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-size: 0.75rem; top: 1px; }

/* Galería derecha */
.sv-gallery { display: flex; flex-direction: column; gap: 8px; }
.sv-gal-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.sv-gal-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; display: block; }
.sv-gal-main:hover img { transform: scale(1.04); }
.sv-gal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sv-gal-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.sv-gal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.sv-gal-thumb:hover img { transform: scale(1.06); }
.sv-gal-more {
  border-radius: var(--radius); aspect-ratio: 1; cursor: pointer;
  background: var(--navy); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: white;
  font-size: 1.3rem; font-weight: 700; gap: 2px;
}
.sv-gal-more small { font-size: 0.65rem; opacity: 0.65; font-weight: 400; }

/* Full-width image */
.sv-fullwidth { width: 100%; height: 360px; overflow: hidden; }
.sv-fullwidth img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }

/* Por qué elegirnos */
.sv-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sv-why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  text-align: center; transition: box-shadow 0.25s, transform 0.25s;
}
.sv-why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sv-why-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.3rem;
}
.sv-why-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.sv-why-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* Pasos */
.sv-steps { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 2.5rem; position: relative; }
.sv-steps::before {
  content: ''; position: absolute; top: 25px;
  left: calc(10% + 25px); right: calc(10% + 25px);
  height: 2px; background: var(--border); z-index: 0;
}
.sv-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 0.4rem; }
.sv-step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem; font-size: 0.9rem; position: relative; z-index: 1;
}
.sv-step h4 { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.sv-step p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }

/* FAQ */
.sv-faq-wrap { max-width: 700px; margin: 2.5rem auto 0; }
.sv-faq-item { border-bottom: 1px solid var(--border); }
.sv-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 0; font-size: 0.92rem; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer; text-align: left; gap: 1rem;
}
.sv-faq-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: var(--blue);
  transition: transform 0.22s; line-height: 1;
}
.sv-faq-item.open .sv-faq-icon { transform: rotate(45deg); }
.sv-faq-a { display: none; padding: 0 1rem 1.15rem; color: var(--text-muted); font-size: 0.87rem; line-height: 1.8; }
.sv-faq-item.open .sv-faq-a { display: block; }

/* Testimonials */
.sv-testi-outer { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.sv-testi-track { display: flex; transition: transform 0.4s ease; }
.sv-testi-card { min-width: 100%; background: var(--cream); border-radius: var(--radius-lg); padding: 2.5rem; }
.sv-stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: 1px; }
.sv-testi-text { font-size: 1rem; line-height: 1.85; color: var(--text); margin-bottom: 1.5rem; font-style: italic; }
.sv-testi-author { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.sv-testi-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.sv-testi-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.sv-testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: background 0.2s; padding: 0; }
.sv-testi-dot.active { background: var(--blue); }

/* Related services scroll */
.sv-related-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
.sv-related-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; min-width: 800px; }
.sv-related-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: inherit; display: block; transition: box-shadow 0.25s, transform 0.25s; }
.sv-related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sv-related-img { aspect-ratio: 4/3; overflow: hidden; }
.sv-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.sv-related-card:hover .sv-related-img img { transform: scale(1.05); }
.sv-related-info { padding: 0.85rem 1rem; }
.sv-related-info h4 { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.sv-related-info span { font-size: 0.78rem; color: var(--blue); font-weight: 500; }

/* CTA final */
.sv-cta { background: var(--navy-dark); padding: 5rem 5vw; text-align: center; }
.sv-cta h2 { color: white; margin-bottom: 1rem; }
.sv-cta p { color: rgba(200,216,240,0.8); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.sv-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sticky CTA mobile */
.sv-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 0.75rem 1rem 1rem; background: white; box-shadow: 0 -4px 20px rgba(0,0,0,0.12); }
.sv-sticky a { display: block; background: var(--blue); color: white; text-align: center; padding: 0.9rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; text-decoration: none; }

/* Service lightbox */
.sv-lb { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; }
.sv-lb.active { display: flex; }
.sv-lb img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; display: block; }
.sv-lb-close { position: fixed; top: 1rem; right: 1.25rem; color: white; font-size: 2rem; background: none; border: none; cursor: pointer; z-index: 1001; line-height: 1; }
.sv-lb-prev, .sv-lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; font-size: 2.5rem; cursor: pointer; padding: 0.3em 0.5em; border-radius: 4px; z-index: 1001; line-height: 1; transition: background 0.2s; }
.sv-lb-prev:hover, .sv-lb-next:hover { background: rgba(255,255,255,0.22); }
.sv-lb-prev { left: 8px; }
.sv-lb-next { right: 8px; }
.sv-lb-counter { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.82rem; white-space: nowrap; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .sv-desc-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sv-groups { grid-template-columns: 1fr 1fr; }
  .sv-why-grid { grid-template-columns: 1fr 1fr; }
  .sv-steps { flex-direction: column; gap: 1.25rem; }
  .sv-steps::before { display: none; }
  .sv-step { display: flex; align-items: flex-start; text-align: left; gap: 1rem; padding: 0; }
  .sv-step-num { flex-shrink: 0; margin: 0; }
  .sv-step-body { flex: 1; padding-top: 0.55rem; }
  .sv-related-track { grid-template-columns: repeat(5, 220px); scroll-snap-type: x mandatory; }
  .sv-related-card { scroll-snap-align: start; }
  .sv-sticky { display: block; }
  .sv-fullwidth { height: 220px; }
  .page-hero--photo { padding: 140px 5vw 70px; }
  body.sv-page { padding-bottom: 72px; }
}
@media (max-width: 540px) {
  .sv-groups { grid-template-columns: 1fr; }
  .sv-why-grid { grid-template-columns: 1fr 1fr; }
  .sv-gal-thumbs { grid-template-columns: repeat(4, 1fr); }
  .sv-hero-badges { gap: 0.4rem; }
}
