@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy: #062d50;
  --navy-deep: #031d35;
  --gold: #b9832e;
  --gold-light: #d8ad65;
  --ink: #14233a;
  --muted: #647084;
  --cream: #f6f0e7;
  --paper: #ffffff;
  --line: #dce4ea;
  --shadow: 0 18px 55px rgba(7, 38, 66, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1420px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(6,45,80,.08); backdrop-filter: blur(14px); }
.header-inner { height: 94px; display: flex; align-items: center; gap: 28px; }
.brand { width: 330px; flex: 0 1 330px; }
.brand img { width: 100%; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 600; }
.site-nav a { position: relative; padding: 36px 0 32px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; background: var(--gold); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav a.active { color: var(--gold); }
.header-cta { margin-left: 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; place-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--navy); transition: .2s ease; }
.sidebar-only, .nav-backdrop { display: none; }
body.nav-open { overflow: hidden; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 25px; border: 1px solid transparent; border-radius: 15px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-icon { width: 23px; height: 23px; object-fit: contain; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #fff; background: linear-gradient(135deg, #c59038, #a66e1c); box-shadow: 0 10px 24px rgba(170,112,28,.24); }
.button-gold:hover { box-shadow: 0 14px 28px rgba(170,112,28,.32); }
.button-outline { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.72); }
.button-light { border-color: rgba(255,255,255,.75); color: #fff; }
.button.small { min-height: 42px; padding-inline: 20px; border-radius: 12px; font-size: .88rem; }

.hero { position: relative; min-height: 558px; overflow: hidden; background: #eef5f8; }
.hero-image { position: absolute; inset: 0; background-image: url("../images/hero-dental-patient.webp"); background-position: center; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,249,251,.98) 0%, rgba(245,249,251,.94) 35%, rgba(245,249,251,.3) 62%, rgba(3,29,53,.08) 100%); }
.hero-inner { position: relative; min-height: 558px; display: flex; align-items: center; }
.hero-copy { width: min(700px, 53vw); padding-block: 38px 32px; opacity: 1 !important; transform: none !important; }
.eyebrow { margin: 0 0 9px; color: var(--navy); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
.eyebrow.light { color: var(--gold-light); }
.hero h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(4.7rem, 7vw, 7.1rem); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.hero h1 em { color: var(--gold); }
.hero-lead { width: max-content; margin: 17px 0 10px; color: var(--navy); font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.85rem); font-weight: 700; line-height: 1.2; white-space: nowrap; letter-spacing: -.02em; }
.hero-text { max-width: 550px; margin: 0; color: #45546a; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.show-mobile { display: none !important; }
.hide-mobile { display: block; }
span.hide-mobile { display: inline; }
.hero-script { position: absolute; top: 36px; right: calc((100vw - 100%) / -2 + 10px); width: 248px; margin: 0; pointer-events: none; z-index: 5; }
.hero-script-img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-script span { display: block; width: max-content; }
.hero-script .desktop-script > span:nth-child(2) { margin-left: 12px; }
.hero-script .script-phrase { margin-left: 25px; position: relative; display: block; width: max-content; }
.hero-script .script-phrase span { display: inline; }
.hero-script .script-phrase .script-smiles { margin-left: 6px; position: relative; }
.hero-script .script-swoosh { display: block; width: 85px; height: 14px; margin-left: 20px; margin-top: 4px; }
@media (max-width: 1399px) {
  .hero-script { display: none !important; }
}
.trust-strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 0; width: 100%; margin-top: 24px; }
.trust-item { min-width: 0; min-height: 56px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border-right: 1px solid rgba(6,45,80,.16); color: var(--navy); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong, .trust-item span:not(.trust-icon) { display: block; }
.trust-item span { min-width: 0; font-size: .82rem; line-height: 1.22; }
.trust-icon { width: 39px; height: 39px; flex: 0 0 39px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: 85px 0; }
.services-section { background: #fff; }
@media (min-width: 1221px) {
  .services-section .container { width: min(1540px, calc(100% - 48px)); }
}
.section-heading h2, .technology-copy h2, .contact-band h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2.35rem, 3.5vw, 3.6rem); line-height: 1.05; }
.section-heading p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.text-link { flex: 0 0 auto; display: inline-flex; gap: 15px; padding: 11px 19px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.service-card { overflow: hidden; min-width: 0; border: 1px solid #e4e8ed; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(6,45,80,.08); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-visual { width: 100%; height: 150px; object-fit: cover; }
.service-content { display: flex; align-items: center; gap: 12px; padding: 15px; }
.service-content > div { min-width: 0; }
.service-content h3 { margin: 0; color: var(--navy); font-size: .96rem; line-height: 1.25; }
.service-content p { margin: 5px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.35; }
.service-content a { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; margin-left: auto; border: 1px solid #9aacba; border-radius: 50%; color: var(--navy); }

/* Doctor & About Split Section */
/* Doctor & About Split Section */
.doctor-about { display: grid; grid-template-columns: 1.66fr 1fr; align-items: stretch; background: #f4f6fa; }

/* Left Panel - Doctor */
.doctor-panel { min-width: 0; display: grid; grid-template-columns: clamp(220px, 31%, 290px) 1fr; align-items: stretch; background: #f4f6fa; }
.doctor-photo-col { position: relative; overflow: hidden; display: flex; align-items: stretch; background: #f4f6fa; }
.doctor-photo-col::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; background: linear-gradient(to right, rgba(244, 246, 250, 0), #f4f6fa); pointer-events: none; }
.doctor-photo { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.doctor-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(18px, 2.2vw, 36px) 24px clamp(14px, 1.6vw, 22px); }

.doctor-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.doctor-headings { flex: 1; min-width: 0; }
.doctor-eyebrow { margin: 0 0 4px 0; color: #b58235; font-family: var(--sans); font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.doctor-copy h2, .doctor-copy .doctor-name { margin: 0 0 5px 0; color: #072b4f; font-family: var(--serif); font-size: clamp(1.45rem, 1.7vw, 1.95rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; }
.doctor-qual { margin: 0 0 2px 0; color: #072b4f; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: -0.01em; }
.doctor-specialties { margin: 0; color: #072b4f; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }

/* Doctor Experience Badge */
.doctor-exp-badge { display: inline-flex; align-items: center; gap: 11px; padding: 8px 14px; background: #ffffff; border: 1.2px solid #dce4ee; border-radius: 14px; box-shadow: 0 3px 12px rgba(6, 45, 80, 0.05); flex-shrink: 0; }
.badge-icon-box { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1.2px solid #ecd3b2; border-radius: 10px; flex-shrink: 0; box-shadow: 0 1px 4px rgba(234, 158, 55, 0.08); }
.badge-trophy { width: 24px; height: 24px; display: block; }
.badge-text-box { display: flex; flex-direction: column; justify-content: center; }
.badge-stat { color: #072b4f; font-family: var(--serif); font-size: 1.65rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 2px; }
.badge-label { color: #0c2d52; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }

/* Doctor Bio Text */
.doctor-bio { margin: 12px 0 16px 0; color: #4a5d73; font-family: var(--sans); font-size: 0.84rem; line-height: 1.5; max-width: 580px; }

/* Action Buttons */
.doctor-action, .about-action { margin-top: 4px; }
.btn-pill-navy { display: inline-flex; align-items: center; gap: 9px; padding: 7px 20px; border: 1.2px solid #072b4f; border-radius: 9999px; background: transparent; color: #072b4f; font-family: var(--sans); font-size: 0.84rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; }
.btn-pill-navy:hover { background: #072b4f; color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(7, 43, 79, 0.16); }
.btn-pill-white { display: inline-flex; align-items: center; gap: 9px; padding: 7px 20px; border: 1.2px solid rgba(255, 255, 255, 0.75); border-radius: 9999px; background: transparent; color: #ffffff; font-family: var(--sans); font-size: 0.84rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; }
.btn-pill-white:hover { background: #ffffff; color: #072b4f; border-color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); }
.btn-arrow { width: 14px; height: 14px; transition: transform 0.2s ease; }
.btn-pill-navy:hover .btn-arrow, .btn-pill-white:hover .btn-arrow { transform: translateX(3px); }

/* Right Panel - About BlueNile Dental */
.about-panel { position: relative; overflow: hidden; display: flex; align-items: stretch; color: #ffffff; background: #032448 url("../images/consultation-room.webp") right 10% center / cover no-repeat; }
.about-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #022347 0%, rgba(2, 35, 71, 0.94) 48%, rgba(2, 35, 71, 0.72) 100%); }
.about-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(22px, 2.8vw, 40px) 24px clamp(18px, 2.3vw, 34px); }
.about-content h2, .about-content .about-title { margin: 0 0 12px 0; color: #ffffff; font-family: var(--serif); font-size: clamp(1.45rem, 1.7vw, 1.95rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; }
.about-text { margin: 0 0 10px 0; color: rgba(255, 255, 255, 0.88); font-family: var(--sans); font-size: 0.84rem; line-height: 1.5; max-width: 520px; }
.about-text:last-of-type { margin-bottom: 18px; }

.technology { overflow: hidden; background: var(--cream); }
.technology-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(50px, 7vw, 110px); }
.technology-copy > p:not(.eyebrow) { color: #586478; font-size: 1.04rem; }
.hours-card { display: flex; align-items: center; gap: 17px; width: fit-content; margin-top: 28px; padding: 17px 20px; border: 1px solid rgba(6,45,80,.12); border-radius: 15px; background: rgba(255,255,255,.72); }
.hours-icon { color: var(--gold); font-size: 2rem; }
.hours-card strong, .hours-card span, .hours-card small { display: block; }
.hours-card strong { color: var(--navy); }
.hours-card span { color: #465469; font-size: .9rem; }
.hours-card small { color: var(--gold); font-size: .75rem; font-weight: 700; }
.technology-gallery { position: relative; height: 520px; }
.technology-gallery img { position: absolute; object-fit: cover; border: 8px solid #fff; border-radius: 24px; box-shadow: var(--shadow); }
.gallery-main { left: 0; top: 20px; width: 68%; height: 460px; }
.gallery-small { right: 0; width: 38%; height: 230px; }
.gallery-small.top { top: 0; }
.gallery-small.bottom { bottom: 0; }

/* Appointment Section */
.contact-band { padding: 36px 0 46px; background: #ffffff; }
.appointment-card { position: relative; min-width: 0; overflow: hidden; display: flex; align-items: center; gap: clamp(24px, 3.2vw, 44px); padding: clamp(34px, 3.8vw, 44px) clamp(36px, 4vw, 54px); border-radius: 22px; border: 1px solid #dce8f2; box-shadow: 0 14px 40px rgba(7,43,79,.05); background-color: #eff5fc; }
.appointment-copy { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; flex: 0 1 480px; max-width: 480px; }
.appointment-eyebrow { margin: 0 0 10px 0; color: #bf822d; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.appointment-title, .contact-band h2.appointment-title { margin: 0 0 12px 0; color: #072b4f; font-family: var(--serif); font-size: clamp(1.85rem, 2.3vw, 2.45rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.appointment-desc { margin: 0 0 24px 0; color: #4f6174; font-size: .95rem; line-height: 1.5; max-width: 440px; }
.appointment-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-book-gold { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; background: #b57a27; background: linear-gradient(180deg, #ba802e 0%, #ad7322 100%); color: #fff; font-family: var(--sans); font-size: .92rem; font-weight: 600; border-radius: 12px; box-shadow: 0 5px 16px rgba(186,125,41,.35); text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn-book-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(186,125,41,.45); filter: brightness(1.05); }
.btn-book-gold .btn-icon { width: 18px; height: 18px; flex: 0 0 18px; stroke: #fff; }
.btn-book-gold .btn-arrow { width: 14px; height: 14px; flex: 0 0 14px; stroke: #fff; margin-left: 2px; transition: transform .2s ease; }
.btn-book-gold:hover .btn-arrow { transform: translateX(3px); }
.btn-chat-whatsapp { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; background: #fff; color: #072b4f; font-family: var(--sans); font-size: .92rem; font-weight: 600; border-radius: 12px; border: 1.4px solid #6f8ba9; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease; }
.btn-chat-whatsapp:hover { background: #f1f6fb; border-color: #072b4f; color: #072b4f; transform: translateY(-2px); }
.btn-chat-whatsapp .btn-icon { width: 18px; height: 18px; flex: 0 0 18px; stroke: #072b4f; fill: none; }
.btn-chat-whatsapp .whatsapp-color-icon { object-fit: contain; }
.appointment-benefits { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 17px; padding: 12px 0 12px clamp(24px, 2.5vw, 36px); border-left: 1.3px solid #cfdeeb; white-space: nowrap; flex: 0 0 auto; }
.appointment-benefit { display: flex; align-items: center; gap: 12px; }
.appointment-benefit .benefit-icon { width: 22px; height: 22px; flex: 0 0 22px; stroke: #072b4f; }
.appointment-benefit span { color: #072b4f; font-size: .83rem; font-weight: 700; line-height: 1.25; }
.appointment-visual { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(340px, 44%, 560px); pointer-events: none; background-image: linear-gradient(90deg, #eff5fc 0%, rgba(239,245,252,.75) 12%, rgba(239,245,252,0) 28%), url("../images/appointment-chair.webp"); background-position: right center; background-size: auto 100%; background-repeat: no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.85) 12%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.85) 12%, #000 24%); }

.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.82); background: linear-gradient(135deg, #062f55 0%, #032541 52%, #062f55 100%); }
.site-footer::before, .site-footer::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; border: 46px solid rgba(28,105,164,.16); }
.site-footer::before { width: 850px; height: 260px; left: -250px; bottom: -210px; transform: rotate(9deg); }
.site-footer::after { width: 720px; height: 230px; right: -210px; bottom: -185px; transform: rotate(-8deg); }
.footer-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 0%, rgba(15,95,151,.34), transparent 36%), radial-gradient(circle at 82% 18%, rgba(17,83,132,.22), transparent 32%); }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .62fr .88fr 1.12fr .8fr; gap: 35px; padding-top: 55px; padding-bottom: 42px; }
@media (min-width: 1221px) {
  .footer-main > :nth-child(2),
  .footer-main > :nth-child(3),
  .footer-main > :nth-child(4) { position: relative; padding-left: 24px; }
  .footer-main > :nth-child(2)::before,
  .footer-main > :nth-child(3)::before,
  .footer-main > :nth-child(4)::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.1) 18%, rgba(255,255,255,.1) 82%, transparent 100%); pointer-events: none; }
}
.footer-brand img { width: min(360px, 100%); height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 380px; margin: 0; font-size: .9rem; line-height: 1.65; }
.footer-socials { display: flex; gap: 12px; margin-top: 25px; }
.footer-socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.footer-socials a:hover { border-color: var(--gold-light); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.footer-socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-socials a:first-child svg { fill: currentColor; stroke: none; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin: 1px 0 8px; color: #fff; font-family: var(--serif); font-size: 1.22rem; }
.footer-column a { font-size: .86rem; transition: color .2s ease, transform .2s ease; }
.footer-column > a:hover { color: var(--gold-light); transform: translateX(3px); }
.footer-contact { gap: 12px; }
.footer-contact p, .footer-contact > a { display: flex; align-items: flex-start; gap: 11px; margin: 0; font-size: .83rem; line-height: 1.45; }
.footer-contact svg, .footer-direction svg { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-location { display: flex; flex-direction: column; gap: 13px; }
.map-card { position: relative; min-height: 210px; overflow: hidden; display: block; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background-color: #eaf0f2; background-image: linear-gradient(33deg, transparent 46%, rgba(255,255,255,.95) 47% 51%, transparent 52%), linear-gradient(145deg, transparent 40%, rgba(208,217,221,.8) 41% 44%, transparent 45%), linear-gradient(85deg, transparent 53%, rgba(255,255,255,.85) 54% 58%, transparent 59%); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.map-label { position: absolute; top: 24px; left: 50%; width: max-content; max-width: calc(100% - 30px); padding: 10px 15px; border-radius: 9px; color: var(--navy); background: rgba(255,255,255,.96); box-shadow: 0 5px 15px rgba(6,45,80,.15); transform: translateX(-50%); text-align: center; }
.map-label strong, .map-label small { display: block; }
.map-label strong { font-size: .78rem; }
.map-label small { font-size: .67rem; }
.map-pin { position: absolute; left: 50%; top: 112px; width: 31px; height: 31px; fill: #e5533f; stroke: #fff; stroke-width: 1.5; transform: translateX(-50%); }
.footer-direction { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; border: 1px solid rgba(255,255,255,.75); border-radius: 12px; color: #fff; font-size: .82rem; font-weight: 700; }
.footer-contact > .footer-direction { width: 100%; max-width: 215px; align-items: center; margin-top: 5px; }
.footer-direction svg { stroke: #fff; }
.footer-direction span { margin-left: auto; font-size: 1.1rem; }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 22px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.35); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.footer-credit a { color: var(--gold-light); font-weight: 700; }
.footer-bottom div { display: flex; align-items: center; gap: 14px; }
.footer-bottom a:hover { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 1220px) {
  .container { width: min(100% - 42px, 1180px); }
  .brand { width: 260px; flex-basis: 260px; }
  .site-nav { gap: 17px; font-size: .8rem; }
  .header-cta { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .doctor-panel { grid-template-columns: 32% 68%; }
  .appointment-card { gap: 24px; padding-inline: 32px; }
  .appointment-copy { flex: 0 1 440px; }
  .appointment-visual { width: 40%; }
  .footer-main { grid-template-columns: 1.15fr .7fr 1fr; }
  .footer-contact { grid-column: 1 / 3; }
  .footer-location { grid-column: 3; }
}

@media (max-width: 900px) {
  .header-inner { height: 72px; gap: 8px; }
  .brand { width: clamp(140px, 35vw, 195px); flex: 0 0 auto; order: 1; }
  .header-cta {
    order: 2;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    background: #b57a27;
    background: linear-gradient(180deg, #ba802e 0%, #a86e20 100%);
    box-shadow: 0 4px 12px rgba(186, 125, 41, 0.28);
    color: #ffffff;
  }
  .header-cta .button-icon { width: 15px; height: 15px; stroke: #ffffff; }
  .menu-toggle {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 22px;
    height: 2.2px;
    margin: 2.5px 0;
    background: #072b4f;
    border-radius: 2px;
  }
  .nav-backdrop { position: fixed; inset: 0; z-index: 110; display: block; padding: 0; border: 0; background: rgba(2, 25, 47, .48); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
  .nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav { position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(390px, 88vw); height: 100dvh; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 0 24px 25px; color: var(--navy); background: linear-gradient(155deg, #fff 0%, #f8fbfd 62%, #edf5fa 100%); border-left: 1px solid rgba(6,45,80,.08); box-shadow: -22px 0 55px rgba(3,29,53,.22); opacity: 1; visibility: hidden; transform: translateX(105%); pointer-events: none; transition: transform .34s cubic-bezier(.22,.8,.24,1), visibility .34s ease; }
  .site-nav.open { visibility: visible; transform: translateX(0); pointer-events: auto; }
  .sidebar-only { display: flex; }
  .mobile-nav-header { position: sticky; top: 0; z-index: 2; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; margin: 0 -24px 10px; padding: 16px 24px; border-bottom: 1px solid rgba(6,45,80,.1); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
  .mobile-nav-header img { width: 205px; height: auto; }
  .mobile-nav-close { position: relative; width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 1px solid rgba(6,45,80,.14); border-radius: 50%; background: #fff; cursor: pointer; }
  .mobile-nav-close span { position: absolute; left: 10px; top: 18px; width: 19px; height: 2px; border-radius: 2px; background: var(--navy); transform: rotate(45deg); }
  .mobile-nav-close span:last-child { transform: rotate(-45deg); }
  .site-nav > a { position: relative; padding: 14px 13px; border-bottom: 1px solid rgba(6,45,80,.09); color: #18334e; font-size: .96rem; font-weight: 650; }
  .site-nav > a.active { margin-top: 3px; border-bottom-color: transparent; border-radius: 11px; color: var(--navy); background: rgba(185,131,46,.11); }
  .site-nav > a.active::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: var(--gold); }
  .site-nav a::after { display: none; }
  .mobile-nav-footer { flex-direction: column; align-items: stretch; gap: 11px; margin-top: auto; padding-top: 24px; }
  .mobile-nav-kicker { margin: 0 0 2px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .site-nav .mobile-nav-contact, .mobile-nav-hours { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; color: #43566b; font-size: .78rem; font-weight: 600; white-space: normal; }
  .mobile-nav-contact svg, .mobile-nav-hours svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav-socials { display: flex; gap: 9px; margin-top: 7px; }
  .mobile-nav-socials a { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(6,45,80,.18); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.72); }
  .mobile-nav-socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav-socials a:first-child svg { fill: currentColor; stroke: none; }
  .hero { min-height: auto; }
  .hero-image { background-position: 72% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(245,249,251,.98), rgba(245,249,251,.88) 58%, rgba(245,249,251,.28)); }
  .hero-inner { min-height: 540px; }
  .hero-copy { width: min(700px, 82vw); }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-gallery { height: 480px; }
  .doctor-about { grid-template-columns: 1fr; }
  .appointment-card { flex-direction: column; align-items: stretch; gap: 28px; padding: 34px 28px; }
  .appointment-copy { max-width: 100%; flex: auto; }
  .appointment-title, .contact-band h2.appointment-title { white-space: normal; }
  .appointment-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0 0; border-top: 1.2px solid #cfdeeb; border-left: 0; }
  .appointment-visual { position: absolute; top: auto; right: 0; bottom: 0; width: 55%; height: 160px; opacity: 0.22; background-size: auto 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 620px; }
  .footer-contact { grid-column: auto; }
  .footer-location { grid-column: auto; }
}

@media (max-width: 768px) {
  .show-mobile { display: block !important; }
  span.show-mobile { display: inline !important; }
  .hide-mobile { display: none !important; }

  .container { width: calc(100% - 32px); }
  .header-inner { height: 64px; gap: 8px; justify-content: space-between; }
  .brand { width: 140px; flex: 0 0 140px; order: 1; }
  .brand img { width: 100%; height: auto; display: block; }
  .header-cta {
    order: 2;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0 11px;
    min-height: 34px;
    border-radius: 8px;
    white-space: nowrap;
    background: #b57620;
    background: linear-gradient(180deg, #ba7c24 0%, #aa6e1b 100%);
    box-shadow: 0 2px 8px rgba(181, 118, 32, 0.28);
    color: #ffffff;
    border: none;
  }
  .header-cta .button-icon { width: 13px; height: 13px; stroke: #ffffff; }
  .menu-toggle {
    order: 3;
    width: 30px;
    height: 30px;
    margin-left: 2px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 21px;
    height: 2.2px;
    margin: 2px 0;
    background: #072b4f;
    border-radius: 2px;
  }
  
  /* Mobile Hero Styling Matching media_1790586916588.jpg */
  .hero {
    position: relative;
    min-height: auto;
    overflow: hidden;
    background: #edf5fc;
    padding-top: 20px;
    padding-bottom: 22px;
  }
  .hero-image {
    position: absolute;
    inset: 0;
    background-image: url("../images/mobile-hero-bg.webp");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #edf5fc 0%, #edf5fc 36%, rgba(237, 245, 252, 0.92) 48%, rgba(237, 245, 252, 0.4) 62%, rgba(237, 245, 252, 0) 76%);
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .eyebrow {
    margin: 0 0 8px 0;
    color: #072b4f;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hero h1 {
    margin: 0 0 6px 0;
    color: #072b4f;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 11.5vw, 3.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    white-space: normal;
    display: flex;
    flex-direction: column;
  }
  .hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    color: #bf822d;
    font-size: 1.12em;
    line-height: 0.92;
    margin-top: 2px;
  }
  .hero-lead {
    width: auto;
    margin: 12px 0 10px 0;
    color: #072b4f;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    letter-spacing: -0.01em;
    max-width: 250px;
  }
  .hero-text {
    margin: 0 0 16px 0;
    color: #4a5d72;
    font-size: 0.8rem;
    line-height: 1.45;
    max-width: 245px;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 0;
    width: 100%;
  }
  .hero-actions .button {
    width: fit-content;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }
  .hero-actions .button-gold {
    background: #b57620;
    background: linear-gradient(180deg, #ba7c24 0%, #ab6e1b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(181, 118, 32, 0.28);
    border: none;
  }
  .hero-actions .button-outline {
    background: #ffffff;
    color: #072b4f;
    border: 1.4px solid #072b4f;
    box-shadow: 0 2px 8px rgba(7, 43, 79, 0.04);
  }
  .hero-actions .button-icon {
    width: 16px;
    height: 16px;
  }
  .hero-actions .whatsapp-icon {
    width: 16px;
    height: 16px;
    stroke: #072b4f;
  }
  
  .hero-script {
    display: block !important;
    position: relative;
    top: auto;
    right: auto;
    width: 140px;
    margin: 12px 0 10px 6px;
    transform: none;
    text-shadow: none;
    pointer-events: none;
  }
  .hero-script-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Trust Strip Mobile Floating Card */
  .trust-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    width: 100%;
    margin: 12px 0 0 0;
    padding: 16px 3px 14px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #dce8f2;
    box-shadow: 0 8px 24px rgba(6, 45, 80, 0.08);
  }
  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 8px;
    padding: 0 2px;
    border-right: 1px solid #e8eff6;
    border-bottom: none;
    min-height: auto;
  }
  .trust-item:last-child {
    border-right: none;
  }
  .trust-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    stroke: #bd7c22;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .trust-item span {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #072b4f;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }
  .trust-item strong {
    display: block;
    font-size: inherit;
    font-weight: 700;
    color: #072b4f;
  }
  .section { padding: 64px 0; }
  .split-heading { align-items: start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-visual { height: 170px; }
  .doctor-about { grid-template-columns: 1fr; }
  .doctor-panel { grid-template-columns: 1fr; }
  .doctor-photo-col { max-height: 360px; }
  .doctor-photo-col::after { display: none; }
  .doctor-copy { padding: 32px 22px 36px; }
  .about-content { padding: 36px 22px 42px; }
  .doctor-top-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .technology-gallery { height: 500px; }
  .gallery-main { width: 82%; height: 320px; }
  .gallery-small { width: 48%; height: 190px; }
  .gallery-small.top { top: 260px; }
  .contact-band { padding: 20px 0; }
  .appointment-card { padding: 28px 20px; border-radius: 18px; min-width: 0; }
  .appointment-copy { max-width: 100%; min-width: 0; }
  .appointment-title, .contact-band h2.appointment-title { font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.2; }
  .appointment-actions { flex-direction: column; width: 100%; }
  .btn-book-gold, .btn-chat-whatsapp { width: 100%; justify-content: center; }
  .appointment-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding-top: 22px;
    border-top: 1.2px solid #cfdeeb;
    border-left: 0;
    width: 100%;
    white-space: normal;
  }
  .appointment-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .appointment-benefit .benefit-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
  .appointment-benefit span {
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: normal;
  }
  .appointment-visual { display: none; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding-top: 42px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand img {
    width: min(340px, 100%);
  }
  .footer-column {
    min-width: 0;
  }
  .footer-column h2 {
    font-size: 1.15rem;
    margin: 0 0 12px 0;
  }
  .footer-column a {
    font-size: 0.84rem;
    line-height: 1.4;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-location {
    grid-column: 1 / -1;
  }
  .map-card {
    min-height: 190px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .footer-bottom div {
    flex-wrap: wrap;
    gap: 9px;
  }
}

