/* ============================================
   FAMILY DENTAL CARE — Stylesheet
   Signature motif: the "smile arc" — a single
   curved guideline that recurs across the hero,
   section dividers and the scroll indicator.
============================================ */

:root {
  --primary: #0F4C81;
  --primary-light: #1968AC;
  --secondary: #0097A7;
  --accent: #22C55E;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #1F2937;
  --gray: #64748B;

  --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(15,76,129,0.08), rgba(0,151,167,0.08));

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(15, 76, 129, 0.07);
  --shadow-md: 0 12px 32px rgba(15, 76, 129, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 76, 129, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--primary); }
h3 { font-size: 1.2rem; color: var(--text); }

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-sub { color: var(--gray); font-size: 1.02rem; margin-top: 12px; }

.glass {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
}

section { position: relative; padding: 100px 0; }

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

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 64px; height: 64px; animation: loaderPulse 1.1s ease-in-out infinite; }
.loader-tooth { width: 100%; height: 100%; fill: var(--primary); }
@keyframes loaderPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gradient-main);
  width: 0%; z-index: 1001;
  transition: width 0.1s linear;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(248,250,252,0.55);
  backdrop-filter: blur(0px);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-sm);
  height: 72px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; fill: var(--primary); }
.brand-text { font-weight: 700; font-size: 1.15rem; color: var(--primary); white-space: nowrap; }
.brand-text-accent { color: var(--secondary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gradient-main);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,76,129,0.08); color: var(--primary);
  transition: background 0.25s, transform 0.25s;
}
.icon-btn:hover { background: rgba(15,76,129,0.15); transform: scale(1.06); }
.icon-btn svg { width: 18px; height: 18px; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.hamburger span { height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.94rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  isolation: isolate;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--gradient-main); color: var(--white);
  box-shadow: 0 10px 24px rgba(15,76,129,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(15,76,129,0.3); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid rgba(15,76,129,0.3);
}
.btn-outline:hover { background: rgba(15,76,129,0.06); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,0.18); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.ripple { }
.ripple-circle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0); animation: rippleAnim 0.6s ease-out;
  pointer-events: none; z-index: -1;
}
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 140px;
  overflow: hidden;
  background: linear-gradient(180deg, #EFF6FB 0%, var(--bg) 70%);
}
.hero-arch {
  position: absolute; bottom: -2px; left: 0; width: 100%; height: 220px;
  z-index: 0; pointer-events: none;
}
.hero-arch svg { width: 100%; height: 100%; }
.hero-arch path { fill: var(--white); }

.floating-shape {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: var(--gradient-soft);
  animation: floatShape 9s ease-in-out infinite;
  pointer-events: none;
}
.shape-1 { width: 180px; height: 180px; top: 12%; left: 4%; animation-delay: 0s; }
.shape-2 { width: 120px; height: 120px; top: 60%; left: 10%; animation-delay: 2s; background: rgba(34,197,94,0.10); }
.shape-3 { width: 90px; height: 90px; top: 20%; right: 8%; animation-delay: 4s; background: rgba(0,151,167,0.10); }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(14px); }
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}

.hero-copy h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); color: var(--primary); margin-bottom: 20px; }
.hero-sub { color: var(--gray); font-size: 1.08rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-actions.center { justify-content: center; }

.trust-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--white); padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: 0.84rem; font-weight: 500; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}
.trust-badge:hover { transform: translateY(-3px); }
.tb-icon { font-size: 1rem; }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-card {
  width: 100%; max-width: 420px; aspect-ratio: 1/0.82;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 30px;
}
.smile-arc { width: 100%; height: 100%; }
.smile-arc path#smileArcPath {
  fill: none; stroke: var(--secondary); stroke-width: 3;
  stroke-linecap: round; stroke-dasharray: 6 10;
  animation: dashFlow 6s linear infinite;
  opacity: 0.55;
}
@keyframes dashFlow { to { stroke-dashoffset: -160; } }
.smile-teeth rect {
  fill: var(--white);
  stroke: var(--primary); stroke-width: 1.4;
  transform-origin: bottom center;
  animation: toothRise 0.7s var(--ease) backwards;
}
.smile-teeth rect:nth-child(1) { animation-delay: 0.05s; }
.smile-teeth rect:nth-child(2) { animation-delay: 0.12s; }
.smile-teeth rect:nth-child(3) { animation-delay: 0.19s; }
.smile-teeth rect:nth-child(4) { animation-delay: 0.26s; }
.smile-teeth rect:nth-child(5) { animation-delay: 0.33s; }
.smile-teeth rect:nth-child(6) { animation-delay: 0.40s; }
.smile-teeth rect:nth-child(7) { animation-delay: 0.47s; }
@keyframes toothRise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.hero-card-tag {
  position: absolute; background: var(--white); padding: 9px 16px;
  border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600;
  color: var(--primary); box-shadow: var(--shadow-md);
  animation: tagFloat 5s ease-in-out infinite;
}
.tag-1 { top: 6%; left: -4%; animation-delay: 0s; }
.tag-2 { bottom: 14%; right: -6%; animation-delay: 1.4s; color: var(--accent); }
.tag-3 { top: 50%; right: -10%; animation-delay: 2.8s; color: var(--secondary); }
@keyframes tagFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ STATS ============ */
.stats { padding: 0 0 100px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 36px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-num, .stat-text {
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary);
  margin-bottom: 6px;
}
.stat-label { color: var(--gray); font-size: 0.9rem; font-weight: 500; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-frame {
  width: 280px; height: 280px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.about-tooth { width: 90px; height: 90px; fill: var(--primary); }
.about-orbit {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1.5px dashed rgba(15,76,129,0.25);
  animation: orbitSpin 16s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.about-copy p { color: var(--gray); margin-bottom: 16px; max-width: 560px; }
.feature-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.feature-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}
.feature-pill:hover { transform: translateY(-3px); }
.fp-check { color: var(--accent); font-weight: 700; }

/* ============ SERVICES ============ */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius-md);
  padding: 36px 28px; text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--gradient-main); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 18px; }
.card-link {
  color: var(--secondary); font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 5px;
}
.card-link span { transition: transform 0.25s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ============ WHY US ============ */
.why-us { background: linear-gradient(180deg, var(--bg), #EEF5F8); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 30px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 0.86rem; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--primary); color: var(--white); overflow: hidden; }
.testimonials .eyebrow { color: #7FD8E0; }
.testimonials h2 { color: var(--white); }
.testimonial-carousel { position: relative; }
.testimonial-track {
  display: flex; gap: 24px;
  transition: transform 0.6s var(--ease);
}
.testimonial-card {
  flex: 0 0 100%; max-width: 640px; margin: 0 auto;
  border-radius: var(--radius-lg); padding: 40px;
  text-align: center;
}
.testimonial-card .stars { color: #FFD166; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 4px; }
.testimonial-card p { font-size: 1.08rem; line-height: 1.7; margin-bottom: 18px; color: var(--white); }
.reviewer { font-size: 0.86rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.3);
  transition: background 0.3s, transform 0.3s;
}
.carousel-dots button.active { background: var(--white); transform: scale(1.3); }

/* ============ PROCESS ============ */
.process-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  position: relative;
}
.process-timeline::before {
  content: ''; position: absolute; top: 36px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(15,76,129,0.25) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 18px;
  transition: transform 0.35s var(--ease);
}
.process-step:hover .process-icon { transform: scale(1.1) translateY(-4px); }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { color: var(--gray); font-size: 0.84rem; }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute; inset: auto 0 0 0; padding: 14px;
  background: linear-gradient(to top, rgba(15,76,129,0.85), transparent);
  color: var(--white); font-size: 0.82rem; font-weight: 500; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 78vh; border-radius: var(--radius-md); }
.lightbox-caption { color: var(--white); margin-top: 16px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; color: var(--white); font-size: 1.6rem;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1);
}

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.faq-head p { color: var(--gray); margin: 14px 0 24px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 0.98rem; color: var(--text);
}
.faq-toggle {
  font-size: 1.3rem; color: var(--primary); transition: transform 0.3s var(--ease);
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { color: var(--gray); font-size: 0.92rem; }

/* ============ CTA BANNER ============ */
.cta-banner { overflow: hidden; padding: 90px 0; }
.cta-bg {
  position: absolute; inset: 0; background: var(--gradient-main);
  background-size: 200% 200%; animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-content { position: relative; z-index: 1; text-align: center; color: var(--white); }
.cta-content h2 { color: var(--white); margin-bottom: 12px; }
.cta-content p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 32px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-row { display: flex; gap: 16px; margin: 22px 0; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; }
.info-row strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.info-row p { color: var(--gray); font-size: 0.92rem; }
.info-row a { color: var(--primary); font-weight: 600; }
.map-placeholder {
  margin-top: 24px; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 16/9;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg);
}
.contact-form h3 { margin-bottom: 22px; color: var(--primary); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(15,76,129,0.15);
  background: var(--white); font-family: inherit; font-size: 0.92rem; color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(0,151,167,0.12);
}
.form-note { margin-top: 14px; font-size: 0.86rem; color: var(--accent); font-weight: 600; min-height: 1.2em; }

/* ============ FOOTER ============ */
.footer { background: #0B3A61; color: rgba(255,255,255,0.85); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-text, .footer-brand .brand-mark svg { color: var(--white); fill: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links a, .footer-contact p, .footer-contact a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-bottom: 10px;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact a { color: rgba(255,255,255,0.85); font-weight: 600; }
.social-icons { display: flex; gap: 10px; margin-top: 14px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 0.78rem;
  transition: background 0.25s, transform 0.25s;
}
.social-icons a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 24px;
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55);
}

/* ============ FLOATING BUTTONS ============ */
.float-btn {
  position: fixed; right: 24px; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 900; color: var(--white);
  transition: transform 0.3s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; }
.whatsapp-btn { bottom: 96px; background: #25D366; }
.call-btn { bottom: 24px; background: var(--gradient-main); }

.back-to-top {
  position: fixed; left: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--primary); box-shadow: var(--shadow-md);
  font-size: 1.2rem; z-index: 900; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ CUSTOM CURSOR ============ */
.custom-cursor {
  position: fixed; width: 10px; height: 10px; border-radius: 50%;
  background: var(--secondary); pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference; opacity: 0;
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-delay="0"] { transition-delay: 0s; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-book { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow-md); padding: 12px 24px;
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid rgba(15,76,129,0.08); }
  .process-timeline { grid-template-columns: 1fr 1fr; }
  .process-timeline::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 70px 0; }
  .hero { padding-top: calc(var(--nav-h) + 36px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .custom-cursor { display: none; }
}
