/* Shared multipage layer — loaded after styles.css */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.shell-icon { color: var(--teal); font-size: 1rem; }
.multipage-header .header__inner { height: 88px; }
.multipage-header .main-nav { gap: clamp(16px, 1.7vw, 28px); }
.multipage-header .main-nav > a,
.multipage-header .nav-dropdown > a { position: relative; display: block; padding: 34px 0 31px; color: #364a58; font-size: .84rem; font-weight: 700; }
.multipage-header .main-nav > a::after,
.multipage-header .nav-dropdown > a::after { position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--teal-dark); content: ""; transform: scaleX(0); transition: transform .25s; }
.multipage-header .main-nav > a.active::after,
.multipage-header .main-nav > a:hover::after,
.multipage-header .nav-dropdown > a.active::after,
.multipage-header .nav-dropdown:hover > a::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown > a span { display: inline-block; margin-left: 4px; transition: transform .25s; }
.nav-dropdown:hover > a span { transform: rotate(180deg); }
.nav-dropdown__menu { position: absolute; z-index: 70; top: calc(100% - 7px); left: 50%; display: grid; width: 390px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .25s, transform .25s; }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown__menu > a:not(.nav-dropdown__all) { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 11px; transition: background .2s; }
.nav-dropdown__menu > a:hover { background: var(--cream); }
.nav-dropdown__menu b { display: grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: rgba(98,210,200,.16); color: var(--teal-dark); font-size: .66rem; }
.nav-dropdown__menu strong, .nav-dropdown__menu small { display: block; }
.nav-dropdown__menu strong { color: var(--navy); font-family: var(--font-display); font-size: .78rem; }
.nav-dropdown__menu small { color: var(--muted); font-size: .64rem; }
.nav-dropdown__all { margin-top: 7px; padding: 11px 13px; border-top: 1px solid var(--line); color: var(--teal-dark); font-size: .72rem; font-weight: 800; }

/* Home 10-inspired video hero */
.video-hero { position: relative; min-height: 790px; overflow: hidden; background: var(--navy-deep); color: var(--white); isolation: isolate; }
.video-hero > video { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-hero::before { position: absolute; z-index: -2; inset: 0; background: rgba(0, 18, 73, .76); content: ""; }
.video-hero::after { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 34%, rgba(74,124,210,.12), transparent 42%), linear-gradient(180deg, transparent 60%, rgba(0,10,65,.45)); content: ""; }
.video-hero__content { display: flex; min-height: 665px; align-items: center; flex-direction: column; justify-content: center; padding: 75px 0 150px; text-align: center; }
.word-rotator { position: relative; width: 100%; height: clamp(110px, 15vw, 190px); margin-bottom: 18px; }
.word-rotator h1 { position: absolute; inset: 50% 0 auto; margin: 0; color: var(--white); font-size: clamp(4.5rem, 11vw, 9.6rem); font-weight: 700; letter-spacing: -.075em; line-height: .9; opacity: 0; transform: translateY(45%) rotateX(-12deg); transition: opacity .7s, transform .8s cubic-bezier(.2,.8,.2,1); }
.word-rotator h1.active { opacity: 1; transform: translateY(-50%) rotateX(0); }
.video-hero__content > p { max-width: 760px; margin: 0 auto 31px; color: rgba(255,255,255,.76); font-size: 1.04rem; }
.video-hero .btn { border: 1px solid rgba(255,255,255,.65); background: transparent; box-shadow: none; }
.video-hero .btn:hover { border-color: var(--navy); background: var(--white); color: var(--navy); }
.hero-info-strip { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; }
.hero-info-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 18px 18px 0 0; background: var(--white); color: var(--navy); box-shadow: 0 -10px 45px rgba(0,0,0,.12); }
.hero-info-strip article { display: flex; align-items: center; gap: 19px; min-height: 125px; padding: 26px 35px; border-right: 1px solid var(--line); }
.hero-info-strip article:last-child { border: 0; }
.hero-info-strip i { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: rgba(74,124,210,.12); color: #4a7cd2; font-size: 1.45rem; font-style: normal; }
.hero-info-strip strong, .hero-info-strip small { display: block; }
.hero-info-strip strong { font-family: var(--font-display); font-size: .98rem; }
.hero-info-strip small { color: var(--muted); font-size: .73rem; }

.home-statement { padding: 115px 0 95px; }
.home-statement__top { display: grid; grid-template-columns: .42fr 1.58fr; align-items: start; gap: 65px; }
.home-statement__people { display: flex; align-items: center; gap: 16px; padding-top: 9px; }
.mini-faces { display: flex; }
.mini-faces img { width: 50px; height: 50px; margin-left: -12px; border: 4px solid var(--white); border-radius: 50%; object-fit: cover; }
.mini-faces img:first-child { margin-left: 0; }
.mini-faces + div strong, .mini-faces + div span { display: block; }
.mini-faces + div strong { color: var(--navy); font-family: var(--font-display); font-size: 1.35rem; }
.mini-faces + div span { color: var(--muted); font-size: .7rem; }
.home-statement h2 { margin: 0; font-size: clamp(2.25rem, 4.1vw, 4.25rem); line-height: 1.22; }
.home-statement h2 span { color: var(--teal-dark); }
.home-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 65px; background: var(--line); }
.home-stat-grid article { padding: 28px 18px; background: var(--white); text-align: center; }
.home-stat-grid strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 2.5rem; letter-spacing: -.06em; }
.home-stat-grid small { color: var(--muted); font-size: .7rem; }

.home-about { padding: 110px 0; background: var(--cream); }
.home-about__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.home-about__media { position: relative; min-height: 600px; }
.home-about__media img:first-child { width: 72%; height: 530px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow); }
.home-about__media img:nth-child(2) { position: absolute; right: 0; bottom: 0; width: 52%; height: 335px; border: 10px solid var(--cream); border-radius: 18px; object-fit: cover; box-shadow: var(--shadow); }
.home-about__badge { position: absolute; top: 36px; right: 10px; display: grid; width: 125px; height: 125px; place-items: center; border-radius: 50%; background: #4a7cd2; color: var(--white); text-align: center; box-shadow: var(--shadow); }
.home-about__badge strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.home-about__badge small { display: block; font-size: .58rem; line-height: 1.25; }
.icon-list { display: grid; gap: 15px; margin: 29px 0 34px; }
.icon-list span { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; }
.icon-list i { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--teal); font-style: normal; }

.home-services { padding: 115px 0; background: #4a7cd2; }
.home-services .section-heading h2, .home-services .eyebrow { color: var(--white); }
.home-services .section-heading p { color: rgba(255,255,255,.7); }
.home-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 55px; }
.home-service-card { position: relative; min-height: 390px; padding: 29px; overflow: hidden; border-radius: 17px; background: var(--white); transition: transform .35s, box-shadow .35s; }
.home-service-card:hover { transform: translateY(-9px); box-shadow: 0 25px 60px rgba(0,20,80,.2); }
.home-service-card__icon { display: grid; width: 67px; height: 67px; margin-bottom: 75px; place-items: center; border-radius: 50%; background: rgba(74,124,210,.11); color: #4a7cd2; font-size: 1.8rem; transition: transform .4s; }
.home-service-card:hover .home-service-card__icon { transform: rotateY(180deg); }
.home-service-card h3 { color: var(--navy); font-size: 1.2rem; }
.home-service-card p { font-size: .8rem; }
.home-service-card a { position: absolute; right: 29px; bottom: 27px; left: 29px; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: #4a7cd2; font-size: .72rem; font-weight: 800; }

.personal-touch { padding: 120px 0; }
.personal-touch__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.personal-touch__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 35px; }
.personal-touch__cards article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; transition: background .25s, transform .25s; }
.personal-touch__cards article:hover { background: var(--cream); transform: translateY(-4px); }
.personal-touch__cards strong { display: block; margin-bottom: 4px; color: var(--navy); font-family: var(--font-display); font-size: .84rem; }
.personal-touch__cards small { color: var(--muted); font-size: .68rem; }
.personal-touch__media { position: relative; min-height: 600px; }
.personal-touch__media img { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow); }
.personal-touch__media img:first-child { top: 0; right: 0; width: 68%; height: 440px; }
.personal-touch__media img:nth-child(2) { bottom: 0; left: 0; width: 53%; height: 330px; border: 9px solid var(--white); }
.personal-touch__media .floating-round { position: absolute; right: 14%; bottom: 55px; display: grid; width: 90px; height: 90px; place-items: center; border-radius: 50%; background: var(--navy); color: var(--teal); font-size: 1.7rem; box-shadow: var(--shadow); animation: pulse 2s infinite; }

.dentist-section { padding: 115px 0; background: var(--cream); }
.dentist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.dentist-card { position: relative; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 15px 45px rgba(18,49,75,.08); }
.dentist-card__photo { position: relative; height: 370px; overflow: hidden; background: #ddd5c7; }
.dentist-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .55s; }
.dentist-card:hover img { transform: scale(1.055); }
.dentist-card__overlay { position: absolute; inset: auto 15px 15px; display: flex; justify-content: center; gap: 7px; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.dentist-card:hover .dentist-card__overlay { opacity: 1; transform: none; }
.dentist-card__overlay a { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy); font-size: .7rem; font-weight: 800; }
.dentist-card__body { display: flex; align-items: center; justify-content: space-between; padding: 21px; }
.dentist-card__body h3 { margin: 0 0 3px; color: var(--navy); font-size: .95rem; }
.dentist-card__body small { color: #4a7cd2; font-size: .65rem; font-weight: 700; }
.dentist-card__body > span { color: var(--navy); font-size: 1.1rem; transition: transform .25s; }
.dentist-card:hover .dentist-card__body > span { transform: translateX(4px); }

.video-banner { position: relative; min-height: 550px; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; isolation: isolate; }
.video-banner::before { position: absolute; z-index: -2; inset: 0; background: url('assets/consulta-aurea.webp') center 44%/cover; content: ""; }
.video-banner::after { position: absolute; z-index: -1; inset: 0; background: rgba(0,10,73,.66); content: ""; }
.video-banner__content { max-width: 730px; }
.video-banner h2 { color: var(--white); }
.video-banner p { color: rgba(255,255,255,.72); }
.play-button { display: grid; width: 88px; height: 88px; margin: 32px auto 0; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.13); color: var(--white); font-size: 1.5rem; cursor: pointer; backdrop-filter: blur(7px); transition: background .25s, transform .25s; }
.play-button:hover { background: var(--teal); color: var(--navy); transform: scale(1.07); }

.home-faq { padding: 115px 0; }
.home-faq__grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 80px; }
.home-faq .accordion__item { border-color: var(--line); }
.home-faq .accordion__item button { color: var(--navy); }
.home-faq .accordion__item button i { border-color: var(--line); }
.home-faq .accordion__content p { color: var(--muted); }
.home-faq .accordion__item:last-child { border-color: var(--line); }

.home-testimonials { padding: 115px 0; background: #4a7cd2; }
.home-testimonials .testimonials__intro h2, .home-testimonials .eyebrow { color: var(--white); }
.home-testimonials .testimonials__intro > p { color: rgba(255,255,255,.72); }
.home-testimonials .review-summary { border-color: rgba(255,255,255,.22); }
.home-testimonials .review-summary > strong { color: var(--white); }
.home-testimonials .review-summary span { color: rgba(255,255,255,.65); }
.home-testimonials .slider-controls button { border-color: rgba(255,255,255,.35); color: var(--white); }
.home-testimonials .slider-controls button:hover { background: var(--white); color: #4a7cd2; }
.home-testimonials .testimonial-card { box-shadow: 0 25px 60px rgba(0,20,80,.2); }
.logo-marquee { overflow: hidden; padding: 38px 0; background: var(--white); }
.logo-marquee__track { display: flex; width: max-content; gap: 25px; animation: logoScroll 24s linear infinite; }
.logo-marquee__track span { display: grid; width: 210px; height: 72px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: #7d8a93; font-family: var(--font-display); font-size: .87rem; font-weight: 800; letter-spacing: .08em; }
@keyframes logoScroll { to { transform: translateX(-50%); } }

/* Internal pages */
.page-hero { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; isolation: isolate; }
.page-hero::before { position: absolute; z-index: -2; inset: 0; background: url('assets/equipo-aurea.webp') center 35%/cover; content: ""; transform: scale(1.03); }
.page-hero::after { position: absolute; z-index: -1; inset: 0; background: rgba(0,10,73,.79); content: ""; }
.page-hero--treatments::before { background-image: url('assets/consulta-aurea.webp'); background-position: center 48%; }
.page-hero--blog::before { background-image: url('assets/hero-clinica-aurea.webp'); background-position: center 42%; }
.page-hero__content { padding: 70px 0; }
.page-hero h1 { margin: 0 0 14px; color: var(--white); font-size: clamp(3rem, 6vw, 5.3rem); }
.breadcrumbs { display: flex; justify-content: center; gap: 8px; color: rgba(255,255,255,.68); font-size: .73rem; }
.breadcrumbs a:hover { color: var(--teal); }

.inner-section { padding: 105px 0; }
.inner-section--cream { background: var(--cream); }
.inner-intro { max-width: 820px; margin: 0 auto 55px; text-align: center; }
.inner-intro p { max-width: 680px; margin-inline: auto; }
.treatment-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treatment-tile { position: relative; min-height: 350px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); transition: transform .3s, box-shadow .3s, background .3s; }
.treatment-tile:hover { transform: translateY(-8px); background: var(--cream); box-shadow: var(--shadow); }
.treatment-tile i { display: grid; width: 65px; height: 65px; margin-bottom: 62px; place-items: center; border-radius: 50%; background: rgba(74,124,210,.11); color: #4a7cd2; font-size: 1.7rem; font-style: normal; }
.treatment-tile h2 { margin-bottom: 11px; font-size: 1.35rem; letter-spacing: -.03em; }
.treatment-tile p { font-size: .78rem; }
.treatment-tile > a { position: absolute; right: 32px; bottom: 28px; left: 32px; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: #4a7cd2; font-size: .72rem; font-weight: 800; }
.treatment-tile--blue { background: #4a7cd2; }
.treatment-tile--blue:hover { background: #3e6db5; }
.treatment-tile--blue h2, .treatment-tile--blue > a { color: var(--white); }
.treatment-tile--blue p { color: rgba(255,255,255,.7); }
.treatment-tile--blue i { background: rgba(255,255,255,.16); color: var(--white); }
.treatment-tile--blue > a { border-color: rgba(255,255,255,.25); }

.detail-layout { display: grid; grid-template-columns: 285px 1fr; align-items: start; gap: 60px; }
.detail-sidebar { position: sticky; top: 120px; display: grid; gap: 13px; }
.detail-sidebar__nav { padding: 12px; border-radius: 15px; background: var(--cream); }
.detail-sidebar__nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 9px; color: var(--navy); font-size: .76rem; font-weight: 700; transition: background .2s, color .2s; }
.detail-sidebar__nav a:hover, .detail-sidebar__nav a.active { background: #4a7cd2; color: var(--white); }
.detail-sidebar__help { padding: 26px; border-radius: 15px; background: var(--navy); color: var(--white); }
.detail-sidebar__help p { color: rgba(255,255,255,.62); font-size: .72rem; }
.detail-sidebar__help a { color: var(--teal); font-family: var(--font-display); font-weight: 800; }
.detail-content > img { width: 100%; max-height: 520px; margin-bottom: 40px; border-radius: 18px; object-fit: cover; }
.detail-content h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.detail-content h3 { margin: 42px 0 17px; color: var(--navy); font-size: 1.35rem; }
.detail-content p { font-size: .93rem; }
.detail-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 32px 0; }
.detail-points article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.detail-points strong { display: block; margin-bottom: 5px; color: var(--navy); font-family: var(--font-display); }
.detail-points small { color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: process; }
.process-grid article { padding: 23px 18px; border-radius: 12px; background: var(--cream); counter-increment: process; }
.process-grid article::before { display: block; margin-bottom: 28px; color: #4a7cd2; font-family: var(--font-display); font-size: .72rem; font-weight: 800; content: "0" counter(process); }
.process-grid strong { display: block; margin-bottom: 6px; color: var(--navy); font-family: var(--font-display); font-size: .83rem; }
.process-grid small { color: var(--muted); font-size: .67rem; }

.cta-band { padding: 70px 0; background: #4a7cd2; color: var(--white); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { margin: 0 0 7px; color: var(--white); font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); }
.cta-band .btn { flex: 0 0 auto; background: var(--white); color: #4a7cd2; }

/* Dentists and profiles */
.dentist-list-page .dentist-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.dentist-list-page .dentist-card { display: grid; grid-template-columns: .72fr 1fr; min-height: 430px; }
.dentist-list-page .dentist-card__photo { height: 100%; }
.dentist-list-page .dentist-card__body { display: block; align-self: center; padding: 38px; }
.dentist-list-page .dentist-card__body h3 { font-size: 1.45rem; }
.doctor-quickfacts { display: grid; gap: 12px; margin: 25px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.doctor-quickfacts span { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .68rem; }
.doctor-quickfacts b { color: var(--navy); }

.profile-grid { display: grid; grid-template-columns: 440px 1fr; align-items: start; gap: 75px; }
.profile-photo { position: sticky; top: 120px; overflow: hidden; border-radius: 20px; background: var(--cream); box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 590px; object-fit: cover; object-position: top; }
.profile-photo__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.profile-photo__contact a { padding: 15px; background: var(--white); color: var(--navy); text-align: center; font-size: .7rem; font-weight: 800; }
.profile-content > h2 { margin-bottom: 7px; }
.profile-role { display: block; margin-bottom: 28px; color: #4a7cd2; font-weight: 800; }
.qualification-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 35px 0; }
.qualification-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 11px; }
.qualification-grid strong, .qualification-grid small { display: block; }
.qualification-grid strong { margin-bottom: 8px; color: var(--navy); font-family: var(--font-display); font-size: .8rem; }
.qualification-grid small { color: var(--muted); font-size: .65rem; }
.skill-bars { display: grid; gap: 18px; margin-top: 28px; }
.skill-bar__label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--navy); font-size: .72rem; font-weight: 700; }
.skill-bar__track { height: 7px; overflow: hidden; border-radius: 99px; background: var(--cream); }
.skill-bar__track span { display: block; width: var(--skill); height: 100%; border-radius: inherit; background: #4a7cd2; transform-origin: left; }

/* About */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { padding: 31px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.value-card i { display: block; margin-bottom: 35px; color: #4a7cd2; font-size: 1.6rem; font-style: normal; }
.value-card h3 { color: var(--navy); font-size: .98rem; }
.value-card p { margin: 0; font-size: .72rem; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { position: absolute; top: 24px; right: 0; left: 0; height: 1px; background: var(--line); content: ""; }
.timeline article { position: relative; padding-top: 55px; }
.timeline article::before { position: absolute; top: 17px; left: 0; width: 15px; height: 15px; border: 4px solid var(--cream); border-radius: 50%; background: #4a7cd2; box-shadow: 0 0 0 1px #4a7cd2; content: ""; }
.timeline b { display: block; color: #4a7cd2; font-family: var(--font-display); font-size: 1.45rem; }
.timeline strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: .82rem; }
.timeline p { font-size: .68rem; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 55px; align-items: start; }
.post-list { display: grid; gap: 35px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.post-card__media { height: 360px; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.post-card:hover img { transform: scale(1.04); }
.post-card__body { padding: 30px; }
.post-meta { display: flex; gap: 17px; margin-bottom: 13px; color: #4a7cd2; font-size: .65rem; font-weight: 700; }
.post-card h2 { margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.45rem); }
.post-card p { font-size: .82rem; }
.post-card .text-link { font-size: .72rem; }
.blog-sidebar { position: sticky; top: 120px; display: grid; gap: 24px; }
.sidebar-widget { padding: 25px; border-radius: 14px; background: var(--cream); }
.sidebar-widget h3 { margin-bottom: 20px; color: var(--navy); font-size: 1rem; }
.search-form { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.search-form input { min-width: 0; flex: 1; height: 46px; padding: 0 13px; border: 0; outline: 0; }
.search-form button { width: 45px; border: 0; background: #4a7cd2; color: var(--white); cursor: pointer; }
.popular-list { display: grid; gap: 15px; }
.popular-list a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.popular-list img { width: 64px; height: 58px; border-radius: 7px; object-fit: cover; }
.popular-list strong { display: block; color: var(--navy); font-size: .67rem; line-height: 1.35; }
.popular-list small { color: var(--muted); font-size: .57rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags a { padding: 7px 10px; border-radius: 6px; background: var(--white); color: var(--muted); font-size: .6rem; }
.article-content > img { width: 100%; max-height: 520px; margin-bottom: 32px; border-radius: 16px; object-fit: cover; }
.article-content h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.article-content h3 { margin: 36px 0 12px; color: var(--navy); font-size: 1.25rem; }
.article-content blockquote { margin: 32px 0; padding: 28px 31px; border-left: 4px solid #4a7cd2; background: var(--cream); color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; }
.comment-form { display: grid; gap: 13px; margin-top: 45px; padding: 30px; border-radius: 14px; background: var(--cream); }
.comment-form h3 { margin: 0 0 10px; }
.comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 8px; outline: 0; }
.comment-form textarea { min-height: 130px; resize: vertical; }

/* Contact and booking */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 65px; }
.contact-card { padding: 31px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.contact-card i { display: grid; width: 58px; height: 58px; margin: 0 auto 21px; place-items: center; border-radius: 50%; background: rgba(74,124,210,.11); color: #4a7cd2; font-size: 1.35rem; font-style: normal; }
.contact-card h3 { margin-bottom: 7px; color: var(--navy); font-size: .95rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .73rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; }
.contact-form, .booking-form { display: grid; gap: 15px; padding: 35px; border-radius: 16px; background: var(--cream); }
.contact-form__row, .booking-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label, .booking-form label { display: grid; gap: 7px; color: var(--navy); font-size: .67rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select,
.booking-form input, .booking-form textarea, .booking-form select { width: 100%; min-height: 51px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: var(--white); }
.contact-form textarea, .booking-form textarea { min-height: 130px; padding-top: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .booking-form input:focus, .booking-form textarea:focus, .booking-form select:focus { border-color: #4a7cd2; box-shadow: 0 0 0 3px rgba(74,124,210,.1); }
.validated-form label.invalid input, .validated-form label.invalid textarea, .validated-form label.invalid select { border-color: #bf4747; }
.validated-form .field-error { color: #b33e3e; }
.contact-map { overflow: hidden; min-height: 520px; border-radius: 16px; background: var(--cream); }
.contact-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.booking-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: start; }
.booking-side { display: grid; gap: 18px; }
.booking-side__card { padding: 29px; border-radius: 15px; background: var(--navy); color: var(--white); }
.booking-side__card p { color: rgba(255,255,255,.65); font-size: .74rem; }
.hours-list { display: grid; gap: 10px; }
.hours-list span { display: flex; justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .7rem; }
.booking-side__image { overflow: hidden; border-radius: 15px; }
.booking-side__image img { width: 100%; height: 320px; object-fit: cover; }

.video-modal-v2 { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.video-modal-v2.open { opacity: 1; pointer-events: auto; }
.video-modal-v2__backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,16,26,.88); backdrop-filter: blur(8px); cursor: pointer; }
.video-modal-v2__panel { position: relative; width: min(100%, 960px); padding: 18px 18px 23px; border-radius: 20px; background: var(--white); box-shadow: 0 35px 100px rgba(0,0,0,.4); text-align: center; transform: scale(.97) translateY(20px); transition: transform .35s; }
.video-modal-v2.open .video-modal-v2__panel { transform: none; }
.video-modal-v2__close { position: absolute; z-index: 3; top: -15px; right: -15px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: 1.5rem; cursor: pointer; }
.video-modal-v2__frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 13px; background: #000; }
.video-modal-v2 video { width: 100%; height: 100%; object-fit: cover; }
.video-modal-v2 h2 { margin: 18px 0 3px; font-size: 1.35rem; }
.video-modal-v2 p { margin: 0; font-size: .73rem; }

@media (max-width: 1100px) {
  .multipage-header .main-nav { gap: 14px; }
  .multipage-header .main-nav > a, .multipage-header .nav-dropdown > a { font-size: .75rem; }
  .home-service-grid, .dentist-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 240px 1fr; gap: 40px; }
  .profile-grid { grid-template-columns: 370px 1fr; gap: 50px; }
}

@media (max-width: 900px) {
  .multipage-header .main-nav, .multipage-header .header__cta { display: none; }
  .video-hero { min-height: 780px; }
  .video-hero__content { min-height: 625px; }
  .hero-info-strip article { padding: 22px; }
  .home-statement__top, .home-about__grid, .personal-touch__grid, .home-faq__grid, .contact-grid, .booking-layout { grid-template-columns: 1fr; }
  .home-statement__top { gap: 35px; }
  .home-about__media, .personal-touch__media { width: min(100%, 620px); margin-inline: auto; }
  .treatment-list { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .detail-sidebar__nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { position: static; width: min(100%, 500px); margin-inline: auto; }
  .dentist-list-page .dentist-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .multipage-header .header__inner { height: 78px; }
  .video-hero { min-height: 845px; }
  .video-hero__content { min-height: 580px; padding: 50px 0 175px; }
  .word-rotator { height: 180px; }
  .word-rotator h1 { font-size: clamp(4rem, 19vw, 5.5rem); line-height: .92; }
  .hero-info-strip__inner { grid-template-columns: 1fr; border-radius: 14px 14px 0 0; }
  .hero-info-strip article { min-height: 82px; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-info-strip i { flex-basis: 42px; width: 42px; height: 42px; font-size: 1.1rem; }
  .home-statement, .home-about, .home-services, .personal-touch, .dentist-section, .home-faq, .home-testimonials, .inner-section { padding: 80px 0; }
  .home-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .home-about__media, .personal-touch__media { min-height: 480px; }
  .home-about__media img:first-child { height: 425px; }
  .home-about__media img:nth-child(2) { height: 260px; }
  .home-about__badge { width: 95px; height: 95px; }
  .home-service-grid, .dentist-grid, .treatment-list { grid-template-columns: 1fr; }
  .personal-touch__cards { grid-template-columns: 1fr; }
  .video-banner { min-height: 500px; }
  .page-hero { min-height: 300px; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .detail-sidebar { grid-template-columns: 1fr; }
  .detail-sidebar__nav { grid-template-columns: 1fr; }
  .detail-points, .qualification-grid, .values-grid, .blog-sidebar, .contact-cards { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .dentist-list-page .dentist-card { grid-template-columns: 1fr; }
  .dentist-list-page .dentist-card__photo { height: 390px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 7px; width: 1px; height: auto; }
  .timeline article { padding: 0 0 20px 38px; }
  .timeline article::before { top: 5px; }
  .post-card__media { height: 230px; }
  .comment-form__row, .contact-form__row, .booking-form__row { grid-template-columns: 1fr; }
  .contact-form, .booking-form { padding: 24px 18px; }
  .video-modal-v2 { padding: 16px; }
  .video-modal-v2__close { top: 7px; right: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .word-rotator h1 { transition: none; }
  .logo-marquee__track { animation: none; }
}
