/* Palmview Dentistry – demo site (fictional practice) */
:root {
  --navy: #3e5c76;
  --navy-deep: #2c4459;
  --blue: #346b9f;
  --beige: #f0ebd8;
  --lavender: #f6f4f9;
  --ink: #04000b;
  --body: #726d7b;
  --line: #e4e1ea;
  --white: #fff;
  --head: "Barlow Condensed", sans-serif;
  --text: "DM Sans", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  padding: 16px 30px; border-radius: 5px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--white);
  transition: background-color .25s ease, color .25s ease, transform .16s var(--ease-out);
}
.btn:hover { background: var(--navy-deep); }
.btn:active { transform: scale(0.97); }
.btn--beige { background: var(--beige); color: var(--ink); }
.btn--beige:hover { background: var(--white); }
.btn--sm { font-size: 13px; padding: 12px 34px; text-transform: uppercase; }

.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 500; font-size: 18px;
  color: var(--body); text-decoration: underline; text-underline-offset: 5px; margin-bottom: 10px;
}
.eyebrow--sm { font-size: 14px; letter-spacing: .04em; }
.section-title { font-size: clamp(34px, 4.5vw, 54px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid { background: var(--navy); box-shadow: 0 6px 24px rgba(4, 0, 11, .15); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(16px, 4vw, 60px);
  transition: padding .3s ease;
}
.is-solid .header-inner { padding-block: 10px; }
.brand { display: inline-grid; color: var(--white); line-height: 1; transform-origin: left center; transition: transform .3s var(--ease-out); }
.brand-top { font-family: "Cormorant Garamond", serif; font-size: 38px; font-weight: 500; letter-spacing: .04em; }
.brand-script { font-family: "Great Vibes", cursive; font-size: 40px; justify-self: end; margin: -4px -8px 0 0; }
.brand-tag { font-family: var(--text); font-size: 11.5px; letter-spacing: .06em; border-top: 1px solid rgba(255, 255, 255, .8); padding-top: 4px; margin-top: -2px; white-space: nowrap; }
.is-solid .logo .brand { transform: scale(.78); }

.nav { display: flex; gap: 30px; align-items: center; }
.nav > li { position: relative; list-style: none; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav > li > a {
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); padding: 14px 0; display: block;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(100% - 10px);
  transition: background-size .3s var(--ease-out);
}
.nav > li > a.is-active, .nav > li:hover > a { background-size: 100% 1px; }
.dropdown {
  position: absolute; top: 100%; left: -20px; min-width: 230px; padding: 10px 0;
  background: var(--white); border-radius: 5px; box-shadow: 0 14px 40px rgba(4, 0, 11, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s var(--ease-out), visibility .2s;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 7px 22px; font-size: 15px; color: var(--body);
  transition: color .2s ease, padding-left .2s var(--ease-out);
}
.dropdown a:hover { color: var(--blue); padding-left: 28px; }

.header-cta { display: flex; align-items: center; gap: 12px; color: var(--white); }
.header-cta svg { width: 30px; height: 30px; }
.header-cta small { display: block; font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.header-cta strong { font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: .1em; }

.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(100vh, 830px); min-height: 560px; overflow: hidden; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40, 70, 105, .55), rgba(52, 107, 159, .45));
}
.hero-content {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center;
  padding: 120px 16px 40px; color: var(--white);
}
.hero-content .kicker { font-family: var(--head); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.hero-content h1 { color: var(--white); font-size: clamp(42px, 6vw, 64px); margin-bottom: 44px; }
.hero-content .btn { justify-self: center; }
.hero-content > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease-out) forwards; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: background-color .2s ease, transform .2s var(--ease-out);
}
.hero-dots button.is-active { background: var(--white); transform: scale(1.3); }

/* Decorative diamonds (top-right of every hero) */
.diamonds { position: absolute; z-index: 1; top: -120px; right: -60px; width: 640px; height: 520px; pointer-events: none; }
.diamonds span { position: absolute; border-radius: 28px; transform: rotate(45deg); }
.diamonds span:nth-child(1) { width: 330px; height: 330px; top: 0; right: 230px; background: rgba(140, 170, 205, .4); animation: drift 9s ease-in-out infinite alternate; }
.diamonds span:nth-child(2) { width: 330px; height: 330px; top: 30px; right: 0; background: rgba(30, 60, 100, .55); animation: drift 11s ease-in-out infinite alternate-reverse; }
.diamonds span:nth-child(3) { width: 200px; height: 200px; top: 300px; right: -60px; background: rgba(200, 215, 235, .35); animation: drift 8s ease-in-out infinite alternate; }
@keyframes drift { to { translate: 0 18px; } }

/* Inner-page hero */
.page-hero { position: relative; height: 550px; overflow: hidden; display: grid; place-content: center; text-align: center; color: var(--white); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(30, 50, 80, .18); }
.page-hero .hero-text { position: relative; z-index: 2; padding-top: 60px; }
.page-hero small { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5vw, 58px); font-weight: 600; margin-top: 10px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.bg-lavender { background: var(--lavender); }

/* Intro (doctor) */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-media { position: relative; padding: 0 0 110px 60px; }
.intro-media::before { content: ""; position: absolute; left: 50px; top: 0; width: 18px; height: 70%; background: var(--navy); border-radius: 10px; }
.intro-media .palms { position: relative; margin-left: 40px; border-radius: 8px; width: 480px; max-width: calc(100% - 40px); aspect-ratio: 480 / 670; object-fit: cover; filter: grayscale(1) contrast(.9) brightness(1.05); }
.intro-media .doctor { position: absolute; left: 0; bottom: 0; width: 320px; max-width: 60%; aspect-ratio: 1; object-fit: cover; object-position: 42% 20%; border-radius: 8px; border: 0; box-shadow: 0 20px 50px rgba(4, 0, 11, .18); }
.intro-text p { margin-bottom: 26px; }
.intro-text h2 { margin-bottom: 24px; }
.checklist { list-style: none; padding: 28px 0 0; margin: 28px 0 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 40px; row-gap: 6px; color: var(--ink); }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.checklist--single { grid-template-columns: 1fr; border-top: 0; padding-top: 0; margin-top: 0; }

/* Schedule band */
.band { background: var(--navy); color: var(--white); text-align: center; padding: 100px 16px; }
.band h2 { color: var(--white); font-size: clamp(38px, 5vw, 64px); margin-bottom: 40px; }

/* Why choose us */
.why { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; clip-path: polygon(0 0, 50% 0, 100% 46%, 100% 54%, 50% 100%, 0 100%); }
.play {
  position: absolute; left: 50%; top: 66%; width: 150px; height: 150px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center; transform: translate(-28%, -50%);
  background: var(--blue); color: var(--white); box-shadow: 0 0 0 14px rgba(255, 255, 255, .7), 0 0 0 20px rgba(62, 92, 118, .25);
  transition: transform .2s var(--ease-out);
}
.play::before { content: ""; position: absolute; inset: -20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play:hover { transform: translate(-28%, -50%) scale(1.05); }
.play:active { transform: translate(-28%, -50%) scale(.97); }
.play svg { width: 34px; height: 34px; margin-left: 5px; }
.why-text h2 { margin: 6px 0 22px; }
.reviews-count { border-top: 1px solid var(--line); padding: 28px 0 0 18px; margin-top: 30px; }
.reviews-count strong { font-family: var(--head); font-weight: 500; font-size: 52px; color: var(--ink); line-height: 1; display: block; }
.reviews-count a { color: var(--body); }
.reviews-count a:hover { color: var(--blue); }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 80px; }
.feature {
  display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 6px;
  background: var(--beige); box-shadow: 0 10px 30px rgba(4, 0, 11, .05);
  font-family: var(--head); font-weight: 500; font-size: 18px; color: var(--ink); line-height: 1.4;
}
.feature .icon-circle { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.feature .icon-circle svg { width: 36px; height: 36px; }

/* Services showcase carousel */
.center { text-align: center; }
.showcase { margin-top: 50px; overflow: hidden; }
.showcase-track { display: flex; gap: 30px; width: max-content; animation: marquee 40s linear infinite; }
.showcase:hover .showcase-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 15px)); } }
.show-card { position: relative; width: 330px; aspect-ratio: 370 / 440; border-radius: 8px; overflow: hidden; }
.show-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s var(--ease-out), filter .6s ease; }
.show-card .cap {
  position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 20px 24px; border-radius: 6px;
  background: var(--white); transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease-out);
}
.show-card .cap small { display: block; font-size: 14px; }
.show-card .cap h3 { font-size: 24px; }
@media (hover: hover) and (pointer: fine) {
  .show-card:hover img { transform: scale(1.06); filter: none; }
  .show-card:hover .cap { transform: none; }
}

/* Welcome stats */
.welcome {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: center; gap: 20px;
  padding: 60px 70px; border-radius: 8px; background: var(--beige); box-shadow: 0 20px 50px rgba(4, 0, 11, .06);
}
.welcome::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 200px; height: 200px; transform: rotate(45deg); background: rgba(255, 255, 255, .45); }
.welcome::after { content: ""; position: absolute; right: -40px; top: -90px; width: 170px; height: 170px; transform: rotate(45deg); background: var(--navy); box-shadow: -40px 0 0 rgba(52, 107, 159, .55); }
.welcome h2 { font-size: 34px; }
.stat { text-align: center; position: relative; z-index: 1; }
.stat strong { display: block; font-family: var(--head); font-weight: 400; font-size: 50px; color: var(--ink); line-height: 1.1; }
.stat span { font-family: var(--head); font-weight: 500; font-size: 16px; letter-spacing: .06em; color: var(--ink); }
.care { display: flex; align-items: center; gap: 30px; margin-top: 50px; }
.care img { width: 202px; height: 90px; object-fit: cover; border-radius: 5px; flex: none; }
.care h3 { font-size: 28px; }
.care p { margin: 4px 0 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
.reviews-summary { text-align: center; }
.reviews-summary strong { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: .05em; }
.stars { color: #f6bb06; letter-spacing: 2px; font-size: 22px; }
.reviews-summary .g { font-family: var(--head); font-weight: 600; font-size: 28px; margin-top: 6px; }
.reviews-viewport { overflow: hidden; }
.reviews-track { display: flex; gap: 20px; transition: transform .6s var(--ease-out); }
.review { flex: 0 0 calc((100% - 40px) / 3); background: var(--white); border-radius: 8px; padding: 26px; box-shadow: 0 10px 30px rgba(4, 0, 11, .05); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 700; background: var(--navy); }
.review-head b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.review-head time { font-size: 13px; }
.review p { font-size: 15px; line-height: 1.7; margin: 8px 0 0; color: #4b4754; }
.reviews-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.reviews-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 18px; color: var(--ink); transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.reviews-nav button:hover { background: var(--navy); color: var(--white); }
.reviews-nav button:active { transform: scale(.94); }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-split h2 { margin-bottom: 30px; }
.contact-photos { display: grid; grid-template-columns: 330fr 220fr; gap: 20px; margin-bottom: 30px; }
.contact-photos img { width: 100%; height: 148px; object-fit: cover; object-position: left center; border-radius: 6px; filter: grayscale(1); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 8px 12px;
  border: 1px solid #c9c6cf; border-radius: 2px; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { min-height: 72px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52, 107, 159, .15); }
.form .btn { justify-self: start; margin-top: 12px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--blue); min-height: 1.5em; margin: 0; }


/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card {
  background: var(--beige); border-radius: 6px; padding: 40px 40px 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.card .ico { position: relative; width: 52px; height: 52px; margin-bottom: 18px; color: var(--ink); }
.card .ico::after { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; right: -16px; bottom: 0; background: rgba(62, 92, 118, .3); }
.card .ico svg { width: 46px; height: 46px; position: relative; z-index: 1; }
.card h3 { font-size: 24px; margin-bottom: 18px; }
.card p { font-size: 15px; line-height: 2.1; }
.card .arrow { margin-top: auto; font-size: 22px; color: var(--ink); transition: transform .25s var(--ease-out); align-self: flex-start; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(4, 0, 11, .08); }
  .card:hover .arrow { transform: translateX(6px); }
}

/* Inner page content */
.prose { max-width: 1120px; margin-inline: auto; }
.prose h2 { font-size: clamp(32px, 4vw, 44px); text-transform: uppercase; margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; color: #4b4754; }
.ticks li::before { content: "✓"; color: #4aa8c4; font-weight: 700; margin-right: 10px; }
blockquote { margin: 30px 0 0; color: #4b4754; }
.video-frame { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 36px; }
.video-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-frame .play { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 110px; height: 110px; }
.video-frame .play:hover { transform: translate(-50%, -50%) scale(1.05); }

.doctor-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.doctor-grid img { border-radius: 12px; width: 100%; aspect-ratio: 653 / 1024; object-fit: cover; object-position: 44% center; }
.doctor-grid h2 { font-size: 46px; margin-bottom: 18px; }
.bullets { padding-left: 22px; margin: 30px 0; color: #4b4754; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { background: var(--beige); border-radius: 6px; padding: 50px 30px 40px; text-align: center; }
.info-card .icon-circle { width: 140px; height: 140px; margin: 0 auto 26px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.info-card:hover .icon-circle { transform: rotate(-8deg) scale(1.04); }
.info-card .icon-circle svg { width: 64px; height: 64px; }
.info-card h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 14px; }
.info-card p { margin: 0; }
.map { width: 100%; height: 450px; border: 0; display: block; }
.contact-form-wrap { max-width: 800px; margin: 90px auto 0; }
.contact-form-wrap h2 { text-align: center; font-size: 48px; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .92); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 268px, rgba(255, 255, 255, .05) 268px 270px); }
.footer-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 60px 0 40px; }
.footer-top .brand { transform: scale(1.05); }
.socials { display: flex; gap: 22px; }
.socials a { width: 32px; height: 32px; display: grid; place-items: center; transition: transform .2s var(--ease-out), opacity .2s ease; }
.socials a:hover { transform: translateY(-3px); opacity: .8; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.footer-cols { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 0.9fr 1fr; gap: 30px; padding-bottom: 40px; font-size: 15px; }
.footer-cols h4 { color: var(--white); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 26px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { transition: opacity .2s ease; }
.footer-cols a:hover { opacity: .7; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 14px; height: 14px; flex: none; margin-top: 7px; fill: currentColor; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .15); padding: 26px 0 30px; text-align: center; font-size: 14px; line-height: 2.1; }
.footer-bottom p { margin: 0; }

/* Floating book button */
.float-book {
  position: fixed; right: 20px; bottom: 30px; z-index: 40; background: #1a6fd6; color: var(--white);
  font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 30px; box-shadow: 0 8px 24px rgba(26, 111, 214, .35);
  transition: transform .2s var(--ease-out);
}
.float-book:hover { transform: translateY(-3px); }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(4, 0, 11, .8); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; padding: 16px; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-inner { width: min(960px, 100%); aspect-ratio: 16 / 9; transform: scale(.96); transition: transform .3s var(--ease-out); }
.modal.is-open .modal-inner { transform: none; }
.modal iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }
.video-placeholder { width: 100%; height: 100%; border-radius: 6px; display: grid; place-content: center; gap: 10px; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--blue)); font-family: var(--head); font-size: 28px; letter-spacing: .04em; }
.video-placeholder span { font-size: 54px; }
.video-placeholder p { margin: 0; }


.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--white); font-size: 36px; cursor: pointer; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 10px 24px 24px; max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-header.menu-open { background: var(--navy); }
  .site-header.menu-open .nav > li { width: 100%; }
  .site-header.menu-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 12px; }
  .site-header.menu-open .dropdown a { color: rgba(255, 255, 255, .8); padding: 4px 10px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .welcome { grid-template-columns: repeat(3, 1fr); padding: 50px 40px; }
  .welcome h2 { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .intro, .why, .contact-split, .doctor-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-media { padding-left: 30px; }
  .intro-media::before { left: 20px; }
  .feature-row, .info-cards { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review { flex-basis: calc((100% - 20px) / 2); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .doctor-grid img { max-width: 320px; }
}
@media (max-width: 600px) {
  .logo .brand, .is-solid .logo .brand { transform: scale(.72); }
  .cards, .welcome { grid-template-columns: 1fr; }
  .ticks, .checklist { grid-template-columns: 1fr; }
  .review { flex-basis: 100%; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr; }
  .care { flex-direction: column; align-items: flex-start; }
  .play { width: 110px; height: 110px; }
  .show-card { width: 260px; }
  .page-hero { height: 420px; }
  .diamonds { transform: scale(.55); transform-origin: top right; }
  .form { grid-template-columns: 1fr; }
}
