/* =========================================================
   CLÍNICA DENTAL LOMELÍ — Premium Editorial Stylesheet
   ========================================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #0B1D3A;
  --navy-deep:   #071427;
  --blue-mid:    #1A4A8A;
  --blue:        #1E5BB8;
  --blue-light:  #2E74D0;
  --blue-vivid:  #3B82F6;
  --blue-pale:   #DBEAFE;
  --cream:       #F8F6F2;
  --cream-dark:  #EDE9E1;
  --white:       #FFFFFF;
  --gold:        #C9A84C;
  --text-dark:   #111827;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --border:      rgba(30,91,184,0.12);
  --shadow-sm:   0 2px 8px rgba(11,29,58,0.08);
  --shadow-md:   0 8px 32px rgba(11,29,58,0.12);
  --shadow-lg:   0 20px 60px rgba(11,29,58,0.16);
  --shadow-xl:   0 32px 80px rgba(11,29,58,0.22);
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Albert Sans', 'General Sans', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Typography Utilities ---------- */
.font-gloock { font-family: 'Gloock', Georgia, serif; }

/* ---------- Reveal Animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  background: transparent;
}
.header.scrolled {
  background: rgba(8, 20, 45, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.header.scrolled .logo-text .block:last-child,
.header.scrolled .nav-link {
  color: var(--white);
}
.header.scrolled .menu-bar {
  background-color: var(--white);
}
.header.scrolled .nav-link::after {
  background: rgba(46, 116, 208, 0.85);
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { right: 0; }

.menu-bar {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* Mobile menu */
.mobile-menu {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--white); padding-left: 8px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30,91,184,0.4);
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 100px;
  transition: var(--transition);
}
.btn-primary-lg:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,91,184,0.45);
}

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.btn-ghost-lg:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  background: var(--navy-deep);
  position: relative;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(30,91,184,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(11,29,58,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid { position: relative; z-index: 1; }

/* Left column */
.hero-left { position: relative; }
.hero-text-block { padding-left: 2.5rem; }

.vertical-tag {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-90deg) translateX(-100%);
  transform-origin: right center;
  white-space: nowrap;
  pointer-events: none;
}
.vertical-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.eyebrow-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Gloock', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-vivid);
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px;
}
.stat-item:first-child { padding-left: 0; }
.stat-number {
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.875rem;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Right column — image frame */
.hero-right {
  padding: 80px 0 60px;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}
.hero-image-bg {
  position: absolute;
  top: -20px; right: -20px;
  bottom: 20px; left: 20px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue));
  border-radius: var(--radius-lg);
  opacity: 0.35;
}
.hero-main-img {
  position: relative;
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1;
}
.hero-floating-card {
  position: absolute;
  bottom: 32px;
  left: -32px;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.floating-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.floating-label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
  line-height: 1.2;
}
.floating-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero-accent-dot {
  position: absolute;
  top: -12px; right: -12px;
  width: 80px; height: 80px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.25;
  z-index: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(0.6); opacity: 0.2; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =========================================================
   SECTION HEADERS (shared)
   ========================================================= */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 32px; height: 1px;
  background: var(--blue);
  opacity: 0.5;
}
.section-eyebrow::before { right: 100%; }
.section-eyebrow::after  { left: 100%; }

.section-title {
  font-family: 'Gloock', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-section { background: var(--cream); }
.services-bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, var(--blue-pale) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-vivid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  border-color: transparent;
}
.service-card--featured .service-name,
.service-card--featured .service-desc { color: rgba(255,255,255,0.9); }
.service-card--featured .service-icon-wrap { background: rgba(255,255,255,0.1); color: var(--gold); }
.service-card--featured .service-arrow { color: var(--gold); }

.service-card--urgent {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-color: transparent;
}
.service-card--urgent .service-name,
.service-card--urgent .service-desc { color: rgba(255,255,255,0.9); }
.service-card--urgent .service-icon-wrap { background: rgba(239,68,68,0.15); color: #f87171; }
.service-card--urgent .service-arrow { color: #f87171; }

.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--blue);
  color: var(--white);
}
.service-card--featured:hover .service-icon-wrap,
.service-card--urgent:hover .service-icon-wrap {
  background: rgba(255,255,255,0.2);
}
.service-icon-wrap svg { width: 26px; height: 26px; }

.service-name {
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.1875rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-arrow {
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform 0.3s ease;
}
.service-card:hover .service-arrow { transform: translateX(6px); }

.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.service-badge--urgent { background: #ef4444; color: white; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-section { background: var(--white); }

/* Image collage */
.about-images { height: 520px; }
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%; height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 5px solid var(--white);
}
.about-img-accent {
  position: absolute;
  top: 60px; right: 10px;
  width: 35%; height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 3;
  border: 4px solid var(--white);
}
.about-years-badge {
  position: absolute;
  bottom: 120px; left: -16px;
  z-index: 4;
  background: var(--blue);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center;
}
.about-years-number {
  font-family: 'Gloock', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
}
.about-years-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  text-align: center;
  margin-top: 4px;
}

.about-paragraph {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-features { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.feature-check {
  width: 28px; height: 28px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature span { font-size: 0.9375rem; color: var(--text-mid); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-img-wrap { height: 280px; overflow: hidden; }
.team-img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.team-card:hover .team-img { transform: scale(1.04); }

.team-info { padding: 24px 28px; }
.team-name {
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-specialty {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.team-bio { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

.team-card--alt .team-card-inner { height: 100%; display: flex; flex-direction: column; }
.team-card-alt-img { height: 280px; overflow: hidden; flex-shrink: 0; }
.team-card-alt-text { padding: 24px 28px; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section { background: var(--navy-deep); position: relative; }
.gallery-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0d2040 100%);
}
.gallery-section .section-title { color: var(--white); }
.gallery-section .section-subtitle { color: rgba(255,255,255,0.5); }
.gallery-section .section-eyebrow { color: var(--gold); }
.gallery-section .section-eyebrow::before,
.gallery-section .section-eyebrow::after { background: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--navy);
}
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,29,58,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-zoom { transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 90vh;
  padding: 0 80px;
}
.lightbox-img {
  max-width: 100%; max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease;
}
.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-top: 16px;
  text-align: center;
}
.lightbox-counter {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  margin-top: 6px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card--blue {
  background: var(--blue);
  border-color: transparent;
}
.testimonial-card--blue .testimonial-stars,
.testimonial-card--blue .testimonial-text,
.testimonial-card--blue .testimonial-name { color: var(--white); }
.testimonial-card--blue .testimonial-treatment { color: rgba(255,255,255,0.65); }

.testimonial-card--dark {
  background: var(--navy);
  border-color: transparent;
}
.testimonial-card--dark .testimonial-stars,
.testimonial-card--dark .testimonial-text { color: rgba(255,255,255,0.9); }

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.125rem;
  font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-avatar--light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  font-style: normal;
  display: block;
}
.testimonial-treatment {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.testimonial-treatment--light { color: rgba(255,255,255,0.5); }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: var(--navy);
}
.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.cta-title {
  font-family: 'Gloock', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--blue-vivid); }
.cta-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 40px;
}
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-cta-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(30,91,184,0.5);
}
.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 1rem;
  padding: 17px 36px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-cta-ghost:hover {
  background: rgba(255,255,255,0.07);
  color: white;
  border-color: rgba(255,255,255,0.5);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { background: var(--white); }

.contact-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 400px;
}

.contact-details { display: flex; flex-direction: column; gap: 4px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text-dark);
}
.contact-item:hover { background: var(--cream); }
.contact-icon {
  width: 42px; height: 42px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-icon--wa { background: #d1fae5; color: #059669; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title {
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.625rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.form-input {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,91,184,0.12);
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 100px; }

.btn-form-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  transition: var(--transition);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.btn-form-submit:hover {
  background: #20ba5c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand-name {
  font-family: 'Gloock', Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover { background: var(--blue); color: white; }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-list svg { flex-shrink: 0; color: var(--blue-vivid); margin-top: 2px; }
.footer-contact-list a { color: inherit; }
.footer-contact-list a:hover { color: var(--white); }

.footer-map iframe { filter: brightness(0.8) contrast(1.1); }

.footer-bottom { background: rgba(0,0,0,0.2); }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

.wa-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--navy);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-right { padding: 40px 0; }
  .hero-main-img { height: 420px; }
  .about-images { height: 460px; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-right { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; min-width: 80px; }

  .about-images { height: 300px; margin-bottom: 280px; }
  .about-img-main { width: 85%; height: 280px; }
  .about-img-secondary { width: 60%; height: 200px; }
  .about-img-accent { display: none; }
  .about-years-badge { bottom: 20px; left: 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 1; }

  .testimonials-grid { grid-template-columns: 1fr; }

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

  .contact-form-wrap { padding: 28px 24px; }
  .vertical-tag { display: none; }

  .lightbox-content { padding: 0 60px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .hero-cta-group { flex-direction: column; }
  .btn-ghost-lg, .btn-primary-lg { text-align: center; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
