/* ============================================================
   Bright Smile Dental — style.css
   Palette: teal #1fa9a3 · mint #b9ece4 · deep #0e4f4b
            bg #f6fbfa · ink #122a29
   Fonts: Sora (headings) · DM Sans (body)
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --teal:    #1fa9a3;
  --teal-d:  #178f8a;
  --teal-l:  #e6faf8;
  --mint:    #b9ece4;
  --deep:    #0e4f4b;
  --deep-d:  #082e2b;
  --bg:      #f6fbfa;
  --bg-2:    #eef7f5;
  --ink:     #122a29;
  --ink-2:   #2d5553;
  --ink-3:   #4a7370;
  --white:   #ffffff;
  --radius:  14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14,79,75,.07);
  --shadow-md: 0 6px 24px rgba(14,79,75,.10);
  --shadow-lg: 0 16px 48px rgba(14,79,75,.13);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-h: 'Sora', system-ui, sans-serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
  --max-w: 1160px;
  --nav-h: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  line-height: 1.2;
  color: var(--deep);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }

p { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 500; }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(31,169,163,.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--teal-d);
  border-color: var(--teal-d);
  box-shadow: 0 6px 22px rgba(31,169,163,.38);
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--mint);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--teal-l);
  border-color: var(--teal);
  color: var(--deep);
}

.btn-lg { font-size: 1rem; padding: 0.85rem 2rem; }
.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,251,250,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(185,236,228,.45);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.logo-text {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  white-space: nowrap;
}

.logo-dental {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--deep);
  background: var(--teal-l);
}

.nav-cta {
  font-size: 0.85rem !important;
  padding: 0.5rem 1.1rem !important;
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  margin-left: 0.5rem;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--teal-d) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.hero-eyebrow {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-3);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.hero-trust strong { color: var(--deep); font-size: 1rem; font-weight: 700; }
.stars { display: flex; align-items: center; }

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Hero photo --- */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.hero-photo-blob {
  position: absolute;
  inset: -18px -18px -18px -18px;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: var(--mint);
  opacity: 0.45;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 520;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid rgba(185,236,228,.5);
  border-bottom: 1px solid rgba(185,236,228,.5);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--deep);
  padding: 0.4rem 0;
}

.trust-icon { flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid rgba(185,236,228,.5);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

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

.service-icon {
  margin-bottom: 0.25rem;
}

.service-card h3 {
  color: var(--deep);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--ink-3);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 0.25rem;
  padding: 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.service-link:hover, .service-link:focus-visible {
  color: var(--teal-d);
  border-bottom-color: var(--teal);
}
.service-link::after {
  content: '→';
  font-size: 1em;
  transition: transform var(--transition);
}
.service-link:hover::after { transform: translateX(3px); }

/* ---------- Why Us ---------- */
.why-us { background: var(--bg-2); }

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* --- Why Us photo --- */
.why-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.why-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 400;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.why-photo-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why-badge {
  position: absolute;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.why-badge--teal {
  background: var(--teal);
  color: var(--white);
}

.why-badge--deep {
  background: var(--deep);
  color: var(--white);
}

/* Position badges at the four compass points */
.why-badge:nth-child(1) { top: 10%;  left: 50%; transform: translateX(-50%); }
.why-badge:nth-child(2) { top: 50%;  right: -1rem; transform: translateY(-50%); }
.why-badge:nth-child(3) { bottom: 10%; left: 50%; transform: translateX(-50%); }
.why-badge:nth-child(4) { top: 50%;  left: -1rem; transform: translateY(-50%); }

.why-us-content {
  max-width: 540px;
}

.why-us-content h2 { margin-bottom: 0.5rem; }
.why-us-content > p { margin-top: 0; margin-bottom: 2rem; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.why-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.why-bullet { flex-shrink: 0; margin-top: 1px; }

/* ---------- How It Works ---------- */
.how-it-works { background: var(--white); }

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  counter-reset: steps;
}

.steps-list::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--mint));
  z-index: 0;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-number {
  display: none;
}

.step-icon {
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 0 0 4px var(--bg);
  flex-shrink: 0;
}

.step h3 {
  color: var(--deep);
  font-size: 1.1rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--ink-3);
}

.step a { color: var(--teal); font-weight: 500; }
.step a:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(185,236,228,.6);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.test-stars { display: flex; }

.testimonial-card blockquote p {
  font-size: 0.97rem;
  color: var(--ink-2);
  line-height: 1.75;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-l);
  border: 2px solid var(--mint);
  color: var(--teal-d);
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.test-name {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  font-style: normal;
  display: block;
}

.test-detail {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 1px;
}

/* ---------- Booking ---------- */
.booking { background: var(--white); }

.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.booking-info h2 { margin-bottom: 0.75rem; }
.booking-info > p { color: var(--ink-3); margin-bottom: 2rem; font-size: 0.97rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.contact-item a { color: var(--teal); }
.contact-item a:hover { text-decoration: underline; }
.contact-item svg { flex-shrink: 0; }

.free-consult-badge {
  background: var(--teal-l);
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.free-consult-badge .fcb-icon { flex-shrink: 0; margin-top: 2px; }
.free-consult-badge strong { color: var(--deep); font-size: 0.97rem; font-weight: 600; display: block; margin-bottom: 0.3rem; }
.free-consult-badge p { font-size: 0.87rem; color: var(--ink-3); margin: 0; }

/* Form */
.booking-form-wrap {
  background: var(--bg);
  border: 1px solid rgba(185,236,228,.6);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}

.booking-form { display: flex; flex-direction: column; gap: 1.2rem; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

label {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: 0.01em;
}

.req { color: var(--teal); }
.form-optional { font-weight: 400; color: var(--ink-3); }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(185,236,228,.8);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--mint);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31,169,163,.15);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%231fa9a3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

textarea { resize: vertical; min-height: 80px; }

.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 500;
  min-height: 1.1em;
  display: block;
}

input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.12);
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 0.25rem;
}

/* Success state */
.booking-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}
.booking-success[hidden] { display: none; }

.success-icon { animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

.booking-success h3 {
  font-size: 1.4rem;
  color: var(--deep);
}

.booking-success p { color: var(--ink-2); font-size: 0.97rem; }
.booking-success .success-sub { font-size: 0.88rem; color: var(--ink-3); }
.booking-success a { color: var(--teal); }

@keyframes pop-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(185,236,228,.6);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: var(--shadow-sm);
  border-color: var(--mint);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-h);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--deep);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover, .faq-question:focus-visible {
  background: var(--teal-l);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid rgba(185,236,228,.5);
}
.faq-answer[hidden] { display: none; }
.faq-answer p {
  font-size: 0.94rem;
  color: var(--ink-3);
  line-height: 1.75;
  padding-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

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

.footer-brand .nav-logo .logo-text { color: var(--white); }
.footer-brand .logo-dental { color: var(--mint); }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}
.hours-list dt { color: rgba(255,255,255,.65); }
.hours-list dd { color: rgba(255,255,255,.9); }

address { display: flex; flex-direction: column; gap: 0.5rem; }
address p { font-size: 0.88rem; color: rgba(255,255,255,.75); }
address a { color: var(--mint); transition: color var(--transition); }
address a:hover { color: var(--white); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--mint); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ecleos-credit a {
  color: var(--mint);
  font-weight: 500;
  transition: color var(--transition);
}
.ecleos-credit a:hover { color: var(--white); }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .success-icon { animation: none; }
  .btn:active { transform: none; }
}

/* ---------- Responsive ---------- */

/* Tablet → 1024px */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
    text-align: center;
  }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-sub, .hero-trust { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-illustration { order: -1; }
  .hero-photo-wrap { max-width: 360px; }

  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-photo-wrap { max-width: 300px; }
  .why-us-content { max-width: 100%; text-align: center; }
  .why-list li { text-align: left; }
  .why-us-content .btn { margin: 0 auto; display: inline-flex; }

  .steps-list { grid-template-columns: 1fr 1fr 1fr; }
  .steps-list::before { display: none; }

  .booking-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile → 768px */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(246,251,250,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-cta {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle { display: flex; }

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

  .steps-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .booking-form-wrap {
    padding: 1.5rem 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile → 480px */
@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .hero-photo-wrap { max-width: 280px; }

  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .why-photo-wrap { max-width: 240px; }
  /* Hide side badges at very small widths to avoid overflow */
  .why-badge:nth-child(2),
  .why-badge:nth-child(4) { display: none; }
}
