
:root{--green:#153f35;--dark:#112b25;--cream:#f8f5ed;--sand:#e9e3d4;--gold:#b29a69;--ink:#203b33}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1180px;margin:auto;padding:0 28px}.top{background:var(--dark);color:#f4f0e8;text-align:center;padding:7px;font-size:12px;letter-spacing:.12em}.nav{background:var(--cream);position:sticky;top:0;z-index:20;border-bottom:1px solid #e1dbce}.navinner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:85px}.brand{text-decoration:none;color:var(--green);display:flex;flex-direction:column;line-height:1}.brand strong{font:29px Georgia,serif;letter-spacing:-.04em}.brand small{font-size:9px;letter-spacing:.23em;margin-top:7px}.navlinks{display:flex;gap:22px;align-items:center}.navlinks a{text-decoration:none;font-size:13px;font-weight:600}.navlinks a:hover{color:#9c7d49}.btn{display:inline-block;background:var(--green);color:white!important;padding:12px 22px;border:1px solid var(--green);text-decoration:none;font-size:13px;letter-spacing:.04em}.btn.outline{background:transparent;color:var(--green)!important}.btn.light{background:#f7f2e8;color:var(--green)!important;border-color:#f7f2e8}.lang{border:1px solid #d5d0c5;background:transparent;padding:9px 12px;color:var(--green)}.hero{background:linear-gradient(112deg,#153d33 0%,#1a493d 65%,#245446 100%);color:#fff;overflow:hidden}.hero .wrap{min-height:580px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:45px}.eyebrow{text-transform:uppercase;letter-spacing:.23em;font-size:11px;font-weight:bold;color:var(--gold)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.12}h1{font-size:clamp(48px,6vw,83px);margin:22px 0}h2{font-size:clamp(34px,4vw,52px);margin:12px 0 20px}h3{font-size:26px;margin:0 0 12px}p{margin:0 0 20px}.hero p{max-width:560px;color:#e3e9e4}.heroart{height:430px;border:1px solid #6d9586;background:radial-gradient(circle at 52% 38%,#47796a 0%,#245345 36%,#123b32 75%);display:flex;align-items:center;justify-content:center;position:relative}.heroart:before,.heroart:after{content:'';position:absolute;border:1px solid #80a797;border-radius:50%;width:65%;aspect-ratio:1}.heroart:after{width:43%}.heroart span{font:italic 44px Georgia,serif;text-align:center;color:#eee8d9;z-index:1}.section{padding:90px 0}.muted{background:#eee9de}.sectionhead{max-width:770px;margin-bottom:38px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fffdf8;border:1px solid #e5dfd1;padding:28px;min-height:195px}.card p{color:#556b61;font-size:14px}.card a{font-size:13px;color:var(--green);font-weight:bold}.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.visual{background:linear-gradient(135deg,#c6cfc0,#728e7c);min-height:390px;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px;color:white;font:italic 38px Georgia,serif}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.price{background:#fffdf8;padding:35px;border:1px solid #e1d8c6}.price.feature{background:var(--green);color:#fff}.price .amount{font:44px Georgia,serif;margin:15px 0}.price ul{padding-left:18px;font-size:14px;min-height:165px}.price li{margin:8px 0}.price.feature .btn{background:#fff;color:var(--green)!important}.dark{background:var(--dark);color:#fff}.dark p{color:#d6e2da}.footer{background:#10271f;color:#e8e9df;padding:55px 0 24px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer a{display:block;text-decoration:none;font-size:13px;margin:8px 0}.footer small{color:#bbc6bb}.subhero{padding:70px 0 55px;background:var(--green);color:white}.subhero h1{font-size:58px}.subhero p{max-width:730px;color:#e3eae5}.notice{background:#f2e8d5;border-left:4px solid var(--gold);padding:20px;font-size:14px}.form{max-width:720px;background:white;padding:35px;border:1px solid #e3dccc}.form label{display:block;margin:15px 0 5px;font-weight:bold;font-size:13px}.form input,.form select,.form textarea{width:100%;padding:12px;border:1px solid #c9d3c9;background:#fff}.form textarea{min-height:90px}.form .check{display:flex;gap:10px;align-items:flex-start}.form .check input{width:auto;margin-top:7px}.legal h3{margin-top:35px}.hidden{display:none!important}.mobile-toggle{display:none}.pill{display:inline-block;border:1px solid #d6cfbf;padding:5px 10px;font-size:11px;letter-spacing:.08em;margin:4px}.copyright{border-top:1px solid #365148;padding-top:22px;margin-top:35px;font-size:12px;color:#bbc6bb}@media(max-width:900px){.mobile-toggle{display:block;background:none;border:0;font-size:27px;color:var(--green)}.navlinks{display:none;position:absolute;top:85px;left:0;right:0;background:var(--cream);padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid #ddd}.navlinks.open{display:flex}.hero .wrap,.split{grid-template-columns:1fr}.hero .wrap{padding-top:60px;padding-bottom:60px}.heroart{height:280px}.grid,.pricing,.footgrid{grid-template-columns:1fr}.section{padding:65px 0}.subhero h1{font-size:44px}}

/* Version 2: editorial polish and approved photo assets */
:root{--cream:#f5f1e9;--green:#213f37;--dark:#172e29;--gold:#ad9270}
body{font-family:'Helvetica Neue',Arial,sans-serif;letter-spacing:.005em}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.brand-logo{width:142px;height:69px;object-fit:contain;object-position:center}
.navinner{min-height:98px}.navlinks{gap:17px}.navlinks a{font-size:12px}
.hero{background:#183a32}.hero .wrap{grid-template-columns:.87fr 1.13fr;gap:58px;min-height:680px}
.heroart.photohero{height:560px;background:transparent;border:0;overflow:hidden;display:block}
.heroart.photohero:before,.heroart.photohero:after{display:none}
.photohero img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.88)}
.eyebrow{letter-spacing:.26em}.section{padding:105px 0}.sectionhead{max-width:750px}
.card{padding:30px;border-color:#e3ded4;transition:transform .2s,box-shadow .2s}
.card:is(a[href],button,[role="button"]):hover,.card:has(a[href],button,[role="button"]):hover{transform:translateY(-3px);box-shadow:0 12px 35px #233c3010}
.portrait{width:100%;height:300px;object-fit:cover;object-position:center 24%;display:block;margin-bottom:22px}
.card:has(.portrait){padding:0 0 24px;overflow:hidden}.card:has(.portrait) h3,.card:has(.portrait) p{padding:0 25px}
.pricing{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}
.membership-category{margin-bottom:22px}.savings-tier{margin-top:26px;padding:34px;border:1px solid #d7d1c5;background:#ebe5d9;max-width:850px}
.savings-tier h3{margin:15px 0}.savings-tier p{max-width:600px}
@media(max-width:900px){.hero .wrap{grid-template-columns:1fr;gap:25px;min-height:auto}.heroart.photohero{height:340px}.pricing{grid-template-columns:1fr}.navlinks{top:98px}.portrait{height:350px}}

.intro-panel{max-width:880px;margin:65px auto;padding:65px;background:#fffdf8;border-left:3px solid var(--gold)}.intro-panel p,.team-message p{white-space:normal}.team-message{max-width:850px;margin:75px auto 0;padding:60px;background:#ebe5d9}.insurance-item{border-bottom:1px solid #e9e4da;padding:5px 0}.silver-details .price{background:transparent;border:0;padding:0;max-width:850px}.silver-details .price ul{min-height:0}.silver-details .price .btn{background:var(--green);color:#fff!important}.savings-tier{max-width:none}.price ul{min-height:0}.price.feature .eyebrow{color:#d2bd94}@media(max-width:700px){.intro-panel,.team-message{padding:28px}.navlinks{max-height:75vh;overflow:auto}}

/* Version 4 refinement */
.brand-horizontal{display:flex;align-items:center;gap:0;height:77px;width:205px}
.brand-horizontal>img{width:80px;height:80px;object-fit:contain;margin-right:-6px}
.brand-type{display:flex;flex-direction:column;align-items:center;color:#50645b;white-space:nowrap}
.brand-type strong{font:normal 28px Georgia,serif;letter-spacing:.075em}
.brand-type small{font:normal 19px Georgia,serif;letter-spacing:.19em;margin-top:1px}
.hero .wrap{grid-template-columns:.95fr 1.05fr;gap:42px}
.hero-heading{font-size:clamp(43px,5vw,66px);margin-bottom:8px}
.hero-subheading{font-size:clamp(23px,2.5vw,33px);color:#e7d4b6;margin:0 0 22px}
.hero p{font-size:14px;line-height:1.75;margin-bottom:16px}
.team-message-first{margin:0 auto 72px;max-width:1000px}
.physician-heading{margin:35px 0}.physician-card p{line-height:1.7}
.insurance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.insurance-grid .card{min-height:100%}
.insurance-item{display:flex;align-items:center;gap:12px;margin:0;padding:9px 0!important;font-size:14px}
.insurer-mark{flex:0 0 34px;height:34px;border:1px solid #c8d2c8;display:grid;place-items:center;background:#f0f2ec;color:#36564a;font-size:11px;font-weight:bold;border-radius:50%}
.membership-three{display:grid;grid-template-columns:2fr 1fr;gap:20px;align-items:stretch}
.membership-three .pricing{grid-template-columns:1fr 1fr;max-width:none;height:100%}
.membership-three .savings-tier{margin:0;max-width:none;padding:24px;background:#ebe5d9}
.membership-three .savings-tier .price{padding:0}
.membership-three .price{padding:25px}.membership-three .price .amount{font-size:36px}
.membership-three .price ul{font-size:13px}.membership-three .savings-tier h2{font-size:30px;margin:12px 0}
.service-detail{max-width:820px}.detail-copy{font-size:20px;line-height:1.9}
.location-map{margin-top:24px}.location-map iframe{width:100%;height:285px;border:0;border-radius:3px}
.phone-link{font-size:21px;font-weight:bold;color:var(--green);text-decoration:none}
.research-intro{max-width:860px;margin-bottom:45px}
@media(max-width:1100px){.navlinks{gap:10px}.navlinks a{font-size:11px}.brand-horizontal{width:175px}.brand-horizontal>img{width:67px;height:67px}.brand-type strong{font-size:23px}.brand-type small{font-size:16px}}
@media(max-width:900px){.membership-three,.insurance-grid{grid-template-columns:1fr}.membership-three .pricing{grid-template-columns:1fr 1fr}.hero .wrap{grid-template-columns:1fr}.navlinks{gap:18px}}
@media(max-width:580px){.membership-three .pricing{grid-template-columns:1fr}.hero-heading{font-size:43px}}

/* Version 5: patient-first homepage, research detail, membership CTA alignment */
.intro-panel{display:none}
.membership-visual,.research-visual{min-height:410px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.membership-visual{background:linear-gradient(135deg,#e6ddca,#b6b49d 65%,#7b9283);border:1px solid #d7d0be}
.membership-visual-inner{display:flex;flex-direction:column;align-items:center;gap:13px;color:#284d41;text-align:center}
.membership-visual-inner img{width:100px;height:140px;object-fit:contain;opacity:.8}
.membership-visual-inner span{font:31px Georgia,serif;letter-spacing:.08em}
.membership-visual-inner small{font-size:10px;letter-spacing:.24em}
.section-subtitle{font-size:25px;color:#927c5d;margin:0 0 24px}
.research-visual{background:radial-gradient(circle at 50% 42%,#4a7266,#173b31 70%);border:1px solid #638477}
.research-visual-inner{text-align:center;color:#f2eee3}.research-ring{font-size:80px;color:#c7b08b}
.research-visual-inner span{display:block;font:33px Georgia,serif;letter-spacing:.1em;line-height:1.2}.research-visual-inner small{font-size:10px;letter-spacing:.18em;display:block;margin-top:18px}
.testimonials{background:#f9f7f2}.review-card{background:#fff;padding:35px;border:1px solid #e8e2d7;min-height:220px;display:flex;flex-direction:column}
.review-card p{flex:1;font:19px Georgia,serif;line-height:1.55}.review-card b{font-size:13px}.review-stars{color:#a58a59;letter-spacing:.16em;margin-bottom:15px}.review-source{font-size:12px;color:#68766d;margin-top:24px}
.insurance-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.insurance-column{display:flex;flex-direction:column;gap:26px}.insurance-card{min-height:auto}
.membership-intro{max-width:940px;margin:0 0 54px}.membership-intro p{font-size:17px;line-height:1.8}
.membership-three .price{display:flex;flex-direction:column;height:100%}.membership-three .price ul{flex:1;min-height:0}.membership-three .price .btn{align-self:stretch;text-align:center;margin-top:auto}
.membership-three .savings-tier{display:flex;flex-direction:column}.membership-three .silver-details{flex:1;display:flex;flex-direction:column}.membership-three .silver-details .price{flex:1;background:transparent;border:0;padding:12px 0 0}.membership-three .silver-details .price ul{flex:1}
.research-panel{padding:46px 0;border-top:1px solid #d8d4c8}.research-panel h2{margin-bottom:25px}.research-intro{padding-bottom:30px}
.research-leaders{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.research-leaders>div{background:#fff;padding:25px;border:1px solid #e7e1d4}.research-leaders h3{font-size:22px}
.research-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:35px}.research-list{padding-left:20px;line-height:1.8}.research-list li{margin:6px 0}
.research-therapies{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.research-therapies span{padding:12px 17px;border:1px solid #ded8cb;background:#fff}
.research-note{font-size:12px;color:#6c7c72;margin-top:22px}.research-contact{background:#183a31;color:white;padding:45px;display:flex;justify-content:space-between;gap:25px;align-items:center}.research-contact h2{font-size:39px}.research-contact a{color:#f7ead5}.research-contact .research-note{color:#d3ded6}.research-contact-actions{display:flex;flex-direction:column;gap:13px;min-width:225px}
@media(max-width:900px){.insurance-columns,.research-capabilities,.research-leaders{grid-template-columns:1fr}.research-contact{flex-direction:column;align-items:flex-start}.research-therapies{grid-template-columns:1fr}}

/* Version 6: approved photography, refined testimonial presentation */
.membership-photo,.research-photo{position:relative;padding:0;background:#243d34;min-height:500px;isolation:isolate}
.membership-photo>img,.research-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%;filter:saturate(.85)}
.membership-photo:after,.research-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 46%,rgba(10,33,26,.88));z-index:1}
.photo-label{position:absolute;z-index:2;bottom:32px;left:32px;right:25px;color:#fff;font:26px Georgia,serif;letter-spacing:.08em;line-height:1.2}
.photo-label small{display:block;font:10px Arial,sans-serif;letter-spacing:.22em;margin-top:10px;color:#e9d7b9}
.review-kicker{font:10px Arial,sans-serif;letter-spacing:.22em;color:#907a55;margin-bottom:18px}
.logo-status{font-size:12px;color:#60776c;margin-bottom:20px}
.review-card{min-height:245px}.review-card p{font-size:18px}
@media(max-width:900px){.membership-photo,.research-photo{min-height:360px}}

/* V7 insurer branding and sourced reviews */
.insurance-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.insurance-column{display:flex;flex-direction:column;gap:22px}
.insurance-item{display:flex;align-items:center;gap:13px}
.insurer-logo-wrap{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:1px solid #e3e6e0;border-radius:10px;background:#fff}
.insurer-logo{width:32px;height:32px;object-fit:contain}
.insurer-logo-wrap .insurer-mark{width:32px;height:32px;place-items:center}
.review-section{padding:70px 0 0;text-align:center}
.review-section>p{max-width:720px;margin:16px auto 32px}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left;margin:30px 0}
.review-card{margin:0;padding:30px;background:#f4f2ed;border:1px solid #e5e1d8;border-radius:4px;display:flex;flex-direction:column;min-height:240px}
.review-card p{font:italic 20px/1.5 Georgia,serif;flex:1}
.review-card footer{font-weight:600;font-size:13px;margin:12px 0}
.review-card a{font-size:12px}
@media(max-width:800px){.insurance-grid,.review-grid{grid-template-columns:1fr}}

/* Version 8 — user-supplied Coral Gables photography and membership narrative */
.hero{position:relative;background:#173e34;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,47,39,.96) 0%,rgba(16,47,39,.91) 46%,rgba(16,47,39,.80) 100%),url('assets/coral-gables-banyan.jpg') center 46%/cover no-repeat;opacity:.45;z-index:-1;pointer-events:none}
.hero .wrap{position:relative;z-index:1}.heroart.photohero{box-shadow:0 24px 65px rgba(0,0,0,.25)}
.advantage-home-image{position:relative;height:440px;overflow:hidden;border:1px solid #d6d1c5}
.advantage-home-image img{width:100%;height:100%;object-fit:cover;object-position:center center;filter:saturate(.75)}
.image-credit{position:absolute;bottom:0;left:0;right:0;padding:18px 22px;background:linear-gradient(transparent,rgba(17,43,37,.8));color:white;font:italic 17px Georgia,serif}
.advantage-home h2{font-size:clamp(32px,3.5vw,49px)}.advantage-home p{font-size:15px;line-height:1.8}
.membership-intro{max-width:970px;margin-bottom:54px}.membership-intro h2{font-size:36px}.membership-intro p{font-size:17px;line-height:1.85}
.research-home-image{height:430px;overflow:hidden;background:#2b5a4a}.research-home-image img{width:100%;height:100%;object-fit:cover;object-position:center 27%}
@media(max-width:900px){.hero::before{background-position:55% center}.advantage-home-image{height:300px}.research-home-image{height:340px}}

/* Version 9: user-selected banyan on photograph side only */
.hero{background:#173e34}
.hero::before{display:none!important}
.hero .wrap>div:first-child{position:relative;z-index:2}
.heroart.photohero{position:relative;isolation:isolate;padding:20px;box-shadow:none!important;background:linear-gradient(180deg,rgba(17,49,38,.12),rgba(17,49,38,.30)),url("assets/home-banyan-orchids-v234.webp") center center/cover no-repeat;border:1px solid rgba(255,255,255,.2)}
.heroart.photohero>img{position:relative;z-index:2;width:100%;height:100%;max-height:500px;object-fit:cover;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.advantage-home-image img{filter:none;object-position:center center}
.research-home-image img{object-position:center center}
.insurance-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.insurance-column{display:grid;grid-template-rows:minmax(580px,auto) minmax(250px,auto);gap:22px}
.insurance-column>.card{height:100%;display:flex;flex-direction:column}
.insurance-column .insurance-item{min-height:55px}
.research-capabilities{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:40px 0}
.research-list{padding-left:22px;line-height:1.85}
.research-leaders{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:35px 0}
.research-contact{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:38px;background:#e8ece5;margin-top:38px}
@media(max-width:900px){.insurance-grid,.research-capabilities,.research-leaders{grid-template-columns:1fr}.insurance-column{grid-template-rows:auto}.heroart.photohero{padding:12px}.research-contact{flex-direction:column;align-items:flex-start}}

/* Version 10: full-bleed banyan hero across both panels */
.hero{background:linear-gradient(90deg,rgba(9,32,25,.89) 0%,rgba(10,37,27,.78) 39%,rgba(9,31,25,.22) 73%,rgba(8,30,24,.18) 100%),url("assets/home-banyan-orchids-v234.webp") center center/cover no-repeat!important}
.hero::before{display:none!important}
.heroart.photohero{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible}
.heroart.photohero>img{max-height:none!important;box-shadow:0 15px 35px rgba(0,0,0,.22)!important;border:1px solid rgba(255,255,255,.26);border-radius:3px}
.hero .wrap{position:relative}
.membership-photo-banner{position:relative;height:300px;overflow:hidden;margin:0 0 36px;background:#143b31}
.membership-photo-banner img{width:100%;height:100%;object-fit:cover;object-position:center 56%}
.membership-photo-shade{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:38px 5%;background:linear-gradient(90deg,rgba(11,49,39,.87),rgba(11,49,39,.45) 43%,transparent 78%);color:white}
.membership-photo-shade h2{max-width:480px;font:42px/1.12 Georgia,serif;margin:12px 0}
.research-home-image img{object-fit:cover;object-position:center center}
@media(max-width:900px){.hero{background-position:58% center!important}.membership-photo-banner{height:245px}.membership-photo-shade h2{font-size:30px}}

/* V12: dedicated local research photograph; no offsite front-office image */
.research-home-image img{width:100%;height:100%;min-height:350px;object-fit:cover;object-position:center center}

/* V13: exact supplied microscope image, with live accessible text */
.home-research-feature{background:#f8f6f0;color:#203e35;padding:0!important}
.research-feature-layout{display:grid!important;grid-template-columns:1fr 1fr;align-items:stretch;gap:0!important;max-width:1440px!important}
.research-feature-layout .research-home-image{height:auto!important;min-height:390px;background:#dce9ec;overflow:hidden}
.research-feature-layout .research-home-image img{width:100%;height:100%;min-height:390px;object-fit:cover;object-position:43% center}
.research-feature-copy{padding:48px clamp(25px,5vw,78px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.research-feature-copy h2{font-size:clamp(30px,3.4vw,52px);line-height:1.13;color:#203e35;margin:14px 0 20px}
.research-feature-copy p{font-size:clamp(16px,1.35vw,20px);line-height:1.55;margin-bottom:26px}
.research-feature-copy .eyebrow{color:#667d70}
@media(max-width:760px){.research-feature-layout{grid-template-columns:1fr!important}.research-feature-layout .research-home-image,.research-feature-layout .research-home-image img{min-height:250px;height:290px!important}.research-feature-copy{padding:32px 24px 42px}}

/* Version 14 — understated medical service line icons and deliberate Advantage headline wrap */
.service-card-title{display:flex;align-items:center;gap:13px;margin-bottom:12px}
.service-card-title h3{margin:0;line-height:1.25}
.service-line-icon{width:37px;height:37px;min-width:37px;color:#214a3a;flex-shrink:0}
.service-card{transition:box-shadow .2s ease,transform .2s ease}
.service-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(16,47,39,.08)}
.advantage-home h2{line-height:1.09;letter-spacing:-.025em}
.advantage-second-line{display:inline-block;white-space:nowrap}
@media(max-width:420px){.service-line-icon{width:32px;height:32px;min-width:32px}.advantage-home h2{font-size:clamp(29px,8vw,40px)}}

/* Version 15: existing-site insurer logo gallery and payments strip */
.payments-home-section{background:#f7f5f0;padding-top:65px;padding-bottom:65px}
.payments-home-head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.65fr);gap:45px;align-items:center}
.payments-home-head h2{font-family:Georgia,serif;color:#193d32;font-size:clamp(29px,3vw,44px);line-height:1.14;margin:12px 0 15px}
.payments-home-head p{max-width:750px;line-height:1.7;margin-bottom:22px}
.payment-methods{display:flex;flex-direction:column;gap:10px}
.payment-method{border:1px solid #d8ddd3;background:#fff;border-radius:5px;padding:13px 18px;color:#244536;font-size:14px;letter-spacing:.02em}
.payments-logo-gallery{margin-top:32px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.payment-logo-tile{height:88px;display:flex;align-items:center;justify-content:center;background:white;border:1px solid #e7e5de;border-radius:7px;padding:13px;overflow:hidden}
.payment-logo-tile img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.payments-note{font-size:12px;color:#66716b;margin-top:17px}
.insurer-logo-wrap.devoted-logo-wrap{width:90px;flex-basis:90px}
.insurer-logo-wrap.devoted-logo-wrap .insurer-logo{width:76px;height:35px;object-fit:contain}
@media(max-width:900px){.payments-home-head{grid-template-columns:1fr}.payment-methods{flex-direction:row;flex-wrap:wrap}.payments-logo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.payments-logo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-logo-tile{height:76px}}

/* V16: insurance peace-of-mind feature */
.insurance-peace-banner{display:grid;grid-template-columns:1.08fr 1fr;overflow:hidden;border-radius:18px;background:#f2eee6;margin:0 0 32px;min-height:290px;border:1px solid rgba(18,58,43,.1)}
.insurance-peace-image{min-height:290px;overflow:hidden}
.insurance-peace-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}
.insurance-peace-copy{padding:clamp(26px,4vw,58px);display:flex;flex-direction:column;justify-content:center}
.insurance-peace-copy .eyebrow{letter-spacing:.22em;font-size:11px;color:#47695b;font-weight:700}
.insurance-peace-copy h2{font-family:Georgia,serif;color:#163b2d;font-size:clamp(28px,3vw,44px);line-height:1.12;margin:13px 0}
.insurance-peace-copy p{color:#3c4a43;line-height:1.65;margin:0;max-width:530px}
@media(max-width:720px){.insurance-peace-banner{grid-template-columns:1fr}.insurance-peace-image{min-height:230px;max-height:310px}.insurance-peace-copy{padding:25px}}

/* V18: local, non-clickable insurer name treatments */
.local-insurer-wordmark{display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;min-height:86px}
.dhp-wordmark{font-family:Arial,sans-serif;color:#23577a;font-size:17px;line-height:1.12;letter-spacing:-.3px}
.dhp-wordmark strong{display:block;font-size:15px;font-weight:700;color:#2a6c90}
.curative-wordmark{font-family:Arial,sans-serif;font-size:26px;font-weight:700;letter-spacing:-1.2px;color:#163e50}

/* V20: logo-specific optical sizing. The source images contain large internal margins. */
.payment-logo-doctors,.payment-logo-curative{padding:4px 8px}
.payment-logo-doctors img{width:100%;max-width:none;max-height:none;height:100%;object-fit:cover;object-position:center;transform:scale(1.25)}
.payment-logo-curative img{width:100%;max-width:none;max-height:none;height:100%;object-fit:contain;transform:scale(1.18)}
.insurer-logo-wrap.devoted-logo-wrap{width:125px;flex-basis:125px}
.insurer-logo-wrap.devoted-logo-wrap .insurer-logo{width:120px;height:40px;object-fit:cover;object-position:center}
@media(max-width:550px){.payment-logo-doctors img{transform:scale(1.15)}.payment-logo-curative img{transform:scale(1.1)}}

/* V21: visually equal service-card actions, compact insurer symbols, stronger Curative wordmark */
.service-card{display:flex;flex-direction:column;align-items:stretch;height:100%}
.service-card > a{display:inline-block;align-self:flex-start;margin-top:auto;padding-top:22px}
.service-card > p{margin-bottom:0}
.payment-logo-curative{padding:0 3px}
.payment-logo-curative img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform:scale(1.62)}
.insurer-logo-wrap.devoted-logo-wrap,.insurer-logo-wrap.medicare-logo-wrap{width:48px;height:48px;flex:0 0 48px;border-radius:10px}
.insurer-logo-wrap.devoted-logo-wrap .insurer-logo,.insurer-logo-wrap.medicare-logo-wrap .insurer-logo{width:36px;height:36px;object-fit:contain}
.insurer-logo-wrap.medicare-logo-wrap .insurer-logo{width:40px;height:29px}
@media(max-width:550px){.payment-logo-curative img{transform:scale(1.43)}}

/* V22: Keep the hero's Gables Standard headline on a single balanced line. */
.hero .hero-heading{font-size:clamp(34px,4vw,52px);letter-spacing:-.035em;white-space:nowrap;line-height:1.12;}
@media(max-width:900px){.hero .hero-heading{font-size:clamp(28px,5.2vw,48px);}}
@media(max-width:580px){.hero .hero-heading{font-size:clamp(23px,6.2vw,33px);letter-spacing:-.045em;}}

/* V23: keep care-team headline together on wider screens */
.home-team-title{font-size:clamp(1.5rem,3.15vw,2.65rem);letter-spacing:-.025em;white-space:nowrap}
@media(max-width:650px){.home-team-title{font-size:clamp(1.45rem,5.15vw,2rem);white-space:normal;text-wrap:balance}}

/* V24: uniform insurer tiles; Devoted icon-only mark */
.insurer-logo-wrap.devoted-logo-wrap{width:48px;height:48px;flex:0 0 48px;border-radius:10px}
.insurer-logo-wrap.devoted-logo-wrap .insurer-logo{width:39px;height:39px;object-fit:contain;object-position:center}

.service-detail-subhead{font-size:1.35rem;margin:1.6rem 0 .5rem}.service-detail-cta{margin-top:2rem}

/* Patients resource page */
.patients-banner{position:relative;overflow:hidden;max-height:460px;background:#e8e4d7}.patients-banner img{display:block;width:100%;height:clamp(250px,34vw,460px);object-fit:cover;object-position:center 50%}.patients-banner-label{position:absolute;bottom:0;left:0;right:0;padding:44px max(24px,calc((100vw - 1160px)/2));color:white;background:linear-gradient(transparent,rgba(13,47,37,.83));display:flex;flex-direction:column;gap:6px}.patients-banner-label span{font-size:11px;letter-spacing:.22em}.patients-banner-label strong{font-size:clamp(22px,3vw,38px);font-family:Georgia,serif}.patients-resources .card{display:flex;flex-direction:column;gap:10px}.patients-resources .card a{margin-top:auto;align-self:flex-start}

/* About page: panoramic team portrait above the message from our medical team */
.about-team-section{padding-top:52px}
.about-team-portrait{margin:0 auto 46px;max-width:1180px;overflow:hidden;background:#e9e3d4;border-radius:8px;box-shadow:0 18px 45px rgba(21,63,53,.12)}
.about-team-portrait img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center 43%}
.about-team-portrait figcaption{font-size:12px;letter-spacing:.07em;text-align:center;color:#476054;background:#f3efe5;padding:13px 20px}
.about-team-section .team-message-first{margin:0 auto 72px}
@media(max-width:700px){.about-team-section{padding-top:25px}.about-team-portrait{margin-bottom:26px}.about-team-portrait img{aspect-ratio:4/3;object-position:center center}.about-team-portrait figcaption{font-size:11px;letter-spacing:0}}

/* About: balanced image inside the forest-green introduction */
.about-intro-hero{padding:62px 0 64px}
.about-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center;gap:54px}
.about-intro-copy h1{font-size:clamp(40px,4.7vw,62px);margin:16px 0 22px}
.about-intro-copy p{max-width:550px;line-height:1.75;font-size:16px;margin:0}
.about-intro-photo{overflow:hidden;border-radius:9px;border:1px solid rgba(255,255,255,.18);box-shadow:0 20px 44px rgba(4,24,17,.25)}
.about-intro-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 40%}
.about-team-section{padding-top:64px}
.about-team-section .team-message-first{margin:0 auto 72px}
@media(max-width:800px){.about-intro-hero{padding:45px 0}.about-intro-grid{grid-template-columns:1fr;gap:28px}.about-intro-photo img{aspect-ratio:16/10}.about-intro-copy h1{font-size:clamp(38px,8vw,52px)}}

/* V31: Preserve the complete, uncropped physician photographs on both pages. */
.heroart.photohero{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important;align-self:center}
.heroart.photohero>img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
.about-intro-photo{height:auto!important;overflow:visible!important}
.about-intro-photo img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
@media(max-width:900px){.heroart.photohero{height:auto!important}.about-intro-photo img{aspect-ratio:auto!important}}

/* V32: Make the full panoramic team photo more prominent in the homepage hero.
   Preserve natural image proportions and the About page presentation. */
@media (min-width: 901px) {
  .hero > .wrap {
    max-width: 1360px;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 26px;
  }
  .heroart.photohero { width: 100%; }
}

/* V33: Give the homepage team portrait a substantially larger visual footprint. */
@media (min-width: 901px) {
  .hero > .wrap {
    max-width: 1510px;
    grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
    column-gap: 20px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .heroart.photohero { width: 100%; }
  .heroart.photohero > img { width: 100%!important; height: auto!important; object-fit: contain!important; }
}

/* V34: Restore the original homepage physician portrait and classic hero proportions.
   Keep the approved About Our Practice image unchanged. */
@media (min-width:901px){
  .hero > .wrap{max-width:1180px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:42px;padding-left:28px;padding-right:28px}
}
.heroart.photohero{height:auto!important;min-height:0!important}
.heroart.photohero > img{display:block;width:100%!important;height:auto!important;object-fit:contain!important}

/* V35 — secure Updox new patient onboarding */
.onboarding-panel{margin-top:44px;padding:clamp(24px,4vw,52px);background:#f6f3eb;border:1px solid #e5e0d4;border-radius:22px;scroll-margin-top:90px}.onboarding-panel h2{margin:8px 0 12px}.onboarding-intro{max-width:740px}.onboarding-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0}.onboarding-step{display:flex;gap:17px;background:white;border:1px solid #e7e3d9;border-radius:16px;padding:25px;box-shadow:0 8px 22px rgba(17,51,40,.04)}.onboarding-number{font-family:Georgia,serif;font-size:30px;color:#9b8460;line-height:1}.onboarding-step-content{min-width:0;display:flex;flex-direction:column;align-items:flex-start}.onboarding-step h3{margin:0 0 9px}.onboarding-step p{margin:0 0 22px}.onboarding-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}.onboarding-actions .btn{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;min-width:112px}.onboarding-actions .btn-outline{background:transparent;color:#194d3a;border:1px solid #194d3a}.onboarding-actions .btn-outline:hover{background:#e9f0eb}.onboarding-footnote{font-size:14px;margin:0;color:#52635b}@media(max-width:760px){.onboarding-steps{grid-template-columns:1fr}.onboarding-step{padding:20px}.onboarding-panel{margin-top:30px}}

/* V37 — consolidated insurance and membership banners */
.compact-feature-hero{padding:34px 0 38px!important;background:#173e34;color:#fff}
.compact-feature-hero .feature-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);align-items:center;gap:clamp(26px,4vw,60px)}
.compact-feature-hero .feature-hero-copy{max-width:640px}
.compact-feature-hero .feature-hero-copy h1{font-size:clamp(32px,3.5vw,48px);line-height:1.13;margin:10px 0 14px;color:#fff}
.compact-feature-hero .feature-hero-copy h2{font-size:clamp(22px,2.25vw,31px);line-height:1.2;color:#f0e4cc;margin:8px 0 12px}
.compact-feature-hero .feature-hero-copy p{color:#e3ebe5;font-size:14px;line-height:1.65;margin:0}
.compact-feature-hero .feature-hero-note{font-size:12px!important;opacity:.85;margin-bottom:20px!important}
.compact-feature-hero .feature-hero-kicker{display:block;margin-top:18px;color:#d8c6a4}
.compact-feature-hero .feature-hero-image{overflow:hidden;border-radius:13px;border:1px solid rgba(255,255,255,.22);box-shadow:0 14px 36px rgba(0,0,0,.17)}
.compact-feature-hero .feature-hero-image img{display:block;width:100%;height:clamp(230px,24vw,320px);object-fit:cover;object-position:center}
.membership-feature-hero .feature-hero-copy h1{font-size:clamp(34px,3.9vw,53px)}
.membership-feature-hero .membership-feature-tagline{font:clamp(18px,2vw,26px)/1.3 Georgia,serif!important;color:#e9d8ba!important;margin-top:14px!important}
.membership-feature-hero .feature-hero-image img{object-position:center 53%}
.compact-feature-body{padding-top:42px!important}
@media(max-width:760px){.compact-feature-hero{padding:28px 0!important}.compact-feature-hero .feature-hero-grid{grid-template-columns:1fr;gap:24px}.compact-feature-hero .feature-hero-image img{height:auto;max-height:310px;object-fit:contain}.compact-feature-body{padding-top:30px!important}}

/* V38 — keep V36 insurance presentation; enlarge membership hero image */
.membership-feature-hero .feature-hero-grid{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(20px,3vw,44px)}
.membership-feature-hero .feature-hero-image img{height:clamp(320px,32vw,440px);object-fit:cover;object-position:center 53%}
@media(max-width:760px){.membership-feature-hero .feature-hero-grid{grid-template-columns:1fr}.membership-feature-hero .feature-hero-image img{height:auto;max-height:none;object-fit:contain}}

/* V39 — readable Spanish onboarding buttons on white cards.
   Override the global .btn { color:white!important } rule. */
.onboarding-panel .onboarding-actions a.btn.btn-outline,
.onboarding-panel .onboarding-actions a.btn.btn-outline:link,
.onboarding-panel .onboarding-actions a.btn.btn-outline:visited {
  background:#fff;
  color:#194d3a !important;
  border:2px solid #194d3a;
  font-weight:700;
}
.onboarding-panel .onboarding-actions a.btn.btn-outline:hover,
.onboarding-panel .onboarding-actions a.btn.btn-outline:focus-visible {
  background:#e9f0eb;
  color:#153f35 !important;
}

/* V40: Orchid banyan and Coral Gables canal photograph behind the About intro text. */
.about-intro-hero{position:relative;isolation:isolate;background:#153f35 url('assets/about-orchid-banyan.jpg') center 47% / cover no-repeat}
.about-intro-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,39,31,.91) 0%,rgba(9,43,34,.83) 37%,rgba(12,48,38,.56) 65%,rgba(13,45,35,.37) 100%)}
.about-intro-copy h1,.about-intro-copy p{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.28)}
@media(max-width:800px){.about-intro-hero{background-position:48% center}.about-intro-hero::before{background:rgba(8,39,31,.79)}}

/* V41: Full-width orchid landscape hero; physician portrait alongside medical team message. */
.about-intro-grid{display:block;max-width:1180px}
.about-intro-copy{max-width:730px}
.about-intro-copy p{max-width:690px}
.about-intro-hero{min-height:365px;display:flex;align-items:center}
.about-intro-hero::before{background:linear-gradient(90deg,rgba(8,39,31,.88) 0%,rgba(9,43,34,.73) 47%,rgba(12,48,38,.24) 100%)}
.about-message-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:36px;align-items:center;margin-bottom:76px}
.about-message-layout .team-message-first{margin:0;max-width:none;padding:44px}
.about-message-photo{margin:0;min-width:0;overflow:hidden;border-radius:9px;box-shadow:0 18px 45px rgba(21,63,53,.15);background:#eee8dd}
.about-message-photo img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.about-message-layout{grid-template-columns:1fr;gap:25px}.about-message-layout .team-message-first{padding:32px}.about-intro-hero{min-height:310px}}
@media(max-width:600px){.about-message-layout .team-message-first{padding:26px}.about-intro-hero::before{background:rgba(8,39,31,.70)}}

/* V42: Reveal more of the water and road in the About landscape, and balance the team message/photo. */
.about-intro-hero{min-height:510px;background-position:center 74%;padding:72px 0 80px}
.about-intro-hero::before{background:linear-gradient(90deg,rgba(8,39,31,.86) 0%,rgba(9,43,34,.70) 43%,rgba(12,48,38,.14) 100%)}
.about-message-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:28px}
.about-message-layout .team-message-first{margin:0;padding:42px;display:flex;flex-direction:column;justify-content:center}
.about-message-photo{display:flex;align-items:center;justify-content:center;min-height:100%;background:#eae5db}
.about-message-photo img{width:100%;height:100%;object-fit:contain;object-position:center}
@media(max-width:900px){.about-intro-hero{min-height:435px;background-position:57% 78%}.about-message-layout{grid-template-columns:1fr;gap:20px}.about-message-photo{min-height:0}.about-message-photo img{height:auto;max-height:520px}}
@media(max-width:600px){.about-intro-hero{min-height:420px;background-position:57% 75%;padding:56px 0}.about-intro-hero::before{background:linear-gradient(90deg,rgba(8,39,31,.78),rgba(8,39,31,.46))}}

/* V43: balanced About medical team message and larger edge-to-edge photograph. */
@media (min-width:901px){
  .about-message-layout{grid-template-columns:minmax(0,0.46fr) minmax(0,0.54fr);align-items:stretch;gap:22px}
  .about-message-layout .team-message-first{padding:28px 30px;margin:0;max-width:none}
  .about-message-layout .team-message-first p{font-size:15px;line-height:1.55;margin:0 0 13px}
  .about-message-layout .team-message-first h2{font-size:clamp(25px,2.3vw,34px);line-height:1.13;margin-bottom:16px}
  .about-message-photo{position:relative;min-height:100%;overflow:hidden;border-radius:9px}
  .about-message-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%}
}
@media (max-width:900px){
  .about-message-layout .team-message-first{padding:28px}
  .about-message-photo img{position:static;width:100%;height:auto;object-fit:contain}
}

/* V44 — Miami bay panorama on Services header, readable bilingual content */
.subhero.services-scenic-hero{position:relative;isolation:isolate;background:#153f35 url('assets/services-miami-bay.jpg') center 51% / cover no-repeat;min-height:365px;display:flex;align-items:center;padding:75px 0 85px}
.subhero.services-scenic-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,43,34,.89) 0%,rgba(9,43,34,.73) 38%,rgba(9,43,34,.30) 73%,rgba(9,43,34,.14) 100%)}
.services-scenic-hero h1,.services-scenic-hero p{color:#fff;text-shadow:0 2px 13px rgba(0,0,0,.34)}
.services-scenic-hero .wrap{width:100%}
@media(max-width:700px){.subhero.services-scenic-hero{min-height:325px;padding:60px 0;background-position:57% center}.subhero.services-scenic-hero::before{background:linear-gradient(90deg,rgba(9,43,34,.89),rgba(9,43,34,.59))}}

/* V45 — reveal more of the full Miami waterfront image in the Services banner.
   Taller panoramic canvas reduces the vertical crop without stretching the photo. */
@media (min-width:701px){
  .subhero.services-scenic-hero{
    min-height:clamp(490px, 54vw, 790px);
    background-position:center center;
    background-size:cover;
    padding:90px 0;
  }
  .subhero.services-scenic-hero::before{
    background:linear-gradient(90deg,rgba(9,43,34,.85) 0%,rgba(9,43,34,.67) 32%,rgba(9,43,34,.19) 66%,rgba(9,43,34,.06) 100%);
  }
}
@media (max-width:700px){
  .subhero.services-scenic-hero{
    min-height:clamp(350px, 100vw, 530px);
    background-position:58% center;
  }
}

/* V46 — compact Services hero with clearer waterfront imagery.
   Override the oversized V45 desktop/mobile rules without changing other pages. */
.subhero.services-scenic-hero{
  min-height:350px;
  padding:58px 0 62px;
  background-position:center 57%;
  background-size:cover;
}
.subhero.services-scenic-hero::before{
  background:linear-gradient(90deg,rgba(9,43,34,.83) 0%,rgba(9,43,34,.64) 34%,rgba(9,43,34,.16) 70%,rgba(9,43,34,.04) 100%);
}
@media(min-width:701px){
  .subhero.services-scenic-hero{min-height:350px;padding:58px 0 62px;background-position:center 57%;background-size:cover}
}
@media(max-width:700px){
  .subhero.services-scenic-hero{min-height:310px;padding:50px 0;background-position:58% 57%;background-size:cover}
  .subhero.services-scenic-hero::before{background:linear-gradient(90deg,rgba(9,43,34,.85),rgba(9,43,34,.35))}
}

/* V47: Integrated Patient Resources photographic hero */
.patients-hero{position:relative;isolation:isolate;overflow:hidden;min-height:355px;display:flex;align-items:flex-start;background:#164d3c;color:#fff}
.patients-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:-2}
.patients-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,50,38,.84) 0%,rgba(9,50,38,.65) 33%,rgba(9,50,38,.12) 74%,rgba(9,50,38,.06) 100%)}
.patients-hero-content{width:100%;padding-top:57px;padding-bottom:88px;position:relative}
.patients-hero .eyebrow{color:#f0e5c9}
.patients-hero h1{color:#fff;max-width:650px;margin:12px 0 12px}
.patients-hero p{color:#fff;max-width:520px;line-height:1.65;text-shadow:0 1px 5px rgba(0,0,0,.25)}
@media(max-width:700px){.patients-hero{min-height:330px}.patients-hero-image{object-position:58% center}.patients-hero-shade{background:linear-gradient(90deg,rgba(9,50,38,.85),rgba(9,50,38,.40))}.patients-hero-content{padding-top:45px;padding-bottom:60px}}

/* V48: patient hero reveals the full courtyard composition; headline sits above musicians */
@media (min-width: 701px) {
  .patients-hero { min-height: 405px; }
  .patients-hero-image { object-fit: fill; object-position: center center; }
  .patients-hero-content { padding-top: 26px; padding-bottom: 245px; }
  .patients-hero-shade { background: linear-gradient(180deg,rgba(8,45,35,.82) 0%,rgba(8,45,35,.56) 25%,rgba(8,45,35,.05) 54%,rgba(8,45,35,.02) 100%); }
  .patients-hero h1 { margin: 7px 0 6px; font-size: clamp(28px,3vw,43px); }
  .patients-hero p { max-width: 620px; line-height: 1.4; }
}
@media (max-width: 700px) {
  .patients-hero { min-height: 365px; }
  .patients-hero-image { object-fit: cover; object-position: 50% 15%; }
  .patients-hero-content { padding-top: 23px; padding-bottom: 190px; }
  .patients-hero-shade { background: linear-gradient(180deg,rgba(8,45,35,.88) 0%,rgba(8,45,35,.68) 38%,rgba(8,45,35,.04) 85%); }
  .patients-hero h1 { margin: 6px 0; font-size: clamp(27px,7vw,35px); }
  .patients-hero p { line-height: 1.4; }
}

/* V49: natural photographic proportions, compact editorial hero */
@media(min-width:701px){
 .patients-hero{height:430px;min-height:430px;align-items:center;background:#123f32}
 .patients-hero-image{inset:0 0 0 auto;width:67%;height:100%;object-fit:cover;object-position:50% 57%}
 .patients-hero-shade{background:linear-gradient(90deg,#123f32 0%,#123f32 27%,rgba(18,63,50,.96) 34%,rgba(18,63,50,.67) 43%,rgba(18,63,50,.12) 56%,transparent 72%)}
 .patients-hero-content{padding-top:36px;padding-bottom:36px}
 .patients-hero h1{max-width:390px;font-size:clamp(31px,3.2vw,45px);line-height:1.12;margin:12px 0}
 .patients-hero p{max-width:365px;font-size:15px;line-height:1.55}
}
@media(max-width:700px){
 .patients-hero{height:380px;min-height:380px;background:#123f32}
 .patients-hero-image{inset:0;width:100%;height:100%;object-fit:cover;object-position:52% 57%}
 .patients-hero-shade{background:linear-gradient(180deg,rgba(10,46,35,.95) 0%,rgba(10,46,35,.83) 31%,rgba(10,46,35,.28) 53%,rgba(10,46,35,.03) 100%)}
 .patients-hero-content{padding-top:22px;padding-bottom:190px}
 .patients-hero h1{font-size:clamp(27px,7vw,35px);margin:7px 0}
 .patients-hero p{max-width:360px;font-size:14px;line-height:1.4}
}

/* V50: quieter typography and a narrower copy column preserve the courtyard photo. */
@media (min-width: 701px) {
  .patients-hero { height: 430px; min-height: 430px; }
  .patients-hero-image { width: 69%; object-fit: cover; object-position: 50% 57%; }
  .patients-hero-shade { background: linear-gradient(90deg,#123f32 0%,#123f32 25%,rgba(18,63,50,.97) 30%,rgba(18,63,50,.74) 37%,rgba(18,63,50,.22) 49%,rgba(18,63,50,0) 65%); }
  .patients-hero-content { padding-top: 30px; padding-bottom: 30px; }
  .patients-hero .eyebrow { max-width: 300px; font-size: 10px; letter-spacing: .17em; }
  .patients-hero h1 { max-width: 315px; font-size: clamp(30px,2.7vw,38px); line-height: 1.13; margin: 9px 0 11px; letter-spacing: -.025em; }
  .patients-hero p { max-width: 300px; font-size: 14px; line-height: 1.5; margin: 0; }
}
@media (max-width: 700px) {
  .patients-hero { height: 380px; min-height: 380px; }
  .patients-hero-content { padding-top: 24px; padding-bottom: 180px; }
  .patients-hero h1 { max-width: 310px; font-size: clamp(26px,6.2vw,32px); line-height: 1.12; margin: 7px 0 9px; }
  .patients-hero p { max-width: 290px; font-size: 13px; line-height: 1.42; }
  .patients-hero-shade { background: linear-gradient(180deg,rgba(10,46,35,.93) 0%,rgba(10,46,35,.76) 28%,rgba(10,46,35,.19) 57%,rgba(10,46,35,0) 100%); }
}

/* V51 — intentionally separate copy from the courtyard photo; no text overlays subjects. */
@media (min-width: 701px) {
  .patients-hero { height: 420px; min-height: 420px; align-items:center; background:#123f32; }
  .patients-hero-image { left:auto; right:0; top:0; bottom:0; width:61%; height:100%; object-fit:cover; object-position:50% 55%; }
  .patients-hero-shade { background:linear-gradient(90deg,#123f32 0%,#123f32 35%,rgba(18,63,50,.9) 39%,rgba(18,63,50,.28) 44%,transparent 49%); }
  .patients-hero-content { box-sizing:border-box; padding-top:32px; padding-bottom:32px; }
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p { width: min(31vw, 340px); max-width: min(31vw, 340px); }
  .patients-hero h1 { font-size:clamp(27px,2.5vw,37px); line-height:1.13; margin:10px 0 12px; }
  .patients-hero p { font-size:14px; line-height:1.55; }
}
@media (max-width: 700px) {
  .patients-hero { display:flex; flex-direction:column; height:auto; min-height:0; background:#123f32; }
  .patients-hero-content { order:0; padding-top:28px; padding-bottom:30px; }
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p { max-width:100%; }
  .patients-hero h1 { font-size:clamp(28px,7vw,36px); }
  .patients-hero-image { position:relative; order:1; inset:auto; width:100%; height:245px; object-fit:cover; object-position:50% 54%; z-index:auto; }
  .patients-hero-shade { display:none; }
}

/* V52 — Gables Advantage: integrated photographic banner, clear text-only zone. */
@media (min-width: 761px) {
  .membership-feature-hero.compact-feature-hero {
    position:relative; isolation:isolate; overflow:hidden;
    min-height:390px; box-sizing:border-box; padding:48px 0!important;
    display:flex; align-items:center; background:#173e34;
  }
  .membership-feature-hero .feature-hero-grid {
    display:block; width:100%; position:relative; z-index:2;
  }
  .membership-feature-hero .feature-hero-copy {
    width: min(36%, 440px); max-width:440px; position:relative; z-index:3;
  }
  .membership-feature-hero .feature-hero-copy h1 {
    font-size:clamp(32px,3.05vw,44px); line-height:1.12; margin:12px 0 14px;
  }
  .membership-feature-hero .membership-feature-tagline {
    font-size:clamp(18px,1.8vw,24px)!important; line-height:1.35!important;
  }
  .membership-feature-hero .feature-hero-image {
    position:absolute; top:0; right:0; bottom:0; width:64%; height:100%;
    border:0; border-radius:0; box-shadow:none; overflow:hidden; z-index:-1;
  }
  .membership-feature-hero .feature-hero-image img {
    width:100%; height:100%; max-height:none; object-fit:cover; object-position:50% 52%;
  }
  .membership-feature-hero .feature-hero-image:after {
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg,#173e34 0%,rgba(23,62,52,.98) 5%,rgba(23,62,52,.78) 13%,rgba(23,62,52,.18) 27%,transparent 42%);
    pointer-events:none;
  }
}
@media (min-width:761px) and (max-width:1050px){
  .membership-feature-hero .feature-hero-copy{width:40%}
  .membership-feature-hero .feature-hero-image{width:60%}
  .membership-feature-hero .feature-hero-copy h1{font-size:clamp(29px,3.4vw,37px)}
}
@media (max-width:760px){
  .membership-feature-hero.compact-feature-hero{padding:0!important;background:#173e34}
  .membership-feature-hero .feature-hero-grid{display:flex;flex-direction:column;gap:0}
  .membership-feature-hero .feature-hero-copy{width:100%;max-width:none;box-sizing:border-box;padding:34px 0 28px}
  .membership-feature-hero .feature-hero-copy h1{font-size:clamp(31px,7.8vw,43px)}
  .membership-feature-hero .feature-hero-image{width:100%;border:0;border-radius:0;box-shadow:none;overflow:hidden}
  .membership-feature-hero .feature-hero-image img{display:block;width:100%;height:clamp(230px,65vw,360px);max-height:none;object-fit:cover;object-position:center 51%}
}

/* V53 — Memberships: photo-led banner. The subject is on the LEFT of the
   original image, so the copy belongs on the RIGHT, not over the subject. */
@media (min-width:761px) {
  .membership-feature-hero.compact-feature-hero {
    min-height:410px; height:410px; padding:0!important; background:#173e34;
  }
  .membership-feature-hero .feature-hero-grid {
    display:flex; justify-content:flex-end; align-items:center;
    height:100%; box-sizing:border-box;
  }
  .membership-feature-hero .feature-hero-image {
    position:absolute; inset:0 auto 0 0; width:80%; height:100%;
    z-index:0; overflow:hidden;
  }
  .membership-feature-hero .feature-hero-image img {
    display:block; width:100%; height:100%; object-fit:cover;
    object-position:36% 58%; transform:none;
  }
  .membership-feature-hero .feature-hero-image:after {
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg,transparent 0%,transparent 48%,rgba(23,62,52,.15) 62%,rgba(23,62,52,.76) 80%,#173e34 99%);
  }
  .membership-feature-hero .feature-hero-copy {
    position:relative; z-index:2; box-sizing:border-box;
    width:35%; max-width:430px; margin-left:auto;
    padding:24px 0 24px 20px;
  }
  .membership-feature-hero .feature-hero-copy h1 {
    font-size:clamp(30px,3vw,42px); line-height:1.12;
  }
}
@media (min-width:761px) and (max-width:1050px) {
  .membership-feature-hero .feature-hero-image {width:78%}
  .membership-feature-hero .feature-hero-copy {width:39%;max-width:390px}
  .membership-feature-hero .feature-hero-copy h1 {font-size:clamp(28px,3.1vw,36px)}
}
@media (max-width:760px) {
  .membership-feature-hero .feature-hero-grid {display:flex;flex-direction:column-reverse;}
  .membership-feature-hero .feature-hero-copy {padding:26px 0 32px;}
  .membership-feature-hero .feature-hero-image img {
    height:auto;max-height:none;aspect-ratio:1.5;object-fit:cover;object-position:30% 50%;
  }
}

/* V54 — Membership hero: natural left-to-right reading order, protected copy,
   photograph filling the right side, with a restrained transition. */
@media (min-width:761px) {
  .membership-feature-hero.compact-feature-hero {
    height:420px; min-height:420px; background:#173e34;
  }
  .membership-feature-hero .feature-hero-grid {
    display:flex; justify-content:flex-start; align-items:center;
  }
  .membership-feature-hero .feature-hero-copy {
    width:32%; max-width:390px; margin:0; padding:20px 22px 20px 0;
    position:relative; z-index:3;
  }
  .membership-feature-hero .feature-hero-copy h1 {
    font-size:clamp(29px,3.1vw,40px); line-height:1.12;
  }
  .membership-feature-hero .feature-hero-image {
    left:auto; right:0; top:0; bottom:0; width:72%; height:100%; z-index:0;
  }
  .membership-feature-hero .feature-hero-image img {
    width:100%; height:100%; object-fit:cover; object-position:42% 63%;
  }
  .membership-feature-hero .feature-hero-image:after {
    background:linear-gradient(90deg,#173e34 0%,rgba(23,62,52,.97) 5%,rgba(23,62,52,.68) 13%,rgba(23,62,52,.16) 23%,transparent 34%);
  }
}
@media (min-width:761px) and (max-width:1050px) {
  .membership-feature-hero .feature-hero-copy {width:35%; max-width:350px;}
  .membership-feature-hero .feature-hero-image {width:69%;}
  .membership-feature-hero .feature-hero-copy h1 {font-size:clamp(27px,3.3vw,34px);}
}
@media (max-width:760px) {
  .membership-feature-hero .feature-hero-grid {flex-direction:column;}
  .membership-feature-hero .feature-hero-copy {order:0;}
  .membership-feature-hero .feature-hero-image {order:1;}
  .membership-feature-hero .feature-hero-image img {object-position:40% 55%;}
}

/* V56: Patients banner — gentle, extended green-to-photo blend, protected left-aligned copy. */
@media (min-width: 701px) {
  .patients-hero { height:420px; min-height:420px; background:#123f32; align-items:center; }
  .patients-hero-image { left:auto; right:0; top:0; bottom:0; width:76%; height:100%; object-fit:cover; object-position:50% 55%; }
  .patients-hero-shade { background:linear-gradient(90deg,#123f32 0%,#123f32 24%,rgba(18,63,50,.99) 29%,rgba(18,63,50,.91) 35%,rgba(18,63,50,.66) 43%,rgba(18,63,50,.28) 53%,rgba(18,63,50,.05) 64%,transparent 73%); }
  .patients-hero-content { padding-top:30px; padding-bottom:30px; }
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p { box-sizing:border-box; width:min(30vw,330px); max-width:min(30vw,330px); }
  .patients-hero h1 { font-size:clamp(27px,2.65vw,36px); line-height:1.14; letter-spacing:-.02em; margin:10px 0 13px; }
  .patients-hero p { font-size:13.5px; line-height:1.55; margin:0; }
}
@media (min-width:701px) and (max-width:1050px) {
  .patients-hero-content > .eyebrow, .patients-hero-content > h1, .patients-hero-content > p {width: min(33vw,310px);max-width:min(33vw,310px)}
  .patients-hero h1 {font-size:clamp(25px,3vw,32px)}
}
@media (max-width:700px) {
  .patients-hero {display:flex;flex-direction:column;background:#123f32;height:auto;min-height:0}
  .patients-hero-content {order:0;padding-top:32px;padding-bottom:24px}
  .patients-hero-content > .eyebrow,.patients-hero-content > h1,.patients-hero-content > p {width:auto;max-width:100%}
  .patients-hero h1 {font-size:clamp(29px,7vw,36px);line-height:1.15}
  .patients-hero p {max-width:370px;font-size:14px;line-height:1.5}
  .patients-hero-image {position:relative;order:1;inset:auto;width:100%;height:270px;object-fit:cover;object-position:50% 52%;z-index:auto;mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 100%);margin-top:-25px}
  .patients-hero-shade {display:none}
}

/* V57: Patient hero — intentional headline and supporting-copy line breaks. */
@media (min-width:701px) {
  .patients-hero-content > h1, .patients-hero-content > p { width: min(34vw,370px); max-width:min(34vw,370px); }
  .patients-hero h1 { font-size:clamp(27px,2.6vw,36px); }
  .patients-hero p { font-size:clamp(12px,1.03vw,14px); line-height:1.6; white-space:nowrap; }
}
@media (min-width:701px) and (max-width:1050px) {
  .patients-hero-content > h1, .patients-hero-content > p { width:min(36vw,350px); max-width:min(36vw,350px); }
  .patients-hero p {font-size:12px;}
}
@media (max-width:700px) {
  .patients-hero p {max-width:100%;}
}

/* V58: physician group portrait moved from homepage hero to Complete Care feature. */
.hero .wrap { display:flex; align-items:center; min-height:560px; padding-top:80px; padding-bottom:80px; }
.hero .wrap > div:first-child { max-width:800px; }
.hero::before { background:linear-gradient(90deg,rgba(16,47,39,.88) 0%,rgba(16,47,39,.68) 52%,rgba(16,47,39,.38) 100%),url('assets/coral-gables-banyan.jpg') center 46%/cover no-repeat; opacity:.72; }
.home-care-section { padding-top:88px; }
.home-care-feature { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:clamp(32px,5vw,72px); margin-bottom:55px; }
.home-care-copy { padding:25px 0; }
.home-care-copy h2 { max-width:470px; }
.home-care-copy p { max-width:470px; color:#54675c; font-size:16px; line-height:1.85; }
.home-care-link { display:inline-flex; gap:12px; align-items:center; color:var(--green); text-decoration:none; font-size:13px; font-weight:700; border-bottom:1px solid #b7a17d; padding-bottom:7px; }
.home-care-team-photo { position:relative; overflow:hidden; min-height:400px; aspect-ratio:1.35; background:#e4e7df; border-radius:2px; box-shadow:0 22px 55px rgba(19,47,36,.12); }
.home-care-team-photo::after { content:''; position:absolute; inset:0; border:1px solid rgba(255,255,255,.35); pointer-events:none; }
.home-care-team-photo img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:center 40%; display:block; }
@media(max-width:900px){ .hero .wrap { min-height:480px; padding-top:70px; padding-bottom:70px; } .home-care-feature { grid-template-columns:1fr; gap:24px; } .home-care-copy { padding:0; } .home-care-team-photo { min-height:0; aspect-ratio:1.45; } }
@media(max-width:600px){ .hero .wrap { min-height:430px; padding-top:55px; padding-bottom:60px; } .home-care-section { padding-top:58px; } .home-care-feature { margin-bottom:38px; } .home-care-team-photo { aspect-ratio:1.15; } }

/* V59: show Old Cutler road and roots; create a seamless editorial care feature. */
.hero { background:linear-gradient(90deg,rgba(9,32,25,.89) 0%,rgba(10,37,27,.68) 42%,rgba(9,31,25,.12) 82%,rgba(8,30,24,.07) 100%),url("assets/home-banyan-orchids-v234.webp") center 78% / cover no-repeat!important; }
.home-care-feature { position:relative; gap:0; grid-template-columns:minmax(0,43%) minmax(0,57%); min-height:430px; background:#edf1e9; overflow:hidden; border-radius:4px; box-shadow:0 16px 48px rgba(19,47,36,.09); }
.home-care-copy { position:relative; z-index:2; align-self:stretch; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:42px clamp(22px,3.5vw,52px); background:linear-gradient(90deg,#edf1e9 0%,#edf1e9 73%,rgba(237,241,233,.96) 88%,rgba(237,241,233,.70) 100%); }
.home-care-copy h2 {font-size:clamp(33px,3.5vw,49px); line-height:1.13; margin:12px 0 18px;}
.home-care-copy p {font-size:15px; line-height:1.55; margin:0 0 22px; color:#465d50;}
.home-care-team-photo {height:100%; min-height:430px; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; margin-left:-48px;}
.home-care-team-photo::before {content:""; position:absolute; z-index:1; inset:0; background:linear-gradient(90deg,#edf1e9 0%,rgba(237,241,233,.93) 9%,rgba(237,241,233,.44) 24%,rgba(237,241,233,0) 42%); pointer-events:none;}
.home-care-team-photo img {object-position:center 39%;}
@media(max-width:900px){.home-care-feature {display:flex; flex-direction:column; min-height:0;} .home-care-copy {padding:32px 28px;} .home-care-team-photo {margin-left:0; width:100%; min-height:0; height:auto; aspect-ratio:1.45;} .home-care-team-photo::before {background:linear-gradient(180deg,#edf1e9 0%,rgba(237,241,233,.2) 15%,transparent 35%);} .hero {background-position:center 75%!important;}}
@media(max-width:600px){.hero {background-position:56% 82%!important;} .home-care-team-photo {aspect-ratio:1.15;} .home-care-copy h2 {font-size:36px;} }

/* V60 — clean portrait edge; compact one-line headline and revised copy. */
.home-care-copy {background:#edf1e9;}
.home-care-copy h2 {font-size:clamp(24px,2.25vw,33px);line-height:1.2;white-space:nowrap;max-width:none;letter-spacing:-.025em;}
.home-care-copy p {font-size:clamp(12px,1.02vw,15px);line-height:1.7;white-space:nowrap;max-width:none;}
.home-care-team-photo {margin-left:0;}
.home-care-team-photo::before {display:none!important;content:none!important;}
@media(max-width:900px){.home-care-copy h2{font-size:clamp(24px,4vw,32px);white-space:normal}.home-care-copy p{font-size:14px;white-space:normal;}}
@media(max-width:600px){.home-care-copy h2{font-size:clamp(24px,6vw,30px);}}

/* V61 — centered, balanced homepage hero typography and composition. */
.hero > .wrap {
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  min-height:560px;
}
.hero > .wrap > div:first-child {
  width:100%;
  max-width:790px;
  margin-inline:auto;
  text-align:center;
}
.hero .eyebrow,
.hero .hero-heading,
.hero .hero-subheading,
.hero p {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  text-wrap:balance;
}
.hero .hero-heading {
  white-space:normal;
  font-size:clamp(36px,5.1vw,65px);
  line-height:1.12;
  max-width:100%;
}
.hero .hero-subheading { font-size:clamp(23px,2.9vw,35px); }
.hero p { max-width:690px; font-size:clamp(13px,1.05vw,15px); line-height:1.7; }
/* Preserve V60 photograph framing and overlay while retaining centered V61 typography. */
@media(max-width:600px){
  .hero > .wrap {padding:58px 24px 65px; min-height:500px;}
  .hero .hero-heading {font-size:clamp(33px,8.6vw,47px);}
  .hero .hero-subheading {font-size:clamp(21px,5.6vw,29px);}
  .hero p {font-size:13px;line-height:1.6;}
  .hero .btn {margin-bottom:10px;}
}

/* V63 — matching fine-line icons for patient resources */
.patients-resources .resource-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:3px;}
.patients-resources .resource-card-heading h3{margin:0;line-height:1.25;}
.patients-resources .resource-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;color:#245b47;background:#edf3eb;border:1px solid #d8e5d9;border-radius:12px;}
.patients-resources .resource-icon svg{width:23px;height:23px;display:block;}
@media(max-width:520px){.patients-resources .resource-card-heading{gap:11px}.patients-resources .resource-icon{flex-basis:39px;width:39px;height:39px}}

/* V64: Allow the complete-care first sentence to wrap naturally, while preserving the intentional break before We bring. */
.home-care-copy p { white-space:normal; overflow-wrap:normal; }

/* V65: force the second sentence to start on its own line in the home Complete Care panel. */
.home-care-copy p .home-care-intro-first,
.home-care-copy p .home-care-intro-second { display:block; white-space:normal; }
.home-care-copy p .home-care-intro-second { margin-top:5px; }

/* V66: actual separate paragraphs; prevent the second sentence from splitting on desktop. */
.home-care-copy .home-care-intro { width:100%; max-width:100%; margin:0 0 22px; }
.home-care-copy .home-care-intro p { display:block; margin:0; max-width:none; }
.home-care-copy .home-care-intro .home-care-intro-first { margin-bottom:10px; white-space:normal; }
.home-care-copy .home-care-intro .home-care-intro-second { white-space:nowrap; font-size:clamp(11px,1.02vw,14px); letter-spacing:-.25px; }
@media(max-width:900px) { .home-care-copy .home-care-intro .home-care-intro-second { white-space:normal; font-size:14px; } }

/* V67 — two distinct block rows; no inline continuation is possible. */
.home-care-copy .home-care-intro { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:12px !important; width:100%; }
.home-care-copy .home-care-intro-first,
.home-care-copy .home-care-intro-second { display:block !important; flex:0 0 auto; width:100%; margin:0 !important; color:#465d50; font-size:14px; line-height:1.5; }
.home-care-copy .home-care-intro-second { font-size:clamp(11px,1.05vw,14px); white-space:nowrap; letter-spacing:-.2px; }
@media(max-width:900px){.home-care-copy .home-care-intro-second{white-space:normal;font-size:14px;}}

/* V68: make the two complete-care statements genuinely separate rows, with room to read. */
.home-care-feature {grid-template-columns:minmax(0,54%) minmax(0,46%);}
.home-care-copy {padding:38px clamp(20px,2.8vw,36px);}
.home-care-copy .home-care-intro {display:block!important;width:100%;max-width:none;margin:0 0 20px;}
.home-care-copy .home-care-intro p {display:block!important;width:100%;margin:0!important;white-space:normal!important;font-size:clamp(12px,1.05vw,14px)!important;line-height:1.6!important;letter-spacing:0!important;}
.home-care-copy .home-care-intro p.home-care-intro-first {margin-bottom:15px!important;}
.home-care-copy .home-care-intro p.home-care-intro-second {white-space:nowrap!important;}
@media(max-width:900px){.home-care-feature{display:flex;flex-direction:column}.home-care-copy .home-care-intro p.home-care-intro-second{white-space:normal!important;font-size:14px!important;}}

/* V69: Services page banner copy is distinct from homepage care feature. */
.services-scenic-hero .services-banner-intro { display:flex; flex-direction:column; align-items:flex-start; gap:12px; max-width:750px; margin-top:18px; color:inherit; font-size:clamp(15px,1.55vw,19px); line-height:1.5; }
.services-scenic-hero .services-intro-line { display:block; width:100%; }
.services-scenic-hero .services-intro-conclusion { font-weight:600; }
@media(max-width:700px){.services-scenic-hero .services-banner-intro {gap:10px;max-width:100%;font-size:15px;}}

/* V70: continuation of same sentence, same weight as preceding line */
.services-scenic-hero .services-intro-conclusion {font-weight:400;}

/* V71: Insurance banner — Havana red Chevrolet on right, unobstructed; forest-green fade protects text on left. */
.insurance-malecon-hero{position:relative;isolation:isolate;min-height:clamp(380px,37vw,505px);display:flex;align-items:center;background:#153c30 url("assets/havana-red-chevrolet-malecon.jpg") center 54%/cover no-repeat;overflow:hidden;color:#fff}
.insurance-malecon-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#153c30 0%,#153c30 19%,rgba(21,60,48,.97) 29%,rgba(21,60,48,.85) 39%,rgba(21,60,48,.43) 52%,rgba(21,60,48,0) 66%);pointer-events:none}
.insurance-malecon-content{width:100%;padding-top:52px;padding-bottom:52px;position:relative}
.insurance-malecon-copy{max-width:min(460px,43%)}
.insurance-malecon-copy .eyebrow{display:block;color:#e6d4af;letter-spacing:.19em;font-size:11px;font-weight:700}
.insurance-malecon-copy h1{font:normal clamp(29px,3.1vw,43px)/1.12 Georgia,serif;color:#fff;margin:15px 0 13px}
.insurance-malecon-copy h2{font:normal clamp(19px,1.8vw,25px)/1.22 Georgia,serif;color:#f0e3c8;margin:0 0 16px}
.insurance-malecon-copy p{font-size:clamp(13px,1vw,15px);line-height:1.65;color:#f3f5ef;margin:0}
.insurance-malecon-copy .insurance-malecon-note{font-size:12px;opacity:.8;margin-top:17px}
.insurance-malecon-body{padding-top:42px}
@media(max-width:800px){.insurance-malecon-hero{min-height:470px;background-position:47% center}.insurance-malecon-hero::before{background:linear-gradient(90deg,#153c30 0%,rgba(21,60,48,.97) 26%,rgba(21,60,48,.73) 58%,rgba(21,60,48,.08) 100%)}.insurance-malecon-copy{max-width:58%}.insurance-malecon-content{padding-top:36px;padding-bottom:36px}}
@media(max-width:540px){.insurance-malecon-hero{min-height:540px;align-items:flex-start;background-position:32% center}.insurance-malecon-hero::before{background:linear-gradient(180deg,#153c30 0%,rgba(21,60,48,.97) 35%,rgba(21,60,48,.72) 59%,rgba(21,60,48,0) 84%)}.insurance-malecon-copy{max-width:100%}.insurance-malecon-copy h1{font-size:31px}.insurance-malecon-copy h2{font-size:21px}.insurance-malecon-copy p{font-size:13px}.insurance-malecon-content{padding-top:30px;padding-bottom:210px}.insurance-malecon-body{padding-top:30px}}

/* V72: Show more of the red car by fitting the full panorama on the right rather than cropping it to cover. */
@media(min-width:801px){
.insurance-malecon-hero{background-size:78% auto;background-position:right center;min-height:clamp(380px,35vw,495px)}
.insurance-malecon-hero::before{background:linear-gradient(90deg,#153c30 0%,#153c30 20%,rgba(21,60,48,.98) 31%,rgba(21,60,48,.90) 41%,rgba(21,60,48,.42) 56%,rgba(21,60,48,0) 72%)}
}
.insurance-peace-restored-section{padding-top:40px;padding-bottom:0}
.insurance-peace-restored-section .insurance-peace-banner{margin-bottom:0}
.insurance-malecon-body{padding-top:35px}
@media(max-width:800px){.insurance-malecon-hero{background-size:auto 90%;background-position:right center}}
@media(max-width:540px){.insurance-malecon-hero{background-size:auto 55%;background-position:right bottom}.insurance-peace-restored-section{padding-top:26px}}

/* V73: Zoom out the Malecón photograph and right-align it to reveal more of the Chevrolet and road. */
@media(min-width:801px){
  .insurance-malecon-hero{background-size:68% auto;background-position:100% 50%;}
  .insurance-malecon-hero::before{background:linear-gradient(90deg,#153c30 0%,#153c30 22%,rgba(21,60,48,.97) 32%,rgba(21,60,48,.78) 41%,rgba(21,60,48,.30) 51%,rgba(21,60,48,0) 62%);}
}

/* V74: Insurance hero contains only its eyebrow and page title; restore premium green/gold hierarchy beside the two-ladies photograph. */
.insurance-malecon-copy h1{margin-bottom:0;}
.insurance-peace-restored-section .insurance-peace-copy .eyebrow{color:#9a7438;letter-spacing:.19em;}
.insurance-peace-restored-section .insurance-peace-copy h2{color:#163b2d;font-weight:400;}
.insurance-peace-restored-section .insurance-peace-copy h2 .insurance-peace-highlight{color:#a27b3c;}
.insurance-peace-restored-section .insurance-peace-copy p{color:#365c4b;}

/* V75 — Insurance banner: image fills full height without a green bottom strip.
   Position panorama at the right and keep the car clear of the left text. */
@media(min-width:801px){
  .insurance-malecon-hero{background-size:auto 100%;background-position:right center;min-height:clamp(380px,35vw,495px);}
  .insurance-malecon-hero::before{background:linear-gradient(90deg,#153c30 0%,#153c30 19%,rgba(21,60,48,.97) 29%,rgba(21,60,48,.86) 39%,rgba(21,60,48,.48) 50%,rgba(21,60,48,.12) 61%,rgba(21,60,48,0) 73%);}
}
.insurance-malecon-copy{max-width:min(390px,38%);}
.insurance-malecon-copy h1{font-size:clamp(26px,2.55vw,36px);line-height:1.14;margin:13px 0 15px;}
.insurance-malecon-copy .insurance-coverage-note{font-size:clamp(13px,1.03vw,15px);line-height:1.6;color:#f4f1e8;max-width:340px;}
.insurance-peace-restored-section .insurance-peace-copy h2 .insurance-peace-highlight{color:inherit;font-weight:inherit;}
@media(max-width:800px){.insurance-malecon-hero{background-size:auto 100%;background-position:right center}.insurance-malecon-copy{max-width:52%;}}
@media(max-width:540px){.insurance-malecon-hero{background-size:auto 58%;background-position:right bottom}.insurance-malecon-copy{max-width:100%;}.insurance-malecon-copy h1{font-size:29px;}}

/* V76: Marine-discovery hero for the Research page; mission section unchanged. */
.research-ocean-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(390px,37vw,510px);color:#fff;background:#153c30 url("assets/research-marine-discovery.jpg") center 52% / cover no-repeat;overflow:hidden}
.research-ocean-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#153c30 0%,rgba(21,60,48,.99) 16%,rgba(21,60,48,.95) 29%,rgba(21,60,48,.78) 42%,rgba(21,60,48,.30) 58%,rgba(21,60,48,0) 76%)}
.research-ocean-content{width:100%;padding-top:55px;padding-bottom:55px;position:relative}
.research-ocean-copy{max-width:min(520px,47%)}
.research-ocean-copy .eyebrow{color:#e6d4af;letter-spacing:.19em;font-size:11px}
.research-ocean-copy h1{font:normal clamp(30px,3.1vw,46px)/1.16 Georgia,serif;margin:15px 0 17px;color:#fff}
.research-ocean-copy p{font-size:clamp(13px,1.12vw,16px);line-height:1.65;color:#f1f5f0;margin:0}
@media(max-width:800px){.research-ocean-hero{min-height:440px;background-position:48% center}.research-ocean-hero::before{background:linear-gradient(90deg,rgba(21,60,48,.99),rgba(21,60,48,.88) 40%,rgba(21,60,48,.16) 100%)}.research-ocean-copy{max-width:60%}}
@media(max-width:540px){.research-ocean-hero{min-height:560px;align-items:flex-start;background-position:41% center}.research-ocean-hero::before{background:linear-gradient(180deg,#153c30 0%,rgba(21,60,48,.96) 30%,rgba(21,60,48,.55) 60%,rgba(21,60,48,0) 91%)}.research-ocean-copy{max-width:100%}.research-ocean-copy h1{font-size:31px}.research-ocean-content{padding-top:32px;padding-bottom:245px}}

/* V77: Research panorama fits completely across the hero and stays right anchored.
   Avoid cover cropping away the research boat and divers. Preserve the V76 fade. */
@media (min-width:801px){
  .research-ocean-hero{background-size:100% 100%;background-position:right center;}
}
@media (min-width:541px) and (max-width:800px){
  .research-ocean-hero{background-size:100% 100%;background-position:right center;}
}

/* V78: Move the actual research photo panel markedly right, not just its focal point.
   Keep the entire boat and divers visible by fitting the panorama into the right 72%. */
@media (min-width:801px){
  .research-ocean-hero{
    background-image:url("assets/research-marine-discovery.jpg");
    background-size:72% 100%;
    background-position:right center;
    background-repeat:no-repeat;
    background-color:#153c30;
  }
  .research-ocean-hero::before{
    background:linear-gradient(90deg,#153c30 0%,#153c30 26%,rgba(21,60,48,.98) 34%,rgba(21,60,48,.77) 43%,rgba(21,60,48,.18) 55%,rgba(21,60,48,0) 66%);
  }
}
@media (min-width:541px) and (max-width:800px){
  .research-ocean-hero{background-size:78% 100%;background-position:right center;}
}

/* V79 — Mission story: a dedicated adjacent image, never behind or over text. */
.research-mission-feature{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:stretch;min-height:385px;margin:0 0 42px;background:#f1f3ed;border-radius:17px;overflow:hidden;border:1px solid #e0e7dc}
.research-mission-feature .research-intro{max-width:none;margin:0;padding:clamp(28px,3.3vw,52px);display:flex;flex-direction:column;justify-content:center}
.research-mission-feature .research-intro h2{font-size:clamp(26px,2.6vw,39px);line-height:1.16;color:#153c30;margin:12px 0 18px}
.research-mission-feature .research-intro p{font-size:clamp(14px,1.05vw,16px);line-height:1.75;color:#405c4d;margin:0}
.research-mission-photo{min-height:385px;background:#e8f0ed url("assets/research-mission-journey.jpg") center center/cover no-repeat}
@media(max-width:900px){.research-mission-feature{grid-template-columns:1fr}.research-mission-photo{min-height:300px;background-size:cover;background-position:center}.research-mission-feature .research-intro{padding:30px}}
@media(max-width:540px){.research-mission-photo{min-height:215px}.research-mission-feature .research-intro h2{font-size:28px}}

/* V80 — preserve every part of the panoramic mission image, no cropping. */
.research-mission-feature{display:flex;flex-direction:column;min-height:0}
.research-mission-feature .research-intro{display:block;padding:clamp(24px,3vw,42px) clamp(28px,4vw,58px) 24px}
.research-mission-feature .research-intro p{max-width:920px}
.research-mission-photo{display:block;width:100%;height:auto;min-height:0;aspect-ratio:8/3;object-fit:contain;object-position:center;background:#e8f0ed}
@media(max-width:900px){.research-mission-photo{min-height:0;height:auto;aspect-ratio:8/3}}
@media(max-width:540px){.research-mission-photo{min-height:0;height:auto;aspect-ratio:8/3}}

/* V81 — centered mission copy and 25% smaller complete, uncropped photograph. */
.research-mission-feature .research-intro {text-align:center;display:flex;flex-direction:column;align-items:center;padding:clamp(28px,3.4vw,48px) 24px 26px;}
.research-mission-feature .research-intro h2 {max-width:900px;margin:12px auto 16px;}
.research-mission-feature .research-intro p {max-width:850px;margin:0 auto;text-align:center;}
.research-mission-photo {width:75%;height:auto;aspect-ratio:auto;object-fit:contain;display:block;margin:0 auto clamp(20px,2.5vw,36px);background:transparent;}
@media(max-width:700px){.research-mission-photo{width:94%;}.research-mission-feature .research-intro{padding:26px 20px 22px;}}

/* V82: research investigator roster and specialty support */
.research-team-roles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
.research-role{border:1px solid rgba(32,82,65,.13);background:rgba(241,246,240,.72);border-radius:14px;padding:18px}
.research-role-label{display:block;font-size:11px;font-weight:750;letter-spacing:.13em;color:#376d54;margin-bottom:11px}
.research-role h4{font-size:17px;line-height:1.3;margin:12px 0 4px;color:#173f31}
.research-role p{font-size:14px;line-height:1.5;margin:0 0 10px}
.research-support-card .research-list{margin-top:15px}
@media(max-width:700px){.research-team-roles{grid-template-columns:1fr}}

/* V84: retain V82's balanced two-column cards; tidy labels and names. */
.research-team-roles{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.research-role{min-width:0;padding:16px}
.research-role-label{margin-bottom:7px;line-height:1.3}
.research-role h4{font-size:clamp(14px,1.15vw,16px);line-height:1.3;margin:6px 0 6px;letter-spacing:-.015em}
.research-role p{font-size:13px;line-height:1.45;margin-bottom:12px}
@media(max-width:700px){.research-team-roles{grid-template-columns:1fr}}

/* V85: fit PI name and degrees together without changing card proportions. */
.research-team-roles .research-role:first-child h4{font-size:clamp(11.5px,1.04vw,14px);letter-spacing:-.035em;white-space:nowrap;}
@media(max-width:700px){.research-team-roles .research-role:first-child h4{font-size:clamp(12px,3.3vw,16px);white-space:normal;}}

/* Research facility: complete source lists, editorial image and balanced columns */
.research-facility{margin:40px 0;padding:clamp(22px,3.5vw,46px)}
.research-facility>h2{margin-bottom:14px}
.research-facility-intro{max-width:920px;line-height:1.75;margin-bottom:24px}
.research-facility-photo{width:100%;max-width:760px;margin:0 auto 30px;border-radius:16px;overflow:hidden;background:#e9f0eb}
.research-facility-photo img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
.research-facility-lists{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.research-facility-group{padding:24px;background:#f4f7f2;border:1px solid rgba(28,77,52,.12);border-radius:16px;min-width:0}
.research-facility-group h3{font-size:clamp(19px,2vw,25px);line-height:1.25;margin:8px 0 16px}
.research-facility-num{font-weight:800;letter-spacing:.12em;color:#397357;font-size:13px}
.research-facility-group .research-list{margin-bottom:0;padding-left:20px}
.research-facility-group .research-list li{line-height:1.55;margin:0 0 12px;overflow-wrap:break-word}
.research-facility-more{display:inline-flex;margin-top:26px}
.research-therapeutic-single{grid-template-columns:1fr}
@media(max-width:760px){.research-facility-lists{grid-template-columns:1fr}.research-facility-group{padding:19px}}

/* V87: Research section refinements */
.research-facility>.eyebrow,.research-facility>h2,.research-facility>.research-facility-intro{text-align:center;margin-left:auto;margin-right:auto}
.research-facility>.research-facility-intro{max-width:840px}
.research-experience-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.research-experience-grid>.card{min-width:0}
.research-population-card p{line-height:1.75}
.research-source-note{font-size:12px;color:#61736b;margin-top:22px}
.research-contact{background:#153c30!important;color:#fff!important;border-radius:18px}
.research-contact .eyebrow,.research-contact h2,.research-contact p,.research-contact strong{color:#fff!important}
.research-contact a:not(.btn){color:#f7ead5!important;text-decoration:underline;text-underline-offset:3px}
.research-contact>a.btn{background:#f6f0e5!important;color:#153c30!important;border:1px solid #f6f0e5!important;font-weight:750;white-space:normal;text-align:center}
.research-contact>a.btn:hover{background:#fff!important;color:#153c30!important}
@media(max-width:760px){.research-experience-grid{grid-template-columns:1fr}.research-contact{padding:26px}}

/* V88: consolidate facility equipment and capabilities without duplicate panels */
.research-facility-consolidated{display:block;max-width:100%;margin-top:26px}
.research-facility-consolidated .research-facility-group{padding:26px 34px}
.research-facility-consolidated h3{text-align:center;margin:0 0 20px}
.research-facility-consolidated .research-list{columns:2;column-gap:48px}
.research-facility-consolidated .research-list li{break-inside:avoid;page-break-inside:avoid}
.research-population-card .research-list{margin-top:18px}
@media(max-width:760px){.research-facility-consolidated .research-list{columns:1}.research-facility-consolidated .research-facility-group{padding:20px}}

/* V89: slightly enlarge mission image, keep its full panoramic composition centered */
.research-mission-photo{width:85%;max-width:1100px;height:auto;aspect-ratio:auto;object-fit:contain;margin-left:auto;margin-right:auto;}
@media(max-width:700px){.research-mission-photo{width:96%;}}

/* Research inquiry panel shared between Research and Contact pages */
.contact-research-inquiry{padding-top:12px;padding-bottom:75px}
.contact-research-inquiry .research-contact{margin-top:0}

/* Homepage service navigation and accessible patient-review carousel */
.home-services-cta{display:flex;justify-content:center;padding:34px 0 6px;margin-top:14px;border-top:1px solid rgba(29,76,55,.13)}
.home-services-cta .home-care-link{font-size:15px}
.review-carousel{display:flex;align-items:center;gap:18px;max-width:850px;margin:28px auto 8px}
.review-slides{flex:1;min-width:0}
.review-slide{min-height:230px;text-align:center;padding:30px 34px}
.review-slide[hidden]{display:none!important}
.review-slide p{font-size:18px;line-height:1.65}
.review-slide footer{margin-top:15px}
.review-source{color:var(--green);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.review-arrow{flex:0 0 44px;width:44px;height:44px;border:1px solid #c7d5c9;background:#fff;color:var(--green);border-radius:50%;font-size:30px;cursor:pointer}
.review-arrow:hover,.review-arrow:focus-visible{background:var(--green);color:#fff}
.review-dots{display:flex;justify-content:center;gap:10px;margin:14px 0 28px}
.review-dots button{width:11px;height:11px;border-radius:50%;background:#d0d8d1;border:0;cursor:pointer;padding:0}
.review-dots button.active{background:var(--green)}
@media(max-width:600px){.review-carousel{gap:8px}.review-arrow{width:32px;height:32px;flex-basis:32px;font-size:24px}.review-slide{padding:22px 14px}.review-slide p{font-size:16px}}

/* V94 homepage service placement and premium testimonial carousel */
.home-services-cta{border-top:0;margin:12px 0 24px;padding:8px 0 16px}
.home-services-cta .home-care-link{display:inline-flex;align-items:center;justify-content:center;padding:13px 28px;border:1px solid rgba(29,76,55,.27);border-radius:999px;background:#f4f5ee;color:var(--green);font-weight:700;text-decoration:none;box-shadow:0 7px 20px rgba(24,62,44,.07)}
.review-section{position:relative;margin:65px auto 15px;padding:55px 35px 45px;text-align:center;background:linear-gradient(145deg,#f7f6ed 0%,#eef3eb 100%);border:1px solid #d8e2d4;border-radius:28px;box-shadow:0 22px 55px rgba(21,64,44,.09);overflow:hidden}
.review-section:before{content:'“';position:absolute;left:25px;top:-55px;font:240px Georgia,serif;color:rgba(35,83,59,.06);pointer-events:none}
.review-section h2{margin:12px auto;font-size:clamp(29px,3vw,43px);color:var(--green)}
.review-kicker{color:var(--green);font-size:12px;letter-spacing:.19em;font-weight:800}
.review-intro{max-width:620px;margin:0 auto;color:#57685b;font-size:14px;line-height:1.65}
.review-carousel{max-width:930px;margin:28px auto 12px;gap:18px;align-items:center}
.review-slides{min-width:0;flex:1}
.review-slide{min-height:270px;padding:32px 42px;border:1px solid rgba(31,75,53,.1);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(20,54,37,.08);text-align:center}
.review-slide p{max-width:650px;margin:17px auto;font:italic clamp(18px,2vw,23px)/1.6 Georgia,serif;color:#233b2c}
.review-slide footer{color:#214b34;margin:12px auto 8px}
.review-slide a{font-size:12px;color:#426d52}
.review-stars{font-size:21px;letter-spacing:5px;color:#b68d43}
.review-source{margin-top:10px;font-size:10px;letter-spacing:.14em;color:#68836e}
.review-arrow{display:flex;align-items:center;justify-content:center;line-height:1;padding:0;flex:0 0 48px;width:48px;height:48px;border:1px solid #b6cbb9;background:#fff;border-radius:50%;color:#1f5037;box-shadow:0 5px 13px rgba(25,66,45,.1)}
.review-arrow span{display:block;font:normal 31px/1 Arial,sans-serif;transform:translateY(-2px)}
.review-dots{margin:20px auto 22px}
.review-dots button{width:10px;height:10px}
.review-dots button.active{width:28px;border-radius:999px}
.review-all-link{color:var(--green);font-size:14px;font-weight:700}
@media(max-width:650px){.review-section{padding:38px 12px 35px;border-radius:19px}.review-carousel{gap:7px}.review-arrow{width:34px;height:34px;flex-basis:34px}.review-arrow span{font-size:25px}.review-slide{padding:24px 12px;min-height:295px}.review-slide p{font-size:17px}}

/* V95: Fairchild-inspired garden photograph behind Patient Experiences */
.review-section{background-image:linear-gradient(90deg,rgba(9,42,27,.54),rgba(9,42,27,.35)),url('assets/patient-experiences-garden.webp');background-position:center;background-size:cover;background-repeat:no-repeat;border-color:rgba(255,255,255,.35)}
.review-section .review-kicker,.review-section h2{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.4)}
.review-section:before{color:rgba(255,255,255,.15)}
.review-section .review-all-link{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6)}

/* v96: accessible language toggle, social links and review actions */
.navlinks .lang{white-space:nowrap;font-weight:700;border-radius:5px;padding:8px 11px}
.nav-social{position:relative;font-size:12px;color:var(--green);font-weight:700}
.nav-social summary{cursor:pointer;list-style:none;white-space:nowrap;border:1px solid #d5d0c5;border-radius:5px;padding:9px 10px}
.nav-social summary::-webkit-details-marker{display:none}
.nav-social summary:after{content:'⌄';margin-left:7px}
.nav-social .social-links{position:absolute;right:0;top:calc(100% + 9px);min-width:215px;background:#fffdf8;border:1px solid #ddd5c5;box-shadow:0 12px 30px #112b2522;padding:15px;z-index:35}
.social-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.social-title{font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--gold);width:100%}
.social-links a{font-size:13px;text-decoration:none;font-weight:700;white-space:nowrap}
.social-links a:hover{text-decoration:underline}
.footer>.wrap>.social-links{margin-top:35px}
.footer .social-links a{display:inline-block;color:#f7f2e8}
.contact-social-section{padding:15px 0 35px}
.contact-social-section .social-links{background:#fffdf8;border:1px solid #e2dacd;border-radius:8px;padding:22px 28px}
.review-write-link{display:inline-block;margin-left:18px;font-size:13px}
@media(max-width:1180px){.navlinks{gap:9px}.navlinks>a{font-size:11px}.navinner{gap:10px}.navlinks .lang,.nav-social summary{padding:7px 8px}}
@media(max-width:900px){.nav-social .social-links{position:static;box-shadow:none;margin-top:8px}.nav-social{width:100%}.navlinks .lang{margin-top:6px}}

/* V97: ensure review submission link contrasts with botanical photo */
.review-section .review-write-link{display:inline-flex;align-items:center;justify-content:center;margin:12px 0 0 18px;padding:12px 19px;border-radius:999px;background:#fffdf7;color:#17452e;font-size:14px;font-weight:800;text-decoration:none;text-shadow:none;box-shadow:0 4px 16px rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.8)}
.review-section .review-write-link:hover,.review-section .review-write-link:focus-visible{background:#e9f2e8;color:#123923;text-decoration:underline}
@media(max-width:600px){.review-section .review-write-link{margin:14px 8px 0}}

/* V98: symmetrical review actions and separated investigator credentials */
.review-section .review-all-link,.review-section .review-write-link{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:12px 19px;margin:8px 7px 0;border-radius:999px;background:#fffdf7;color:#17452e;font-size:14px;font-weight:800;line-height:1.25;text-decoration:none;text-shadow:none;border:1px solid rgba(255,255,255,.8);box-shadow:0 4px 16px rgba(0,0,0,.22);vertical-align:middle}
.review-section .review-all-link:hover,.review-section .review-all-link:focus-visible,.review-section .review-write-link:hover,.review-section .review-write-link:focus-visible{background:#e9f2e8;color:#123923;text-decoration:underline}
.research-credentials{list-style:none;margin:8px 0 18px;padding:0;display:grid;gap:5px}
.research-credentials li{display:block;line-height:1.45;padding-left:15px;position:relative}
.research-credentials li:before{content:'•';position:absolute;left:0;color:var(--green)}
@media(max-width:600px){.review-section .review-all-link,.review-section .review-write-link{margin:7px 4px 0;padding:11px 14px;font-size:12px}}

/* V99: uniform physician-name typography across Research Leadership */
.research-team-roles .research-role h4{font-size:clamp(11.5px,1.04vw,14px);letter-spacing:-.035em;line-height:1.3}
@media(max-width:700px){.research-team-roles .research-role h4{font-size:clamp(12px,3.3vw,16px)}}

/* V102 Contact banner: preserve the family and retriever at right, with readable green text zone */
.subhero.contact-family-hero{position:relative;isolation:isolate;overflow:hidden;background:#153f35;min-height:395px;display:flex;align-items:center;padding:65px 0}
.subhero.contact-family-hero::after{content:"";position:absolute;z-index:-2;inset:0;background-image:url('assets/contact-family-park.webp');background-size:cover;background-position:65% 53%;background-repeat:no-repeat}
.subhero.contact-family-hero::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.99) 24%,rgba(21,63,53,.90) 38%,rgba(21,63,53,.56) 51%,rgba(21,63,53,.08) 68%,transparent 82%)}
.subhero.contact-family-hero .wrap{width:100%}
.subhero.contact-family-hero .contact-family-copy{width:min(40%,430px);position:relative;z-index:1}
.subhero.contact-family-hero h1{font-size:clamp(35px,3.8vw,54px);line-height:1.08;margin:16px 0 16px}
.subhero.contact-family-hero p{max-width:380px;font-size:15px;line-height:1.65;color:#edf2ed;margin:0}
@media(max-width:900px){.subhero.contact-family-hero{min-height:350px}.subhero.contact-family-hero .contact-family-copy{width:min(49%,390px)}.subhero.contact-family-hero::after{background-position:60% 52%}.subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.97) 29%,rgba(21,63,53,.65) 51%,rgba(21,63,53,.08) 78%)}}
@media(max-width:600px){.subhero.contact-family-hero{min-height:440px;align-items:flex-start;padding:38px 0 170px}.subhero.contact-family-hero .contact-family-copy{width:100%;max-width:350px}.subhero.contact-family-hero h1{font-size:clamp(34px,9vw,44px);max-width:330px}.subhero.contact-family-hero p{max-width:320px;font-size:14px}.subhero.contact-family-hero::after{background-size:auto 100%;background-position:54% center}.subhero.contact-family-hero::before{background:linear-gradient(180deg,rgba(21,63,53,.99) 0%,rgba(21,63,53,.96) 24%,rgba(21,63,53,.76) 48%,rgba(21,63,53,.06) 80%)}}

/* V103: contact hero image zoomed out and right-anchored; gentler fade preserves father and orchid tree. */
@media(min-width:901px){
 .subhero.contact-family-hero::after{background-size:auto 100%;background-position:right center}
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.99) 21%,rgba(21,63,53,.88) 31%,rgba(21,63,53,.55) 40%,rgba(21,63,53,.12) 54%,transparent 66%)}
}
@media(min-width:601px) and (max-width:900px){
 .subhero.contact-family-hero::after{background-size:auto 100%;background-position:right center}
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.97) 25%,rgba(21,63,53,.62) 42%,rgba(21,63,53,.1) 63%,transparent 77%)}
}

/* V104: seamless forest-green-to-photo fade on Contact banner, matching other hero banners. */
@media(min-width:901px){
 .subhero.contact-family-hero::after{
  background-size:auto 100%;background-position:right center;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.08) 20%,rgba(0,0,0,.45) 32%,rgba(0,0,0,.85) 45%,#000 58%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.08) 20%,rgba(0,0,0,.45) 32%,rgba(0,0,0,.85) 45%,#000 58%);
 }
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.88) 20%,rgba(21,63,53,.38) 37%,rgba(21,63,53,.06) 54%,transparent 68%)}
}
@media(min-width:601px) and (max-width:900px){
 .subhero.contact-family-hero::after{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 26%,rgba(0,0,0,.78) 49%,#000 70%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 26%,rgba(0,0,0,.78) 49%,#000 70%);
 }
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.87) 25%,rgba(21,63,53,.3) 48%,transparent 73%)}
}

/* V105: eliminate the hard photo boundary. Fill the entire hero with the image,
   then blend a single continuous forest-green gradient across it. */
@media (min-width:901px){
 .subhero.contact-family-hero::after{
  background-size:cover;
  background-position:right 52%;
  -webkit-mask-image:none;
  mask-image:none;
 }
 .subhero.contact-family-hero::before{
  background:linear-gradient(90deg,
   #153f35 0%,
   rgba(21,63,53,.99) 15%,
   rgba(21,63,53,.94) 25%,
   rgba(21,63,53,.73) 35%,
   rgba(21,63,53,.36) 46%,
   rgba(21,63,53,.08) 59%,
   rgba(21,63,53,0) 72%);
 }
}
@media (min-width:601px) and (max-width:900px){
 .subhero.contact-family-hero::after{background-size:cover;background-position:right center;-webkit-mask-image:none;mask-image:none}
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.96) 23%,rgba(21,63,53,.7) 39%,rgba(21,63,53,.23) 59%,transparent 82%)}
}

/* V106: retain V105's seamless green fade while restoring the V103
   zoomed-out, right-anchored family composition. */
@media (min-width:901px){
 .subhero.contact-family-hero{min-height:365px}
 .subhero.contact-family-hero::after{
  background-size:auto 100%;
  background-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 14%,rgba(0,0,0,.14) 25%,rgba(0,0,0,.52) 38%,rgba(0,0,0,.88) 51%,#000 64%);
  mask-image:linear-gradient(90deg,transparent 0%,transparent 14%,rgba(0,0,0,.14) 25%,rgba(0,0,0,.52) 38%,rgba(0,0,0,.88) 51%,#000 64%);
 }
 .subhero.contact-family-hero::before{
  background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.99) 17%,rgba(21,63,53,.87) 29%,rgba(21,63,53,.51) 41%,rgba(21,63,53,.14) 56%,transparent 72%);
 }
}
@media (min-width:601px) and (max-width:900px){
 .subhero.contact-family-hero::after{
  background-size:auto 100%;background-position:right center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 22%,rgba(0,0,0,.6) 43%,#000 68%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 22%,rgba(0,0,0,.6) 43%,#000 68%);
 }
 .subhero.contact-family-hero::before{background:linear-gradient(90deg,#153f35 0%,rgba(21,63,53,.96) 22%,rgba(21,63,53,.68) 41%,rgba(21,63,53,.18) 61%,transparent 80%)}
}

/* V107: fade starts at the PHOTO'S actual left edge, not the viewport edge.
   This prevents a visible rectangular boundary with the image zoomed out/right aligned. */
@media (min-width:901px){
 .subhero.contact-family-hero::after{
  background-size:auto 100%;
  background-position:right center;
  -webkit-mask-image:linear-gradient(to right,transparent calc(100% - 1070px),rgba(0,0,0,.12) calc(100% - 990px),rgba(0,0,0,.55) calc(100% - 865px),#000 calc(100% - 690px));
  mask-image:linear-gradient(to right,transparent calc(100% - 1070px),rgba(0,0,0,.12) calc(100% - 990px),rgba(0,0,0,.55) calc(100% - 865px),#000 calc(100% - 690px));
 }
 .subhero.contact-family-hero::before{
  background:linear-gradient(to right,#153f35 0%,rgba(21,63,53,.99) 19%,rgba(21,63,53,.77) 35%,rgba(21,63,53,.28) 53%,transparent 75%);
 }
}
@media (min-width:601px) and (max-width:900px){
 .subhero.contact-family-hero::after{
  background-size:auto 100%;background-position:right center;
  -webkit-mask-image:linear-gradient(to right,transparent calc(100% - 1020px),rgba(0,0,0,.3) calc(100% - 890px),#000 calc(100% - 620px));
  mask-image:linear-gradient(to right,transparent calc(100% - 1020px),rgba(0,0,0,.3) calc(100% - 890px),#000 calc(100% - 620px));
 }
}

/* Legal framework V108 */
.legal-heading{background:#edf3ed;padding:58px 0 34px}.legal-heading h1{font-size:clamp(2rem,4vw,3.4rem);color:#143f31;margin:12px 0}.legal-heading p{color:#4c655a}.legal-modern{max-width:920px!important}.legal-clause{padding:22px 0;border-bottom:1px solid #dce6df}.legal-clause h2{font-size:1.28rem;color:#174735;margin:0 0 10px}.legal-clause p{line-height:1.8;margin:0;white-space:normal}.legal-crosslinks{padding:28px 0;line-height:2}.legal-crosslinks a{color:#19533c;text-decoration:underline}.sms-consent{margin:20px 0;padding:17px;border:1px solid #d4e1d7;border-radius:12px;background:#f5f9f5;align-items:flex-start!important}.sms-consent span{font-size:12px;line-height:1.65}.sms-consent a{color:#145b3c;text-decoration:underline}.sms-consent input{margin-top:4px;flex-shrink:0}

/* V111: keep About Us medical-team message title balanced on one line on desktop. */
@media (min-width: 901px) {
  .about-message-layout .team-message-first h2 {
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.22;
    letter-spacing: -0.025em;
    white-space: nowrap;
  }
}

/* V112: restore visual hierarchy and center the two About message headings.
   A balanced two-line heading is preferable to an undersized single line. */
.about-message-layout .team-message-first > .eyebrow {
  text-align:center;
  width:100%;
}
.about-message-layout .team-message-first > h2 {
  text-align:center;
  text-wrap:balance;
  font-size:clamp(27px,2.35vw,34px);
  line-height:1.17;
  letter-spacing:-.025em;
  white-space:normal;
  margin:12px 0 20px;
}
@media(max-width:600px){
 .about-message-layout .team-message-first > h2{font-size:clamp(25px,6vw,31px)}
}

/* V113: center the About banner's full text block and physician section title. */
.about-intro-hero .about-intro-grid{width:100%;max-width:1180px;margin-inline:auto}
.about-intro-hero .about-intro-copy{max-width:850px;margin-inline:auto;text-align:center}
.about-intro-hero .about-intro-copy p{max-width:800px;margin-inline:auto}
.about-team-section .physician-heading{text-align:center;width:100%;margin:35px auto 30px}
.about-team-section .physician-heading h2{margin-inline:auto}

/* V114 — Home page: balanced headings and CTA; preserve paragraph alignment. */
.home-care-section .home-care-copy > .eyebrow,
.home-care-section .home-care-copy > h2 {
  width:100%; text-align:center; align-self:center;
}
.home-care-section .home-care-copy > h2 { text-wrap:balance; }
.home-care-section .home-care-copy > .home-care-link {
  align-self:center; justify-content:center;
}
/* Keep the existing descriptive copy and its line layout unchanged. */
.home-care-section .home-care-copy .home-care-intro { text-align:left; }
/* Center the entire Care Team introduction over the three physician portraits. */
body[data-page="home"] .sectionhead:has(.home-team-title) {
  text-align:center; width:100%; margin-left:auto; margin-right:auto;
}
body[data-page="home"] .sectionhead:has(.home-team-title) > .eyebrow,
body[data-page="home"] .sectionhead:has(.home-team-title) > h2,
body[data-page="home"] .sectionhead:has(.home-team-title) > p {
  text-align:center; margin-left:auto; margin-right:auto;
}
body[data-page="home"] .sectionhead:has(.home-team-title) > p { max-width:780px; }
@media(max-width:600px){
 body[data-page="home"] .sectionhead .home-team-title { white-space:normal; text-wrap:balance; }
}

/* V115 — align labels and text within their existing content columns,
   rather than shifting the sections to the center of the page. */
.home-care-section .home-care-copy .home-care-intro {
  text-align:center !important;
  align-items:center !important;
}
.home-care-section .home-care-copy .home-care-intro p {
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.insurance-malecon-copy > .eyebrow,
.subhero.contact-family-hero .contact-family-copy > .eyebrow,
.research-ocean-copy > .eyebrow {
  display:block;
  width:100%;
  text-align:center;
}
.insurance-peace-restored-section .insurance-peace-copy {
  text-align:center;
  align-items:center;
}
.insurance-peace-restored-section .insurance-peace-copy > .eyebrow,
.insurance-peace-restored-section .insurance-peace-copy > h2,
.insurance-peace-restored-section .insurance-peace-copy > p {
  width:100%;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* V116 — insurance layout reversal and local heading alignment refinements. */
@media (min-width:721px){
 .insurance-peace-restored-section .insurance-peace-banner{
  grid-template-columns:1fr 1.08fr;
 }
 .insurance-peace-restored-section .insurance-peace-copy{grid-column:1;grid-row:1;}
 .insurance-peace-restored-section .insurance-peace-image{grid-column:2;grid-row:1;}
}
/* Keep the research banner content on the left, while centering the small label
   over the headline's visual measure rather than the full copy column. */
.research-ocean-copy > .eyebrow{
 width:min(100%,440px);
 margin-left:0;
 text-align:center;
}
/* Center each research card's label and heading within its own card, not the page. */
.research-leaders > .card > .eyebrow,
.research-leaders > .card > h3,
.research-experience-grid > .card > .eyebrow,
.research-experience-grid > .card > h2{
 display:block;
 width:100%;
 text-align:center;
 margin-left:auto;
 margin-right:auto;
 text-wrap:balance;
}
/* Position CONTACT above the visual center of the appointment title. */
.subhero.contact-family-hero .contact-family-copy > .eyebrow{
 width:min(100%,350px);
 text-align:center;
 margin-left:0;
}
@media(max-width:600px){
 .research-ocean-copy > .eyebrow,
 .subhero.contact-family-hero .contact-family-copy > .eyebrow{width:100%;}
}

/* V117 — fine-tune banner eyebrow alignment relative to their own headlines. */
@media (min-width:601px){
 .research-ocean-copy > .eyebrow{
  position:relative;
  left:-28px;
 }
 .subhero.contact-family-hero .contact-family-copy > .eyebrow{
  position:relative;
  left:-22px;
 }
}
/* Center the research inquiry content within the green panel on both pages.
   The action stays centered beneath the copy rather than pulling it sideways. */
.research-contact{
 display:flex;
 flex-direction:column;
 align-items:center !important;
 justify-content:center;
 text-align:center;
 gap:20px;
}
.research-contact > div:first-child{
 width:100%;
 max-width:780px;
 margin-inline:auto;
 text-align:center;
}
.research-contact > div:first-child .eyebrow,
.research-contact > div:first-child h2,
.research-contact > div:first-child p{
 text-align:center;
 margin-left:auto;
 margin-right:auto;
}
.research-contact > a.btn{
 align-self:center;
 margin-inline:auto;
}
@media(max-width:600px){
 .research-contact{padding:26px 20px;}
}


/* V118 — Contact page: precise local alignment, retaining original two-column layout. */
@media (min-width:601px){
 .subhero.contact-family-hero .contact-family-copy > .eyebrow{left:-33px;}
}
/* Center only the appointment introduction, not the form controls or its card. */
body[data-page="contact"] .form > h3,
body[data-page="contact"] .form > p:first-of-type{
 text-align:center;
 margin-left:auto;
 margin-right:auto;
}
body[data-page="contact"] .form > p:first-of-type{max-width:590px;}
/* Match location header/contact details to the map's own width. */
body[data-page="contact"] .contact-location-details{
 min-width:0;
 text-align:center;
}
body[data-page="contact"] .contact-location-details > h3,
body[data-page="contact"] .contact-location-details > p{
 text-align:center;
 margin-left:auto;
 margin-right:auto;
}
body[data-page="contact"] .contact-location-details > .location-map{
 width:100%;
 margin-left:auto;
 margin-right:auto;
}
body[data-page="contact"] .contact-office-hours{
 text-align:center;
 margin:34px auto 0;
}
body[data-page="contact"] .contact-office-hours > h3{
 margin:0 0 14px;
}
body[data-page="contact"] .contact-office-hours > p{
 margin-left:auto;
 margin-right:auto;
 text-align:center;
}

/* V119 — center section introductions within their existing content areas. */
.onboarding-panel > .eyebrow,
.onboarding-panel > h2,
.onboarding-panel > .onboarding-intro {
 text-align:center;
 margin-left:auto;
 margin-right:auto;
 text-wrap:balance;
}
/* Insurance category titles align with their individual lists, not the entire page. */
.insurance-grid .insurance-column > .card > h3 {
 text-align:center;
 margin-left:auto;
 margin-right:auto;
 text-wrap:balance;
}
/* Membership introductory prose remains in its original section width. */
.membership-intro {
 margin-left:auto;
 margin-right:auto;
 text-align:center;
}
.membership-intro > h2,
.membership-intro > p {text-align:center;}
/* Gold and Bronze introduction centered over the two DPC membership cards. */
.membership-intro + .eyebrow,
.membership-intro + .eyebrow + h2,
.membership-intro + .eyebrow + h2 + p {
 width:min(100%, calc((100% - 20px) * 2 / 3));
 text-align:center;
 margin-left:0;
 margin-right:0;
 text-wrap:balance;
}
/* Research leadership paragraph aligns with the investigator role cards below. */
.research-team-card > p {
 text-align:center;
 max-width:680px;
 margin-left:auto;
 margin-right:auto;
 text-wrap:balance;
}
@media(max-width:900px){
 .membership-intro + .eyebrow,
 .membership-intro + .eyebrow + h2,
 .membership-intro + .eyebrow + h2 + p {width:100%;}
}

/* V120 — Homepage: center text within each existing split-column content area. */
.advantage-home > div:not(.advantage-home-image) {
  text-align:center;
}
.advantage-home > div:not(.advantage-home-image) > .eyebrow,
.advantage-home > div:not(.advantage-home-image) > h2,
.advantage-home > div:not(.advantage-home-image) > h3,
.advantage-home > div:not(.advantage-home-image) > p {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.research-feature-copy {
  align-items:center;
  text-align:center;
}
.research-feature-copy > .eyebrow,
.research-feature-copy > h2,
.research-feature-copy > p {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* V121 — Center informational notices within their existing containers. */
.onboarding-footnote {text-align:center; margin-left:auto; margin-right:auto;}
/* Page-specific notices: patients, insurance, memberships and research. */
.patients-page .notice, .insurance-malecon-body .notice, .membership-page .notice, .research-page .notice {text-align:center;}

.centered-page-disclaimer {text-align:center;}

/* V122 — Center the appointment email action beneath the SMS consent disclosure. */
#requestForm > button[type="submit"] {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  justify-content: center;
  text-align: center;
}

/* V123: balanced two-column homepage payments and insurer logo composition */
.payments-home-section .payments-home-layout{display:grid;grid-template-columns:minmax(0,0.93fr) minmax(0,1.07fr);gap:clamp(24px,4vw,58px);align-items:center}
.payments-home-section .payments-home-left{min-width:0}
.payments-home-section .payments-home-head{display:flex;flex-direction:column;gap:24px;align-items:center;text-align:center}
.payments-home-section .payments-home-head>div:first-child{width:100%;display:flex;flex-direction:column;align-items:center}
.payments-home-section .payments-home-head h2{margin:12px 0 15px}
.payments-home-section .payments-home-head p{max-width:510px;margin:0 auto 22px}
.payments-home-section .payment-methods{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.payments-home-section .payment-method{display:flex;justify-content:center;align-items:center;text-align:center;min-height:60px;padding:11px 8px;font-size:13px}
.payments-home-section .payments-logo-gallery{margin-top:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-content:center}
.payments-home-section .payment-logo-tile{height:76px;padding:10px}
.payments-home-section .payments-note{text-align:center;max-width:800px;margin:25px auto 0;line-height:1.6}
@media(max-width:900px){.payments-home-section .payments-home-layout{grid-template-columns:1fr;gap:30px}.payments-home-section .payments-logo-gallery{grid-template-columns:repeat(4,minmax(0,1fr));max-width:650px;width:100%;margin:0 auto}}
@media(max-width:550px){.payments-home-section .payment-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.payments-home-section .payment-method{font-size:11px;padding:10px 5px}.payments-home-section .payments-logo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.payments-home-section .payment-logo-tile{height:70px}}

/* V124 — simplify payment methods and center the contact form privacy notice. */
.payments-home-section .payments-home-left{display:flex;flex-direction:column;justify-content:center;}
.appointment-privacy-notice{text-align:center;margin-left:auto;margin-right:auto;}

/* V125 — center Services banner eyebrow above its headline, within the left copy column. */
.services-scenic-hero .wrap > .eyebrow{
  width:min(100%, 470px);
  text-align:center;
  margin-left:0;
}
@media(max-width:600px){
  .services-scenic-hero .wrap > .eyebrow{width:min(100%, 360px);}
}

/* V126 — nudge the Services eyebrow toward the headline's visual center and reduce their gap. */
.services-scenic-hero .wrap > .eyebrow{
  position:relative;
  left:18px;
  margin-bottom:0;
}
.services-scenic-hero .wrap > h1{
  margin-top:12px;
}
@media(max-width:600px){
  .services-scenic-hero .wrap > .eyebrow{left:8px;}
  .services-scenic-hero .wrap > h1{margin-top:12px;}
}

/* V127 — center the medical team signature beneath the About Us message. */
.about-message-layout .team-message-first > p:last-child {
  width:100%;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* V141 — new boutique storefront image, full-bleed edge-to-edge hero. */
.boutique-image-hero {
  width:100%;
  aspect-ratio:2078 / 757;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#e8d8b7 url("assets/boutique-hero-v141.webp") center center / 100% 100% no-repeat;
}
.boutique-banner-art { display:none; }
.boutique-coming-soon { text-align:center; padding:60px 0 80px; }
.boutique-coming-soon .wrap { max-width:850px; }
.boutique-coming-soon h2 { color:var(--green); }
.boutique-status { font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:#718077; }
@media(max-width:700px) { .boutique-coming-soon { padding:45px 0 65px; } }

/* V142 — slightly smaller boutique photo, green-to-photo blend on LEFT only. */
.boutique-image-hero {
  position:relative;
  height:clamp(220px, 27vw, 475px);
  aspect-ratio:auto;
  background:#103f31;
  overflow:hidden;
}
.boutique-image-hero::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url("assets/boutique-hero-v141.webp");
  background-position:center;
  background-size: auto 100%;
  background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 8%, #000 20%, #000 100%);
  mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 8%, #000 20%, #000 100%);
}
@media(max-width:700px){
  .boutique-image-hero { height:auto; aspect-ratio:2078 / 757; }
  .boutique-image-hero::before { background-size:100% 100%; -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 11%, #000 100%); mask-image:linear-gradient(to right, transparent 0%, #000 11%, #000 100%); }
}

/* V143 — anchor boutique photograph flush right; left green fades into image. */
.boutique-image-hero {
  background:#103f31;
}
.boutique-image-hero::before {
  inset:auto 0 0 auto;
  top:0;
  width:min(100%, calc(clamp(220px, 27vw, 475px) * 2078 / 757));
  height:100%;
  background-position:right center;
  background-size:100% 100%;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 7%, rgba(0,0,0,.65) 17%, #000 28%);
  mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 7%, rgba(0,0,0,.65) 17%, #000 28%);
}
@media(max-width:700px){
  .boutique-image-hero::before {
    width:100%;
    background-position:right center;
    -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 9%);
    mask-image:linear-gradient(to right, transparent 0%, #000 9%);
  }
}

/* V144 — extend the right-aligned boutique photo farther left, reducing exposed green.
   Retain existing hero height and the left-to-right fade. */
@media (min-width:701px) {
  .boutique-image-hero::before {
    width:min(100%, calc(clamp(220px, 27vw, 475px) * 2078 / 757 * 1.22));
    -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 5%, rgba(0,0,0,.65) 13%, #000 23%);
    mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 5%, rgba(0,0,0,.65) 13%, #000 23%);
  }
}

/* V145 — enlarge the boutique photo proportionally (never stretch),
   and shift the visual emphasis right while retaining the left green blend. */
@media (min-width:701px) {
  .boutique-image-hero::before {
    top:50%;
    bottom:auto;
    right:0;
    left:auto;
    height:110%;
    width:min(100%, calc(clamp(220px, 27vw, 475px) * 2078 / 757 * 1.10));
    transform:translateY(-50%);
    background-size:cover;
    background-position:right center;
    -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 7%, rgba(0,0,0,.72) 18%, #000 29%);
    mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 7%, rgba(0,0,0,.72) 18%, #000 29%);
  }
}

/* V146 — boutique hero full-bleed photograph, without green sides or fade.
   Natural image aspect ratio is maintained on all screen sizes. */
.boutique-image-hero {
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:2078 / 757;
  background:transparent url("assets/boutique-hero-v141.webp") center center / contain no-repeat;
}
.boutique-image-hero::before { content:none !important; display:none !important; }
@media (max-width:700px) {
  .boutique-image-hero { height:auto; aspect-ratio:2078 / 757; }
}

/* V147 — Center physician names, specialties and biographies below portraits
   consistently on the Home Care Team and About Our Physicians sections. */
body[data-page="home"] .physician-card,
body[data-page="about"] .physician-card {
  text-align: center;
}
body[data-page="home"] .physician-card h3,
body[data-page="home"] .physician-card p,
body[data-page="about"] .physician-card h3,
body[data-page="about"] .physician-card p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* V148: parallel plan headings, with all three plan cards sharing one visual language */
.membership-three{align-items:stretch}
.membership-dpc,.membership-silver{display:flex;flex-direction:column;min-width:0}
.membership-plan-heading{min-height:166px;margin-bottom:20px}
.membership-plan-heading h2{margin:10px 0 12px}
.membership-plan-heading p{margin:0;max-width:590px}
.membership-three .pricing{flex:1;align-items:stretch}
.membership-three .silver-pricing{grid-template-columns:minmax(0,1fr);height:100%}
.membership-three .silver-pricing .price{height:100%;display:flex;flex-direction:column;padding:25px;background:#fffdf8;border:1px solid #e1d8c6}
.membership-three .silver-pricing .price ul{flex:1}
.membership-three .silver-pricing .price .btn{align-self:stretch;text-align:center;margin-top:auto}
@media(max-width:900px){.membership-plan-heading{min-height:0;margin-bottom:20px}.membership-silver{margin-top:22px}}

/* V149: center plan-category labels and supporting copy above their cards */
.membership-three .membership-plan-heading {text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}
.membership-three .membership-plan-heading .eyebrow,
.membership-three .membership-plan-heading h2,
.membership-three .membership-plan-heading p {text-align:center;width:100%;}
.membership-three .membership-plan-heading p {margin-left:auto;margin-right:auto;max-width:520px;}

/* v153: consent sections and centered team message */
.patient-form-jump{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:34px 0 20px}
.existing-patient-panel{margin-top:38px}
.about-message-layout .team-message-first,.about-message-layout .team-message-first > p,.about-message-layout .team-message-first > h2,.about-message-layout .team-message-first > .eyebrow{text-align:center}


/* V154 — patient onboarding and existing-patient forms in balanced parallel columns. */
.patient-forms-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(18px,2.2vw,32px);margin-top:26px}
.patient-forms-columns .onboarding-panel{margin-top:0;min-width:0;padding:clamp(20px,2.4vw,36px);height:100%}
.patient-forms-columns .existing-patient-panel{margin-top:0}
.patient-forms-columns .onboarding-steps{grid-template-columns:minmax(0,1fr);gap:14px;margin:24px 0}
.patient-forms-columns .onboarding-step{padding:clamp(16px,1.8vw,23px);gap:13px}
.patient-forms-columns .onboarding-step h3{font-size:clamp(17px,1.4vw,21px)}
.patient-forms-columns .onboarding-step p{margin-bottom:16px}
.patient-forms-columns .onboarding-actions .btn{min-width:104px}
.patient-forms-columns .onboarding-intro{max-width:100%}
@media(max-width:900px){.patient-forms-columns{grid-template-columns:1fr;gap:24px}.patient-forms-columns .onboarding-panel{height:auto}}

/* V157: align form cards from the TOP of both columns, not the bottom.
   The previous grid panel placed the forms in an expanding row, pushing the
   shorter existing-patient list down. Use a simple vertical flow instead. */
@media (min-width:901px){
  .patient-forms-columns{align-items:stretch}
  .patient-forms-columns .onboarding-panel{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
  .patient-forms-columns .onboarding-panel > .eyebrow{min-height:22px}
  .patient-forms-columns .onboarding-panel > h2{min-height:72px;margin:8px 0 12px}
  .patient-forms-columns .onboarding-panel > .onboarding-intro{height:160px;min-height:160px;max-height:160px;margin:0;overflow:visible}
  .patient-forms-columns .onboarding-steps{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(210px,auto);align-content:start;align-items:stretch;margin:24px 0;gap:14px;flex:none}
  .patient-forms-columns .onboarding-step{min-height:210px;height:100%}
  .patient-forms-columns .onboarding-step-content{flex:1}
  .patient-forms-columns .onboarding-actions{margin-top:auto}
}
@media (min-width:901px) and (max-width:1100px){
  .patient-forms-columns .onboarding-panel > h2{min-height:105px}
  .patient-forms-columns .onboarding-panel > .onboarding-intro{height:210px;min-height:210px;max-height:210px}
  .patient-forms-columns .onboarding-steps{grid-auto-rows:minmax(240px,auto)}
  .patient-forms-columns .onboarding-step{min-height:240px}
}

/* V159: place form shortcuts immediately beneath Patients hero, before resource directory. */
body[data-page="patients"] .patient-form-jump{margin:0 0 30px;padding:2px 0 0;justify-content:center;gap:14px}
body[data-page="patients"] .patient-form-jump .btn{min-width:min(100%,245px);text-align:center}
body[data-page="patients"] #new-patient-forms,body[data-page="patients"] #existing-patient-forms{scroll-margin-top:95px}
@media(max-width:600px){body[data-page="patients"] .patient-form-jump{gap:10px;margin-bottom:24px}body[data-page="patients"] .patient-form-jump .btn{min-width:0;flex:1 1 210px}}

/* V160: replace standalone green jump tabs with three aligned resource cards. */
body[data-page="patients"] .patients-resources{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:900px){body[data-page="patients"] .patients-resources{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){body[data-page="patients"] .patients-resources{grid-template-columns:1fr;}}

/* V161: deterministic matching form-card rows across both patient columns.
   Both lists begin at the same vertical position, and each row has an identical
   fixed track height regardless of the differing descriptions. */
@media (min-width:901px){
  body[data-page="patients"] .patient-forms-columns .onboarding-panel{justify-content:flex-start}
  body[data-page="patients"] .patient-forms-columns .onboarding-steps{
    grid-auto-rows:280px; align-content:start; align-items:stretch;
    margin-top:24px; margin-bottom:24px; gap:14px;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step{
    box-sizing:border-box; height:280px; min-height:0; overflow:visible;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step-content{min-width:0}
}
@media (min-width:901px) and (max-width:1100px){
  body[data-page="patients"] .patient-forms-columns .onboarding-steps{grid-auto-rows:320px}
  body[data-page="patients"] .patient-forms-columns .onboarding-step{height:320px}
}

/* V162: exact user-supplied Gables Medical logos */
.brand .official-header-logo{display:block;width:220px;max-width:100%;height:76px;object-fit:contain;object-position:left center}
.footer-brand-link{display:inline-block;max-width:100%}
.official-footer-logo{display:block;width:245px;max-width:100%;height:auto;object-fit:contain;background:#fff;border-radius:5px;padding:7px}
.official-boutique-logo{display:block;width:220px;max-width:60%;height:auto;margin:0 auto 22px;object-fit:contain}
@media(max-width:1100px){.brand .official-header-logo{width:175px;height:66px}}
@media(max-width:600px){.brand .official-header-logo{width:158px;height:60px}.official-boutique-logo{width:175px}}

/* V163: stacked ivory footer mark, transparent on continuous green background */
.footer .official-footer-logo{display:block;width:150px;max-width:100%;height:auto;object-fit:contain;background:transparent;border-radius:0;padding:0;box-shadow:none;filter:none}
.footer .footer-brand-link{display:inline-block;max-width:100%;background:transparent;padding:0;border:0}
@media(max-width:600px){.footer .official-footer-logo{width:130px}}

/* V164: stacked official header mark; centered footer brand block */
.brand .official-header-logo{width:116px;height:94px;max-width:none;object-fit:contain;object-position:center}
.navinner{min-height:110px}
.footer .footgrid>div:first-child{display:flex;flex-direction:column;align-items:center;text-align:center}
.footer .footgrid>div:first-child .footer-brand-link{display:block;margin:0 auto 8px}
.footer .footgrid>div:first-child .official-footer-logo{width:165px;margin:0 auto}
.footer .footgrid>div:first-child p{margin:0 auto 16px;text-align:center;max-width:330px}
.footer .footgrid>div:first-child small{text-align:center}
@media(max-width:1100px){.brand .official-header-logo{width:100px;height:82px}}
@media(max-width:900px){.navlinks{top:110px}}
@media(max-width:600px){.brand .official-header-logo{width:88px;height:76px}.navinner{min-height:94px}.navlinks{top:94px}.footer .footgrid>div:first-child .official-footer-logo{width:145px}}

/* V165 — Insurance hero: full-bleed Malecón image with a continuous, soft
   forest-green-to-photograph fade. Avoid the hard edge caused by auto 100% sizing. */
.insurance-malecon-hero {
  background-image: url("assets/havana-red-chevrolet-malecon.jpg");
  background-size: cover;
  background-position: center center;
}
.insurance-malecon-hero::before {
  background: linear-gradient(90deg,
    #153c30 0%,
    rgba(21,60,48,.99) 19%,
    rgba(21,60,48,.94) 30%,
    rgba(21,60,48,.77) 42%,
    rgba(21,60,48,.42) 55%,
    rgba(21,60,48,.12) 68%,
    rgba(21,60,48,0) 80%);
}
@media (max-width:800px) {
  .insurance-malecon-hero { background-size:cover; background-position: 56% center; }
}
@media (max-width:540px) {
  .insurance-malecon-hero { background-size:cover; background-position: 53% center; }
  .insurance-malecon-hero::before {
    background:linear-gradient(180deg,#153c30 0%,rgba(21,60,48,.98) 30%,rgba(21,60,48,.76) 51%,rgba(21,60,48,.18) 82%,rgba(21,60,48,0) 100%);
  }
}

/* V166: Restore readable horizontal header mark, while retaining centered stacked footer. */
.brand .official-header-logo{width:220px;height:76px;max-width:100%;object-fit:contain;object-position:left center}
.navinner{min-height:90px}
@media(max-width:1100px){.brand .official-header-logo{width:175px;height:66px}}
@media(max-width:900px){.navlinks{top:90px}}
@media(max-width:600px){.brand .official-header-logo{width:158px;height:60px}.navinner{min-height:78px}.navlinks{top:78px}}
/* Keep full Chevrolet visible on the right, with a continuous green fade over its left edge.
   Two background layers avoid a hard vertical seam at the photograph boundary. */
.insurance-malecon-hero{
  background-color:#153c30;
  background-image:linear-gradient(90deg,#153c30 0%,#153c30 16%,rgba(21,60,48,.99) 23%,rgba(21,60,48,.92) 32%,rgba(21,60,48,.70) 42%,rgba(21,60,48,.28) 53%,rgba(21,60,48,0) 68%),url("assets/havana-red-chevrolet-malecon.jpg");
  background-size:100% 100%,80% 100%;
  background-position:center,right center;
  background-repeat:no-repeat;
}
.insurance-malecon-hero::before{background:none}
@media(max-width:800px){.insurance-malecon-hero{background-size:100% 100%,95% 100%;background-position:center,right center}}
@media(max-width:540px){
 .insurance-malecon-hero{background-image:linear-gradient(180deg,#153c30 0%,rgba(21,60,48,.98) 30%,rgba(21,60,48,.82) 49%,rgba(21,60,48,.20) 78%,rgba(21,60,48,0) 100%),url("assets/havana-red-chevrolet-malecon.jpg");background-size:100% 100%,100% 58%;background-position:center,center bottom}
}

/* V167: position the Malecón photo farther right to separate the driver's head
   from the left-side heading, without losing the Chevrolet. */
@media (min-width:801px) {
  .insurance-malecon-hero {
    background-image: linear-gradient(90deg, #153c30 0%, #153c30 23%, rgba(21,60,48,.99) 31%, rgba(21,60,48,.90) 38%, rgba(21,60,48,.65) 46%, rgba(21,60,48,.22) 55%, rgba(21,60,48,0) 66%), url("assets/havana-red-chevrolet-malecon.jpg");
    background-size: 100% 100%, 68% 100%;
    background-position: center, right center;
  }
}

/* V168: Center footer social links directly beneath brand tagline. */
.footer .footgrid>div:first-child>.social-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;width:100%;max-width:330px;margin:0 auto 18px;text-align:center}
.footer .footgrid>div:first-child>.social-links .social-title{width:100%;text-align:center}
.footer .footgrid>div:first-child>.social-links a{display:inline-block;margin:0;color:#f7f2e8}

/* V169: Social links follow the clinic address in the centered footer brand column. */
.footer .footgrid>div:first-child>small{display:block;margin:0 auto 17px;text-align:center}
.footer .footgrid>div:first-child>.social-links{margin:0 auto 18px}

/* V170: soften green-to-photo transition while preserving V167 image crop and text position.
   The image begins at 32% of the hero; keep the overlay fully opaque past that edge
   so there is no visible vertical seam, then fade continuously across the photograph. */
@media (min-width:801px) {
  .insurance-malecon-hero {
    background-image:
      linear-gradient(90deg,
        #153c30 0%,
        #153c30 35%,
        rgba(21,60,48,.98) 40%,
        rgba(21,60,48,.91) 46%,
        rgba(21,60,48,.70) 53%,
        rgba(21,60,48,.38) 61%,
        rgba(21,60,48,.12) 69%,
        rgba(21,60,48,0) 77%),
      url("assets/havana-red-chevrolet-malecon.jpg");
    background-size:100% 100%,68% 100%;
    background-position:center,right center;
    background-repeat:no-repeat;
  }
}

/* V172 — Services hero: modestly taller viewport reveals more of the original
   panorama without enlarging the photograph or consuming the first screen. */
@media (min-width:701px){
  .subhero.services-scenic-hero{min-height:420px;padding:66px 0 70px;background-position:center 53%;background-size:cover}
}
@media (max-width:700px){
  .subhero.services-scenic-hero{min-height:340px;padding:55px 0;background-position:58% 53%;background-size:cover}
}

/* V173 — give the Services waterfront photograph a noticeably larger viewing
   area, while keeping the banner below a full-screen hero. */
@media (min-width:701px){
  .subhero.services-scenic-hero{min-height:530px;padding:78px 0 82px;background-position:center 51%;background-size:cover}
}
@media (max-width:700px){
  .subhero.services-scenic-hero{min-height:405px;padding:62px 0;background-position:58% 51%;background-size:cover}
}

/* V174 — compact vertical official mark + refined tagline in site header.
   Expand the navigation type and give it balanced space on wide screens. */
.nav .navinner{max-width:1380px;min-height:116px;gap:22px}
.nav .brand{flex:0 0 158px;width:158px;align-items:center;justify-content:center;text-align:center;gap:0}
.nav .brand .official-header-logo{width:104px;height:90px;max-width:none;object-fit:contain;object-position:center}
.nav .header-brand-tagline{display:block;font-family:Georgia,'Times New Roman',serif;font-size:10px;font-style:italic;letter-spacing:.005em;line-height:1.12;white-space:nowrap;color:#284b40;margin-top:-3px}
.nav .navlinks{gap:clamp(9px,1.1vw,17px);justify-content:flex-end}
.nav .navlinks>a{font-size:clamp(12px,1vw,14px);font-weight:650;white-space:nowrap}
.nav .nav-social{font-size:13px}
@media(min-width:1081px) and (max-width:1230px){
  .nav .navinner{gap:10px;padding-left:18px;padding-right:18px}
  .nav .brand{flex-basis:138px;width:138px}
  .nav .navlinks{gap:8px}
  .nav .navlinks>a{font-size:12px}
  .nav .nav-social{font-size:12px}
}
@media(max-width:1080px){
  .nav .navinner{min-height:108px}
  .nav .brand{flex:0 0 145px;width:145px}
  .nav .brand .official-header-logo{width:94px;height:80px}
  .nav .header-brand-tagline{font-size:9px}
  .nav .mobile-toggle{display:block;background:none;border:0;font-size:27px;color:var(--green)}
  .nav .navlinks{display:none;position:absolute;top:108px;left:0;right:0;background:var(--cream);padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid #ddd;max-height:75vh;overflow:auto}
  .nav .navlinks.open{display:flex}
  .nav .navlinks>a{font-size:15px}
  .nav .nav-social .social-links{position:static;box-shadow:none;margin-top:8px}
  .nav .nav-social{width:100%}
}
@media(max-width:600px){
  .nav .navinner{min-height:100px}
  .nav .brand{flex-basis:137px;width:137px}
  .nav .brand .official-header-logo{width:87px;height:75px}
  .nav .header-brand-tagline{font-size:8.5px}
  .nav .navlinks{top:100px}
}

/* V175 — slightly larger stacked header logo, brought closer to navigation. */
@media(min-width:1081px){
 .nav .navinner{justify-content:flex-end;gap:12px}
 .nav .brand{flex:0 0 132px;width:132px;margin-left:0}
 .nav .brand .official-header-logo{width:118px;height:104px}
}
@media(min-width:1081px) and (max-width:1230px){
 .nav .navinner{gap:8px}
 .nav .brand{flex-basis:120px;width:120px}
 .nav .brand .official-header-logo{width:110px;height:98px}
}
@media(max-width:1080px){.nav .brand .official-header-logo{width:103px;height:89px}}
@media(max-width:600px){.nav .brand .official-header-logo{width:95px;height:83px}}

/* V176: align the stacked header mark closer to the left content column, without shifting navigation tabs. */
@media(min-width:1231px){.nav .brand{transform:translateX(-55px)}}
@media(min-width:1081px) and (max-width:1230px){.nav .brand{transform:translateX(-20px)}}

/* V177: shift header logo slightly left again while keeping navigation fixed. */
@media(min-width:1231px){.nav .brand{transform:translateX(-78px)}}
@media(min-width:1081px) and (max-width:1230px){.nav .brand{transform:translateX(-34px)}}

/* V178: balanced desktop header; align logo with the main content edge and
   distribute navigation evenly instead of clustering at the right. */
@media (min-width:1231px) {
  .nav .navinner {max-width:1240px; justify-content:space-between; gap:24px;}
  .nav .brand {transform:none; flex:0 0 132px; width:132px; margin-left:0;}
  .nav .navlinks {flex:1; justify-content:center; gap:clamp(10px,1.15vw,17px);}
}
@media (min-width:1081px) and (max-width:1230px) {
  .nav .navinner {justify-content:space-between; gap:12px;}
  .nav .brand {transform:none; flex:0 0 120px; width:120px;}
  .nav .navlinks {flex:1; justify-content:center; gap:8px;}
}

/* V179: modestly bring the desktop header logo toward the navigation, while
   preserving the balanced overall nav group. */
@media (min-width:1231px) {
  .nav .brand { transform:translateX(24px); }
}
@media (min-width:1081px) and (max-width:1230px) {
  .nav .brand { transform:translateX(12px); }
}
/* Center the complete Services hero copy as one composition. */
.services-scenic-hero .wrap { text-align:center; }
.services-scenic-hero .wrap > .eyebrow { width:100%; max-width:none; left:auto; margin-left:auto; margin-right:auto; text-align:center; }
.services-scenic-hero .wrap > h1 { text-align:center; }
.services-scenic-hero .services-banner-intro { align-items:center; text-align:center; margin-left:auto; margin-right:auto; }
@media (max-width:700px) {
  .services-scenic-hero .wrap > .eyebrow { left:auto; }
}

/* V180 — bring the stacked logo closer to the navigation, without moving the tabs. */
@media (min-width:1231px) {
  .nav .brand { transform:translateX(68px); }
}
@media (min-width:1081px) and (max-width:1230px) {
  .nav .brand { transform:translateX(28px); }
}
/* Services: full scenic image without overlaid copy; introduction below. */
.services-scenic-hero {display:block;}
.services-below-banner {padding:58px 0 28px;text-align:center;background:var(--cream);color:var(--ink);}
.services-below-banner .eyebrow {color:var(--gold);margin:0 auto 14px;}
.services-below-banner h1 {font-size:clamp(38px,4.8vw,60px);margin:0 auto 20px;}
.services-below-banner .services-banner-intro {display:flex;flex-direction:column;align-items:center;gap:10px;max-width:830px;margin:0 auto;font-size:clamp(15px,1.5vw,19px);line-height:1.55;color:#465d50;}
.services-below-banner .services-intro-line {display:block;width:100%;}
.services-cards-section {padding-top:42px;}
@media(max-width:700px){.services-below-banner{padding:42px 0 18px}.services-below-banner .services-banner-intro{font-size:15px;gap:8px}.services-cards-section{padding-top:35px}}

/* V181 — show the full height of the Services photograph without changing banner dimensions.
   The image is centered and fitted inside the existing banner rather than cropped by cover. */
.subhero.services-scenic-hero{
  background-color:#244d4c;
  background-size:contain;
  background-position:center center;
  background-repeat:no-repeat;
}
.subhero.services-scenic-hero::before{background:transparent;}
@media(max-width:700px){
  .subhero.services-scenic-hero{background-size:cover;background-position:center center;}
}


/* V182 — Services: keep existing hero height, shift the photo right,
   restore left-aligned copy on green with a smooth green-to-image fade. */
.subhero.services-scenic-hero {
  background-color:#153c30;
  background-image:
    linear-gradient(90deg,#153c30 0%,#153c30 28%,rgba(21,60,48,.98) 35%,rgba(21,60,48,.88) 43%,rgba(21,60,48,.62) 52%,rgba(21,60,48,.25) 64%,rgba(21,60,48,0) 76%),
    url('assets/services-miami-bay.jpg');
  background-size:100% 100%,74% auto;
  background-position:center center,right center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
}
.subhero.services-scenic-hero::before { background:transparent; }
.services-scenic-hero .wrap.services-hero-copy {
  width:min(1180px,calc(100% - 64px));
  margin:0 auto;
  text-align:left;
  position:relative;
  z-index:1;
}
.services-scenic-hero .services-hero-copy > .eyebrow {
  width:auto;max-width:480px;left:auto;margin:0 0 15px;text-align:left;
  color:#f0d6a1;
}
.services-scenic-hero .services-hero-copy > h1 {
  text-align:left;color:#fff;max-width:480px;
  font-size:clamp(36px,3.9vw,55px);line-height:1.12;margin:0 0 19px;
}
.services-scenic-hero .services-hero-copy .services-banner-intro {
  align-items:flex-start;text-align:left;margin:0;max-width:475px;
  font-size:clamp(15px,1.35vw,18px);line-height:1.5;color:#fff;
}
.services-scenic-hero .services-hero-copy .services-intro-line {width:auto;}
@media(max-width:800px){
  .subhero.services-scenic-hero {
    background-image:linear-gradient(90deg,rgba(21,60,48,.97) 0%,rgba(21,60,48,.89) 46%,rgba(21,60,48,.50) 100%),url('assets/services-miami-bay.jpg');
    background-size:100% 100%,auto 100%;background-position:center,right center;
  }
  .services-scenic-hero .wrap.services-hero-copy{width:calc(100% - 40px)}
  .services-scenic-hero .services-hero-copy > h1{font-size:clamp(34px,7vw,46px);max-width:420px}
  .services-scenic-hero .services-hero-copy .services-banner-intro{max-width:420px;font-size:15px}
}

/* V183 — centered typography within the existing left-hand green copy area.
   Keep the copy block in place; only refine its internal alignment and scale. */
@media (min-width:801px) {
  .services-scenic-hero .services-hero-copy > .eyebrow {
    width:440px;max-width:44%;margin:0 0 14px;text-align:center;
    font-size:clamp(11px,.94vw,13px);letter-spacing:.10em;
  }
  .services-scenic-hero .services-hero-copy > h1 {
    width:440px;max-width:44%;margin:0 0 17px;text-align:center;
    font-size:clamp(31px,3vw,43px);line-height:1.16;
  }
  .services-scenic-hero .services-hero-copy .services-banner-intro {
    width:440px;max-width:44%;margin:0;align-items:center;text-align:center;
    font-size:clamp(13px,1.12vw,15px);line-height:1.55;
  }
  .services-scenic-hero .services-hero-copy .services-intro-line {width:100%;}
}
@media (max-width:800px) {
  .services-scenic-hero .services-hero-copy > .eyebrow,
  .services-scenic-hero .services-hero-copy > h1,
  .services-scenic-hero .services-hero-copy .services-banner-intro {
    width:min(100%,420px);max-width:100%;text-align:center;margin-left:0;margin-right:0;
  }
  .services-scenic-hero .services-hero-copy > h1 {font-size:clamp(30px,6vw,40px);}
  .services-scenic-hero .services-hero-copy .services-banner-intro {align-items:center;font-size:14px;}
}

/* V184 — three intentionally balanced lines for the Services banner introduction. */
@media (min-width:801px) {
  .services-scenic-hero .services-hero-copy .services-banner-intro {
    width:480px; max-width:48%; font-size:clamp(12px,1.01vw,14px);
  }
  .services-scenic-hero .services-hero-copy .services-intro-line {
    display:block; white-space:nowrap;
  }
}
@media (max-width:800px) {
  .services-scenic-hero .services-hero-copy .services-intro-line {
    display:block; white-space:normal;
  }
}

/* V185 — align the three-line Services introduction with the heading's
   visual center, correcting the previous overly-wide, right-shifted block. */
@media (min-width:801px) {
  .services-scenic-hero .services-hero-copy .services-banner-intro {
    width:440px; max-width:44%; transform:translateX(-12px);
    font-size:clamp(11px,.91vw,12.5px);
    text-align:center; align-items:center;
  }
  .services-scenic-hero .services-hero-copy .services-intro-line {
    width:100%; text-align:center; white-space:nowrap;
  }
  /* Move the Malecón photograph's left edge right and expose more of the
     Chevrolet, preserving the existing green gradient and hero dimensions. */
  .insurance-malecon-hero {background-size:100% 100%,64% 100%;background-position:center,right center;}
}


/* V186 — internal centering within the existing left copy blocks. These rules
   do not reposition or resize the Patients / Research hero containers. */
@media (min-width:701px) {
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p {
    text-align:center;
  }
}
@media (max-width:700px) {
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p {
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
  .patients-hero-content > p { white-space:normal; }
}
/* Insurance: make the heading and supporting text a balanced centered block,
   still positioned on the left green field, away from the vehicle. */
.insurance-malecon-copy {
  text-align:center;
}
.insurance-malecon-copy > .eyebrow,
.insurance-malecon-copy > h1,
.insurance-malecon-copy > .insurance-coverage-note {
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.insurance-malecon-copy h1 {
  font-size:clamp(25px,2.35vw,33px);
  line-height:1.18;
}
@media (min-width:801px) {
  .insurance-malecon-copy {max-width:min(350px,36%);}
  .insurance-malecon-copy h1 {max-width:330px;}
  /* The supplied Malecón image is cropped to the photo panel's aspect ratio,
     rather than compressing its subjects to fit a narrow background layer.
     Extend the panel left to reveal the Chevy, with a seamless green fade. */
  .insurance-malecon-hero {
    background-image:linear-gradient(90deg,
      #153c30 0%, #153c30 29%, rgba(21,60,48,.97) 33%,
      rgba(21,60,48,.83) 39%, rgba(21,60,48,.57) 45%,
      rgba(21,60,48,.25) 52%, rgba(21,60,48,.06) 59%,
      rgba(21,60,48,0) 67%),
      url('assets/havana-red-chevrolet-malecon-banner-crop.jpg');
    background-size:100% 100%,78% 100%;
    background-position:center,right center;
    background-repeat:no-repeat;
  }
}
@media (max-width:800px) {
  .insurance-malecon-copy h1 {font-size:clamp(25px,3.6vw,30px);}
  .insurance-malecon-copy .insurance-coverage-note {margin-left:auto;margin-right:auto;}
}
/* Research: smaller type and symmetrical centering inside the existing left
   banner placement, without shifting the background picture. */
.research-ocean-copy {text-align:center;}
.research-ocean-copy > .eyebrow,
.research-ocean-copy > h1,
.research-ocean-copy > p {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.research-ocean-copy h1 {font-size:clamp(27px,2.65vw,38px);line-height:1.2;}
.research-ocean-copy p {font-size:clamp(12px,1vw,14px);line-height:1.6;}
@media (max-width:800px) {
  .research-ocean-copy h1 {font-size:clamp(26px,4.3vw,34px);}
}
/* About: the image banner remains intact; move its introduction to a centered
   section immediately below it and before the medical-team message. */
.about-intro-below {
  background:var(--cream);
  padding:48px 0 28px;
}
.about-intro-below .about-intro-copy {
  max-width:830px;
  margin:0 auto;
  text-align:center;
}
.about-intro-below .about-intro-copy .eyebrow {color:#936d38;}
.about-intro-below .about-intro-copy h1 {
  font-size:clamp(36px,4vw,52px);
  color:var(--green);
  margin:12px auto 16px;
  line-height:1.15;
}
.about-intro-below .about-intro-copy p {
  max-width:760px;
  color:var(--ink);
  font-size:clamp(15px,1.25vw,17px);
  line-height:1.75;
  margin:0 auto;
}
@media(max-width:700px) {
  .about-intro-below {padding:35px 0 18px;}
  .about-intro-below .about-intro-copy h1 {font-size:clamp(32px,7vw,43px);}
}


/* V187 — Patients: use one consistent centered copy measure for label,
   headline and supporting paragraph. Keep banner and text position unchanged. */
@media (min-width:701px) {
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p {
    box-sizing:border-box;
    display:block;
    width:min(34vw,370px);
    max-width:min(34vw,370px);
    margin-left:0;
    margin-right:0;
    text-align:center;
  }
}
@media (min-width:701px) and (max-width:1050px) {
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p {
    width:min(36vw,350px);
    max-width:min(36vw,350px);
  }
}
@media (max-width:700px) {
  .patients-hero-content > .eyebrow,
  .patients-hero-content > h1,
  .patients-hero-content > p {
    width:100%; max-width:100%; margin-left:auto; margin-right:auto;
    text-align:center;
  }
}
/* V187 — Research: remove old 28px label displacement and center all
   three text elements along the same column, with a slightly smaller heading. */
.research-ocean-copy > .eyebrow,
.research-ocean-copy > h1,
.research-ocean-copy > p {
  box-sizing:border-box;
  position:static;
  left:auto;
  display:block;
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
  text-align:center;
}
.research-ocean-copy h1 {
  font-size:clamp(26px,2.3vw,34px);
  line-height:1.23;
  text-wrap:balance;
}
@media (max-width:800px) {
  .research-ocean-copy h1 {font-size:clamp(25px,3.6vw,31px);}
}
/* V187 — About: a single refined introductory card beneath the hero,
   echoing the homepage's framed physician-content treatment. */
.about-intro-below .about-intro-copy {
  box-sizing:border-box;
  width:100%;
  max-width:830px;
  margin:0 auto;
  padding:43px 55px 46px;
  background:#fffdf8;
  border:1px solid #e3ddcf;
  border-left:3px solid var(--gold);
  box-shadow:0 12px 30px rgba(17,43,37,.045);
  text-align:center;
}
@media(max-width:700px) {
  .about-intro-below .about-intro-copy {padding:30px 23px 32px;}
}


/* V188 — restrained research banner adjustment: move the complete text group
   left of the diver's oxygen tank, preserving its internal centered alignment. */
@media (min-width:801px) {
  .research-ocean-copy {transform:translateX(-20px);}
}
@media (min-width:541px) and (max-width:800px) {
  .research-ocean-copy {transform:translateX(-10px);}
}
/* Center the investigator titles directly above their respective doctor names.
   Keep supporting clinical details readable beneath the names. */
.research-team-roles .research-role-label,
.research-team-roles .research-role h4 {
  width:100%;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
/* Contact page: align eyebrow, appointment title and descriptive copy around
   one consistent center line inside the original green text column. */
.subhero.contact-family-hero .contact-family-copy {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.subhero.contact-family-hero .contact-family-copy > .eyebrow,
.subhero.contact-family-hero .contact-family-copy > h1,
.subhero.contact-family-hero .contact-family-copy > p {
  box-sizing:border-box;
  position:static;
  left:auto;
  width:100%;
  max-width:100%;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  text-wrap:balance;
}
/* Gables Advantage: one aligned vertical axis for the eyebrow, heading and
   tagline; expand the right-side photography a touch without increasing hero height. */
.membership-feature-hero .feature-hero-copy {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.membership-feature-hero .feature-hero-copy > .eyebrow,
.membership-feature-hero .feature-hero-copy > h1,
.membership-feature-hero .feature-hero-copy > .membership-feature-tagline {
  width:100%;
  max-width:100%;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
@media (min-width:761px) {
  .membership-feature-hero .feature-hero-image {width:78%;}
  .membership-feature-hero .feature-hero-image img {object-position:50% 55%;}
  .membership-feature-hero .feature-hero-copy {width:32%;max-width:390px;}
}
@media (min-width:761px) and (max-width:1050px) {
  .membership-feature-hero .feature-hero-image {width:76%;}
  .membership-feature-hero .feature-hero-copy {width:35%;max-width:350px;}
}


/* V189 — Match the Home page's green-and-cream care card on About and
   Memberships. No copper/reddish vertical rule or highlight. */
.about-intro-below .about-intro-copy {
  background:#edf1e9;
  border:0;
  border-left:0;
  border-radius:4px;
  box-shadow:0 16px 48px rgba(19,47,36,.09);
}
.about-intro-below .about-intro-copy .eyebrow {
  color:var(--green);
}
.membership-intro {
  box-sizing:border-box;
  width:100%;
  max-width:970px;
  padding:42px 52px 38px;
  background:#edf1e9;
  border:0;
  border-radius:4px;
  box-shadow:0 16px 48px rgba(19,47,36,.09);
  margin:0 auto 54px;
}
.membership-intro > h2 {color:var(--green);}
.membership-intro > p {color:#465d50;}
/* A small, proportional reduction to both parts of the Research hero copy;
   preserve the approved placement and centered axis. */
.research-ocean-copy h1 {font-size:clamp(25px,2.16vw,32px);}
.research-ocean-copy p {font-size:clamp(11.5px,.95vw,13.5px);}
@media(max-width:800px){
  .research-ocean-copy h1 {font-size:clamp(24px,3.45vw,30px);}
  .research-ocean-copy p {font-size:13px;}
}
@media(max-width:700px){
  .membership-intro {padding:30px 23px 28px;}
}


/* V190 — refine Memberships hero composition without scaling or distorting
   the beach photograph. Keep the photograph flush to the viewport's right edge. */
@media (min-width:1051px) {
  .membership-feature-hero .feature-hero-copy {
    transform:translateX(24px);
  }
  .membership-feature-hero .feature-hero-image {
    left:auto;right:0;width:74%;
  }
  .membership-feature-hero .feature-hero-image img {
    object-fit:cover;object-position:50% 54%;
  }
}
@media (min-width:761px) and (max-width:1050px) {
  .membership-feature-hero .feature-hero-copy {
    transform:translateX(12px);
  }
  .membership-feature-hero .feature-hero-image {
    left:auto;right:0;width:73%;
  }
  .membership-feature-hero .feature-hero-image img {
    object-fit:cover;object-position:50% 54%;
  }
}
/* Retain the existing gentle transition as the photograph begins farther right. */
@media (min-width:761px) {
  .membership-feature-hero .feature-hero-image:after {
    background:linear-gradient(90deg,
      #173e34 0%,rgba(23,62,52,.98) 7%,
      rgba(23,62,52,.76) 17%,rgba(23,62,52,.30) 28%,
      rgba(23,62,52,0) 43%);
  }
}
/* Match the Healthcare Should Feel Accessible card above both plan headings.
   Restrict the whole three-plan grid to the same centered measure as that card. */
.membership-three {
  width:100%;max-width:970px;margin:0 auto;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap:20px;
}
.membership-three .membership-plan-heading {
  box-sizing:border-box;
  position:relative;z-index:1;
  min-height:156px;
  width:100%;
  margin:0 0 14px;
  padding:23px 17px 24px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  background:#edf1e9;
  border:0;border-radius:4px;
  box-shadow:0 12px 30px rgba(19,47,36,.075);
}
.membership-three .membership-plan-heading .eyebrow {color:var(--green);font-size:10px;}
.membership-three .membership-plan-heading h2 {
  font-size:clamp(26px,2.6vw,35px);
  color:var(--green);margin:8px 0 8px;
}
.membership-three .membership-plan-heading p {
  color:#465d50;font-size:14px;line-height:1.55;max-width:100%;
}
/* Silver's introduction sits gently above its plan card with a little overlap. */
.membership-three .membership-silver .membership-plan-heading {
  margin-bottom:-8px;z-index:2;
}
.membership-three .membership-silver .silver-pricing {padding-top:20px;}
@media(max-width:900px) {
  .membership-three {grid-template-columns:minmax(0,1fr);gap:22px;}
  .membership-three .membership-silver {margin-top:0;}
  .membership-three .membership-plan-heading {min-height:0;padding:25px 18px;}
}
@media(max-width:580px) {
  .membership-three .membership-plan-heading h2 {font-size:29px;}
}
/* About intro label: same gold as the 'Gables Medical' label in the
   adjacent medical-team message, without a copper/red accent. */
.about-intro-below .about-intro-copy > .eyebrow,
.about-message-layout .team-message-first > .eyebrow {color:var(--gold);}


/* V191 — Memberships banner: extend the original undistorted photograph to
   the actual right viewport edge, just like the Insurance banner.  The wrap
   remains the text alignment guide; its photo can now overflow that guide. */
@media (min-width:761px) {
  .membership-feature-hero.compact-feature-hero {
    overflow:hidden;
  }
  .membership-feature-hero .feature-hero-image {
    position:absolute;
    top:0;
    bottom:0;
    left:auto;
    right:calc((100% - 100vw)/2);
    width:82vw;
    height:100%;
    overflow:hidden;
  }
  .membership-feature-hero .feature-hero-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 54%;
    transform:none;
  }
  .membership-feature-hero .feature-hero-image:after {
    background:linear-gradient(90deg,
      #173e34 0%,
      #173e34 10%,
      rgba(23,62,52,.94) 19%,
      rgba(23,62,52,.60) 29%,
      rgba(23,62,52,.20) 39%,
      rgba(23,62,52,0) 49%);
  }
}
/* V191 — the Gold/Bronze and Silver introduction panels now use exactly the
   same sage background, shadow and rounding as the section intro above. */
.membership-intro,
.membership-three .membership-plan-heading {
  background-color:#edf1e9;
  background-image:none;
  border:0;
  border-radius:4px;
  box-shadow:0 16px 48px rgba(19,47,36,.09);
}


/* V192 — photograph framed wider than a card but with less vertical crop.
   Retain the full-bleed right edge and green fade of V191, while showing more
   of the reclining woman and the chaise by decreasing image cover scale. */
@media (min-width:1051px) {
  .membership-feature-hero .feature-hero-image {
    width:65vw;
  }
  .membership-feature-hero .feature-hero-image img {
    object-fit:cover;
    object-position:50% 78%;
  }
  .membership-feature-hero .feature-hero-image:after {
    background:linear-gradient(90deg,
      #173e34 0%,
      rgba(23,62,52,.98) 5%,
      rgba(23,62,52,.88) 14%,
      rgba(23,62,52,.50) 23%,
      rgba(23,62,52,.13) 34%,
      rgba(23,62,52,0) 45%);
  }
}
@media (min-width:761px) and (max-width:1050px) {
  .membership-feature-hero .feature-hero-image {width:70vw;}
  .membership-feature-hero .feature-hero-image img {object-position:50% 75%;}
}
/* A single shared source of truth for the three membership introduction
   backgrounds, so the Gold/Bronze and Silver headings match the full-width
   Healthcare Should Feel Accessible panel in both shade and finish. */
body[data-page="memberships"] {--membership-panel-shade:#e9eee5;}
body[data-page="memberships"] .membership-intro,
body[data-page="memberships"] .membership-three .membership-plan-heading {
  background:var(--membership-panel-shade);
  border:0;
  border-radius:4px;
  box-shadow:0 16px 48px rgba(19,47,36,.09);
}
/* Match the gold About Our Practice Gables Medical eyebrow exactly. */
body[data-page="memberships"] .membership-three .membership-plan-heading > .eyebrow {
  color:var(--gold);
}

/* V193 — match both membership heading panels to the Bronze and Silver
   plan-card off-white, rather than the sage introduction box above. */
body[data-page="memberships"] .membership-three .membership-plan-heading {
  background:#fffdf8;
  background-image:none;
}


/* V194 — Under Research Leadership keep the Sub-Investigators heading
   centered, while both physician names read naturally left-to-right. */
.research-team-roles .research-role:nth-child(2) h4 {
  text-align:left;
  margin-left:0;
  margin-right:0;
}


/* V195: ivory home hero CTAs, modeled on the live site's booking controls. */
.hero .home-hero-ivory{background:#f7f2e8!important;color:#153f35!important;border:1px solid #f7f2e8!important;font-weight:650;border-radius:3px;vertical-align:middle;}
.hero .home-hero-ivory:hover,.hero .home-hero-ivory:focus-visible{background:#fffdf8!important;border-color:#fffdf8!important;box-shadow:0 0 0 3px rgba(247,242,232,.25)}
/* V196: restore the complete V194 navigation layout. The original logo,
   links, Follow Us, and Español remain in their previous positions.
   Put the new appointment/call controls in the top-right utility strip,
   outside the primary navigation so they cannot compress or move it. */
.top{position:relative;isolation:isolate}
.top-actions{position:absolute;right:clamp(12px,2vw,32px);top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:7px;letter-spacing:normal;white-space:nowrap}
.top-actions .top-book,.top-actions .top-phone{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 12px;font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:0;text-decoration:none;border-radius:3px}
.top-actions .top-book{background:#f7f2e8;color:var(--green);border:1px solid #f7f2e8}
.top-actions .top-phone{background:#e8dfcd;color:var(--green);border:1px solid #d9cdb7}
.top-actions .top-book:hover,.top-actions .top-book:focus-visible{background:#fffdf8}
.top-actions .top-phone:hover,.top-actions .top-phone:focus-visible{background:#f7f2e8}
@media(max-width:1080px){
  .top{min-height:43px;padding-top:9px;padding-bottom:9px;text-align:left;padding-left:18px;font-size:10px;letter-spacing:.07em}
  .top-actions{right:12px}
  .top-actions .top-book,.top-actions .top-phone{font-size:10px;min-height:29px;padding:5px 8px}
}
@media(max-width:620px){
  .top{min-height:62px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;padding:4px 9px 5px;text-align:center;font-size:9px;line-height:1.25}
  .top-actions{position:static;transform:none;gap:6px}
  .top-actions .top-book,.top-actions .top-phone{font-size:10px;min-height:26px;padding:4px 8px}
}
/* Lightweight bilingual appointment dialog, with live-site-equivalent fields. */
.booking-overlay[hidden]{display:none!important}
.booking-overlay{position:fixed;inset:0;z-index:3000;background:rgba(8,29,23,.77);display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:24px}
body.booking-modal-open{overflow:hidden}
.booking-dialog{background:#fffdf8;width:min(100%,560px);max-height:calc(100dvh - 48px);overflow-y:auto;position:relative;border-radius:7px;box-shadow:0 25px 80px rgba(0,0,0,.28);outline:none}
.booking-dialog-body{padding:34px 38px 30px}
.booking-dialog .eyebrow{color:var(--gold);font-size:10px}
.booking-dialog h2{color:var(--green);font-size:clamp(27px,2.8vw,35px);line-height:1.17;margin:10px 20px 12px 0}
.booking-intro{color:#53645a;font-size:13px;line-height:1.5;margin-bottom:16px}
.booking-close{position:absolute;top:8px;right:14px;background:transparent;border:0;color:var(--green);font-size:30px;line-height:1;padding:6px}
.booking-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.booking-fields label{font-size:12px;font-weight:700;color:#2b4439}
.booking-fields input{display:block;width:100%;margin-top:5px;padding:10px 11px;background:white;border:1px solid #cbd0c9;border-radius:3px;font-size:14px}
.booking-fields input:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.booking-sensitive{font-size:11px;color:#6e6555;margin:12px 0}
.booking-sms-consent{display:flex;align-items:flex-start;gap:11px;padding:12px;background:#f5f2e9;border:1px solid #e5dfd4;color:#46594f;font-size:11px;line-height:1.5}
.booking-sms-consent input{flex-shrink:0;width:16px;height:16px;margin:2px 0 0}
.booking-sms-consent a,.booking-call a,.booking-form-message a{color:var(--green);text-underline-offset:2px}
.booking-submit{width:100%;border-radius:3px;margin-top:14px;font-size:13px;font-weight:700}
.booking-form-message{font-size:12px;line-height:1.5;color:#355747;margin:12px 0 0}
.booking-call{text-align:center;color:#34574b;margin:17px 0 0;font-size:13px}
@media(max-width:520px){.booking-overlay{padding:12px}.booking-dialog{max-height:calc(100dvh - 24px)}.booking-dialog-body{padding:25px 18px 22px}.booking-fields{grid-template-columns:1fr;gap:9px}.booking-dialog h2{font-size:27px}}


/* V197: keep the V194/V196 logo, menu and Español alignment exactly as-is.
   Display extra appointment/call actions *inside the cream nav*, not the top slogan strip.
   Absolute positioning prevents those controls shifting the established nav group. */
.top{position:static;isolation:auto;text-align:center;}
.nav{position:sticky;}
.header-actions{position:absolute;z-index:2;right:clamp(12px,2vw,32px);top:5px;display:flex;gap:7px;align-items:center;white-space:nowrap;}
.header-actions .header-book,.header-actions .header-phone{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 12px;border-radius:3px;font:700 11px/1.2 Arial,Helvetica,sans-serif;text-decoration:none;letter-spacing:0;}
.header-actions .header-book{background:var(--green);color:#fff;border:1px solid var(--green);}
.header-actions .header-phone{background:#f7f2e8;color:var(--green);border:1px solid #c7bfae;}
.header-actions .header-book:hover,.header-actions .header-book:focus-visible{background:#245647;}
.header-actions .header-phone:hover,.header-actions .header-phone:focus-visible{background:#fffdf8;}
/* Center only the modal masthead, never the input labels or consent text. */
.booking-dialog-body>.eyebrow,.booking-dialog h2,.booking-dialog .booking-intro{text-align:center;}
.booking-dialog h2{margin:10px auto 12px;max-width:450px;}
.booking-dialog .booking-intro{margin-left:auto;margin-right:auto;max-width:440px;}
.booking-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
@media(max-width:1080px){.top{min-height:0;padding:7px;text-align:center;font-size:12px;letter-spacing:.12em;} .header-actions{right:12px;top:5px;} .header-actions .header-book,.header-actions .header-phone{font-size:10px;min-height:28px;padding:4px 8px;}}
@media(max-width:620px){.top{min-height:0;display:block;padding:7px 5px;font-size:10px;line-height:1.35;} .nav .navinner{min-height:100px;} .header-actions{position:relative;right:auto;top:auto;justify-content:center;padding:0 8px 10px;margin-top:-4px;} .header-actions .header-book,.header-actions .header-phone{font-size:11px;min-height:30px;} .nav .navlinks{top:136px;} }

/* V198: Header action buttons center on the same vertical axis as the main navigation. */
@media (min-width:621px){
  .nav .header-actions{top:50%;transform:translateY(-50%);right:clamp(12px,1.8vw,28px);}
  .nav .header-actions .header-book,.nav .header-actions .header-phone{min-height:36px;padding:7px 11px;font-size:11px;}
}
/* Reserve space for the two buttons at laptop widths while retaining the stacked mark. */
@media (min-width:1081px) and (max-width:1500px){
  .nav .navinner{padding-right:272px;}
  .nav .navlinks{gap:clamp(5px,.7vw,10px);}
  .nav .navlinks>a{font-size:clamp(10px,.84vw,12px);}
  .nav .nav-social{font-size:11px;}
}
@media (min-width:621px) and (max-width:1080px){
  .nav .navinner{padding-right:265px;}
  .nav .mobile-toggle{margin-right:0;}
}
@media (max-width:620px){
  .nav .header-actions{top:auto;transform:none;right:auto;}
}
/* The footer location is a full clickable Google Maps destination. */
.footer .gm-address-link{display:inline-block;margin:0;color:inherit;text-decoration:none;font-size:inherit;font-weight:inherit;line-height:inherit;}
.footer .gm-address-link:hover,.footer .gm-address-link:focus-visible{text-decoration:underline;text-underline-offset:3px;color:#fff;}
.research-contact .gm-address-link{color:inherit;text-decoration:underline;text-underline-offset:3px;}
.contact-location-details .gm-address-link{color:var(--green);text-decoration:underline;text-underline-offset:3px;}
/* Match the contact appointment request to the popup's styling, fields and submit behavior. */
.contact-appointment-form{max-width:none;width:100%;padding:0;border:1px solid #e3dccc;border-radius:7px;background:#fffdf8;box-shadow:0 13px 34px rgba(18,48,39,.06);}
.contact-appointment-form .booking-dialog-body{padding:35px 34px;}
.contact-appointment-form .eyebrow,.contact-appointment-form h2,.contact-appointment-form .booking-intro{text-align:center;}
.contact-appointment-form h2{font-size:clamp(26px,2.5vw,34px);color:var(--green);margin:10px auto 12px;max-width:450px;line-height:1.17;}
.contact-appointment-form .booking-intro{color:#53645a;font-size:13px;line-height:1.5;max-width:440px;margin:0 auto 16px;}
.contact-appointment-form .booking-fields label{margin:0;font-size:12px;}
.contact-appointment-form .booking-fields input{margin-top:5px;}
.contact-appointment-form .booking-sms-consent{margin:0; font-weight:400;}
.contact-appointment-form .booking-sms-consent input{width:16px;flex:0 0 16px;}
.contact-appointment-form .booking-submit{display:block;width:100%;}
.contact-appointment-form .booking-form-message{margin:12px 0 0;}
@media (max-width:700px){.contact-appointment-form .booking-dialog-body{padding:26px 20px;}}

/* V199 — center the appointment/call button pair in the available header
   space between Español and the right viewport edge, without moving the
   existing logo, nav tabs, or language toggle. */
@media (min-width:1081px){
  .nav .header-actions{right:clamp(36px,calc(13.2vw - 109px),85px);}
}


/* V200 — balance Español and the two appointment controls without shifting the
   established logo or menu. Scale the language toggle to the other nav items
   and give the paired action buttons slightly greater visual prominence. */
.nav .navlinks .lang{font-size:12px;line-height:1.3;padding:7px 9px;}
@media (min-width:1081px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{font-size:13px;min-height:40px;padding:9px 15px;}
}
@media (min-width:1081px) and (max-width:1500px){
  .nav .navlinks .lang{font-size:11px;padding:7px 8px;}
}
@media (min-width:621px) and (max-width:1080px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{font-size:12px;min-height:38px;padding:8px 13px;}
}

/* V201 — right-side header actions must never cover Español.
   Restore compact, readable action buttons and keep a clearance to the
   original navigation across desktop breakpoints. */
@media (min-width:1081px) {
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone {
    font-size:11px;
    min-height:36px;
    padding:7px 8px;
  }
}
/* Above the reserved-navigation breakpoint, keep the group near the edge
   rather than letting its centered position collide with Español. */
@media (min-width:1501px) and (max-width:1799px) {
  .nav .header-actions {right:12px;}
}


/* V202 — place the action-button GROUP at the true midpoint of the free space
   between the right edge of Español and the viewport edge. The main navigation
   remains in its approved V201 position. */
@media(min-width:1081px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{
    font-size:11.5px;
    min-height:38px;
    padding:8px 9px;
  }
}
/* A few widths immediately above the desktop-layout breakpoint have less
   room to the right of Español. Preserve breathing room on both sides. */
@media(min-width:1501px) and (max-width:1560px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{
    font-size:11px;
    min-height:37px;
    padding:8px 7px;
  }
}


/* V203 — slightly more prominent action pair, positioned toward Español by
   measured JS geometry. The 16px minimum separator avoids overlap. */
@media(min-width:1081px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{
    font-size:12px;
    min-height:39px;
    padding:8px 10px;
  }
}
@media(min-width:1501px) and (max-width:1560px){
  .nav .header-actions .header-book,
  .nav .header-actions .header-phone{
    font-size:11.3px;
    min-height:38px;
    padding:8px 8px;
  }
}

/* V206 — match the privacy reminder on both Contact and the Book Appointment pop-up.
   Both forms share the exact same centered layout in English and Spanish. */
.contact-appointment-form .booking-sensitive,
.booking-dialog .booking-sensitive{max-width:420px;margin:14px auto 16px;text-align:center;line-height:1.5;}


/* V205 — center every standard Services detail-page hero (English and Spanish).
   Scope this strictly to service.html so the main Services panorama and the
   separately designed Clinical Research banner remain unchanged. */
body[data-page="service"] .subhero {
  min-height:315px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:70px 0;
  text-align:center;
}
body[data-page="service"] .subhero > .wrap {
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body[data-page="service"] .subhero .eyebrow {
  display:block;
  max-width:850px;
  margin:0 auto;
  text-align:center;
}
body[data-page="service"] .subhero h1 {
  max-width:960px;
  margin:18px auto 20px;
  font-size:clamp(36px,4.8vw,58px);
  line-height:1.15;
  text-align:center;
  text-wrap:balance;
}
body[data-page="service"] .subhero p {
  max-width:780px;
  margin:0 auto;
  text-align:center;
  text-wrap:balance;
  line-height:1.65;
}
@media (max-width:700px) {
  body[data-page="service"] .subhero {min-height:auto;padding:56px 0;}
  body[data-page="service"] .subhero .eyebrow {font-size:10px;letter-spacing:.16em;}
  body[data-page="service"] .subhero h1 {
    font-size:clamp(32px,8vw,44px);
    margin:16px auto 18px;
  }
  body[data-page="service"] .subhero p {font-size:15px;line-height:1.6;}
}

/* V207: richer individual service pages for weight management and aesthetic medicine */
.service-enhanced-content{margin-top:34px;display:flex;flex-direction:column;gap:28px}
.service-rich-intro{padding:26px 28px;border:1px solid #e4ddd0;background:linear-gradient(180deg,#fcfaf5 0%,#f4efe4 100%)}
.service-rich-intro h2{font-size:2rem;margin:10px 0 12px}
.service-feature{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:28px;align-items:center;padding:24px;border:1px solid #e4ddd0;background:#fffdf9}
.service-feature.reverse{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)}
.service-feature.reverse .service-feature-media{order:2}
.service-feature.reverse .service-feature-copy{order:1}
.service-feature-media{align-self:stretch}
.service-feature-media img{display:block;width:100%;height:100%;min-height:280px;object-fit:cover;border-radius:4px;border:1px solid #e9e2d5;background:#f4efe4}
.service-feature-copy h3{font-size:2rem;margin:9px 0 12px;color:#163b2d}
.service-feature-copy p{font-size:15px;line-height:1.8;color:#445a52}
.service-feature-list{margin:16px 0 0;padding-left:20px;display:grid;gap:10px}
.service-feature-list li{line-height:1.65;color:#31483f}
.service-feature-note{margin-top:16px;font-size:13px;color:#6a6357;font-style:italic}
.service-highlight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.service-highlight-card{padding:24px;border:1px solid #e4ddd0;background:#f7f3ea}
.service-highlight-card h3{font-size:1.45rem;margin:10px 0 8px;color:#163b2d}
.service-promo-gallery{padding:28px;border:1px solid #e4ddd0;background:#fbf8f1}
.service-gallery-head{max-width:760px;margin-bottom:20px}
.service-gallery-head h3{font-size:1.65rem;margin:8px 0 10px;color:#163b2d}
.service-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.service-gallery-item{margin:0;background:#fff;border:1px solid #e7e0d2;overflow:hidden}
.service-gallery-item img{display:block;width:100%;height:100%;min-height:250px;object-fit:cover}
.service-detail-disclaimer{margin-top:30px}
.service-detail-disclaimer:empty{display:none}
@media(max-width:980px){
  .service-feature,.service-feature.reverse{grid-template-columns:1fr}
  .service-feature.reverse .service-feature-media,.service-feature.reverse .service-feature-copy{order:initial}
  .service-highlight-grid,.service-gallery-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .service-feature,.service-rich-intro,.service-promo-gallery,.service-highlight-card{padding:20px}
  .service-feature-copy h3{font-size:1.65rem}
  .service-rich-intro h2{font-size:1.7rem}
  .service-gallery-item img,.service-feature-media img{min-height:220px}
}

/* V208: Original imagery and tasteful side-by-side service storytelling */
.service-detail.service-detail-rich{max-width:1180px;}
.service-detail-rich>.detail-copy{max-width:870px;margin:0 auto 22px;text-align:center;font-size:clamp(17px,1.7vw,20px);line-height:1.75;color:#365347;}
.service-detail-rich .service-enhanced-content{margin:28px 0 0;gap:0;}
.service-detail-rich .service-editorial-collection{display:flex;flex-direction:column;}
.service-centered-intro{max-width:800px;margin:0 auto 42px;text-align:center;}
.service-centered-intro h2{font-size:clamp(28px,3.5vw,43px);margin:14px 0 18px;color:#183f33;}
.service-centered-intro p{max-width:680px;margin:0 auto;color:#4f655b;font-size:16px;line-height:1.8;}
.service-editorial-feature{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:clamp(26px,4.4vw,62px);padding:40px 8px;border:0;border-bottom:1px solid #e6e0d6;background:transparent;}
.service-editorial-feature:first-of-type{padding-top:10px;}
.service-editorial-feature.is-reversed{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);}
.service-editorial-feature.is-reversed .service-editorial-media{order:2;}
.service-editorial-feature.is-reversed .service-editorial-copy{order:1;}
.service-editorial-media{position:relative;min-width:0;}
.service-editorial-media>img{display:block;width:100%;aspect-ratio:1.17/1;object-fit:cover;object-position:center;border-radius:9px;box-shadow:0 18px 40px rgba(18,59,43,.09);background:#f1f0eb;}
.service-editorial-feature#ipl-lumecca .service-editorial-media>img{object-position:center 26%;}
.service-editorial-feature#diolazexl .service-editorial-media>img{object-position:center 33%;}
.service-editorial-feature#botox .service-editorial-media>img{object-position:center center;}
.service-media-secondary{position:absolute;bottom:-20px;right:-16px;width:39%;margin:0;background:#f9f6f0;padding:6px;border-radius:8px;box-shadow:0 12px 30px rgba(24,56,45,.16);}
.service-media-secondary img{display:block;width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:5px;}
.service-editorial-copy{padding:6px 12px;}
.service-editorial-copy .eyebrow{font-size:11px;letter-spacing:.17em;color:#8d7652;}
.service-editorial-copy h2{font-size:clamp(28px,3.2vw,40px);line-height:1.16;margin:14px 0 20px;color:#153f35;}
.service-editorial-copy p{font-size:15px;color:#52645b;line-height:1.85;margin:0 0 16px;}
.service-editorial-copy .service-feature-list{padding-left:20px;margin:15px 0 0;display:grid;gap:9px;}
.service-editorial-copy .service-feature-list li{font-size:14px;line-height:1.6;color:#40584b;}
.service-editorial-note{font-size:12px!important;font-style:italic;color:#697a71!important;margin:15px 0 0!important;}
.service-therapy-options{background:#f3f1e9;padding:48px clamp(18px,4vw,54px);margin:48px 0 8px;border:1px solid #e7e2d8;border-radius:10px;}
.service-therapy-options .service-centered-intro{margin-bottom:28px;}
.service-therapy-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.service-therapy-grid article{background:#fffdf8;padding:30px;border:1px solid #e5ddce;border-radius:7px;}
.service-therapy-grid h3{font-size:26px;margin:0 0 14px;color:#183f33;}
.service-therapy-grid p{line-height:1.75;color:#506458;font-size:15px;margin:0;}
.service-therapy-footnote{font-size:12px;line-height:1.7;color:#66786c;margin:20px 0 0;text-align:center;}
.service-video-feature{margin-top:54px;background:#173d33;color:#fff;padding:50px clamp(20px,5vw,65px) 34px;border-radius:12px;}
.service-video-feature .service-centered-intro{margin-bottom:28px;}
.service-video-feature .service-centered-intro h2{color:#fff;}
.service-video-feature .service-centered-intro p{color:#e2e7df;}
.service-video-feature .eyebrow{color:#d9bd84;}
.service-video-feature video{width:100%;max-width:880px;aspect-ratio:16/9;display:block;margin:0 auto;background:#101f1b;border-radius:7px;box-shadow:0 20px 45px rgba(0,0,0,.21);}
.service-video-attribution{font-size:12px;line-height:1.65;color:#d7ded7;max-width:880px;margin:17px auto 0;text-align:center;}
.service-detail-rich .service-detail-disclaimer{max-width:920px;margin:42px auto 0;font-size:13px;text-align:center;}
.service-detail-rich .service-detail-cta{text-align:center;margin-top:32px;}
@media(max-width:800px){
 .service-editorial-feature,.service-editorial-feature.is-reversed{grid-template-columns:1fr;padding:28px 0;gap:21px;}
 .service-editorial-feature.is-reversed .service-editorial-media,.service-editorial-feature.is-reversed .service-editorial-copy{order:initial;}
 .service-editorial-feature:first-of-type{padding-top:0;}
 .service-editorial-media{max-width:650px;width:100%;margin:0 auto 15px;}
 .service-editorial-media>img{aspect-ratio:1.35;}
 .service-media-secondary{right:0;bottom:-12px;width:31%;}
 .service-editorial-copy{padding:10px 4px;}
 .service-therapy-grid{grid-template-columns:1fr;}
 .service-video-feature{padding:29px 14px 22px;margin-top:34px;}
}
@media(max-width:520px){
 .service-detail-rich>.detail-copy{font-size:16px;}
 .service-therapy-options{padding:26px 14px;}
 .service-therapy-grid article{padding:23px 18px;}
 .service-editorial-copy h2{font-size:29px;}
 .service-centered-intro h2{font-size:30px;}
 .service-video-attribution{font-size:11px;}
}

/* V210 — consistent boxed, centered editorial styling throughout service detail pages.
   Kept scoped to service.html so other site sections remain unchanged. */
body[data-page="service"] .service-details-section {
  background:linear-gradient(180deg,#fbfaf6 0%,#f5f2ea 100%);
  padding-top:clamp(45px,5.5vw,78px);
  padding-bottom:clamp(55px,6.5vw,90px);
}
body[data-page="service"] .service-detail-rich {max-width:1160px;}
body[data-page="service"] .service-detail-rich>.detail-copy {
  max-width:990px;
  margin:0 auto 30px;
  padding:22px clamp(22px,4vw,54px);
  background:#fffefb;
  color:#35574b;
  border:1px solid #e3e6dc;
  border-radius:11px;
  font-size:clamp(17px,1.6vw,20px);
  text-align:center;
  text-wrap:pretty;
  line-height:1.8;
  box-shadow:0 9px 28px rgba(21,63,53,.035);
}
body[data-page="service"] .service-detail-rich .service-enhanced-content {gap:26px;margin-top:20px;}
body[data-page="service"] .service-editorial-feature,
body[data-page="service"] .service-editorial-feature:first-of-type,
body[data-page="service"] .service-editorial-feature.is-reversed {
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  align-items:stretch;
  gap:clamp(20px,3.2vw,42px);
  padding:clamp(18px,2.7vw,35px);
  background:#fffefa;
  border:1px solid #e5e3d9;
  border-radius:12px;
  box-shadow:0 12px 36px rgba(25,67,52,.06);
  overflow:visible;
}
body[data-page="service"] .service-editorial-feature.is-reversed {
  grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);
}
body[data-page="service"] .service-editorial-media {height:100%;min-width:0;}
body[data-page="service"] .service-editorial-media>img {
  width:100%;height:100%;min-height:295px;
  max-height:490px;aspect-ratio:1.18;
  object-fit:cover;
  border-radius:9px;
  box-shadow:none;
  border:1px solid #eae9df;
}
body[data-page="service"] .service-editorial-copy {
  min-width:0;
  padding:clamp(10px,2vw,28px) clamp(6px,1.6vw,22px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
body[data-page="service"] .service-editorial-copy .eyebrow {
  display:block;
  width:100%;
  color:#97835d;
  text-align:center;
  letter-spacing:.17em;
}
body[data-page="service"] .service-editorial-copy h2 {
  width:100%;
  margin:13px auto 17px;
  max-width:500px;
  font-size:clamp(28px,3.15vw,40px);
  color:#153f35;
  line-height:1.17;
  text-align:center;
  text-wrap:balance;
}
body[data-page="service"] .service-editorial-copy p {
  width:100%;
  max-width:540px;
  margin:0 auto 13px;
  color:#465e52;
  font-size:15px;
  line-height:1.79;
  text-align:center;
  text-wrap:pretty;
}
body[data-page="service"] .service-editorial-copy .service-feature-list {
  width:100%;max-width:520px;
  list-style:none;
  display:grid;
  gap:9px;
  margin:14px auto 0;
  padding:0;
}
body[data-page="service"] .service-editorial-copy .service-feature-list li {
  display:block;
  margin:0;
  padding:9px 12px;
  font-size:14px;
  line-height:1.5;
  color:#355448;
  text-align:center;
  text-wrap:pretty;
  border:1px solid #e5e7dd;
  background:#f8f8f3;
  border-radius:7px;
}
body[data-page="service"] .service-editorial-copy .service-editorial-note {font-size:12px;text-align:center;}
body[data-page="service"] .service-centered-intro {max-width:820px;text-align:center;margin:0 auto 28px;}
body[data-page="service"] .service-centered-intro .eyebrow {color:#967e54;}
body[data-page="service"] .service-centered-intro h2 {
  color:#153f35;text-align:center;text-wrap:balance;
}
body[data-page="service"] .service-centered-intro p {
  color:#465e52;text-align:center;line-height:1.75;
}
body[data-page="service"] .service-therapy-options {
  background:#f0f1e9;
  border:1px solid #dee3d8;
  border-radius:12px;
  padding:clamp(25px,4.5vw,56px);
  margin:0;
  box-shadow:0 10px 29px rgba(25,67,52,.04);
}
body[data-page="service"] .service-therapy-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));
  gap:16px;
}
body[data-page="service"] .service-therapy-grid article {
  padding:clamp(20px,2.5vw,30px);
  border:1px solid #e1e5dc;
  border-radius:10px;
  text-align:center;
  background:#fffdfa;
  display:flex;
  flex-direction:column;
  align-items:center;
  box-shadow:0 5px 20px rgba(22,55,42,.025);
}
body[data-page="service"] .service-therapy-grid h3 {
  text-align:center;
  max-width:380px;
  font-size:clamp(22px,2.2vw,27px);
  line-height:1.22;
  text-wrap:balance;
}
body[data-page="service"] .service-therapy-grid p {
  max-width:390px;
  text-align:center;
  line-height:1.7;
  color:#4b6357;
}
body[data-page="service"] .service-therapy-footnote {text-align:center;max-width:850px;margin:20px auto 0;}
body[data-page="service"] .service-detail-plain-copy {
  max-width:1000px;
  padding:27px clamp(20px,4vw,52px);
  margin:28px auto 0;
  background:#fffdfa;
  border:1px solid #e5e6dc;
  border-radius:11px;
  text-align:center;
  box-shadow:0 7px 26px rgba(20,62,48,.035);
}
body[data-page="service"] .service-detail-plain-copy h2 {
  font-size:clamp(22px,2.6vw,29px);
  line-height:1.3;
  margin:0 auto 12px;
  color:#153f35;
  text-align:center;
  text-wrap:balance;
}
body[data-page="service"] .service-detail-plain-copy p {
  max-width:830px;
  margin:0 auto;
  text-align:center;
  color:#465e52;
  line-height:1.75;
  font-size:14px;
}
body[data-page="service"] .service-detail-rich .service-detail-disclaimer {
  max-width:990px;
  margin:25px auto 0;
  background:#eee9dd;
  border:1px solid #e2dcca;
  border-left:4px solid #aa9368;
  border-radius:8px;
  color:#4d574d;
  text-align:center;
  padding:17px 24px;
}
body[data-page="service"] .service-detail-cta {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:16px;
  text-align:center;
  margin:34px auto 0;
}
body[data-page="service"] .service-detail-cta .btn {border-radius:6px;font-weight:650;}
body[data-page="service"] .service-detail-cta .service-all-link {
  color:#245b46;
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:14px;
}
body[data-page="service"] .service-video-feature {
  border:1px solid #204c40;
  box-shadow:0 15px 38px rgba(16,48,36,.15);
  margin-top:0;
}
body[data-page="service"] .service-video-feature .service-centered-intro h2 {color:#fff;}
body[data-page="service"] .service-video-feature .service-centered-intro p {color:#e1e8e2;}
body[data-page="service"] .service-editorial-feature.is-reversed .service-editorial-media {order:2;}
body[data-page="service"] .service-editorial-feature.is-reversed .service-editorial-copy {order:1;}
@media(max-width:820px){
  body[data-page="service"] .service-editorial-feature,
  body[data-page="service"] .service-editorial-feature:first-of-type,
  body[data-page="service"] .service-editorial-feature.is-reversed {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding:clamp(16px,3vw,25px);
  }
  body[data-page="service"] .service-editorial-feature.is-reversed .service-editorial-media {order:0;}
  body[data-page="service"] .service-editorial-feature.is-reversed .service-editorial-copy {order:1;}
  body[data-page="service"] .service-editorial-media {height:auto;width:100%;margin:0 auto 8px;}
  body[data-page="service"] .service-editorial-media>img {min-height:235px;max-height:420px;aspect-ratio:1.35;}
  body[data-page="service"] .service-editorial-copy {padding:14px 4px;}
  body[data-page="service"] .service-editorial-copy p {max-width:620px;}
  body[data-page="service"] .service-editorial-copy .service-feature-list {max-width:600px;}
}
@media(max-width:520px){
  body[data-page="service"] .service-detail-rich>.detail-copy {padding:18px 17px;font-size:16px;}
  body[data-page="service"] .service-editorial-copy h2 {font-size:clamp(24px,7.1vw,30px);}
  body[data-page="service"] .service-editorial-copy p {font-size:14px;}
  body[data-page="service"] .service-editorial-media>img {min-height:220px;}
  body[data-page="service"] .service-detail-cta .btn {width:100%;max-width:400px;}
  body[data-page="service"] .service-therapy-grid {grid-template-columns:minmax(0,1fr);}
}

/* V211: Match the Follow Us dropdown and Español/English language tab.
   Both tabs share exactly the same visible width, height, typography,
   border and alignment on desktop and in the mobile navigation menu. */
.nav .navlinks .nav-social summary,
.nav .navlinks .lang{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:88px;
  height:32px;
  min-height:32px;
  padding:0 5px;
  margin:0;
  border:1px solid #d5d0c5;
  border-radius:5px;
  background:transparent;
  color:var(--green);
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  white-space:nowrap;
}
.nav .navlinks .nav-social summary::after{margin-left:5px;}
@media (min-width:1081px) and (max-width:1500px){
  .nav .navlinks .nav-social summary,
  .nav .navlinks .lang{width:82px;height:30px;min-height:30px;font-size:11px;}
}


/* V212: Patient financing resource and information page */
body[data-page="patients"] .patients-resources .patient-financing-resource{
  grid-column:1 / -1;min-height:0;padding:26px 32px;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(225px,.34fr);gap:28px;
  align-items:center;background:#fffdf8;border-color:#d8d0c0;
}
body[data-page="patients"] .patient-financing-resource-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body[data-page="patients"] .patient-financing-resource-copy .resource-card-heading{margin-bottom:2px}
body[data-page="patients"] .patient-financing-resource-copy p{margin:0;max-width:730px}
body[data-page="patients"] .patient-financing-resource-copy>a{display:inline-block;margin-top:2px}
body[data-page="patients"] .patient-financing-resource-visual{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #cbd9cd;background:#eff3eb;padding:18px 14px;text-align:center;border-radius:6px;color:var(--green)}
.patient-financing-resource-rate{font:normal clamp(44px,5vw,68px)/1 Georgia,serif;color:#244d40}
.patient-financing-resource-duration{font-size:12px;letter-spacing:.17em;font-weight:700}
.patient-financing-resource-qualifier{font-size:11px;letter-spacing:.03em;margin-top:6px;color:#50695d}
@media(max-width:760px){body[data-page="patients"] .patients-resources .patient-financing-resource{grid-template-columns:1fr;padding:24px;gap:20px}body[data-page="patients"] .patient-financing-resource-visual{padding:20px 10px}}
.financing-hero{padding:68px 0 64px;text-align:center;background:linear-gradient(120deg,#183f32,#275b47)}
.financing-hero .financing-hero-content{display:flex;flex-direction:column;align-items:center;gap:10px}
.financing-hero h1{font-size:clamp(38px,5vw,62px);margin:5px 0 6px;text-wrap:balance}
.financing-hero p{max-width:700px;margin:0;color:#e7ede7;text-wrap:balance}
.financing-page-body{padding-top:62px}
.financing-lead-panel{max-width:1000px;text-align:center;margin:0 auto;padding:45px 35px;background:#fffdf8;border:1px solid #e0d8c8;border-radius:8px}
.financing-lead-panel h2{font-size:clamp(27px,3.4vw,42px);margin:12px auto 25px;text-wrap:balance;max-width:780px;color:var(--green)}
.financing-offer{margin:0 auto 22px;display:flex;gap:14px;justify-content:center;align-items:center;flex-wrap:wrap;color:var(--green)}
.financing-big-rate{font:normal clamp(56px,7vw,92px)/1 Georgia,serif;color:#245441}
.financing-offer-caption{font:normal clamp(19px,2.4vw,28px)/1.35 Georgia,serif;max-width:330px;text-align:left}
.financing-lead-copy{max-width:760px;margin:0 auto;font-size:16px;line-height:1.8;color:#4b6559}
.financing-section{margin:64px 0}
.financing-section-header{max-width:850px;text-align:center;margin:0 auto 26px}
.financing-section-header h2{font-size:clamp(29px,3.3vw,43px);margin:10px 0 13px;color:var(--green);text-wrap:balance}
.financing-section-header p{max-width:670px;margin:0 auto;color:#556c60}
.financing-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.financing-service-card{padding:25px 22px;background:#fffdf8;border:1px solid #e4ddcf;border-radius:6px;text-align:center;min-width:0}
.financing-service-card h3{font-size:23px;margin:0 0 10px;color:var(--green)}
.financing-service-card p{font-size:14px;line-height:1.65;color:#51695e;margin:0}
.financing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.financing-steps article{padding:28px 24px;background:#f0eee5;border:1px solid #ddd6c8;border-radius:6px;text-align:center;min-width:0}
.financing-steps article span{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #b1c3b5;border-radius:50%;font-size:13px;letter-spacing:.1em;font-weight:700;color:#285742;background:#fffdf8;margin-bottom:15px}
.financing-steps h3{font-size:23px;color:var(--green);margin:0 0 12px}
.financing-steps p{font-size:14px;margin:0;color:#566d61;line-height:1.75}
.financing-cta-section{border:1px solid #365b48;border-radius:8px;padding:43px 28px 38px;max-width:1050px;margin:0 auto;text-align:center;background:linear-gradient(115deg,#1b4035,#2a5a49);color:#fff}
.financing-cta-section .eyebrow{color:#e8d4b1}
.financing-cta-section h2{color:#fff;font-size:clamp(27px,3.4vw,42px);margin:9px auto 13px}
.financing-cta-section>p{max-width:750px;margin:0 auto 24px;color:#e4ede8;font-size:15px;line-height:1.75}
.financing-application-state{display:flex;flex-direction:column;align-items:center;gap:12px}
.financing-application-state .btn{background:#f8f2e9;color:#214536!important;border-color:#f8f2e9;border-radius:4px}
.financing-application-state p{max-width:700px;margin:0;color:#ecf2ed;font-size:13px}
.financing-status-heading{font:normal 23px Georgia,serif;color:#f5e7ce}
.financing-fine-print{font-size:12px;line-height:1.75;color:#657268;margin:32px auto 22px;max-width:990px;text-align:center}
.financing-back-link{text-align:center;margin:25px 0 0;font-size:14px;font-weight:700;color:var(--green)}
.financing-back-link a{color:inherit;text-decoration:none;border-bottom:1px solid #bdc9ba;padding-bottom:3px}
@media(max-width:870px){.financing-service-grid,.financing-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.financing-lead-panel{padding:28px 20px}.financing-service-grid,.financing-steps{grid-template-columns:1fr}.financing-offer{flex-direction:column;gap:5px}.financing-offer-caption{text-align:center}.financing-section{margin:45px 0}.financing-page-body{padding-top:38px}.financing-cta-section{padding:32px 20px}}


/* V219: Restore the original three-column / two-row Patients resources.
   Financing follows all six original cards, spanning its own full-width row. */
@media(min-width:901px){body[data-page="patients"] .patients-resources{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:900px){body[data-page="patients"] .patients-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body[data-page="patients"] .patients-resources{grid-template-columns:1fr}}

/* V219: Unified editorial introductory panel for every service page. */
body[data-page="service"] .service-intro-panel{
  position:relative;isolation:isolate;max-width:1030px;margin:0 auto 34px;
  padding:clamp(28px,4.1vw,48px) clamp(20px,5vw,65px) clamp(30px,4vw,42px);
  background:linear-gradient(145deg,#fbfaf6 0%,#f1f4ec 100%);
  border:1px solid #d9e2d5;border-radius:14px;
  box-shadow:0 12px 32px rgba(20,62,48,.055);
  text-align:center;overflow:hidden;
}
body[data-page="service"] .service-intro-panel::before{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:110px;height:3px;background:#bca681;border-radius:0 0 4px 4px;
}
body[data-page="service"] .service-intro-panel .eyebrow{
  color:#3d6a54;letter-spacing:.15em;font-size:12px;font-weight:700;margin-bottom:10px;
}
body[data-page="service"] .service-intro-panel h2{
  max-width:840px;margin:6px auto 14px;color:#183f32;
  font-size:clamp(27px,3.3vw,42px);line-height:1.18;font-weight:normal;text-wrap:balance;
}
body[data-page="service"] .service-intro-panel .service-intro-lead{
  max-width:790px;margin:0 auto 18px;color:#395b4b;
  font-size:clamp(15px,1.35vw,18px);line-height:1.75;text-wrap:pretty;
}
body[data-page="service"] .service-intro-panel .service-intro-summary{
  max-width:830px;margin:0 auto;padding:18px 20px 0;border-top:1px solid #dbe3d6;
  color:#52675c;font-size:15px;line-height:1.8;text-wrap:pretty;
}
@media(max-width:640px){
  body[data-page="service"] .service-intro-panel{margin-bottom:24px;padding:29px 20px 26px;border-radius:10px}
  body[data-page="service"] .service-intro-panel h2{font-size:clamp(25px,7vw,32px)}
  body[data-page="service"] .service-intro-panel .service-intro-summary{padding:15px 0 0;font-size:14px}
  body[data-page="service"] .service-intro-panel .service-intro-lead{font-size:15px}
}


/* V220 — Homepage: shift the two calls to action lower within the same hero,
   keeping them perfectly aligned while adding breathing room after the copy. */
.hero .home-hero-actions {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  width:100%;
  margin:clamp(40px,5.2vw,72px) auto 0;
}
.hero .home-hero-actions .btn {margin:0;flex:0 0 auto;}
@media(max-width:620px){
  .hero .home-hero-actions {margin-top:32px;gap:10px;}
  .hero .home-hero-actions .btn {white-space:normal;}
}
@media(max-width:390px){
  .hero .home-hero-actions {flex-direction:column;}
  .hero .home-hero-actions .btn {width:min(100%,300px);}
}
/* V220 — Insurance: slightly narrower, naturally-proportioned photo layer
   positioned to the right. The existing forest-green gradient, banner height,
   and text placement remain unchanged. Mobile keeps its prior composition. */
@media(min-width:801px){
  .insurance-malecon-hero{
    background-image:linear-gradient(90deg,
      #153c30 0%,#153c30 29%,rgba(21,60,48,.97) 33%,
      rgba(21,60,48,.83) 39%,rgba(21,60,48,.57) 45%,
      rgba(21,60,48,.25) 52%,rgba(21,60,48,.06) 59%,
      rgba(21,60,48,0) 67%),
      url('assets/insurance-malecon-balanced.jpg');
    background-size:100% 100%,auto 100%;
    background-position:center,right center;
    background-repeat:no-repeat;
  }
}

/* V221 — lower home hero action pair while retaining a visible inner border margin.
   Offset is visual only, so the two controls remain aligned and accessible. */
.hero .home-hero-actions{position:relative;top:clamp(28px,3.1vw,44px)}
@media(max-width:620px){.hero .home-hero-actions{top:20px}}

/* V221 — restore the previous Malecón/Chévrolet composition, not the V220
   right-shifted balanced asset. Preserve photograph aspect ratio instead of
   stretching the crop to fill a percentage-sized box. */
@media(min-width:801px){
  .insurance-malecon-hero{
    background-image:linear-gradient(90deg,
      #153c30 0%,#153c30 29%,rgba(21,60,48,.97) 33%,
      rgba(21,60,48,.83) 39%,rgba(21,60,48,.57) 45%,
      rgba(21,60,48,.25) 52%,rgba(21,60,48,.06) 59%,
      rgba(21,60,48,0) 67%),
      url('assets/havana-red-chevrolet-malecon-banner-crop.jpg');
    background-size:100% 100%,auto 104%;
    background-position:center,right center;
    background-repeat:no-repeat;
  }
}

/* V221 — primary care matching Women's Health: focused three-card overview,
   followed by a separate, numbered prevention/chronic care workflow. */
body[data-page="service"] .service-care-path{
  max-width:1060px;margin:30px auto 12px;
  padding:clamp(28px,4vw,46px);
  border:1px solid #d9e2d5;border-radius:12px;
  background:linear-gradient(145deg,#fbfaf6 0%,#eef3eb 100%);
}
body[data-page="service"] .service-care-path .service-centered-intro{max-width:790px;margin:0 auto 26px;text-align:center}
body[data-page="service"] .service-care-path .eyebrow{color:#8f7855;letter-spacing:.16em;font-size:11px}
body[data-page="service"] .service-care-path h2{font:normal clamp(27px,3vw,38px)/1.2 Georgia,serif;color:#1c4838;margin:10px 0 15px}
body[data-page="service"] .service-care-path .service-centered-intro p{max-width:670px;margin:0 auto;color:#52675c;line-height:1.75}
body[data-page="service"] .service-care-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-page="service"] .service-care-steps article{background:#fffdfa;border:1px solid #e0e4d9;border-radius:9px;padding:24px 20px;text-align:center;min-width:0}
body[data-page="service"] .service-care-steps .step-number{display:inline-block;font-size:13px;letter-spacing:.15em;color:#967849;border-bottom:1px solid #cbb995;padding-bottom:6px;margin-bottom:12px}
body[data-page="service"] .service-care-steps h3{font:normal 24px/1.24 Georgia,serif;color:#1c4838;margin:0 0 12px}
body[data-page="service"] .service-care-steps p{margin:0;font-size:14px;line-height:1.7;color:#51675c}

/* V221 — full-width ultrasound photograph retains the real aspect ratio,
   so the clinic mark and echocardiogram screen are both visible. */
body[data-page="service"] .service-diagnostic-visual{
  max-width:1120px;margin:2px auto 24px;padding:0;border:1px solid #e0e5da;
  border-radius:12px;overflow:hidden;background:#f8f8f3;
  box-shadow:0 16px 36px rgba(17,52,39,.08);
}
body[data-page="service"] .service-diagnostic-visual img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
body[data-page="service"] .service-diagnostic-visual figcaption{text-align:center;padding:10px 16px 12px;color:#68776e;font-size:12px;line-height:1.5}
@media(max-width:760px){
  body[data-page="service"] .service-care-steps{grid-template-columns:1fr}
  body[data-page="service"] .service-care-path{margin-top:20px;padding:24px 16px}
  body[data-page="service"] .service-care-steps article{padding:20px 17px}
  body[data-page="service"] .service-diagnostic-visual{margin:0 auto 20px;border-radius:8px}
}
/* Preserve natural car proportions on tablet and mobile too; the vertical
   green fade still makes the insurance heading legible. */
@media(min-width:541px) and (max-width:800px){
  .insurance-malecon-hero{background-size:100% 100%,auto 100%;background-position:center,48% center}
}
@media(max-width:540px){
  .insurance-malecon-hero{
    background-image:linear-gradient(180deg,#153c30 0%,rgba(21,60,48,.98) 30%,rgba(21,60,48,.82) 49%,rgba(21,60,48,.20) 78%,rgba(21,60,48,0) 100%),url('assets/havana-red-chevrolet-malecon.jpg');
    background-size:100% 100%,auto 60%;background-position:center,24% bottom;
    background-repeat:no-repeat;
  }
}

/* V222 — Adjust only the text between the static Gables Standard heading
   and the two home calls to action, leaving heading and buttons untouched. */
.hero .home-hero-message {
  transform:translateY(clamp(19px,2.2vw,31px));
}
@media (max-width:620px) {
  .hero .home-hero-message {transform:translateY(13px)}
}

/* V222 — Restore a gentle forest-green-to-Malecón blend while bringing the
   Chevrolet photo slightly left. Its natural proportions remain unchanged. */
@media (min-width:801px){
  .insurance-malecon-hero{
    background-image:
      linear-gradient(90deg,
        #153c30 0%,#153c30 25%,
        rgba(21,60,48,.985) 33%,
        rgba(21,60,48,.91) 41%,
        rgba(21,60,48,.72) 49%,
        rgba(21,60,48,.40) 58%,
        rgba(21,60,48,.11) 69%,
        rgba(21,60,48,0) 79%),
      url('assets/havana-red-chevrolet-malecon-banner-crop.jpg');
    background-size:100% 100%,auto 104%;
    background-position:center,calc(100% - 54px) center;
    background-repeat:no-repeat;
  }
}

/* V222 — Softer, more concise service introductions; one overview rather
   than reiterating the same services above the actual details. */
body[data-page="service"] .service-intro-panel{
  padding-bottom:clamp(30px,3.5vw,42px);
}
body[data-page="service"] .service-intro-panel .service-intro-lead{
  max-width:680px;
  margin:15px auto 0;
  line-height:1.75;
  text-wrap:pretty;
}

/* V222 — Cherry financing callout above the InMode brand video. */
body[data-page="service"] .service-cherry-financing{
  max-width:1060px;
  margin:24px auto 4px;
  padding:clamp(28px,4.5vw,50px) clamp(22px,5vw,60px);
  border:1px solid #d8e3d8;
  border-radius:12px;
  background:linear-gradient(150deg,#f9f8f1 0%,#eaf2e9 100%);
  text-align:center;
  box-shadow:0 12px 30px rgba(18,57,42,.045);
}
body[data-page="service"] .service-cherry-financing .eyebrow{color:#8d7652;letter-spacing:.17em}
body[data-page="service"] .service-cherry-financing h2{
  color:#184334;font:normal clamp(27px,3vw,39px)/1.2 Georgia,serif;
  max-width:740px;margin:12px auto 17px;text-wrap:balance;
}
body[data-page="service"] .service-cherry-financing p{
  color:#465f50;max-width:750px;font-size:15px;line-height:1.78;margin:16px auto;
}
body[data-page="service"] .service-cherry-financing .service-financing-rate{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:10px 17px;
  color:#1b4937;margin:18px auto;
}
body[data-page="service"] .service-financing-rate strong{
  font:normal clamp(34px,4.1vw,53px)/1.1 Georgia,serif;color:#1b4937;
}
body[data-page="service"] .service-financing-rate span{font-size:17px;font-weight:600}
body[data-page="service"] .service-cherry-financing .service-financing-link{
  display:inline-flex;align-items:center;gap:10px;margin:8px auto 4px;
  text-decoration:none;border-radius:6px;
}
body[data-page="service"] .service-cherry-financing .service-financing-fine{
  font-size:12px;color:#647468;max-width:760px;margin:16px auto 0;
}
@media(max-width:620px){
  body[data-page="service"] .service-cherry-financing{padding:27px 20px}
  body[data-page="service"] .service-cherry-financing .service-financing-rate{flex-direction:column;align-items:center;gap:4px}
  body[data-page="service"] .service-cherry-financing p{font-size:14px}
}
body[data-page="service"] .service-research-link{
  max-width:840px;margin:32px auto;padding:29px;
  background:#f7f7f1;border:1px solid #dce5d9;border-radius:10px;text-align:center;
}
body[data-page="service"] .service-research-link p{max-width:660px;margin:0 auto 21px;color:#50675a;line-height:1.75}


/* V231: Match the Cherry financing panel to the Aesthetic Medicine treatment card above it.
   Full-width, consistent spacing and comparable height, with responsive sizing. */
body[data-page="service"] .service-enhanced-content .service-cherry-financing {
  width:100%;
  max-width:none;
  margin:0;
  min-height:460px;
  padding:clamp(34px,4.5vw,54px) clamp(28px,5vw,64px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
@media(max-width:800px){
  body[data-page="service"] .service-enhanced-content .service-cherry-financing {
    min-height:0;
    padding:clamp(29px,5vw,44px) clamp(20px,5vw,44px);
  }
}

/* V223: finish the Insurance photograph flush to the right website edge without
   stretching or changing its established green fade and Chevrolet placement. */
@media(min-width:801px){
  .insurance-malecon-hero{
    background-image:linear-gradient(90deg,
      #153c30 0%,#153c30 25%,
      rgba(21,60,48,.985) 33%,rgba(21,60,48,.91) 41%,
      rgba(21,60,48,.72) 49%,rgba(21,60,48,.40) 58%,
      rgba(21,60,48,.11) 69%,rgba(21,60,48,0) 79%),
      url('assets/havana-red-chevrolet-malecon-extended-edge.jpg');
    background-size:100% 100%,auto 104%;
    background-position:center,right center;
    background-repeat:no-repeat;
  }
}
/* V223: keep the ultrasound introduction symmetrically on a single desktop
   line; allow normal wrapping on smaller screens for readability. */
@media(min-width:820px){
  body[data-page="service"] .service-intro-ultrasound .service-intro-lead{
    width:100%;max-width:none;white-space:nowrap;
    font-size:clamp(13.5px,1.13vw,16.5px);letter-spacing:-.012em;
    text-align:center;
  }
}
@media(max-width:819px){
  body[data-page="service"] .service-intro-ultrasound .service-intro-lead{
    max-width:680px;text-align:center;white-space:normal;
  }
}


/* V224 - Align footer hours/patients headings to their respective content.
   Keep logo/location column and all other site sections unchanged. */
.footer .footer-hours-col,
.footer .footer-patients-col {
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  min-width:0;
}
.footer .footer-hours-col > b,
.footer .footer-patients-col > b {
  display:block;
  width:100%;
  text-align:center;
}
.footer .footer-hours-col > p {
  text-align:center;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}
.footer .footer-patients-col > a {
  display:block;
  max-width:100%;
  text-align:center;
}
/* A centered disclaimer and copyright line beneath the entire footer grid. */
.footer .copyright {
  text-align:center;
}
.footer .footer-medical-disclaimer {
  max-width:830px;
  margin:0 auto 10px;
  line-height:1.7;
  color:inherit;
  text-align:center;
}
.footer .footer-copyright-line {
  margin:0 auto;
  color:inherit;
  text-align:center;
}


/* V225 — Move the About practice introduction INTO the orchid-banyan banner.
   A forest-green fade protects legibility and leaves the right-side scene visible. */
body[data-page="about"] .about-intro-hero {
  display:flex;align-items:center;min-height:530px;
  padding:76px 0;
  background-position:center 72%;
  isolation:isolate;
}
body[data-page="about"] .about-intro-hero::before {
  background:linear-gradient(90deg,
    #153f35 0%,rgba(21,63,53,.98) 18%,
    rgba(21,63,53,.91) 31%,rgba(21,63,53,.70) 43%,
    rgba(21,63,53,.36) 58%,rgba(21,63,53,.05) 78%,
    transparent 94%);
}
body[data-page="about"] .about-intro-hero .about-intro-hero-wrap {
  box-sizing:border-box;width:100%;max-width:1180px;
  margin:0 auto;position:relative;z-index:1;
}
body[data-page="about"] .about-intro-hero .about-intro-copy {
  box-sizing:border-box;width:47%;max-width:540px;
  margin:0 auto 0 0;padding:0 12px;
  text-align:center;
}
body[data-page="about"] .about-intro-hero .about-intro-copy .eyebrow {
  color:#e5d4ae;letter-spacing:.22em;text-align:center;
}
body[data-page="about"] .about-intro-hero .about-intro-copy h1 {
  color:#fff;font-size:clamp(38px,3.9vw,58px);
  line-height:1.12;margin:17px auto 22px;text-align:center;
  text-wrap:balance;
}
body[data-page="about"] .about-intro-hero .about-intro-copy p {
  color:#f1f5ef;font-size:clamp(15px,1.19vw,17px);
  line-height:1.8;max-width:505px;margin:0 auto;
  text-align:center;text-wrap:pretty;
}
@media(max-width:900px) {
  body[data-page="about"] .about-intro-hero {min-height:455px;padding:63px 0;background-position:54% 72%}
  body[data-page="about"] .about-intro-hero .about-intro-copy {width:56%;max-width:480px}
  body[data-page="about"] .about-intro-hero::before {
    background:linear-gradient(90deg,rgba(21,63,53,.98) 0%,rgba(21,63,53,.91) 37%,rgba(21,63,53,.45) 69%,rgba(21,63,53,.10) 100%);
  }
}
@media(max-width:600px) {
  body[data-page="about"] .about-intro-hero {
    min-height:505px;padding:46px 0 100px;align-items:flex-start;
    background-position:52% center;
  }
  body[data-page="about"] .about-intro-hero .about-intro-copy {
    width:100%;max-width:100%;margin:0 auto;padding:0 4px;
  }
  body[data-page="about"] .about-intro-hero .about-intro-copy h1 {font-size:clamp(35px,8.2vw,43px)}
  body[data-page="about"] .about-intro-hero .about-intro-copy p {font-size:14px;line-height:1.73;max-width:380px}
  body[data-page="about"] .about-intro-hero::before {
    background:linear-gradient(180deg,rgba(21,63,53,.98) 0%,rgba(21,63,53,.94) 32%,rgba(21,63,53,.80) 53%,rgba(21,63,53,.12) 90%);
  }
}

/* V225 — Same Contact banner styling and photo crop, but a larger canvas. */
@media(min-width:901px) {
  body[data-page="contact"] .subhero.contact-family-hero {min-height:475px;padding:80px 0}
}
@media(min-width:601px) and (max-width:900px) {
  body[data-page="contact"] .subhero.contact-family-hero {min-height:425px;padding:70px 0}
}
@media(max-width:600px) {
  body[data-page="contact"] .subhero.contact-family-hero {min-height:500px;padding:42px 0 185px}
}

/* V229 — Contact banner photograph must fill the entire banner vertically.
   Keep the existing right-anchored composition and left-side green fade;
   slight intentional crop prevents exposed bands along the top and bottom. */
body[data-page="contact"] .subhero.contact-family-hero::after {
  background-size:auto 102%;
  background-position:right center;
  background-repeat:no-repeat;
}
@media (max-width:600px) {
  body[data-page="contact"] .subhero.contact-family-hero::after {
    background-position:54% center;
  }
}

/* V230 — Contact banner: shift the photograph slightly right to reveal more
   of the gentleman through the green gradient, without altering the image's
   vertical fit, banner height, or the text. */
@media(min-width:901px){
  body[data-page="contact"] .subhero.contact-family-hero::after {
    background-position:calc(100% + 46px) center;
  }
}
@media(min-width:601px) and (max-width:900px){
  body[data-page="contact"] .subhero.contact-family-hero::after {
    background-position:calc(100% + 26px) center;
  }
}
@media(max-width:600px){
  body[data-page="contact"] .subhero.contact-family-hero::after {
    background-position:calc(54% + 12px) center;
  }
}

/* V232: direct Cherry application plus a quieter link to financing details. */
body[data-page="service"] .service-cherry-financing .service-financing-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:22px;row-gap:12px;margin:5px auto 2px;}
body[data-page="service"] .service-cherry-financing .service-financing-actions .service-financing-link{margin:0;}
body[data-page="service"] .service-cherry-financing .service-financing-details-link{font-size:14px;font-weight:700;color:#184334;text-decoration:underline;text-underline-offset:3px;}
body[data-page="service"] .service-cherry-financing .service-financing-details-link:hover{color:#316b52;}
@media(max-width:620px){body[data-page="service"] .service-cherry-financing .service-financing-actions{flex-direction:column;}body[data-page="service"] .service-cherry-financing .service-financing-actions .service-financing-link{text-align:center;justify-content:center;}}


/* V241 — Contact Google Map is immediately embedded, preserving the prior dimensions. */
.gm-map-embedded{width:100%;min-height:285px}
.gm-map-embedded iframe{display:block;width:100%;height:285px;border:0;border-radius:5px}


/* V235 — Immersive homepage landing screen. The banner occupies the visible
   viewport below the announcement/navigation, while retaining V234 artwork,
   forest-green overlay, typography, CTA styling, and all downstream sections. */
body[data-page="home"] .hero {
  min-height: calc(100vh - var(--gm-home-header-height, 150px));
  min-height: calc(100svh - var(--gm-home-header-height, 150px));
  background-size: cover !important;
}
body[data-page="home"] .hero > .wrap {
  min-height: inherit;
}
/* Do not squeeze the existing content on short or narrow viewports: allow the
   landing screen to grow vertically when its text and buttons need more room. */
@media (max-width: 600px) {
  body[data-page="home"] .hero > .wrap {
    padding-top: 58px;
    padding-bottom: 65px;
  }
}
/* Fit comfortably in laptop-sized desktop viewports, without moving or changing
   the original text/button styles on larger screens. */
@media (min-width: 901px) and (max-height: 820px) {
  body[data-page="home"] .hero > .wrap {
    padding-top: 55px;
    padding-bottom: 55px;
  }
}

/* V240 — Insurance banner restoration (V221 approved Chevrolet presentation).
   Insurance page only. The prior V223 full-width photo/crop treatment
   obscured much of the red Chevrolet beneath a heavier gradient.
   Restore the earlier bright, naturally proportioned image with a
   smooth forest-green-to-photograph fade. Tablet/mobile remain as before. */
@media (min-width:801px) {
  .insurance-malecon-hero {
    background-image:
      linear-gradient(90deg,
        #153c30 0%,
        #153c30 26%,
        rgba(21,60,48,.99) 33%,
        rgba(21,60,48,.96) 39%,
        rgba(21,60,48,.86) 45%,
        rgba(21,60,48,.69) 52%,
        rgba(21,60,48,.49) 59%,
        rgba(21,60,48,.29) 66%,
        rgba(21,60,48,.13) 72%,
        rgba(21,60,48,.035) 77%,
        rgba(21,60,48,0) 81%),
      url('assets/havana-red-chevrolet-malecon-banner-crop.jpg');
    background-size:100% 100%, auto 104%;
    background-position:center, right center;
    background-repeat:no-repeat;
  }
}

/* V245: expose the homepage services cards after the sticky navigation on anchor jump. */
.home-services-cta#home-services { scroll-margin-top: 126px; }


/* V250 — refined editorial welcome concept with the official stacked logo,
   slightly smaller elegant proportions, clear buttons, and the approved closing line. */
body[data-page="home"] .home-welcome-hero > .wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:clamp(18px,2.8vw,42px);
  padding-bottom:clamp(30px,4vw,54px);
}
body[data-page="home"] .home-welcome-hero .home-welcome-stage {
  width:100%;
  max-width:840px;
  margin:0 auto;
  text-align:center;
}
body[data-page="home"] .home-welcome-brand {
  width:min(100%,346px);
  margin:0 auto 21px;
  line-height:0;
  text-align:center;
  animation:gm-welcome-rise .9s cubic-bezier(.2,.7,.25,1) both;
}
body[data-page="home"] .home-welcome-brand img {
  display:block;
  width:100%;
  height:auto;
  max-height:184px;
  object-fit:contain;
  filter:brightness(0) saturate(100%) invert(95%) sepia(7%) saturate(410%) hue-rotate(335deg);
}
body[data-page="home"] .home-welcome-kicker {
  color:#f4e5c8;
  font-size:clamp(13px,1.22vw,16px);
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.24em;
  margin:6px 0 8px;
  animation:gm-welcome-rise .82s .24s both;
}
body[data-page="home"] .home-welcome-hero .hero-heading {
  font-size:clamp(33px,4.4vw,58px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.03em;
  margin:0 auto 13px;
  white-space:normal;
  color:#fffdf7;
  animation:gm-welcome-rise .9s .38s both;
}
body[data-page="home"] .home-welcome-hero .home-welcome-tagline {
  transform:none;
  font-size:clamp(17px,2vw,24px);
  line-height:1.24;
  font-weight:400;
  margin:0 auto;
  color:#f4e5c8;
  animation:gm-welcome-rise .9s .54s both;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  position:static;
  top:auto;
  transform:none;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(8px,1.0vw,13px);
  margin:clamp(28px,3.8vw,42px) auto 0;
  animation:gm-welcome-rise .85s .72s both;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions .btn {
  margin:0;
  min-height:42px;
  padding:9px clamp(11px,1.05vw,16px);
  white-space:nowrap;
  line-height:1.25;
  font-size:clamp(11px,.96vw,12.5px);
  background:transparent!important;
  color:#fffdf7!important;
  border:1px solid rgba(247,242,232,.78)!important;
  border-radius:4px;
  box-shadow:none!important;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions .btn:hover,
body[data-page="home"] .home-welcome-hero .home-hero-actions .btn:focus-visible {
  background:rgba(247,242,232,.14)!important;
  border-color:#fffdf7!important;
}
@keyframes gm-welcome-rise {
  from { opacity:0; transform:translateY(17px); filter:blur(3px); }
  to { opacity:1; transform:translateY(0); filter:blur(0); }
}
body[data-page="home"] .home-care-feature {
  min-height:560px;
}
body[data-page="home"] .home-care-feature .home-care-copy {
  padding-top:clamp(25px,3vw,43px);
  padding-bottom:clamp(25px,3vw,43px);
}
body[data-page="home"] .home-care-feature .home-care-intro--approved {
  margin:0 0 22px!important;
  width:100%;
  max-width:none;
  display:block!important;
}
body[data-page="home"] .home-care-feature .home-care-intro--approved p {
  display:block!important;
  width:auto!important;
  font-size:clamp(13px,1.04vw,15px)!important;
  line-height:1.62!important;
  letter-spacing:normal!important;
  white-space:normal!important;
  text-align:left;
  max-width:100%;
  margin:0 0 13px!important;
}
body[data-page="home"] .home-care-feature .home-care-intro--approved p:last-child { margin-bottom:0!important; }
body[data-page="home"] .home-care-feature .home-care-standard-line {
  color:#153f35;
  margin-top:6px!important;
}
body[data-page="home"] #home-about { scroll-margin-top:126px; }
@media(max-width:900px){
  body[data-page="home"] .home-care-feature { min-height:0; }
  body[data-page="home"] .home-care-feature .home-care-copy {padding:32px 28px;}
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {width:min(88%,300px)}
  body[data-page="home"] .home-welcome-hero .home-hero-actions {gap:9px;}
}
@media(max-width:620px){
  body[data-page="home"] .home-welcome-hero > .wrap {padding:26px 19px 40px;}
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {width:min(92%,264px);margin-bottom:15px}
  body[data-page="home"] .home-welcome-hero .hero-heading {font-size:clamp(27px,7.3vw,38px);margin-bottom:11px}
  body[data-page="home"] .home-welcome-hero .home-welcome-tagline {font-size:clamp(16px,4.3vw,21px);}
  body[data-page="home"] .home-welcome-hero .home-hero-actions {
    position:static;top:auto;margin-top:24px;gap:9px;
    flex-direction:column;flex-wrap:nowrap;
  }
  body[data-page="home"] .home-welcome-hero .home-hero-actions .btn {
    width:auto;max-width:calc(100vw - 38px);min-height:40px;padding:9px 15px;font-size:12px;
    white-space:nowrap!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .home-welcome-hero .home-welcome-brand,
  body[data-page="home"] .home-welcome-hero .home-welcome-kicker,
  body[data-page="home"] .home-welcome-hero .hero-heading,
  body[data-page="home"] .home-welcome-hero .home-welcome-tagline,
  body[data-page="home"] .home-welcome-hero .home-hero-actions {animation:none!important;filter:none;opacity:1;}
}


/* V252 — Physician-portrait introduction: one gold editorial heading instead of
   the two former service headings. Everything else remains in place. */
body[data-page="home"] .home-care-feature .home-care-art-heading {
  width:100%;
  max-width:none;
  margin:0 0 25px;
  color:#b29a69;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(25px,2.25vw,34px);
  line-height:1.19;
  font-weight:400;
  letter-spacing:.015em;
  text-align:center;
  white-space:normal;
  text-wrap:balance;
}
@media(max-width:600px){
  body[data-page="home"] .home-care-feature .home-care-art-heading {
    font-size:clamp(26px,7vw,32px);
    margin-bottom:20px;
  }
}

/* V253 — optically centered, more spacious welcome sequence. */
body[data-page="home"] .home-welcome-hero .home-welcome-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-inline: auto;
}
body[data-page="home"] .home-welcome-hero .home-welcome-brand {
  position: relative;
  top: -27px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="home"] .home-welcome-hero .home-welcome-brand img {
  display: block;
  margin-inline: auto;
}
body[data-page="home"] .home-welcome-hero .home-welcome-kicker,
body[data-page="home"] .home-welcome-hero .hero-heading,
body[data-page="home"] .home-welcome-hero .home-welcome-tagline,
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  align-self: center;
  text-align: center;
}

/* The feature card retains its existing width, height and position;
   only the portrait within the card is inset and the text is more delicate. */
body[data-page="home"] .home-care-feature {
  min-height: 560px;
}
@media (min-width: 901px) {
  body[data-page="home"] .home-care-feature .home-care-team-photo {
    height: 100%;
    min-height: 560px;
    background: #edf1e9;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo img {
    inset: 26px 28px 26px 13px;
    width: calc(100% - 41px);
    height: calc(100% - 52px);
    object-fit: cover;
    object-position: center 39%;
    border-radius: 2px;
  }
}
body[data-page="home"] .home-care-feature .home-care-art-heading {
  font-size: clamp(23px, 2.0vw, 30px);
  margin-bottom: 20px;
  letter-spacing: .01em;
}
body[data-page="home"] .home-care-feature .home-care-intro--approved p {
  font-size: clamp(12.5px, .94vw, 13.5px) !important;
  line-height: 1.6 !important;
  margin-bottom: 11px !important;
}
body[data-page="home"] .home-care-feature .home-care-copy {
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (max-width: 900px) {
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {
    top: -18px;
  }
  body[data-page="home"] .home-care-feature {
    min-height: 0;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo {
    width: 100%;
    min-height: 0;
    background: #edf1e9;
    box-sizing: border-box;
    padding: 14px 18px 20px;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo img {
    inset: 0;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 39%;
    border-radius: 2px;
  }
  body[data-page="home"] .home-care-feature .home-care-art-heading {
    font-size: clamp(24px, 5vw, 29px);
  }
  body[data-page="home"] .home-care-feature .home-care-intro--approved p {
    font-size: 13px !important;
  }
}
@media (max-width: 600px) {
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {
    top: -15px;
  }
  body[data-page="home"] .home-care-feature .home-care-art-heading {
    font-size: clamp(23px, 6.2vw, 28px);
  }
}

/* V254 — three homepage hero actions: identical type metrics, padding and
   vertical alignment for both HTML buttons and links. */
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 13px !important;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 15px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: .015em !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

/* Restore the V248 physician portrait's natural, nearly uncropped framing:
   same 46%-width photo column, image displayed at its native 1380:1140 ratio.
   The longer V253 introduction can determine the height of the outer card. */
@media (min-width: 901px) {
  body[data-page="home"] .home-care-feature {
    grid-template-columns: minmax(0,54%) minmax(0,46%);
    min-height: 430px;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo {
    align-self: center;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1380 / 1140;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #edf1e9;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo img {
    display: block;
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
  }
}
@media (max-width: 900px) {
  body[data-page="home"] .home-care-feature .home-care-team-photo {
    align-self: center;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    padding: 14px 18px 20px;
  }
  body[data-page="home"] .home-care-feature .home-care-team-photo img {
    display: block;
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1380 / 1140;
    object-fit: contain;
    object-position: center;
  }
}
@media (max-width: 620px) {
  body[data-page="home"] .home-welcome-hero .home-hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 9px !important;
  }
  body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
    align-self: center !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 12px !important;
    padding: 10px 15px !important;
  }
}


/* V255: honor the preferred action order while preserving optical balance.
   Identical button widths, typography and positions make all three equally weighted. */
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  justify-content: center !important;
  align-items: center !important;
  gap: 13px !important;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
  flex: 0 0 225px !important;
  width: 225px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 10px 13px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
}
/* On narrower viewports, three equal-width buttons stack intentionally,
   avoiding squeezed copy and any horizontal viewport overflow. */
@media (max-width: 760px) {
  body[data-page="home"] .home-welcome-hero .home-hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 9px !important;
  }
  body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
    flex: 0 0 auto !important;
    width: min(100%, 265px) !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
}

/* Small, quiet attribution directly beneath Follow Us in the footer's
   first column, ahead of the full-width copyright divider. */
.footer .footgrid > div:first-child .footer-built-by {
  display:block;
  width:100%;
  margin: 0 auto;
  padding: 0 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .025em;
  text-align: center;
  color: #c9d3ca;
}


/* V256 — homepage CTAs: keep all three equal, but let the action row
   follow the width of “The Gables Standard,” instead of spanning the hero. */
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  gap: 10px !important;
  width: max-content;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}
body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
  flex: 0 0 165px !important;
  width: 165px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 9px 7px !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
/* Long translated labels still fit on one line at desktop widths. */
html[lang="es"] body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
  font-size: 11px !important;
}
@media(max-width: 760px) {
  body[data-page="home"] .home-welcome-hero .home-hero-actions {
    width: min(100%, 255px);
    gap: 9px !important;
  }
  body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
    flex: 0 0 auto !important;
    width: min(100%, 255px) !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
  html[lang="es"] body[data-page="home"] .home-welcome-hero .home-hero-actions > .btn {
    font-size: 12px !important;
  }
}

/* V256 — the heading within the header Follow Us dropdown is centered
   above Instagram/Facebook; other social modules are unchanged. */
.nav .navlinks .nav-social .social-links .social-title {
  display: block;
  width: 100%;
  text-align: center;
}


/* V257: the same restrained sequential text entrance as the homepage welcome.
   Applied only to primary page banners, not to photographs or other page content. */
@keyframes gm-page-banner-rise {
  from { opacity: 0; transform: translateY(17px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
body[data-page="patients"] .patients-hero-content > .eyebrow,
body[data-page="insurance"] .insurance-malecon-copy > .eyebrow,
body[data-page="services"] .services-hero-copy > .eyebrow,
body[data-page="memberships"] .feature-hero-copy > .eyebrow,
body[data-page="research"] .research-ocean-copy > .eyebrow,
body[data-page="about"] .about-intro-copy > .eyebrow,
body[data-page="contact"] .contact-family-copy > .eyebrow {
  animation: gm-page-banner-rise .82s .12s both;
}
body[data-page="patients"] .patients-hero-content > h1,
body[data-page="insurance"] .insurance-malecon-copy > h1,
body[data-page="services"] .services-hero-copy > h1,
body[data-page="memberships"] .feature-hero-copy > h1,
body[data-page="research"] .research-ocean-copy > h1,
body[data-page="about"] .about-intro-copy > h1,
body[data-page="contact"] .contact-family-copy > h1 {
  animation: gm-page-banner-rise .9s .29s both;
}
body[data-page="patients"] .patients-hero-content > p,
body[data-page="insurance"] .insurance-malecon-copy > p,
body[data-page="services"] .services-hero-copy > .services-banner-intro,
body[data-page="memberships"] .feature-hero-copy > .membership-feature-tagline,
body[data-page="research"] .research-ocean-copy > p,
body[data-page="about"] .about-intro-copy > p,
body[data-page="contact"] .contact-family-copy > p {
  animation: gm-page-banner-rise .9s .45s both;
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="patients"] .patients-hero-content > *,
  body[data-page="insurance"] .insurance-malecon-copy > *,
  body[data-page="services"] .services-hero-copy > *,
  body[data-page="memberships"] .feature-hero-copy > *,
  body[data-page="research"] .research-ocean-copy > *,
  body[data-page="about"] .about-intro-copy > *,
  body[data-page="contact"] .contact-family-copy > * {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* V257: center the content of every New / Existing Patient Forms card,
   including form numbers, names, descriptions, and English / Español links. */
body[data-page="patients"] .patient-forms-columns .onboarding-panel {
  text-align: center;
}
body[data-page="patients"] .patient-forms-columns .onboarding-panel > .eyebrow,
body[data-page="patients"] .patient-forms-columns .onboarding-panel > h2,
body[data-page="patients"] .patient-forms-columns .onboarding-panel > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="patients"] .patient-forms-columns .onboarding-step {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
}
body[data-page="patients"] .patient-forms-columns .onboarding-number {
  margin: 0 auto;
  text-align: center;
  flex: 0 0 auto;
}
body[data-page="patients"] .patient-forms-columns .onboarding-step-content {
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body[data-page="patients"] .patient-forms-columns .onboarding-step-content h3,
body[data-page="patients"] .patient-forms-columns .onboarding-step-content p {
  text-align: center;
  width: 100%;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="patients"] .patient-forms-columns .onboarding-step-content p {
  margin-bottom: 6px;
}
body[data-page="patients"] .patient-forms-columns .onboarding-actions {
  margin: 8px auto 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
body[data-page="patients"] .patient-forms-columns .onboarding-actions .btn {
  text-align: center;
  align-items: center;
  justify-content: center;
}
body[data-page="patients"] .patient-forms-columns .onboarding-footnote {
  text-align: center;
}
/* Keep the two columns' cards at comfortably readable heights without
   clipping long form titles or Spanish translations. */
@media (min-width: 901px) {
  body[data-page="patients"] .patient-forms-columns .onboarding-steps {
    grid-auto-rows: minmax(285px, auto);
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step {
    height: auto;
    min-height: 285px;
    overflow: visible;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body[data-page="patients"] .patient-forms-columns .onboarding-steps {
    grid-auto-rows: minmax(325px, auto);
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step {
    height: auto;
    min-height: 325px;
  }
}

/* V258 — align language-action rows between New/Existing Patient columns.
   Give corresponding card rows identical heights and anchor action buttons
   to the same bottom inset, independent of variable description lengths. */
@media (min-width: 901px) {
  body[data-page="patients"] .patient-forms-columns .onboarding-panel > h2 {
    min-height: 116px;
    height: 116px;
    flex: 0 0 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-steps {
    grid-auto-rows: 290px;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step {
    height: 290px;
    min-height: 290px;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow: visible;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-actions {
    margin-top: auto !important;
    margin-bottom: 0 !important;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body[data-page="patients"] .patient-forms-columns .onboarding-panel > h2 {
    min-height: 105px;
    height: 105px;
    flex-basis: 105px;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-steps {
    grid-auto-rows: 330px;
  }
  body[data-page="patients"] .patient-forms-columns .onboarding-step {
    height: 330px;
    min-height: 330px;
  }
}


/* V259 — Laboratory: align all three Common Testing titles and descriptions
   to matching horizontal planes even when heading lengths differ. */
@media (min-width: 801px) {
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid article {
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
    min-width: 0;
  }
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid h3 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 98px;
    margin: 0 0 14px;
    width: 100%;
    text-align: center;
  }
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid p {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 800px) {
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid {
    grid-template-columns: 1fr;
  }
  body[data-page="service"] .laboratory-common-testing .service-therapy-grid h3 {
    min-height: 0;
  }
}

/* V259 — About Our Practice: use the same natural, full-picture view
   established on the homepage. Reduce image-column width to 46%, remove
   all cropping and center the portrait vertically against the message. */
@media (min-width: 901px) {
  body[data-page="about"] .about-message-layout {
    grid-template-columns: minmax(0,54%) minmax(0,46%);
    align-items: center;
    gap: 24px;
  }
  body[data-page="about"] .about-message-layout .team-message-first {
    align-self: center;
    justify-content: center;
  }
  body[data-page="about"] .about-message-photo {
    position: relative;
    display: block;
    width: 100%;
    align-self: center;
    min-height: 0;
    height: auto;
    aspect-ratio: 1380 / 1140;
    overflow: hidden;
    margin: 0;
  }
  body[data-page="about"] .about-message-photo img {
    display: block;
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    aspect-ratio: 1380 / 1140;
    object-fit: contain;
    object-position: center;
  }
}
@media (max-width: 900px) {
  body[data-page="about"] .about-message-photo {
    display: block;
    width: min(100%, 610px);
    margin: 0 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: 1380 / 1140;
  }
  body[data-page="about"] .about-message-photo img {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 1380 / 1140;
    object-fit: contain;
  }
}


/* V260 — About Us medical-team message and portrait are now a balanced,
   equal-width, equal-height pair, while the team photo is never cropped. */
@media (min-width: 901px) {
  body[data-page="about"] .about-message-layout {
    display:grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
    gap:24px;
  }
  body[data-page="about"] .about-message-layout .team-message-first {
    align-self:stretch;
    box-sizing:border-box;
    margin:0;
    padding:22px 25px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  body[data-page="about"] .about-message-layout .team-message-first h2 {
    font-size:clamp(24px,2.15vw,31px);
    line-height:1.15;
    margin:9px 0 12px;
  }
  body[data-page="about"] .about-message-layout .team-message-first p {
    font-size:clamp(13px,1.01vw,14.25px);
    line-height:1.46;
    margin:0 0 10px;
  }
  body[data-page="about"] .about-message-photo {
    position:relative;
    align-self:stretch;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:auto;
    margin:0;
    background:#eae5db;
    overflow:hidden;
  }
  body[data-page="about"] .about-message-photo img {
    display:block;
    position:relative;
    inset:auto;
    width:100%;
    height:100%;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
  }
}

/* V260 — widen the appointment introduction line, not the surrounding
   form controls; keep the exact wording in modal and Contact Us form. */
@media (min-width: 701px) {
  .booking-dialog .booking-intro,
  .contact-appointment-form .booking-intro {
    max-width:none;
    width:100%;
    white-space:nowrap;
    text-align:center;
    font-size:13px;
    line-height:1.5;
    letter-spacing:0;
  }
  .contact-appointment-form .booking-dialog-body {
    padding-left:27px;
    padding-right:27px;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .contact-appointment-form .booking-dialog-body {
    padding-left:18px;
    padding-right:18px;
  }
  .contact-appointment-form .booking-intro {
    font-size:11.5px;
  }
}
@media (max-width: 700px) {
  .booking-dialog .booking-intro,
  .contact-appointment-form .booking-intro {
    max-width:100%;
    white-space:normal;
    text-align:center;
  }
}


/* V262 — Gables Advantage plan header alignment only.
   Center the plan title, monthly price and annual prepay line;
   retain the original benefit lists, card layout and CTA positions. */
body[data-page="memberships"] .membership-three .price > .eyebrow,
body[data-page="memberships"] .membership-three .price > .amount,
body[data-page="memberships"] .membership-three .price > p:first-of-type {
  text-align: center;
}


/* V264: Public medical malpractice disclosure — clear, restrained legal layout. */
body[data-page="malpractice-disclosure"] .malpractice-heading {
  text-align: center;
}
body[data-page="malpractice-disclosure"] .malpractice-heading h1 {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="malpractice-disclosure"] .malpractice-heading p { margin: 0 auto; }
body[data-page="malpractice-disclosure"] .malpractice-body { padding-top: clamp(36px,5vw,74px); }
body[data-page="malpractice-disclosure"] .malpractice-status {
  border: 1px solid #d8e2d8;
  border-left: 4px solid #b29a69;
  padding: clamp(23px,4vw,39px);
  background: #f6f7f1;
  margin-bottom: 19px;
}
body[data-page="malpractice-disclosure"] .malpractice-status h2 {
  max-width: 820px;
  font-size: clamp(26px,3vw,39px);
  line-height: 1.19;
  color: #153f35;
  margin: 12px 0 17px;
}
body[data-page="malpractice-disclosure"] .malpractice-status p {
  color: #425b4e;
  font-size: 15px;
  line-height: 1.75;
  max-width: 790px;
  margin: 0;
}
body[data-page="malpractice-disclosure"] .malpractice-highlight-notice {
  margin: 10px 0 16px;
  padding: 19px 22px;
  border: 1px solid #dce4d9;
  background: #f6f7f2;
  color: #173f32;
  font-size: clamp(16px,2vw,20px);
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .02em;
}
body[data-page="malpractice-disclosure"] .legal-clause p + p { margin-top: 15px; }
body[data-page="malpractice-disclosure"] .legal-clause a,
body[data-page="malpractice-disclosure"] .legal-crosslinks a {
  color: #19513b;
  text-underline-offset: 3px;
}
body[data-page="malpractice-disclosure"] .malpractice-form-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap: 12px;
  margin: 25px auto 5px;
}
body[data-page="malpractice-disclosure"] .malpractice-form-links a.btn {
  font-size: 13px;
  min-height: 44px;
  min-width: 220px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  border-radius: 3px;
  text-decoration:none;
  color: #fff !important;
  background: #153f35;
}
body[data-page="malpractice-disclosure"] .malpractice-form-links a.btn-outline {
  background: transparent;
  color: #153f35 !important;
}
@media(max-width:600px){
  body[data-page="malpractice-disclosure"] .malpractice-form-links { flex-direction: column; }
  body[data-page="malpractice-disclosure"] .malpractice-form-links a.btn {
    min-width: 0;
    width: 100%;
    max-width: 310px;
    white-space: normal;
  }
}


/* V265 — Consistent centered legal-content layout for all six public notices.
   Only the legal/disclosure pages are scoped; no service, contact or other
   website layouts change. Text width is constrained for comfortable reading. */
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-heading > .wrap {
  text-align: center;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-heading .eyebrow,
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-heading h1,
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-heading p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-modern {
  max-width: 920px !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-clause {
  text-align: center;
  padding: 27px 0;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-clause h2 {
  text-align: center;
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-clause p {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  overflow-wrap: break-word;
}
body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
        [data-page="terms"], [data-page="hipaa"],
        [data-page="medical"], [data-page="communications"])
  .legal-crosslinks {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 790px;
}
/* The highlighted malpractice status panel has its own styles and needs the
   same optical center as the other legal sections. */
body[data-page="malpractice-disclosure"] .malpractice-status {
  text-align: center;
}
body[data-page="malpractice-disclosure"] .malpractice-status .eyebrow,
body[data-page="malpractice-disclosure"] .malpractice-status h2,
body[data-page="malpractice-disclosure"] .malpractice-status p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body[data-page="malpractice-disclosure"] .malpractice-status p {
  max-width: 790px;
}
body[data-page="malpractice-disclosure"] .malpractice-highlight-notice {
  margin-left: auto;
  margin-right: auto;
  max-width: 790px;
}
body[data-page="malpractice-disclosure"] .malpractice-form-links {
  text-align: center;
  justify-content: center;
}
@media (max-width: 620px) {
  body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
          [data-page="terms"], [data-page="hipaa"],
          [data-page="medical"], [data-page="communications"])
    .legal-modern .legal-clause {padding: 22px 0;}
  body:is([data-page="malpractice-disclosure"], [data-page="privacy"],
          [data-page="terms"], [data-page="hipaa"],
          [data-page="medical"], [data-page="communications"])
    .legal-modern .legal-clause p {line-height: 1.72;}
}

/* V266 — immersive Gables Medical Research landing banner.
   Reuses the approved research marine photograph and the homepage's gentle
   staggered text entrance; other page banners are unchanged. */
body[data-page="research"] .research-landing-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: calc(100vh - var(--gm-home-header-height, 150px));
  min-height: calc(100svh - var(--gm-home-header-height, 150px));
  background-color: #123b33;
  background-image: url("assets/research-marine-edge-to-edge-v268.jpg");
  /* Preserve the original image aspect ratio instead of stretching its width and height independently. */
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  isolation: isolate;
}
body[data-page="research"] .research-landing-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 85% at 50% 51%, rgba(8, 39, 36, .68) 0%, rgba(8, 39, 36, .48) 52%, rgba(8, 39, 36, .16) 100%),
    linear-gradient(0deg, rgba(8, 39, 36, .38) 0%, rgba(8, 39, 36, .08) 40%, rgba(8, 39, 36, .23) 100%);
  pointer-events: none;
}
body[data-page="research"] .research-landing-hero .research-ocean-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1150px;
  padding-top: clamp(50px, 7vh, 95px);
  padding-bottom: clamp(60px, 9vh, 110px);
  margin-inline: auto;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  transform: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > .eyebrow {
  display:block;
  width:100%;
  max-width:none;
  margin:0 auto 20px;
  font-size:clamp(12px, 1.1vw, 14px);
  font-weight:700;
  letter-spacing:.26em;
  color:#f4e5c8;
  text-align:center;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
  width: 100%;
  max-width: 940px;
  color: #fffdf7;
  font: 400 clamp(38px, 4.4vw, 64px)/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  text-align: center;
  margin: 0 auto 19px;
  text-wrap: balance;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(15px, 1.38vw, 18px);
  line-height: 1.65;
  color: #f5ebd8;
  text-wrap: pretty;
}
body[data-page="research"] .research-landing-hero .research-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  margin: clamp(30px, 4vw, 47px) auto 0;
  animation: gm-page-banner-rise .9s .68s both;
}
body[data-page="research"] .research-landing-hero .research-hero-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 164px;
  height: 46px;
  padding: 11px 23px;
  box-sizing: border-box;
  border: 1px solid rgba(255,253,247,.82);
  border-radius: 4px;
  background: rgba(9,49,39,.08);
  color: #fffdf7;
  text-decoration: none;
  font: 650 13px/1.2 Arial, Helvetica, sans-serif;
  white-space: nowrap;
  text-align: center;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page="research"] .research-landing-hero .research-hero-button:hover,
body[data-page="research"] .research-landing-hero .research-hero-button:focus-visible {
  color: #fffdf7;
  background: rgba(247,242,232,.18);
  border-color: #fffdf7;
}
body[data-page="research"] #research-overview,
body[data-page="research"] #research-inquiries {
  scroll-margin-top: 126px;
}
@media (max-width: 800px) {
  body[data-page="research"] .research-landing-hero {
    min-height: max(560px, calc(100svh - var(--gm-home-header-height, 150px)));
    background-size: cover;
    background-position: 35% center;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    width:100%;
    max-width:760px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    font-size:clamp(34px,5.8vw,49px);
  }
}
@media (max-width: 540px) {
  body[data-page="research"] .research-landing-hero {
    align-items:center;
    min-height: max(540px, calc(100svh - var(--gm-home-header-height, 150px)));
    background-size: cover;
    background-position: 30% center;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-content {
    padding:45px 19px 55px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > .eyebrow {
    font-size:11px;
    letter-spacing:.19em;
    margin-bottom:16px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    font-size: clamp(32px, 8vw, 41px);
    line-height:1.17;
    margin:0 auto 17px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
    font-size: 14px;
    line-height:1.55;
  }
  body[data-page="research"] .research-landing-hero .research-hero-actions {
    gap:10px;
    margin-top:28px;
  }
  body[data-page="research"] .research-landing-hero .research-hero-button {
    min-width:137px;
    height:44px;
    padding:10px 13px;
    font-size:12px;
  }
}
@media (max-width: 335px) {
  body[data-page="research"] .research-landing-hero .research-hero-actions {
    flex-direction:column;
  }
  body[data-page="research"] .research-landing-hero .research-hero-button {
    min-width: 185px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="research"] .research-landing-hero .research-hero-actions {
    animation:none!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  body[data-page="research"] .research-landing-hero .research-hero-button {
    transition:none;
  }
}

/* V270 — homepage-style Research landing. Original logo preserved (not redrawn).
   Background uses true aspect ratio with cover, never 100% 100% stretching. */
body[data-page="research"] .research-landing-hero {
  background-image: url("assets/research-marine-landing-v270.jpg");
  background-size: cover;
  background-position: center 54%;
  min-height: calc(100svh - var(--gm-home-header-height, 150px));
}
body[data-page="research"] .research-landing-hero::before {
  background:
    radial-gradient(ellipse 78% 78% at 50% 59%, rgba(7,41,42,.65) 0%, rgba(7,41,42,.42) 58%, rgba(7,41,42,.13) 100%),
    linear-gradient(180deg,rgba(7,41,42,.13),rgba(5,37,40,.18) 44%,rgba(5,37,40,.37));
}
body[data-page="research"] .research-landing-hero .research-ocean-content {
  box-sizing:border-box;
  min-height:inherit;
  padding-top:clamp(36px,5vh,72px);
  padding-bottom:clamp(46px,6vh,80px);
}
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  max-width:800px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
body[data-page="research"] .research-landing-hero .research-hero-brand {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  width:clamp(180px,18vw,260px);
  max-width:65vw;
  margin:0 auto clamp(21px,3.5vh,34px);
  animation:gm-welcome-rise .95s cubic-bezier(.2,.7,.25,1) both;
}
body[data-page="research"] .research-landing-hero .research-hero-brand img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 2px 3px rgba(2,22,24,.17));
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
  max-width:760px;
  font-size:clamp(30px,3.15vw,46px);
  line-height:1.16;
  letter-spacing:-.018em;
  margin:0 auto 17px;
  animation:gm-welcome-rise .9s .25s both;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
  max-width:720px;
  font-size:clamp(13px,1.07vw,16px);
  line-height:1.55;
  color:#f4e5c8;
  margin:0 auto;
  animation:gm-welcome-rise .9s .47s both;
}
body[data-page="research"] .research-landing-hero .research-hero-actions {
  margin:clamp(22px,3.3vh,32px) auto 0;
  animation:gm-welcome-rise .85s .67s both;
}
body[data-page="research"] .research-landing-hero .research-hero-button {
  min-width:150px;
  height:43px;
  font-size:12.5px;
  padding:9px 18px;
  background:transparent;
}
@media(max-width:800px){
  body[data-page="research"] .research-landing-hero {
    min-height:max(570px,calc(100svh - var(--gm-home-header-height,150px)));
    background-position:37% 53%;
    background-size:cover;
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:clamp(185px,32vw,235px);
    margin-bottom:23px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    font-size:clamp(29px,4.25vw,37px);
  }
}
@media(max-width:540px){
  body[data-page="research"] .research-landing-hero {
    min-height:max(570px,calc(100svh - var(--gm-home-header-height,150px)));
    background-size:cover;
    background-position:30% 50%;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-content {
    padding:27px 18px 40px;
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:clamp(165px,45vw,205px);
    max-width:64vw;
    margin-bottom:24px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    font-size:clamp(25px,6.5vw,33px);
    line-height:1.2;
    margin-bottom:14px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
    font-size:13px;
    line-height:1.5;
    max-width:340px;
  }
  body[data-page="research"] .research-landing-hero .research-hero-actions {
    margin-top:24px;
    gap:10px;
  }
  body[data-page="research"] .research-landing-hero .research-hero-button {
    min-width:131px;
    height:42px;
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-page="research"] .research-landing-hero .research-hero-brand,
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1,
  body[data-page="research"] .research-landing-hero .research-ocean-copy > p,
  body[data-page="research"] .research-landing-hero .research-hero-actions {
    animation:none!important;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
  }
}


/* V271 — Research hero refinement: smaller elevated logo, centered headline, updated mission copy styling */
body[data-page="research"] .research-landing-hero .research-ocean-content {
  display:flex;
  align-items:center;
  justify-content:center;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  max-width:760px;
}
body[data-page="research"] .research-landing-hero .research-hero-brand {
  width:clamp(150px,14vw,210px);
  max-width:56vw;
  margin:0 auto clamp(30px,4.1vh,42px);
  top:-24px;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
  max-width:700px;
  font-size:clamp(29px,3.0vw,43px);
  line-height:1.14;
  text-wrap:balance;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
  max-width:690px;
  font-size:clamp(12.75px,1.02vw,15px);
}
body[data-page="research"] .research-landing-hero .research-hero-actions {
  margin-top:clamp(24px,3.5vh,34px);
}
@media(max-width:800px){
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:clamp(165px,28vw,215px);
    top:-18px;
    margin-bottom:28px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    max-width:650px;
    font-size:clamp(28px,4.15vw,36px);
  }
}
@media(max-width:540px){
  body[data-page="research"] .research-landing-hero .research-ocean-content {
    justify-content:center;
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:clamp(150px,42vw,190px);
    max-width:58vw;
    top:-10px;
    margin-bottom:24px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    max-width:330px;
    font-size:clamp(24px,6.1vw,31px);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > p {
    max-width:320px;
    font-size:12.8px;
  }
}


/* V272 — Research landing composition only.
   Mirror the main homepage's restrained logo scale, but place the Research
   brand high in the sky independently of the centered headline. No photo
   resizing/stretching, color, copy or site-wide design changes. */
body[data-page="research"] .research-landing-hero .research-ocean-content {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  max-width:760px;
  width:100%;
  margin-inline:auto;
  text-align:center;
  justify-content:center;
  align-items:center;
  transform:translateY(54px);
}
body[data-page="research"] .research-landing-hero .research-hero-brand {
  position:absolute;
  box-sizing:border-box;
  width:170px;
  max-width:none;
  height:auto;
  top:32px;
  left:calc(50% - 85px);
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:gm-welcome-rise .95s cubic-bezier(.2,.7,.25,1) both;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
  width:100%;
  max-width:705px;
  margin-inline:auto;
  text-align:center;
  text-wrap:balance;
}
@media(max-width:800px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:154px;
    left:calc(50% - 77px);
    top:25px;
    margin:0;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    transform:translateY(58px);
  }
}
@media(max-width:540px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:138px;
    left:calc(50% - 69px);
    top:22px;
    margin:0;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    transform:translateY(48px);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    max-width:335px;
  }
}
@media(max-height:650px) and (min-width:541px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    width:138px;
    left:calc(50% - 69px);
    top:16px;
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    transform:translateY(40px);
  }
}
@media(prefers-reduced-motion: reduce) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    animation:none!important;
    opacity:1!important;
    filter:none!important;
  }
}


/* V273 — Research hero: lower the existing centered Research logo just enough
   to sit nearer the boat bow. No changes to logo dimensions, text, image or CTA. */
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 54px;
}
@media (max-width: 800px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 42px;
  }
}
@media (max-width: 540px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 35px;
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 27px;
  }
}


/* V274 — final Research logo drop closer to the boat bow.
   Keep the existing logo asset, size, central alignment, headline and ocean
   photograph untouched. Responsive top offsets only. */
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 112px;
}
@media (max-width: 800px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 84px;
  }
}
@media (max-width: 540px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 62px;
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 48px;
  }
}


/* V275 — six full-screen, animated, photo-first landing pages. Research and home unchanged. */
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero {
  box-sizing:border-box !important;
  position:relative;
  isolation:isolate;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:auto !important;
  min-height:calc(100vh - var(--gm-home-header-height, 150px)) !important;
  min-height:calc(100svh - var(--gm-home-header-height, 150px)) !important;
  width:100%;
  padding:0 !important;
  overflow:hidden;
  color:#fff;
}
/* Equal, gentle cinematic veil instead of the previous left-heavy banner fades. */
body[data-page="patients"] .gm-landing-hero .patients-hero-image {
  display:block;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 48% !important;
  z-index:-2;
}
body[data-page="patients"] .gm-landing-hero .patients-hero-shade {
  background:linear-gradient(180deg,rgba(8,40,37,.42),rgba(7,35,33,.57) 56%,rgba(7,35,33,.60)) !important;
}
body[data-page="insurance"] .gm-landing-hero {
  /* The established V274 Chevrolet image, now full-screen and proportional. */
  background-image:url('assets/havana-red-chevrolet-malecon-extended-edge.jpg') !important;
  background-size:cover !important;
  background-position:center 52% !important;
  background-repeat:no-repeat !important;
}
body[data-page="insurance"] .gm-landing-hero::before {
  background:linear-gradient(180deg,rgba(9,40,35,.45),rgba(9,38,35,.55) 56%,rgba(8,35,33,.68)) !important;
}
body[data-page="services"] .gm-landing-hero {
  background-image:url('assets/services-miami-bay.jpg') !important;
  background-size:cover !important;
  background-position:center 53% !important;
  background-repeat:no-repeat !important;
}
body[data-page="services"] .gm-landing-hero::before {
  background:linear-gradient(180deg,rgba(8,40,36,.38),rgba(8,39,34,.57) 52%,rgba(8,37,34,.65)) !important;
}
body[data-page="memberships"] .gm-landing-hero {
  background:#153f35 url('assets/advantage-lifestyle.jpg') center 54% / cover no-repeat !important;
}
body[data-page="memberships"] .gm-landing-hero::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(8,42,36,.48),rgba(8,42,36,.62) 53%,rgba(6,35,32,.72));
  pointer-events:none;
}
body[data-page="memberships"] .gm-landing-hero .feature-hero-image {display:none !important;}
body[data-page="about"] .gm-landing-hero {
  background-image:url('assets/about-orchid-banyan.jpg') !important;
  background-size:cover !important;
  background-position:center 69% !important;
}
body[data-page="about"] .gm-landing-hero::before {
  background:linear-gradient(180deg,rgba(7,40,34,.42),rgba(7,40,34,.54) 55%,rgba(8,36,33,.62)) !important;
}
body[data-page="contact"] .gm-landing-hero {background:#153f35 !important;}
body[data-page="contact"] .gm-landing-hero::after {
  background-image:url('assets/contact-family-park.webp') !important;
  background-size:cover !important;
  background-position:60% center !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
}
body[data-page="contact"] .gm-landing-hero::before {
  background:linear-gradient(180deg,rgba(8,40,35,.40),rgba(8,40,35,.58) 60%,rgba(8,35,33,.67)) !important;
}
/* Center the content across all six backgrounds, not merely the h1. */
body[data-page="patients"] .gm-landing-hero .patients-hero-content,
body[data-page="insurance"] .gm-landing-hero .insurance-malecon-content,
body[data-page="services"] .gm-landing-hero .services-hero-copy,
body[data-page="memberships"] .gm-landing-hero .feature-hero-grid,
body[data-page="about"] .gm-landing-hero .about-intro-hero-wrap,
body[data-page="contact"] .gm-landing-hero > .wrap {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:1180px;
  min-height:inherit;
  margin:0 auto;
  padding:55px 28px 65px !important;
  text-align:center !important;
  box-sizing:border-box;
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content > *,
body[data-page="insurance"] .gm-landing-hero .insurance-malecon-copy > *,
body[data-page="services"] .gm-landing-hero .services-hero-copy > *,
body[data-page="memberships"] .gm-landing-hero .feature-hero-copy > *,
body[data-page="about"] .gm-landing-hero .about-intro-copy > *,
body[data-page="contact"] .gm-landing-hero .contact-family-copy > * {text-align:center !important;margin-left:auto !important;margin-right:auto !important;}
body[data-page="insurance"] .gm-landing-hero .insurance-malecon-copy,
body[data-page="memberships"] .gm-landing-hero .feature-hero-copy,
body[data-page="about"] .gm-landing-hero .about-intro-copy,
body[data-page="contact"] .gm-landing-hero .contact-family-copy {
  display:flex !important;flex-direction:column !important;align-items:center !important;
  justify-content:center !important;text-align:center !important;
  width:100% !important;max-width:860px !important;transform:none !important;
  padding:0 !important;margin:0 auto !important;
}
body[data-page="patients"] .gm-landing-hero h1,
body[data-page="insurance"] .gm-landing-hero h1,
body[data-page="services"] .gm-landing-hero h1,
body[data-page="memberships"] .gm-landing-hero h1,
body[data-page="about"] .gm-landing-hero h1,
body[data-page="contact"] .gm-landing-hero h1 {
  max-width:840px !important;width:100%;font:400 clamp(38px,4.55vw,64px)/1.14 Georgia,'Times New Roman',serif !important;
  letter-spacing:-.02em !important;color:#fffdf7 !important;
  margin:0 auto 18px !important;text-wrap:balance;
  animation:gm-page-banner-rise .92s .27s both !important;
}
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero .eyebrow,
body[data-page="insurance"] .gm-landing-hero .eyebrow {
  display:block;width:100%;max-width:820px;
  font-size:clamp(11px,1.1vw,14px) !important;letter-spacing:.22em !important;
  font-weight:700;color:#f3e5ca !important;
  margin:0 auto 24px !important;
  animation:gm-page-banner-rise .84s .13s both !important;
}
body[data-page="patients"] .gm-landing-hero p,
body[data-page="insurance"] .gm-landing-hero p,
body[data-page="memberships"] .gm-landing-hero p,
body[data-page="about"] .gm-landing-hero p,
body[data-page="contact"] .gm-landing-hero p,
body[data-page="services"] .gm-landing-hero .services-banner-intro {
  width:100%;max-width:730px !important;color:#f4e9d9 !important;
  font-size:clamp(15px,1.38vw,18px) !important;line-height:1.65 !important;
  margin:0 auto !important;text-wrap:pretty;
  animation:gm-page-banner-rise .92s .47s both !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro span {display:inline !important;}
body[data-page="services"] .gm-landing-hero .services-banner-intro span + span::before {content:" ";}
body[data-page="memberships"] .gm-landing-hero .membership-feature-tagline br {display:none;}
body[data-page="memberships"] .gm-landing-hero .membership-feature-tagline br::after {content:" ";}
body[data-page="memberships"] .gm-landing-hero .membership-feature-tagline {max-width:720px !important;}
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-hero-actions {
  display:flex !important;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:13px;margin:clamp(27px,4vh,42px) auto 0 !important;
  width:100%;max-width:850px;
  animation:gm-page-banner-rise .9s .67s both !important;
}
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) a.gm-hero-action {
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:190px;min-height:46px;padding:10px 18px;
  border:1px solid rgba(255,253,247,.82);border-radius:4px;
  background:rgba(9,49,39,.11);color:#fffdf7 !important;
  font:650 13px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.01em;
  text-decoration:none;white-space:nowrap;text-align:center;
  transition:background .18s ease,border-color .18s ease;
}
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) a.gm-hero-action:hover,
body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) a.gm-hero-action:focus-visible {
  background:rgba(247,242,232,.19);border-color:#fffdf7;
}
/* Anchor destinations scroll neatly below the site's header. */
#patients-resources,#accepted-insurance-plans,#all-services,#direct-primary-care-plans,
#about-learn-more,#about-our-physicians,#contact-appointment,#contact-location,#research-inquiries {scroll-margin-top:130px;}
body[data-page="contact"] .contact-appointment-anchor{min-width:0;width:100%;}
/* Narrow responsive screens: preserve complete sentences and readable touch controls. */
@media(max-width:800px){
  body[data-page="insurance"] .gm-landing-hero {background-position:55% center !important;}
  body[data-page="contact"] .gm-landing-hero::after {background-position:60% center !important;}
  body[data-page="about"] .gm-landing-hero {background-position:55% center !important;}
  body[data-page="memberships"] .gm-landing-hero {background-position:59% center !important;}
  body[data-page="services"] .gm-landing-hero {background-position:55% center !important;}
}
@media(max-width:600px){
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero {
    min-height:max(580px,calc(100svh - var(--gm-home-header-height,150px))) !important;
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-content,
  body[data-page="insurance"] .gm-landing-hero .insurance-malecon-content,
  body[data-page="services"] .gm-landing-hero .services-hero-copy,
  body[data-page="memberships"] .gm-landing-hero .feature-hero-grid,
  body[data-page="about"] .gm-landing-hero .about-intro-hero-wrap,
  body[data-page="contact"] .gm-landing-hero > .wrap {padding:42px 19px 56px !important;}
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero h1 {
    font-size:clamp(30px,8vw,42px) !important;line-height:1.18 !important;
  }
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero p,
  body[data-page="services"] .gm-landing-hero .services-banner-intro {
    font-size:14px !important;line-height:1.55 !important;max-width:350px !important;
  }
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-hero-actions {gap:9px;margin-top:27px !important;}
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) a.gm-hero-action {min-height:43px;min-width:0;white-space:normal;padding:10px 14px;font-size:12px;}
  body[data-page="contact"] .gm-hero-actions {max-width:340px;}
  body[data-page="contact"] .gm-hero-actions a {min-width:45%;}
}
@media(prefers-reduced-motion:reduce){
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero h1,
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero .eyebrow,
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-landing-hero p,
  body:is([data-page="patients"],[data-page="insurance"],[data-page="services"],[data-page="memberships"],[data-page="about"],[data-page="contact"]) .gm-hero-actions,
  body[data-page="services"] .gm-landing-hero .services-banner-intro {animation:none !important;opacity:1 !important;transform:none !important;filter:none !important;}
}

/* V275 polish: the Memberships subtitle should read as two naturally spaced phrases. */
body[data-page="memberships"] .gm-landing-hero .membership-feature-tagline {
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:clamp(16px,1.4vw,19px) !important;
  line-height:1.6 !important;
}


/* V278 — move the hero copy appreciably higher while keeping every group
   centered horizontally and safely below the top border. The imagery remains
   true edge-to-edge with natural `cover` framing, and Contact removes the
   redundant research CTA from the banner. */
body:is([data-page="patients"], [data-page="insurance"], [data-page="services"],
        [data-page="memberships"], [data-page="contact"]) .gm-landing-hero {
  --gm-v278-copy-lift: clamp(118px, 16svh, 190px);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content,
body[data-page="insurance"] .gm-landing-hero .insurance-malecon-content,
body[data-page="services"] .gm-landing-hero .services-hero-copy,
body[data-page="memberships"] .gm-landing-hero .feature-hero-grid,
body[data-page="contact"] .gm-landing-hero > .wrap {
  position: relative !important;
  top: calc(-1 * var(--gm-v278-copy-lift)) !important;
}
/* Preserve borderless full-bleed imagery while keeping the nicest focal area visible. */
body[data-page="patients"] .gm-landing-hero .patients-hero-image {
  object-position: 50% 52% !important;
  object-fit: cover !important;
}
body[data-page="contact"] .gm-landing-hero::after {
  background-position: 56% 50% !important;
  background-size: cover !important;
}
body[data-page="contact"] .gm-hero-actions {
  max-width: 420px;
}
@media (max-width:800px) {
  body:is([data-page="patients"], [data-page="insurance"], [data-page="services"],
          [data-page="memberships"], [data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: clamp(72px, 10svh, 104px);
  }
  body[data-page="contact"] .gm-landing-hero::after {
    background-position: 57% center !important;
  }
}
@media (max-width:540px) {
  body:is([data-page="patients"], [data-page="insurance"], [data-page="services"],
          [data-page="memberships"], [data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: clamp(54px, 8.2svh, 76px);
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-image {
    object-position: 48% 52% !important;
  }
}
@media (max-height:650px) and (min-width:541px) {
  body:is([data-page="patients"], [data-page="insurance"], [data-page="services"],
          [data-page="memberships"], [data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: 58px;
  }
}


/* V279 — refine banner hierarchy and readability after review. */
body:is([data-page="insurance"],[data-page="services"],[data-page="contact"]) .gm-landing-hero {
  --gm-v278-copy-lift: clamp(132px, 17.2svh, 205px);
}
body[data-page="patients"] .gm-landing-hero {
  --gm-v278-copy-lift: clamp(148px, 18.3svh, 220px);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-shade {
  background: linear-gradient(180deg, rgba(8,45,35,.82) 0%, rgba(8,45,35,.68) 20%, rgba(8,45,35,.34) 48%, rgba(8,45,35,.10) 72%, rgba(8,45,35,.02) 100%) !important;
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content h1 {
  max-width: 980px !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.30);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content p {
  max-width: 840px !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.34);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content .eyebrow {
  text-shadow: 0 2px 12px rgba(0,0,0,.26);
}
@media (max-width:800px) {
  body:is([data-page="insurance"],[data-page="services"],[data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: clamp(84px, 11.3svh, 118px);
  }
  body[data-page="patients"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(94px, 12.4svh, 130px);
  }
}
@media (max-width:540px) {
  body:is([data-page="insurance"],[data-page="services"],[data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: clamp(62px, 9svh, 86px);
  }
  body[data-page="patients"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(72px, 10svh, 98px);
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-content h1 {
    font-size: clamp(28px, 6.9vw, 38px) !important;
    line-height: 1.14 !important;
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-content p {
    max-width: 360px !important;
  }
}
@media (max-height:650px) and (min-width:541px) {
  body:is([data-page="insurance"],[data-page="services"],[data-page="contact"]) .gm-landing-hero {
    --gm-v278-copy-lift: 72px;
  }
  body[data-page="patients"] .gm-landing-hero {
    --gm-v278-copy-lift: 86px;
  }
}

/* V280 — final upper-hero alignment refinements requested after V279.
   Retain proportional full-bleed imagery, established staggered animation,
   centered typography, and original in-page scroll targets. */
body[data-page="patients"] .gm-landing-hero {
  --gm-v278-copy-lift: clamp(182px, 24.5svh, 233px);
}
body[data-page="insurance"] .gm-landing-hero,
body[data-page="contact"] .gm-landing-hero {
  --gm-v278-copy-lift: clamp(178px, 23.4svh, 235px);
}
body[data-page="services"] .gm-landing-hero {
  /* Services has a taller introductory block, so preserve a clear top margin. */
  --gm-v278-copy-lift: clamp(166px, 20.6svh, 197px);
}
/* The Patient Resources headline stays on one line at desktop sizes. A
   feathered top-center overlay adds contrast without a discernible rectangle. */
body[data-page="patients"] .gm-landing-hero .patients-hero-shade {
  background:
    radial-gradient(ellipse 66% 42% at 50% 17%, rgba(5,32,27,.34) 0%, rgba(5,32,27,.17) 57%, transparent 100%),
    linear-gradient(180deg,rgba(7,40,32,.77) 0%,rgba(7,40,32,.60) 25%,rgba(7,40,32,.28) 55%,rgba(7,40,32,.05) 100%) !important;
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content > .eyebrow {
  margin-bottom: 17px !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content > h1 {
  max-width: min(1020px, 100%) !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.48), 0 4px 24px rgba(0,0,0,.24);
}
body[data-page="patients"] .gm-landing-hero .patients-hero-content > p {
  max-width: 820px !important;
  line-height: 1.52 !important;
  text-shadow: 0 2px 13px rgba(0,0,0,.52);
}
body[data-page="patients"] .gm-landing-hero .gm-hero-actions {
  margin-top: 27px !important;
}
@media (max-width: 800px) {
  body[data-page="patients"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(106px, 16svh, 146px);
  }
  body[data-page="insurance"] .gm-landing-hero,
  body[data-page="services"] .gm-landing-hero,
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(100px, 15svh, 138px);
  }
}
@media (max-width: 540px) {
  body[data-page="patients"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(109px, 15.6svh, 132px);
  }
  body[data-page="insurance"] .gm-landing-hero,
  body[data-page="services"] .gm-landing-hero,
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: clamp(100px, 14.8svh, 125px);
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-content > h1 {
    font-size: clamp(27px, 6.8vw, 36px) !important;
    max-width: 100% !important;
    letter-spacing: -.025em !important;
  }
  body[data-page="patients"] .gm-landing-hero .patients-hero-content > p {
    max-width: 350px !important;
    line-height: 1.5 !important;
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="patients"] .gm-landing-hero {--gm-v278-copy-lift: 104px;}
  body[data-page="insurance"] .gm-landing-hero,
  body[data-page="services"] .gm-landing-hero,
  body[data-page="contact"] .gm-landing-hero {--gm-v278-copy-lift: 92px;}
}

/* The former small-screen Patients layout hid its shade entirely. Restore a
   gentle, feathered veil on mobile so type doesn't compete with bright foliage. */
@media (max-width: 700px) {
  body[data-page="patients"] .gm-landing-hero .patients-hero-shade {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    background:
      radial-gradient(ellipse 95% 43% at 50% 30%, rgba(5,32,26,.40) 0%, rgba(5,32,26,.24) 55%, transparent 100%),
      linear-gradient(180deg, rgba(6,38,31,.40) 0%, rgba(6,38,31,.47) 37%, rgba(6,38,31,.17) 69%, transparent 100%) !important;
  }
}


/* V281 continued draft: targeted hero refinement only. Rebuilt
   from preserved V280 source and the approved V281 change history. */

/* Services — exactly two intentional desktop lines, centered. Raise the copy
   very slightly more than the V280 setting without changing imagery. */
body[data-page="services"] .gm-landing-hero {
  --gm-v278-copy-lift: calc(clamp(166px, 20.6svh, 197px) + 10px);
}
body[data-page="services"] .gm-landing-hero .services-banner-intro {
  max-width: 940px !important;
  margin-inline: auto !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro .services-intro-line {
  display: block !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro .services-intro-line + .services-intro-line::before {
  content: none !important;
}

/* Research — V281 lifted the original approved logo slightly; V281 retains
   precisely that logo position and lifts only headline/supporting copy toward it.
   Preserve the official image asset and both CTA links. */
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 98px;
}
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  transform: translateY(24px);
}

/* About — give the complete sentence enough width for a balanced two-line
   presentation on desktop; keep the two CTAs centered directly beneath it. */
body[data-page="about"] .gm-landing-hero .about-intro-copy {
  max-width: 1020px !important;
}
body[data-page="about"] .gm-landing-hero .about-intro-copy > p {
  max-width: 1010px !important;
  font-size: clamp(15px, 1.20vw, 17px) !important;
  line-height: 1.6 !important;
  text-wrap: balance;
}
body[data-page="about"] .gm-landing-hero .gm-hero-actions {
  max-width: 560px;
  margin-top: 20px !important;
  gap: 12px;
}
body[data-page="about"] .gm-landing-hero .gm-hero-actions a.gm-hero-action {
  min-width: 190px;
}

/* Contact — single centered 'Contact Us' CTA to the existing contact form.
   The supporting sentence is a little smaller and a single line when space permits. */
body[data-page="contact"] .gm-landing-hero {
  --gm-v278-copy-lift: calc(clamp(178px, 23.4svh, 235px) + 12px);
}
body[data-page="contact"] .gm-landing-hero .contact-family-copy {
  max-width: 1030px !important;
}
body[data-page="contact"] .gm-landing-hero .contact-family-copy > p {
  max-width: 1040px !important;
  font-size: clamp(14px, 1.12vw, 16px) !important;
  line-height: 1.5 !important;
}
body[data-page="contact"] .gm-landing-hero .gm-hero-actions {
  justify-content: center !important;
  max-width: 370px;
}
body[data-page="contact"] .gm-landing-hero .gm-hero-actions a.gm-hero-action {
  min-width: 190px;
}
@media(max-width:800px) {
  body[data-page="services"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 15svh, 138px) + 7px);
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {top: 70px;}
  body[data-page="research"] .research-landing-hero .research-ocean-copy {transform: translateY(33px);}
  body[data-page="about"] .gm-landing-hero .about-intro-copy > p {max-width: 690px !important;}
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 15svh, 138px) + 8px);
  }
}
@media(max-width:540px) {
  body[data-page="services"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 14.8svh, 125px) + 5px);
  }
  body[data-page="services"] .gm-landing-hero .services-banner-intro {
    max-width: 350px !important;
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {top: 52px;}
  body[data-page="research"] .research-landing-hero .research-ocean-copy {transform: translateY(32px);}
  body[data-page="about"] .gm-landing-hero .about-intro-copy > p {
    font-size: 14px !important;
    max-width: 350px !important;
    text-wrap: pretty;
  }
  body[data-page="about"] .gm-landing-hero .gm-hero-actions {margin-top: 18px !important;}
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 14.8svh, 125px) + 7px);
  }
  body[data-page="contact"] .gm-landing-hero .contact-family-copy > p {
    max-width: 350px !important;
    font-size: 14px !important;
  }
  body[data-page="contact"] .gm-landing-hero .gm-hero-actions a.gm-hero-action {
    min-width: 190px !important;
  }
}
@media(max-height:650px) and (min-width:541px) {
  body[data-page="services"] .gm-landing-hero {--gm-v278-copy-lift: 99px;}
  body[data-page="contact"] .gm-landing-hero {--gm-v278-copy-lift: 100px;}
  body[data-page="research"] .research-landing-hero .research-hero-brand {top: 40px;}
  body[data-page="research"] .research-landing-hero .research-ocean-copy {transform: translateY(22px);}
}


/* V282 — November 2, 2026: three small hero adjustments after reviewing V281.
   These styles intentionally override the earlier responsive hero tuning only. */

/* Services: another subtle 6px upward adjustment of the complete copy block. */
body[data-page="services"] .gm-landing-hero {
  --gm-v278-copy-lift: calc(clamp(166px, 20.6svh, 197px) + 16px);
}

/* Research: make the English headline a centered single line at roomy desktop
   sizes, with the existing logo centered directly above it and a closer gap.
   No asset, photo, subtitle or button changes. */
body[data-page="research"] .research-landing-hero .research-ocean-copy {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  transform: translateY(24px);
}
body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(30px, 2.9vw, 41px);
  letter-spacing: -0.024em;
}
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 132px;
  left: calc(50% - 85px);
}
@media (min-width: 1100px) {
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}
/* Smaller displays keep naturally wrapped text so nothing gets cut off. */
@media (max-width: 1099px) {
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    max-width: min(760px, 100%);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
  }
}

/* Contact: lift heading, support text, and the button together by another 11px
   to keep the CTA clear of the subject's head in the banner photo. */
body[data-page="contact"] .gm-landing-hero {
  --gm-v278-copy-lift: calc(clamp(178px, 23.4svh, 235px) + 23px);
}

@media (max-width: 800px) {
  body[data-page="services"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 15svh, 138px) + 11px);
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 91px;
    left: calc(50% - 77px);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    transform: translateY(33px);
  }
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 15svh, 138px) + 13px);
  }
}
@media (max-width: 540px) {
  body[data-page="services"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 14.8svh, 125px) + 8px);
  }
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 65px;
    left: calc(50% - 69px);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy {
    transform: translateY(32px);
  }
  body[data-page="research"] .research-landing-hero .research-ocean-copy > h1 {
    font-size: clamp(24px, 6.1vw, 31px);
  }
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 14.8svh, 125px) + 11px);
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="services"] .gm-landing-hero {--gm-v278-copy-lift: 104px;}
  body[data-page="contact"] .gm-landing-hero {--gm-v278-copy-lift: 105px;}
  body[data-page="research"] .research-landing-hero .research-hero-brand {top: 58px;}
  body[data-page="research"] .research-landing-hero .research-ocean-copy {transform: translateY(22px);}
}


/* V283 — Research + Home hero refinements.
   Research: the V282 headline and support copy stay precisely where they are;
   lower only the existing original Research logo towards the water/heading.
   Home: exactly two centrally grouped hero buttons remain, in both languages. */
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 154px; /* V282 132px; descend another 22px without moving text */
}
body[data-page="home"] .home-welcome-hero .home-hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 12px !important;
}
@media (max-width: 800px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 105px; /* V282 91px */
  }
}
@media (max-width: 540px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 78px; /* V282 65px */
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 72px; /* V282 58px */
  }
}


/* V284 — Research logo placement only. The approved V283 heading, supporting
   text and button locations remain untouched. Logo stays horizontally centered.
   Lower the official logo more substantially toward the boat/waterline. */
body[data-page="research"] .research-landing-hero .research-hero-brand {
  top: 209px; /* V283: 154px; a further 55px lower on desktop */
}
@media (max-width: 800px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 142px; /* V283: 105px */
  }
}
@media (max-width: 540px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 102px; /* V283: 78px; preserve room for wrapped headings */
  }
}
@media (max-height: 650px) and (min-width: 541px) {
  body[data-page="research"] .research-landing-hero .research-hero-brand {
    top: 98px; /* V283: 72px; compact viewport */
  }
}

/* V285: Research — ease logo back above headline with a visible gap. The
   collision guard in app.js further constrains it without moving the text. */
body[data-page="research"] .research-landing-hero .research-hero-brand {top:175px;}
@media(max-width:800px){body[data-page="research"] .research-landing-hero .research-hero-brand {top:111px;}}
@media(max-width:540px){body[data-page="research"] .research-landing-hero .research-hero-brand {top:82px;}}
@media(max-height:650px) and (min-width:541px){body[data-page="research"] .research-landing-hero .research-hero-brand {top:65px;}}

/* V285: dedicated, distraction-free registration / existing-patient pages. */
.forms-flow-hero{position:relative;isolation:isolate;background:#173f34 url('assets/patients-cuban-community.jpg') center 55% / cover no-repeat;color:#fff;min-height:315px;display:flex;align-items:center;overflow:hidden}
.forms-flow-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(93deg,rgba(12,47,39,.96),rgba(12,47,39,.86) 48%,rgba(12,47,39,.57))}
.forms-flow-hero-inner{width:100%;padding-top:38px;padding-bottom:45px;text-align:center;display:flex;flex-direction:column;align-items:center}
.forms-flow-breadcrumb{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:12px;letter-spacing:.025em;color:#efe6d3;margin:0 auto 32px}
.forms-flow-breadcrumb a{color:#fff;text-underline-offset:4px}
.forms-flow-hero .eyebrow{color:#e0c9a4;margin-bottom:13px}
.forms-flow-hero h1{font:clamp(35px,4.1vw,57px)/1.11 Georgia,serif;max-width:900px;margin:0 auto 10px;color:#fff;text-wrap:balance}
.forms-flow-subtitle{font:clamp(18px,1.85vw,25px)/1.35 Georgia,serif;color:#f1dfbe;margin:0 auto 13px;max-width:850px}
.forms-flow-hero-desc{max-width:740px;margin:0 auto;color:#f4f2e9;line-height:1.7;font-size:15px}
.patient-form-flow-page{padding-top:43px}
.forms-flow-wrap{max-width:1040px}
.forms-flow-guide{display:flex;align-items:flex-start;gap:16px;padding:24px 28px;background:#eaf1ec;border:1px solid #d6e3d8;border-radius:17px;color:#1d4435}
.forms-flow-guide-icon{width:38px;height:38px;border-radius:50%;flex:0 0 38px;display:grid;place-items:center;font-weight:700;background:#285843;color:#fff}
.forms-flow-guide strong{display:block;font-size:17px;margin:0 0 6px}
.forms-flow-guide p{line-height:1.6;margin:0;color:#37554a}
.patient-form-flow-page .onboarding-panel{margin-top:27px;padding:clamp(22px,4vw,44px);border-radius:20px}
.patient-form-flow-page .forms-flow-section-heading{text-align:center;max-width:780px;margin:0 auto 30px}
.patient-form-flow-page .forms-flow-section-heading .eyebrow{display:block;margin-bottom:9px}
.patient-form-flow-page .forms-flow-section-heading h2{font:clamp(26px,3vw,36px)/1.25 Georgia,serif;margin:0 0 12px;color:#204a38}
.patient-form-flow-page .forms-flow-section-heading p{margin:0;color:#52655a;line-height:1.65}
.patient-form-flow-page .onboarding-steps{display:grid;grid-template-columns:1fr;gap:15px;margin:0 0 25px}
.patient-form-flow-page .onboarding-step{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:start;gap:18px;padding:25px clamp(20px,3vw,32px);box-shadow:0 4px 16px rgba(20,53,40,.035)}
.patient-form-flow-page .onboarding-number{font-size:31px;padding-top:2px}
.patient-form-flow-page .onboarding-step-content{display:flex;flex-direction:column;align-items:flex-start;max-width:100%}
.patient-form-flow-page .onboarding-step h3{font-size:clamp(19px,2vw,23px);line-height:1.35;margin:0 0 8px;color:#214637}
.patient-form-flow-page .onboarding-step p{font-size:14px;line-height:1.65;max-width:690px;margin:0 0 14px}
.patient-form-flow-page .onboarding-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:2px}
.patient-form-flow-page .onboarding-actions a.btn{min-width:128px;text-align:center}
.patient-form-flow-page .onboarding-actions a.btn.btn-outline,.patient-form-flow-page .onboarding-actions a.btn.btn-outline:link,.patient-form-flow-page .onboarding-actions a.btn.btn-outline:visited{color:#194d3a!important;background:#fff;border:2px solid #194d3a;font-weight:700}
.patient-form-flow-page .onboarding-actions a.btn.btn-outline:hover{background:#e9f0eb}
.patient-form-flow-page .onboarding-footnote{max-width:790px;margin:5px auto 0;text-align:center;line-height:1.6}
.forms-flow-return{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:28px 0 15px}
.forms-flow-back,.forms-flow-contact{font-size:14px;font-weight:650;color:#1d503c;text-decoration:none}
.forms-flow-back:hover,.forms-flow-contact:hover{text-decoration:underline}
.forms-flow-disclaimer{margin-top:20px!important}
@media(max-width:650px){
 .forms-flow-hero{min-height:345px;background-position:48% center}
 .forms-flow-hero-inner{padding:24px 16px 32px}
 .forms-flow-breadcrumb{margin-bottom:25px}
 .forms-flow-hero h1{font-size:34px}
 .forms-flow-hero-desc{font-size:13px}
 .patient-form-flow-page{padding-top:24px}
 .forms-flow-guide{padding:19px;gap:11px}
 .patient-form-flow-page .onboarding-panel{padding:18px}
 .patient-form-flow-page .onboarding-step{grid-template-columns:1fr;gap:12px;padding:19px}
 .patient-form-flow-page .onboarding-number{font-size:26px}
 .patient-form-flow-page .onboarding-actions a.btn{flex:1 1 112px;min-width:0}
}


/* V286 — unified centered forest-green form pages with horizontally arranged,
   numbered square cards. Scope entirely to the two dedicated form pages. */
body[data-page="new-patient-forms"] .forms-flow-hero,
body[data-page="existing-patient-forms"] .forms-flow-hero{
  background:#163f32 !important;
  background-image:none !important;
  color:#fff;
}
body[data-page="new-patient-forms"] .forms-flow-hero::before,
body[data-page="existing-patient-forms"] .forms-flow-hero::before{
  content:none !important;
  background:none !important;
}
.patient-form-flow-page .forms-flow-wrap{max-width:1190px}
.patient-form-flow-page .forms-flow-guide{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;max-width:1060px;margin:0 auto;padding:24px 28px;
}
.patient-form-flow-page .forms-flow-guide-icon{margin:0 auto 2px}
.patient-form-flow-page .forms-flow-guide > div:not(.forms-flow-guide-icon){max-width:870px;margin:0 auto}
.patient-form-flow-page .forms-flow-guide p{text-align:center;margin-inline:auto}
.patient-form-flow-page .onboarding-panel{
  margin:30px auto 0;max-width:1180px;
  padding:clamp(20px,3.2vw,42px);
}
.patient-form-flow-page .onboarding-steps{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;
  gap:18px;margin:0 auto 26px;
}
.patient-form-flow-page .onboarding-step{
  box-sizing:border-box;display:flex;flex:0 1 calc((100% - 36px)/3);
  flex-direction:column;align-items:center;justify-content:flex-start;
  padding:clamp(19px,2.1vw,29px) 18px;
  min-width:0;min-height:315px;
  aspect-ratio:1 / 1;
  gap:13px;text-align:center;
  border:1px solid #dfe6da;border-radius:9px;
  background:#fff;box-shadow:0 5px 18px rgba(20,53,40,.045);
}
.patient-form-flow-page .onboarding-number{
  display:grid;place-items:center;min-width:51px;height:51px;
  border-radius:50%;background:#eaf0ea;
  font-size:25px;line-height:1;padding:0;color:#23523e;
}
.patient-form-flow-page .onboarding-step-content{
  display:flex;flex:1;flex-direction:column;align-items:center;
  justify-content:flex-start;width:100%;max-width:100%;text-align:center;
}
.patient-form-flow-page .onboarding-step h3{
  font-size:clamp(18px,1.8vw,21px);line-height:1.32;
  text-align:center;text-wrap:balance;margin:0 auto 8px;
}
.patient-form-flow-page .onboarding-step p{
  max-width:295px;font-size:13px;line-height:1.6;
  text-align:center;margin:0 auto 14px;
}
.patient-form-flow-page .onboarding-actions{
  display:flex;justify-content:center;align-items:center;
  flex-wrap:wrap;gap:9px;width:100%;margin:auto auto 0;
}
.patient-form-flow-page .onboarding-actions a.btn{
  min-width:114px;padding:10px 13px;text-align:center;
}
.patient-form-flow-page .onboarding-footnote{text-align:center;margin-inline:auto}
.patient-form-flow-page .forms-flow-return{
  display:flex;justify-content:center;align-items:center;gap:26px;
  text-align:center;margin:28px auto 16px;
}
.patient-form-flow-page .forms-flow-subheading{
  text-align:center;max-width:720px;margin:38px auto 23px;
  padding-top:24px;border-top:1px solid #d9e0d6;
}
.patient-form-flow-page .forms-flow-subheading h3{
  font:clamp(23px,2.3vw,30px)/1.3 Georgia,serif;
  color:#204a38;margin:0 auto 9px;text-wrap:balance;
}
.patient-form-flow-page .forms-flow-subheading p{
  margin:0 auto;line-height:1.6;color:#52655a;
}
.patient-form-flow-page .pending-consent-card{
  background:#fbfaf5;border-style:dashed;border-color:#cbd6cb;
}
.patient-form-flow-page .onboarding-actions .pending-consent-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:43px;min-width:115px;padding:9px 11px;
  background:#eff1ec;color:#516a5a!important;border:1px solid #d4ded5;
  border-radius:6px;font-size:12px;font-weight:650;
  cursor:not-allowed;opacity:1;box-sizing:border-box;
}
.patient-form-flow-page .onboarding-actions .pending-consent-secondary{
  background:#fff;border:1px solid #ccd8cf;
}
@media (max-width:1050px){
 .patient-form-flow-page .onboarding-step{
   flex-basis:calc((100% - 18px)/2);
   aspect-ratio:auto;min-height:295px;
 }
}
@media (max-width:680px){
 .patient-form-flow-page .onboarding-steps{gap:13px}
 .patient-form-flow-page .onboarding-step{
   flex-basis:100%;aspect-ratio:auto;min-height:0;padding:24px 18px;
 }
 .patient-form-flow-page .onboarding-number{width:48px;height:48px;font-size:23px}
 .patient-form-flow-page .forms-flow-guide{padding:22px 19px}
 .patient-form-flow-page .forms-flow-return{gap:13px}
 .patient-form-flow-page .onboarding-actions a.btn{min-width:112px}
}



/* V289 — show the WHOLE user-provided boutique storefront photograph.
   Unlike V288 there is no cover cropping, scale transform, or clipped edge.
   The frame fills the initial viewport below the real measured header;
   photo is contained within it at its native 16:9 aspect ratio. */
body[data-page="shop"] .boutique-storefront-hero {
  position:relative; isolation:isolate; box-sizing:border-box;
  display:flex;align-items:flex-end;justify-content:center;
  height:calc(100svh - var(--gm-home-header-height,150px));
  min-height:580px; width:100%; padding:0; overflow:hidden;
  background:#153f35; color:#fffdf7;
}
body[data-page="shop"] .boutique-storefront-hero-photo {
  display:block; position:absolute; inset:0;
  width:100%; height:100%; object-fit:contain;object-position:center;
  opacity:1; transform:none; max-width:none;
}
body[data-page="shop"] .boutique-storefront-hero-overlay {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,
    rgba(9,32,25,.03) 0%,
    rgba(9,32,25,.03) 25%,
    rgba(9,32,25,.08) 40%,
    rgba(9,32,25,.33) 61%,
    rgba(9,32,25,.69) 100%);
}
body[data-page="shop"] .boutique-storefront-hero-content {
  position:relative;z-index:1;
  width:100%; max-width:1100px;
  display:flex; flex-direction:column;justify-content:flex-end;align-items:center;
  text-align:center; color:#fffdf7;
  padding:clamp(36px,5.5svh,65px) 26px clamp(52px,8svh,96px);
}
body[data-page="shop"] .boutique-storefront-hero-content > .eyebrow {
  display:block;width:100%;font-size:clamp(11px,1.1vw,14px);
  letter-spacing:.22em;font-weight:700;color:#f3e5ca;
  margin:0 auto 14px;
  animation:gm-page-banner-rise .84s .13s both;
}
body[data-page="shop"] .boutique-storefront-hero-content > h1 {
  font:400 clamp(38px,4.55vw,64px)/1.14 Georgia,'Times New Roman',serif;
  letter-spacing:-.02em;color:#fffdf7;
  max-width:920px;width:100%;margin:0 auto 16px;
  text-wrap:balance;text-shadow:0 4px 18px rgba(0,0,0,.35);
  animation:gm-page-banner-rise .92s .27s both;
}
body[data-page="shop"] .boutique-storefront-hero-content > p {
  max-width:790px;width:100%;color:#f4e9d9;
  font-size:clamp(15px,1.38vw,18px);line-height:1.65;
  margin:0 auto;text-wrap:pretty;text-shadow:0 2px 12px rgba(0,0,0,.5);
  animation:gm-page-banner-rise .92s .47s both;
}
/* Match exactly the button sizing, border and hover of the other tab banners. */
body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:13px;margin:clamp(27px,4vh,42px) auto 0;
  width:100%;max-width:850px;
  animation:gm-page-banner-rise .9s .67s both;
}
body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action {
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:190px;min-height:46px;padding:10px 18px;
  border:1px solid rgba(255,253,247,.82);border-radius:4px;
  background:rgba(9,49,39,.11);color:#fffdf7 !important;
  font:650 13px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.01em;
  text-decoration:none;white-space:nowrap;text-align:center;
  transition:background .18s ease,border-color .18s ease;
}
body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action:hover,
body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action:focus-visible {
  background:rgba(247,242,232,.19);border-color:#fffdf7;
}
#boutique-selection{scroll-margin-top:130px;}
.boutique-selection-section{text-align:center;padding-top:70px;padding-bottom:86px}
.boutique-selection-wrap{max-width:860px}
.boutique-selection-section .eyebrow{margin-top:4px}
.boutique-selection-section h2{color:var(--green);margin:10px auto 16px;max-width:18ch}
.boutique-selection-section p{max-width:720px;margin-left:auto;margin-right:auto}
.boutique-selection-section .official-boutique-logo{margin-bottom:20px}
@media (max-width:700px) {
  body[data-page="shop"] .boutique-storefront-hero {
    min-height:max(580px, calc(100svh - var(--gm-home-header-height,150px)));
  }
  body[data-page="shop"] .boutique-storefront-hero-photo {
    /* Full picture stays uncut; green around the shorter wide-format photo
       is intentional on portrait screens. */
    object-fit:contain;
    object-position:center top;
  }
  body[data-page="shop"] .boutique-storefront-hero-overlay {
    background:linear-gradient(180deg,
       rgba(9,32,25,.02) 0%,rgba(9,32,25,.02) 32%,
       rgba(9,32,25,.14) 46%,rgba(9,32,25,.82) 100%);
  }
  body[data-page="shop"] .boutique-storefront-hero-content {padding:24px 20px 45px;}
  body[data-page="shop"] .boutique-storefront-hero-content > h1 {
    font-size:clamp(34px,8.2vw,48px);
  }
  body[data-page="shop"] .boutique-storefront-hero-content > p {font-size:15px;line-height:1.58;}
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {margin-top:26px;gap:9px;}
  body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action {
    min-width:0;min-height:43px;white-space:normal;padding:10px 14px;font-size:12px;
  }
  .boutique-selection-section{padding-top:56px;padding-bottom:70px}
}
@media (prefers-reduced-motion:reduce){
  body[data-page="shop"] .boutique-storefront-hero-content > *,
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions{animation:none!important;}
}


/* V290 — Full bleed, uncropped Boutique storefront. A 16:9 frame follows the original
   image dimensions rather than forcing the image into a differently shaped viewport.
   Consequently no forest-green bars appear on the left or right of the desktop hero.
   Narrow screens put text BELOW the intact full-width photo to avoid covering it. */
body[data-page="shop"] .boutique-storefront-hero {
  position:relative;display:flex;align-items:flex-end;justify-content:center;
  height:auto;min-height:0;aspect-ratio:16 / 9;
  width:100%;overflow:hidden;background:#153f35;
}
body[data-page="shop"] .boutique-storefront-hero-photo {
  position:absolute;inset:0;display:block;
  width:100%;height:100%;object-fit:contain;object-position:center;
  max-width:none;transform:none;
}
body[data-page="shop"] .boutique-storefront-hero-overlay {
  background:linear-gradient(180deg,rgba(9,32,25,.03) 0%,rgba(9,32,25,.04) 26%,rgba(9,32,25,.12) 44%,rgba(9,32,25,.60) 82%,rgba(9,32,25,.78) 100%);
}
body[data-page="shop"] .boutique-storefront-hero-content {
  width:100%;box-sizing:border-box;
  padding:28px 26px clamp(44px,5.2vw,84px);
}
body[data-page="shop"] .boutique-storefront-hero-content > h1 {
  font-size:clamp(35px,4.2vw,64px);margin:0 auto 12px;
}
body[data-page="shop"] .boutique-storefront-hero-content > p {font-size:clamp(14px,1.30vw,18px)}
body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {margin-top:clamp(20px,2.5vw,34px)}
/* On smaller screens, display the entire image full-bleed above a centered text panel. */
@media (max-width:700px) {
  body[data-page="shop"] .boutique-storefront-hero {
    display:flex;flex-direction:column;align-items:stretch;
    justify-content:flex-start;min-height:0;height:auto;aspect-ratio:auto;
    overflow:visible;
  }
  body[data-page="shop"] .boutique-storefront-hero-photo {
    position:relative;inset:auto;flex:none;
    width:100%;height:auto;aspect-ratio:16 / 9;
    object-fit:contain;object-position:center;
  }
  body[data-page="shop"] .boutique-storefront-hero-overlay {display:none}
  body[data-page="shop"] .boutique-storefront-hero-content {
    box-sizing:border-box;position:relative;flex:none;
    width:100%;max-width:none;
    padding:clamp(34px,7vw,58px) 22px clamp(48px,9vw,74px);
    background:#153f35;
  }
  body[data-page="shop"] .boutique-storefront-hero-content > h1 {
    font-size:clamp(33px,8vw,49px);max-width:14ch;margin:0 auto 16px;
  }
  body[data-page="shop"] .boutique-storefront-hero-content > p {font-size:clamp(15px,4vw,17px);line-height:1.6}
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {margin-top:25px}
}
@media (min-width:701px) and (max-width:1000px) {
  body[data-page="shop"] .boutique-storefront-hero-content {padding-bottom:clamp(26px,3vw,50px)}
  body[data-page="shop"] .boutique-storefront-hero-content > h1 {font-size:clamp(30px,4vw,45px)}
  body[data-page="shop"] .boutique-storefront-hero-content > p {font-size:14px;max-width:650px}
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {margin-top:18px}
}


/* V291 — simplify Insurance, Services and Boutique banners while preserving all prior imagery. */
/* Insurance: single clear headline and supporting line, slightly higher within the hero. */
body[data-page="insurance"] .gm-landing-hero .insurance-malecon-content {
  top:calc(-1 * var(--gm-v278-copy-lift) - 18px) !important;
}

/* Services: a unified, centered statement directly beneath the established eyebrow. */
body[data-page="services"] .gm-landing-hero .services-hero-copy > .eyebrow {
  margin-bottom:12px !important;
  font-size:clamp(12px,1.2vw,15px) !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro {
  max-width:975px !important;
  font:400 clamp(23px,2.55vw,36px)/1.33 Georgia,'Times New Roman',serif !important;
  letter-spacing:-.012em !important;
  color:#fffdf7 !important;
  text-align:center !important;
  text-wrap:balance;
  margin:0 auto !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro .services-intro-line {
  display:block !important;
  width:100%;
}
body[data-page="services"] .gm-landing-hero .gm-hero-actions {
  margin-top:23px !important;
}

/* Boutique: ONLY the matching outlined CTA, centered over the uncropped, edge-to-edge photo. */
body[data-page="shop"] .boutique-storefront-hero {
  position:relative !important;
  display:block !important;
  width:100%;height:auto !important;min-height:0 !important;
  aspect-ratio:16/9 !important;overflow:hidden !important;
  background:#153f35;
}
body[data-page="shop"] .boutique-storefront-hero-photo {
  position:absolute !important;inset:0 !important;display:block !important;
  width:100% !important;height:100% !important;
  aspect-ratio:auto !important;object-fit:contain !important;
  object-position:center !important;
}
body[data-page="shop"] .boutique-storefront-hero-overlay {
  position:absolute !important;inset:0 !important;display:block !important;
  background:linear-gradient(180deg,rgba(6,28,20,.05),rgba(6,28,20,.13)) !important;
  pointer-events:none;
}
body[data-page="shop"] .boutique-storefront-hero-content {
  position:absolute !important;inset:0 !important;z-index:1;
  display:flex !important;align-items:center !important;justify-content:center !important;
  box-sizing:border-box !important;width:100% !important;height:100% !important;
  max-width:none !important;margin:0 !important;padding:0 20px !important;
  background:none !important;
}
body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {
  margin:0 auto !important;display:flex !important;
  align-items:center !important;justify-content:center !important;
  width:auto !important;max-width:100% !important;
}
body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action {
  background:rgba(7,39,31,.49);
  box-shadow:0 4px 15px rgba(0,0,0,.14);
}
/* The previous hero wording becomes the introduction to the storefront below. */
body[data-page="shop"] .boutique-selection-section h2 {
  max-width:790px; font:400 clamp(30px,3.2vw,46px)/1.18 Georgia,'Times New Roman',serif;
  text-wrap:balance;
}
body[data-page="shop"] .boutique-selection-intro {
  font-size:clamp(17px,1.5vw,21px);
  line-height:1.55;max-width:710px !important;
  color:#405a4d;
}
@media(max-width:700px){
  body[data-page="services"] .gm-landing-hero .services-banner-intro {
    font-size:clamp(19px,5.1vw,28px) !important;
    line-height:1.38 !important;
    max-width:350px !important;
  }
  body[data-page="services"] .gm-landing-hero .services-hero-copy > .eyebrow {margin-bottom:10px !important;}
  body[data-page="insurance"] .gm-landing-hero .insurance-malecon-content {top:calc(-1 * var(--gm-v278-copy-lift) - 9px) !important;}
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {animation:none !important;}
  body[data-page="shop"] .boutique-storefront-hero a.gm-hero-action {min-height:43px;min-width:180px;font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {animation:none !important;}
}


/* V292 — Services: switch visual hierarchy to match Insurance/Patients.
   Full-size white hero headline, smaller warm-ivory introductory line. */
body[data-page="services"] .gm-landing-hero .services-hero-copy > h1.services-hero-primary-title {
  display:block !important;
  font:400 clamp(38px,4.55vw,64px)/1.14 Georgia,'Times New Roman',serif !important;
  color:#fffdf7 !important;
  letter-spacing:-.02em !important;
  text-transform:none !important;
  max-width:950px !important;
  width:100% !important;
  margin:0 auto 18px !important;
  text-wrap:balance;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro {
  display:block !important;
  width:100% !important;
  max-width:820px !important;
  margin:0 auto !important;
  padding:0 !important;
  font:400 clamp(15px,1.38vw,18px)/1.65 Arial,Helvetica,sans-serif !important;
  letter-spacing:normal !important;
  color:#f3e5ca !important;
  text-align:center !important;
  text-wrap:pretty;
  transform:none !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro .services-intro-line {
  display:block !important;
  width:100%;
  font:inherit;
  color:inherit !important;
  white-space:normal !important;
}
body[data-page="services"] .gm-landing-hero .services-banner-intro .services-intro-line + .services-intro-line::before {
  content:none !important;
}
body[data-page="services"] .gm-landing-hero .services-hero-copy > .gm-hero-actions {
  margin-top:26px !important;
}
@media(max-width:700px) {
  body[data-page="services"] .gm-landing-hero .services-hero-copy > h1.services-hero-primary-title {
    font-size:clamp(30px,7.8vw,42px) !important;
    max-width:460px !important;
    line-height:1.16 !important;
    margin-bottom:16px !important;
  }
  body[data-page="services"] .gm-landing-hero .services-banner-intro {
    font-size:clamp(14px,3.8vw,16px) !important;
    line-height:1.57 !important;
    max-width:380px !important;
  }
}

/* V292 — Boutique: keep photograph 100% intact and shift ONLY the existing
   Explore Selection CTA to the green recessed bottom panel of the doorway. */
body[data-page="shop"] .boutique-storefront-hero-content {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  box-sizing:border-box !important;
  padding:0 20px clamp(54px,10.2vw,172px) !important;
}
body[data-page="shop"] .boutique-storefront-hero .gm-hero-actions {
  flex:0 0 auto;
  width:auto !important;
  max-width:calc(100% - 24px) !important;
  margin:0 auto !important;
}
@media(max-width:700px) {
  body[data-page="shop"] .boutique-storefront-hero-content {
    padding:0 12px 34px !important;
  }
}


/* V294 — Two editorial navigation images immediately below the physicians' feature. */
body[data-page="home"] .home-feature-navigation {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.7vw,23px);
  width:100%;
  margin:0 0 clamp(32px,4.3vw,52px);
}
body[data-page="home"] .home-feature-tile {
  display:block;
  position:relative;
  isolation:isolate;
  width:100%;
  aspect-ratio:1.50/1;
  max-height:375px;
  min-width:0;
  overflow:hidden;
  background:#174536;
  border-radius:5px;
  border:1px solid rgba(21,64,43,.13);
  text-decoration:none;
  box-shadow:0 10px 24px rgba(14,46,32,.09);
  transition:transform .3s ease, box-shadow .3s ease;
}
body[data-page="home"] .home-feature-tile > img {
  width:100%;height:100%;display:block;
  object-fit:cover;
  object-position:center center;
  transition:transform .55s ease;
}
body[data-page="home"] .home-feature-patients > img {object-position:59% center;}
body[data-page="home"] .home-feature-tile-shade {
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 38%,rgba(4,33,23,.20) 65%,rgba(4,33,23,.73) 100%);
  pointer-events:none;
}
body[data-page="home"] .home-feature-tile-label {
  position:absolute;z-index:1;
  left:16px;right:16px;bottom:clamp(18px,2.45vw,34px);
  color:#fffdf6;
  font:400 clamp(26px,3.0vw,41px)/1.18 Georgia,'Times New Roman',serif;
  text-shadow:0 2px 15px rgba(0,0,0,.48);
  display:flex;align-items:center;justify-content:center;gap:17px;
  text-align:center;
}
body[data-page="home"] .home-feature-tile-arrow {
  width:28px;height:28px;flex:0 0 28px;
  display:inline-grid;place-items:center;
  border:1px solid rgba(255,255,255,.85);border-radius:50%;
  font:400 21px/1 Arial,Helvetica,sans-serif;
  transform:translateY(2px);
}
body[data-page="home"] .home-feature-tile:hover,
body[data-page="home"] .home-feature-tile:focus-visible {
  transform:translateY(-3px);
  box-shadow:0 18px 37px rgba(14,46,32,.16);
}
body[data-page="home"] .home-feature-tile:hover > img,
body[data-page="home"] .home-feature-tile:focus-visible > img {transform:scale(1.035);}
body[data-page="home"] .home-feature-tile:focus-visible {outline:3px solid #a4844e;outline-offset:3px;}
body[data-page="home"] .home-services-grid-anchor {scroll-margin-top:130px;}
@media(max-width:700px){
  body[data-page="home"] .home-feature-navigation {grid-template-columns:1fr;gap:16px;margin-bottom:36px;}
  body[data-page="home"] .home-feature-tile {aspect-ratio:1.5/1;max-height:none;}
  body[data-page="home"] .home-feature-tile-label {font-size:clamp(25px,7vw,35px);bottom:22px;}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .home-feature-tile,
  body[data-page="home"] .home-feature-tile > img {transition:none;}
}


/* V295 — centered editorial image-panel labels and arrow medallions. */
body[data-page="home"] .home-feature-navigation {margin-bottom:clamp(18px,2.2vw,24px);}
body[data-page="home"] .home-feature-tile-label {
  display:flex !important;
  flex-direction:column-reverse !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(5px,0.7vw,8px) !important;
  left:12px !important; right:12px !important;
  bottom:clamp(10px,1.2vw,16px) !important;
  width:auto !important;
  text-align:center !important;
  transform:none !important;
}
body[data-page="home"] .home-feature-tile-title {
  display:block;
  width:100%;
  text-align:center;
  line-height:1.15;
}
body[data-page="home"] .home-feature-tile-arrow {
  box-sizing:border-box;
  display:grid !important;
  place-items:center !important;
  width:36px !important;
  height:36px !important;
  flex:0 0 36px !important;
  padding:0 !important;
  border:1px solid rgba(255,255,255,.90) !important;
  border-radius:50% !important;
  line-height:0 !important;
  transform:none !important;
}
body[data-page="home"] .home-feature-tile-arrow svg {
  display:block;
  margin:0;
  width:18px;
  height:18px;
  flex:none;
}
/* A small, restrained forest-green/gold heading separates the two image links
   from the existing primary/preventive and other home service cards. */
body[data-page="home"] .home-feature-divider {
  width:min(100%, 1180px);
  height:1px;
  margin:0 auto clamp(26px,3.4vw,42px);
  background:linear-gradient(90deg, rgba(23,70,55,0) 0%, rgba(23,70,55,.22) 12%, rgba(23,70,55,.48) 50%, rgba(23,70,55,.22) 88%, rgba(23,70,55,0) 100%);
}
body[data-page="home"] .home-services-heading {
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin:clamp(20px,2.8vw,32px) auto 0;
}
body[data-page="home"] .home-services-heading a,
body[data-page="home"] .home-services-heading h2 {
  display:inline-block;
  color:#f4e5c8;
  background:#174637;
  border:1px solid rgba(201,171,105,.75);
  border-radius:4px;
  text-align:center;
  text-decoration:none;
  font:400 clamp(17px,1.55vw,23px)/1.25 Georgia,'Times New Roman',serif;
  letter-spacing:.065em;
  padding:13px clamp(27px,4vw,48px);
  margin:0;
  box-shadow:0 5px 15px rgba(13,52,36,.07);
  transition:transform .25s ease, box-shadow .25s ease;
}
body[data-page="home"] .home-services-heading a:hover,
body[data-page="home"] .home-services-heading a:focus-visible {
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(13,52,36,.12);
}
@media(max-width:700px) {
  body[data-page="home"] .home-feature-navigation {margin-bottom:24px;}
  body[data-page="home"] .home-feature-tile-label {bottom:14px !important;gap:6px !important;}
  body[data-page="home"] .home-feature-tile-arrow {width:32px !important;height:32px !important;flex-basis:32px !important;}
  body[data-page="home"] .home-feature-tile-arrow svg {width:17px;height:17px;}
  body[data-page="home"] .home-feature-divider {margin-bottom:22px;}
  body[data-page="home"] .home-services-heading {margin-top:22px;}
  body[data-page="home"] .home-services-heading h2 {padding:12px 24px;letter-spacing:.035em;}
}


/* V298 — restrained, editorial introduction above homepage service cards.
   Echoes the pale sage About Us feature and its gold serif heading. */
body[data-page="home"] .home-services-intro-strip {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  width:min(100%, 610px);
  min-height:66px;
  margin:0 auto clamp(24px,3vw,36px);
  padding:13px clamp(20px,3vw,38px);
  background:#edf1e9;
  border:1px solid rgba(72,111,85,.17);
  border-radius:3px;
  box-shadow:0 8px 22px rgba(19,47,36,.045);
}
body[data-page="home"] .home-services-intro-strip h2 {
  margin:0;
  font:400 clamp(23px,2.3vw,31px)/1.25 Georgia,'Times New Roman',serif;
  color:#b29a69;
  letter-spacing:.012em;
  text-align:center;
  text-wrap:balance;
}
/* A simple, non-boxed call-to-action beneath the services grid.
   Reuse the underline and arrow motif of the homepage About Us link. */
body[data-page="home"] .home-services-footer {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:clamp(26px,3.2vw,40px) auto 0;
  text-align:center;
}
body[data-page="home"] .home-services-footer .home-services-footer-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:auto;
  min-height:29px;
  padding:0 0 7px;
  margin:0;
  background:transparent;
  color:var(--green);
  border:0;
  border-bottom:1px solid #b7a17d;
  border-radius:0;
  box-shadow:none;
  font:700 clamp(13px,1.2vw,15px)/1.5 Arial,Helvetica,sans-serif;
  letter-spacing:.025em;
  text-decoration:none;
  transition:color .2s ease,border-color .2s ease;
}
body[data-page="home"] .home-services-footer .home-services-footer-link:hover,
body[data-page="home"] .home-services-footer .home-services-footer-link:focus-visible {
  color:#946d40;
  border-bottom-color:#946d40;
}
body[data-page="home"] .home-services-footer .home-services-footer-link span {
  display:inline-block;
  font-size:18px;
  line-height:1;
}
@media(max-width:700px) {
  body[data-page="home"] .home-services-intro-strip {
    width:min(100%, 480px);
    min-height:56px;
    padding:12px 15px;
    margin-bottom:22px;
  }
  body[data-page="home"] .home-services-intro-strip h2 {font-size:clamp(21px,5.6vw,27px);}
  body[data-page="home"] .home-services-footer {margin-top:25px;}
}


/* V300 — lightweight, scan-friendly form instructions outside solid-green banners. */
body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-hero {
  min-height:245px !important;
}
body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-hero-inner {
  padding:28px 16px 33px !important;
}
body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-breadcrumb {
  margin-bottom:23px;
}
body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-subtitle {
  margin-bottom:0;
}
.patient-form-flow-page {
  padding-top:clamp(24px,3.5vw,40px);
}
.patient-form-flow-page .forms-flow-guide {
  display:block;
  text-align:center;
  max-width:1080px;
  margin:0 auto;
  padding:clamp(23px,3vw,32px) clamp(18px,3vw,38px);
  background:#f3f5ef;
  border:1px solid #dce5d9;
  border-radius:10px;
  box-shadow:none;
}
.patient-form-flow-page .forms-flow-guide h2 {
  margin:0 auto 25px;
  font:400 clamp(22px,2.35vw,29px)/1.26 Georgia,'Times New Roman',serif;
  color:#214a37;
  text-align:center;
  text-wrap:balance;
}
.patient-form-flow-page .forms-flow-guide-steps {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  counter-reset:form-guide-step;
  margin:0;
  padding:0;
}
.patient-form-flow-page .forms-flow-guide-steps li {
  counter-increment:form-guide-step;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:7px;
  min-width:0;
  padding:0 clamp(14px,2.2vw,30px);
}
.patient-form-flow-page .forms-flow-guide-steps li+li {
  border-left:1px solid #d4dfd5;
}
.patient-form-flow-page .forms-flow-guide-steps li::before {
  content:counter(form-guide-step);
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:50%;
  background:#25543f;
  color:#fffdf4;
  font:600 13px/1 Arial,Helvetica,sans-serif;
  margin:0 auto 2px;
}
.patient-form-flow-page .forms-flow-guide-steps strong {
  display:block;
  margin:0;
  color:#244b39;
  font-size:15px;
  line-height:1.35;
}
.patient-form-flow-page .forms-flow-guide-steps span {
  display:block;
  max-width:245px;
  color:#526558;
  font-size:13px;
  line-height:1.55;
}
.patient-form-flow-page .onboarding-panel { margin-top:25px; }
.patient-form-flow-page .forms-flow-section-heading {margin-bottom:25px;}
.patient-form-flow-page .forms-flow-section-heading h2 { margin-bottom:0; }
.patient-form-flow-page .forms-flow-subheading { margin-top:35px; margin-bottom:20px; }
.patient-form-flow-page .forms-flow-subheading h3 {margin-bottom:0;}
@media(max-width:700px){
 body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-hero {min-height:225px !important;}
 body:is([data-page="new-patient-forms"],[data-page="existing-patient-forms"]) .forms-flow-hero-inner {padding:22px 16px 30px !important;}
 .patient-form-flow-page .forms-flow-guide {padding:22px 18px;}
 .patient-form-flow-page .forms-flow-guide h2 {margin-bottom:20px;}
 .patient-form-flow-page .forms-flow-guide-steps {grid-template-columns:1fr;gap:15px;}
 .patient-form-flow-page .forms-flow-guide-steps li {padding:0 8px;}
 .patient-form-flow-page .forms-flow-guide-steps li+li {border-left:0;border-top:1px solid #d4dfd5;padding-top:15px;}
 .patient-form-flow-page .forms-flow-guide-steps span {max-width:360px;}
}


/* V301 — a small panoramic ibis chapter link between the unchanged research
   mission story and the existing investigator roster. */
body[data-page="research"] .research-team-ibis-banner {
  display:block;position:relative;isolation:isolate;overflow:hidden;
  width:100%;height:clamp(250px,33vw,440px);margin:0 auto 34px;
  border-radius:9px;border:1px solid rgba(21,60,48,.14);
  background:#154c43;text-decoration:none;color:#fffdf7;
  box-shadow:0 10px 23px rgba(17,53,37,.12);
  transition:transform .25s ease,box-shadow .25s ease;
}
body[data-page="research"] .research-team-ibis-banner > img {
  display:block;width:100%;height:100%;object-fit:cover;
  object-position:center center;transition:transform .5s ease;
}
body[data-page="research"] .research-team-ibis-shade {
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 25%,rgba(5,40,32,.05) 46%,rgba(5,40,32,.62) 100%);
}
body[data-page="research"] .research-team-ibis-label {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:7px;position:absolute;z-index:1;left:18px;right:18px;bottom:19px;
  text-align:center;color:#fffdf8;
  font:400 clamp(25px,2.6vw,38px)/1.15 Georgia,'Times New Roman',serif;
  text-shadow:0 3px 12px rgba(0,0,0,.55);
}
body[data-page="research"] .research-team-ibis-arrow {
  display:grid;place-items:center;box-sizing:border-box;width:37px;height:37px;
  border:1px solid rgba(255,255,255,.93);border-radius:50%;
  background:rgba(6,47,37,.18);line-height:0;
}
body[data-page="research"] .research-team-ibis-arrow svg {display:block;width:18px;height:18px;}
body[data-page="research"] .research-team-ibis-banner:hover,
body[data-page="research"] .research-team-ibis-banner:focus-visible {
  transform:translateY(-2px);box-shadow:0 16px 32px rgba(17,53,37,.17);
}
body[data-page="research"] .research-team-ibis-banner:hover > img {transform:scale(1.02);}
body[data-page="research"] .research-team-ibis-banner:focus-visible {outline:3px solid #b5a274;outline-offset:3px;}
body[data-page="research"] #research-team {scroll-margin-top:130px;}
@media(max-width:650px) {
  body[data-page="research"] .research-team-ibis-banner {height:clamp(210px,55vw,270px);margin-bottom:30px;}
  body[data-page="research"] .research-team-ibis-label {font-size:clamp(21px,5.4vw,29px);bottom:15px;gap:6px;}
  body[data-page="research"] .research-team-ibis-arrow {width:33px;height:33px;}
  body[data-page="research"] .research-team-ibis-arrow svg {width:16px;height:16px;}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="research"] .research-team-ibis-banner,
  body[data-page="research"] .research-team-ibis-banner > img{transition:none;}
}

/* The ibis chapter should follow the dominoes feature as one cohesive story. */
body[data-page="research"] .research-mission-feature {margin-bottom:22px;}

/* V302 — keep the Research Learn More story AND ibis team link in one desktop view.
   The V301 mission story remains intact; only the vertical real estate changes.
   Responsive heights respect shorter laptop screens without shrinking the copy
   below a comfortably readable size. */
@media (min-width:701px) {
  body[data-page="research"] .research-mission-feature {
    min-height:0;
    margin-bottom:10px;
  }
  body[data-page="research"] .research-mission-feature .research-intro {
    padding:clamp(12px,1.45vw,22px) clamp(16px,2.2vw,30px) 12px;
  }
  body[data-page="research"] .research-mission-feature .research-intro h2 {
    font-size:clamp(24px,2.15vw,33px);
    line-height:1.13;
    margin:7px auto 9px;
  }
  body[data-page="research"] .research-mission-feature .research-intro p {
    font-size:clamp(13px,1vw,15px);
    line-height:1.51;
  }
  body[data-page="research"] .research-mission-photo {
    width:min(70%, clamp(420px,76svh,720px));
    max-width:720px;
    height:auto;
    margin:0 auto 10px;
  }
  body[data-page="research"] .research-team-ibis-banner {
    height:clamp(190px, calc(100svh - 560px), 275px);
    margin-bottom:30px;
  }
  body[data-page="research"] .research-team-ibis-label {
    font-size:clamp(21px,2.2vw,31px);
    gap:5px;
    bottom:10px;
  }
  body[data-page="research"] .research-team-ibis-arrow {
    width:31px;height:31px;
  }
  body[data-page="research"] .research-team-ibis-arrow svg {
    width:16px;height:16px;
  }
  body[data-page="research"] .research-team-ibis-banner > img {
    object-position:center center;
  }
}
/* On phones the story stays naturally readable and images stack; avoid
   aggressively compressing text to force a one-viewport layout. */
@media(max-width:700px){
  body[data-page="research"] .research-team-ibis-banner {height:190px;}
}


/* V303 — frame the research mission + ibis as one desktop chapter.
   Keep investigator cards below the landing viewport. Restore a bolder,
   larger mission photograph while scaling the ibis strip into the available
   space, without hiding any mission content. The Learn More scroll anchor
   now belongs to the chapter wrapper. */
@media (min-width: 900px) {
  body[data-page="research"] .research-story-viewport {
    display:flex;
    flex-direction:column;
    gap:10px;
    min-height:calc(100svh - 138px);
    scroll-margin-top:126px;
  }
  body[data-page="research"] .research-story-viewport > .research-mission-feature {
    flex:0 0 auto;
    margin:0 !important;
  }
  body[data-page="research"] .research-story-viewport .research-mission-photo {
    width:min(86%, calc(165svh - 531px)) !important;
    max-width:1050px;
    height:auto !important;
    margin:0 auto 10px !important;
    object-fit:contain;
  }
  body[data-page="research"] .research-story-viewport > .research-team-ibis-banner {
    flex:1 1 130px;
    min-height:130px;
    height:auto !important;
    margin:0 !important;
  }
  body[data-page="research"] .research-story-viewport + .research-leaders {
    margin-top:38px;
  }
}
/* Small viewports retain natural vertical flow and readable, unsqueezed text. */
@media (max-width:899px) {
  body[data-page="research"] .research-story-viewport {display:block;}
}

/* V311 — banner-specific composition: original bird image on compact/mobile screens. */
body[data-page="research"] .research-team-ibis-banner > .research-ibis-picture{display:block;position:absolute;inset:0;width:100%;height:100%;}
body[data-page="research"] .research-team-ibis-banner > .research-ibis-picture > img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform .5s ease;}
body[data-page="research"] .research-team-ibis-banner:hover > .research-ibis-picture > img{transform:scale(1.02)}
@media(prefers-reduced-motion:reduce){body[data-page="research"] .research-team-ibis-banner > .research-ibis-picture > img{transition:none}}


/* V313 — second visual chapter: research team -> research facility.
   Keep the leadership cards and pelican link together below the Research Team
   anchor, matching the previous ibis story. The photograph remains untouched. */
body[data-page="research"] .research-team-chapter {
  scroll-margin-top:126px;
  margin-top:38px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
body[data-page="research"] .research-team-chapter > .research-leaders {
  margin:0;
  width:100%;
}
body[data-page="research"] .research-team-chapter > .research-facility-pelican-banner {
  flex:none;
  height:clamp(145px,19svh,205px);
  margin:0;
}
body[data-page="research"] .research-facility-pelican-banner > img {
  object-fit:cover;
  object-position:center 9%;
}
body[data-page="research"] .research-facility-pelican-banner > .research-team-ibis-shade {
  background:linear-gradient(180deg,rgba(9,43,36,.09) 0%,rgba(9,43,36,.12) 30%,rgba(8,43,36,.53) 100%);
}
body[data-page="research"] .research-facility-pelican-banner > .research-team-ibis-label {
  bottom:clamp(10px,1.7vw,18px);
}
body[data-page="research"] #research-facility {scroll-margin-top:130px;}
@media(min-width:901px) and (max-height:820px){
  body[data-page="research"] .research-team-chapter > .research-facility-pelican-banner {height:clamp(125px,17svh,150px);}
  body[data-page="research"] .research-team-chapter .research-team-card,
  body[data-page="research"] .research-team-chapter .research-support-card {padding:clamp(14px,1.6vw,22px);}
  body[data-page="research"] .research-team-chapter .research-team-roles {margin-top:15px;gap:12px;}
  body[data-page="research"] .research-team-chapter .research-role {padding:13px;}
}
@media(max-width:900px){
  body[data-page="research"] .research-team-chapter {margin-top:30px;gap:15px;}
  body[data-page="research"] .research-team-chapter > .research-facility-pelican-banner {height:clamp(185px,33vw,245px);}
}
@media(max-width:650px){
  body[data-page="research"] .research-team-chapter > .research-facility-pelican-banner {height:200px;}
  body[data-page="research"] .research-facility-pelican-banner > img {object-position:25% 12%;}
}

/* Fill the remaining visible desktop chapter with the pelican strip instead
   of showing the next facility section underneath on taller monitors. */
@media(min-width:901px){
  body[data-page="research"] .research-team-chapter {min-height:calc(100svh - 130px);}
  body[data-page="research"] .research-team-chapter > .research-facility-pelican-banner {
    flex:1 1 125px;height:auto;min-height:125px;
  }
}


/* V314 — About Us editorial chapter: medical team's message then image link.
   Use the uploaded egret photo without stretching or modifying the asset. */
body[data-page="about"] .about-physicians-chapter { 
  display:flex; flex-direction:column; gap:12px;
  scroll-margin-top:130px;
  margin:0 0 36px;
}
body[data-page="about"] .about-physicians-chapter > .about-message-layout {
  flex:0 0 auto;
  margin:0 !important;
}
body[data-page="about"] .about-physicians-egret-banner {
  position:relative; isolation:isolate; overflow:hidden;
  display:block; width:100%; flex:0 0 auto; height:clamp(175px,20vw,270px);
  margin:0; border-radius:9px;
  border:1px solid rgba(21,60,48,.14); background:#0a5c5d;
  color:#fffdf7; text-decoration:none;
  box-shadow:0 10px 23px rgba(17,53,37,.12);
  transition:box-shadow .25s ease, transform .25s ease;
}
body[data-page="about"] .about-physicians-egret-banner > img {
  display:block; width:100%; height:100%; object-fit:cover;
  object-position:50% 8%; transition:transform .45s ease;
}
body[data-page="about"] .about-physicians-egret-shade {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(5,40,32,.03) 0%,rgba(5,40,32,.05) 32%,rgba(5,40,32,.58) 100%);
}
body[data-page="about"] .about-physicians-egret-label {
  position:absolute; z-index:1; bottom:12px; left:18px; right:18px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:5px; text-align:center; color:#fffdf8;
  font:400 clamp(22px,2.4vw,34px)/1.16 Georgia,'Times New Roman',serif;
  text-shadow:0 3px 12px rgba(0,0,0,.55);
}
body[data-page="about"] .about-physicians-egret-arrow {
  box-sizing:border-box; display:grid; place-items:center; width:33px; height:33px;
  border:1px solid rgba(255,255,255,.94); border-radius:50%;
  background:rgba(6,47,37,.18); line-height:0;
}
body[data-page="about"] .about-physicians-egret-arrow svg {display:block;width:17px;height:17px;}
body[data-page="about"] .about-physicians-egret-banner:hover,
body[data-page="about"] .about-physicians-egret-banner:focus-visible {
  transform:translateY(-2px);box-shadow:0 16px 32px rgba(17,53,37,.17);
}
body[data-page="about"] .about-physicians-egret-banner:hover > img {transform:scale(1.015);}
body[data-page="about"] .about-physicians-egret-banner:focus-visible {outline:3px solid #b5a274;outline-offset:3px;}
body[data-page="about"] .about-physicians-profiles {scroll-margin-top:130px;}
@media (min-width:901px) {
  body[data-page="about"] .about-physicians-chapter {
    min-height:calc(100svh - 130px);
  }
  body[data-page="about"] .about-physicians-chapter > .about-physicians-egret-banner {
    flex:1 1 160px; min-height:150px; height:auto;
  }
}
@media(max-width:900px) {
  body[data-page="about"] .about-physicians-chapter {gap:16px;}
  body[data-page="about"] .about-physicians-egret-banner {height:clamp(210px,31vw,290px);}
  body[data-page="about"] .about-physicians-egret-banner > img {object-position:45% 7%;}
}
@media(max-width:650px) {
  body[data-page="about"] .about-physicians-egret-banner {height:220px;}
  body[data-page="about"] .about-physicians-egret-label {bottom:15px;gap:6px;font-size:clamp(23px,5.4vw,29px);}
  body[data-page="about"] .about-physicians-egret-arrow {width:33px;height:33px;}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="about"] .about-physicians-egret-banner,
  body[data-page="about"] .about-physicians-egret-banner > img {transition:none;}
}


/* V315 — refine banner framing and flush research story image. */
body[data-page="research"] .research-story-viewport .research-mission-photo{width:100% !important;max-width:none !important;display:block;margin:0 !important;object-fit:cover;object-position:center center;}
body[data-page="research"] .research-mission-feature{overflow:hidden;}
body[data-page="research"] .research-team-ibis-banner > .research-ibis-picture > img{object-position:center 52%;}
body[data-page="research"] .research-facility-pelican-banner > img{object-position:center 46%;}
body[data-page="about"] .about-physicians-egret-banner > img{object-position:center 50%;}

/* V317: The pelican and egret images must cover the entire variable-height
   navigation banners.  These banners are flex children with auto heights on
   desktop; leaving the image in the normal flow caused the forest-green
   background to show beneath the panoramic photo.  Absolutely position the
   photographs within the already-defined banner frames, without modifying
   banner dimensions, image files, or any other site section. */
body[data-page="research"] .research-facility-pelican-banner > img,
body[data-page="about"] .about-physicians-egret-banner > img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}


/* V318 — Contact hero: raise the entire centered heading, copy and CTA just
   enough to separate the Contact Us button from the woman's hairline. */
body[data-page="contact"] .gm-landing-hero {
  --gm-v278-copy-lift: calc(clamp(178px, 23.4svh, 235px) + 40px);
}
@media (max-width:800px) {
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 15svh, 138px) + 23px);
  }
}
@media (max-width:540px) {
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: calc(clamp(100px, 14.8svh, 125px) + 18px);
  }
}
@media (max-height:650px) and (min-width:541px) {
  body[data-page="contact"] .gm-landing-hero {
    --gm-v278-copy-lift: 117px;
  }
}

/* V322: accessible headings, selective homepage tagline, appointment fields, search, research paths */
.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;}
body[data-page="home"] .home-welcome-careline{font:400 clamp(13px,1.38vw,18px)/1.45 Georgia,'Times New Roman',serif;color:#fffdf7;margin:0 auto 9px;letter-spacing:.035em;text-align:center;max-width:670px;}
.booking-fields select{display:block;width:100%;margin-top:5px;padding:10px 11px;background:#fff;border:1px solid #cbd0c9;border-radius:3px;font-size:14px;color:#2b4439;min-height:41px;}
.booking-fields select:focus-visible{outline:2px solid var(--green);outline-offset:1px;}
.nav-search{position:relative;flex:none;}
.nav-search summary{cursor:pointer;list-style:none;display:flex;gap:4px;align-items:center;font-size:12px;font-weight:600;color:var(--green);}
.nav-search summary::-webkit-details-marker{display:none;}
.nav-search summary span:first-child{font-size:20px;line-height:1;}
.nav-search-panel{position:absolute;right:-120px;top:calc(100% + 20px);width:min(360px,90vw);padding:17px;background:#fffdf8;border:1px solid #dcd9d0;box-shadow:0 15px 32px rgba(0,0,0,.15);z-index:110;border-radius:7px;}
.nav-search-panel label{display:block;font-size:12px;margin-bottom:7px;font-weight:600;color:var(--green);}
.nav-search-panel input{width:100%;border:1px solid #b9c4b9;border-radius:4px;font-size:14px;padding:12px;background:#fff;color:#183e30;}
.nav-search-results{display:flex;flex-direction:column;gap:1px;max-height:330px;overflow:auto;font-size:13px;}
.nav-search-results a{display:block;padding:10px 7px;border-bottom:1px solid #edece6;text-decoration:none;color:#143c2d;}
.nav-search-results a:hover,.nav-search-results a:focus-visible{background:#edf3ed;}
.research-audience-pathways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:32px 0 30px;}
.research-audience-pathways article{padding:27px;border:1px solid #d8e3da;background:#f5f6f0;border-radius:10px;}
.research-audience-pathways h3{font-size:clamp(22px,2vw,29px);margin:0 0 13px;color:#153d33;}
.research-audience-pathways p{font-size:14px;line-height:1.55;color:#405e4e;}
.research-audience-pathways a{font-size:13px;color:#153d33;text-underline-offset:5px;}
@media(max-width:950px){.nav-search-panel{right:0;}.nav-search{align-self:stretch;}.nav-search-panel{position:static;width:100%;box-shadow:none;margin-top:10px;}}
@media(max-width:650px){.research-audience-pathways{grid-template-columns:1fr;gap:12px;}.home-welcome-careline{font-size:13px!important;}}


/* V323 — small gold underline for the approved Miami primary-care hero line. */
body[data-page="home"] .home-welcome-careline {
  position:relative;
  width:fit-content;
  max-width:calc(100% - 24px);
  padding-bottom:10px;
}
body[data-page="home"] .home-welcome-careline::after {
  content:"";
  position:absolute;
  bottom:3px;
  left:50%;
  transform:translateX(-50%);
  width:85%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(226,201,151,.88) 18%,rgba(226,201,151,.98) 50%,rgba(226,201,151,.88) 82%,transparent);
}

/* V323 — search in the top motto strip, just right of the centered title.
   The top strip must stack above the sticky cream navigation while search is open. */
.top {position:relative;z-index:30;isolation:isolate;overflow:visible;}
.top .top-masthead {display:inline-block;position:relative;vertical-align:middle;max-width:calc(100% - 74px);}
.top .top-title {display:inline-block;white-space:nowrap;}
.top .top-search {position:absolute;left:calc(100% + 11px);top:50%;transform:translateY(-50%);margin:0;align-self:auto;z-index:40;}
.top .top-search > summary {
  display:flex;align-items:center;justify-content:center;
  width:31px;height:26px;gap:0;
  padding:2px;border-radius:4px;
  color:#f0dfbf;border:1px solid rgba(240,223,191,.45);
  font-size:12px;line-height:1;letter-spacing:0;
  transition:background-color .18s ease,border-color .18s ease;
}
.top .top-search > summary:hover,.top .top-search[open] > summary {
  background:rgba(255,255,255,.14);border-color:#f0dfbf;
}
.top .top-search > summary:focus-visible {outline:2px solid #f0dfbf;outline-offset:3px;}
.top .top-search svg {display:block;width:16px;height:16px;stroke:currentColor;}
.top .top-search .nav-search-panel {
  position:absolute;top:calc(100% + 10px);right:-12px;left:auto;
  width:min(350px,calc(100vw - 24px));max-width:calc(100vw - 24px);
  padding:17px;box-shadow:0 15px 32px rgba(0,0,0,.19);
  text-align:left;letter-spacing:normal;line-height:1.45;
}
@media(max-width:950px) {
  .top .top-search{align-self:auto;}
  .top .top-search .nav-search-panel{position:absolute;right:-12px;left:auto;top:calc(100% + 10px);width:min(350px,calc(100vw - 24px));box-shadow:0 15px 32px rgba(0,0,0,.19);margin:0;}
}
@media(max-width:620px) {
  .top .top-masthead {max-width:calc(100% - 62px);}
  .top .top-search{left:calc(100% + 7px);}
  .top .top-search > summary{width:27px;height:22px;}
  .top .top-search svg{width:15px;height:15px;}
}

/* V323 — center the two research inquiry paths and their action links. */
.research-audience-pathways article {display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;}
.research-audience-pathways article h3 {text-align:center;}
.research-audience-pathways article p {max-width:480px;margin:0 auto 20px;text-align:center;flex:1 1 auto;}
.research-audience-pathways article a {display:inline-block;text-align:center;align-self:center;}

/* V323 — match the select controls' baselines to the neighboring inputs in
   the two-column appointment form (both inline Contact page and modal). */
.appointment-request-form .booking-fields label {display:flex;flex-direction:column;min-width:0;align-items:stretch;}
.appointment-request-form .booking-fields label > input:not([type="checkbox"]),
.appointment-request-form .booking-fields label > select {
  box-sizing:border-box;
  height:44px;
  min-height:44px;
  margin-top:auto;
  padding-top:8px;
  padding-bottom:8px;
}
@media(max-width:520px) {
  .appointment-request-form .booking-fields label > input:not([type="checkbox"]),
  .appointment-request-form .booking-fields label > select {margin-top:6px;}
}

/* V323: keep the top-strip search dropdown fully inside narrow screens. */
@media(max-width:620px){
  .top .top-search{top:0;transform:none;}
  .top .top-search .nav-search-panel{
    position:fixed;top:34px;left:12px;right:12px;
    width:auto;max-width:none;margin:0;
    box-shadow:0 15px 32px rgba(0,0,0,.19);
  }
}


/* V324 — wider Search control in the top motto strip, positioned over Follow Us. */
.top .top-search > summary {
  box-sizing:border-box;
  width:110px;
  min-width:110px;
  height:27px;
  padding:3px 12px;
  gap:9px;
  justify-content:center;
  white-space:nowrap;
  font:600 11px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.025em;
}
.top .top-search {left:calc(100% + 20px);}
.top .top-search svg {width:16px;height:16px;flex:none;}
.top .top-search .top-search-label {display:inline-block;white-space:nowrap;}
@media(max-width:1099px) {
  .top .top-masthead {
    display:flex;
    width:100%;
    max-width:100%;
    align-items:center;
    justify-content:center;
    gap:clamp(12px,2vw,20px);
  }
  .top .top-search {
    position:relative;
    top:auto;
    left:auto;
    transform:none;
    flex:0 0 auto;
  }
}
@media(max-width:620px) {
  .top .top-masthead {gap:12px;}
  .top .top-search {top:auto;left:auto;transform:none;}
  .top .top-search > summary {width:92px;min-width:92px;height:25px;padding:3px 8px;gap:6px;font-size:10px;}
  .top .top-search svg {width:14px;height:14px;}
  .top .top-search .nav-search-panel {top:39px;}
}


/* V325 — visually center the motto + search as one balanced desktop group.
   Search now sits to the left of its V324 position, roughly above Boutique / Contact.
   Use the identical inherited ivory for the motto, button text, icon and border. */
.top .top-search > summary {
  color:inherit;
  border-color:currentColor;
}
.top .top-search > summary:hover,
.top .top-search[open] > summary {
  border-color:currentColor;
}
.top .top-search > summary:focus-visible {
  outline-color:currentColor;
}
@media(min-width:1100px){
  .top .top-masthead {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    width:auto;
    max-width:calc(100% - 28px);
  }
  .top .top-search {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
  }
}

/* V326 — independently center the motto on the full viewport;
   position search above the Boutique / Contact navigation region.
   Do not center the combined motto+search group. */
@media (min-width:1100px) {
  .top .top-masthead {
    display:block;
    position:relative;
    width:100%;
    max-width:none;
    height:27px;
    margin:0;
  }
  .top .top-title {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    white-space:nowrap;
  }
  .top .top-search {
    position:absolute;
    left:calc(50% + clamp(110px, 9vw, 144px));
    top:50%;
    transform:translateY(-50%);
    margin:0;
  }
}


/* V327 — One shared editorial treatment for the five photographic chapter links.
   Only label typography and circle/arrow styling are standardized; the photo
   frames, crops, link destinations, and chapter scrolling remain unchanged. */
:root {
  --gm-image-nav-type-size: clamp(23px, 2.15vw, 31px);
  --gm-image-nav-circle-size: 35px;
  --gm-image-nav-svg-size: 17px;
  --gm-image-nav-gap: 7px;
}
body[data-page="home"] .home-feature-tile-label,
body[data-page="research"] .research-team-ibis-label,
body[data-page="about"] .about-physicians-egret-label {
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:var(--gm-image-nav-type-size) !important;
  font-weight:400 !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
  gap:var(--gm-image-nav-gap) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  left:12px !important;
  right:12px !important;
  bottom:14px !important;
  text-align:center !important;
  color:#fffdf8 !important;
  text-shadow:0 3px 12px rgba(0,0,0,.55) !important;
}
/* Home DOM places title first; research/about place the medallion first. */
body[data-page="home"] .home-feature-tile-label {flex-direction:column-reverse !important;}
body[data-page="research"] .research-team-ibis-label,
body[data-page="about"] .about-physicians-egret-label {flex-direction:column !important;}
body[data-page="home"] .home-feature-tile-title,
body[data-page="research"] .research-team-ibis-title,
body[data-page="about"] .about-physicians-egret-title {
  font:inherit !important;
  line-height:1.15 !important;
  text-align:center !important;
}
body[data-page="home"] .home-feature-tile-arrow,
body[data-page="research"] .research-team-ibis-arrow,
body[data-page="about"] .about-physicians-egret-arrow {
  display:grid !important;
  place-items:center !important;
  box-sizing:border-box !important;
  width:var(--gm-image-nav-circle-size) !important;
  height:var(--gm-image-nav-circle-size) !important;
  min-width:var(--gm-image-nav-circle-size) !important;
  flex:0 0 var(--gm-image-nav-circle-size) !important;
  padding:0 !important;
  border:1px solid rgba(255,255,255,.92) !important;
  border-radius:50% !important;
  background:rgba(6,47,37,.18) !important;
  line-height:0 !important;
  transform:none !important;
}
body[data-page="home"] .home-feature-tile-arrow svg,
body[data-page="research"] .research-team-ibis-arrow svg,
body[data-page="about"] .about-physicians-egret-arrow svg {
  display:block !important;
  width:var(--gm-image-nav-svg-size) !important;
  height:var(--gm-image-nav-svg-size) !important;
  flex:none !important;
  margin:0 !important;
}
@media (max-width:650px) {
  :root {
    --gm-image-nav-type-size:clamp(21px,5.1vw,26px);
    --gm-image-nav-circle-size:33px;
    --gm-image-nav-svg-size:16px;
    --gm-image-nav-gap:6px;
  }
}

/* V328 — smaller text and medallion only on the ibis "Our Research Team"
   strip, so the ibis remains the photographic focal point. Other four
   image-navigation panels keep the V327 shared typography. */
body[data-page="research"] .research-team-ibis-banner:not(.research-facility-pelican-banner) .research-team-ibis-label {
  font-size:clamp(20px,1.65vw,24px) !important;
  gap:5px !important;
  bottom:11px !important;
}
body[data-page="research"] .research-team-ibis-banner:not(.research-facility-pelican-banner) .research-team-ibis-arrow {
  width:29px !important;
  height:29px !important;
  min-width:29px !important;
  flex-basis:29px !important;
}
body[data-page="research"] .research-team-ibis-banner:not(.research-facility-pelican-banner) .research-team-ibis-arrow svg {
  width:15px !important;
  height:15px !important;
}
@media(max-width:650px) {
  body[data-page="research"] .research-team-ibis-banner:not(.research-facility-pelican-banner) .research-team-ibis-label {
    font-size:clamp(19px,4.8vw,22px) !important;
    gap:4px !important;
    bottom:12px !important;
  }
  body[data-page="research"] .research-team-ibis-banner:not(.research-facility-pelican-banner) .research-team-ibis-arrow {
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    flex-basis:28px !important;
  }
}

/* V330: public bilingual patient guide (no changes to existing banners). */
.gm-guide-layout{max-width:960px}
.gm-guide-qa-list{display:grid;gap:14px}
.gm-guide-qa{background:#f8f9f4;border:1px solid #e0e7dc;border-radius:12px;padding:clamp(18px,2.4vw,26px)}
.gm-guide-qa h2{margin:0 0 9px;color:#153c30;font:400 clamp(19px,2vw,24px)/1.25 Georgia,'Times New Roman',serif}
.gm-guide-qa p{margin:0;color:#405c4d;line-height:1.7}
.gm-guide-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:32px 0}
.gm-guide-note{text-align:center;color:#62756b;font-size:13px}
@media(max-width:600px){.gm-guide-actions{display:grid}.gm-guide-actions a{text-align:center}}


/* V331: approved six-photo research facility carousel and separate flamingo chapter. */
body[data-page="research"] .research-facility{margin-bottom:20px;}
body[data-page="research"] .research-photo-gallery{width:100%;max-width:1140px;margin:28px auto 6px;}
body[data-page="research"] .research-gallery-stage{position:relative;overflow:hidden;border-radius:16px;background:#e8eeeb;height:clamp(420px,43vw,570px);outline-offset:4px;}
body[data-page="research"] .research-gallery-stage:focus-visible{outline:3px solid #326448;}
body[data-page="research"] .research-gallery-track{width:100%;height:100%;display:flex;transition:transform .5s cubic-bezier(.25,.72,.18,1);will-change:transform;}
body[data-page="research"] .research-gallery-slide{margin:0;position:relative;isolation:isolate;width:100%;height:100%;flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#dce5df;}
body[data-page="research"] .research-gallery-backdrop{position:absolute;inset:-25px;z-index:-2;background-size:cover;background-position:center;filter:blur(18px) brightness(.7);transform:scale(1.08);}
body[data-page="research"] .research-gallery-slide:after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(14,46,36,.08);}
body[data-page="research"] .research-gallery-slide>img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;}
body[data-page="research"] .research-gallery-slide>figcaption{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:2;max-width:90%;background:rgba(14,48,36,.83);color:#fffdf8;padding:9px 17px;border-radius:999px;font-size:13px;letter-spacing:.025em;text-align:center;white-space:nowrap;}
body[data-page="research"] .research-gallery-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(240,247,238,.8);color:#184a36;background:rgba(255,255,255,.93);display:grid;place-items:center;box-shadow:0 3px 15px rgba(0,0,0,.13);cursor:pointer;transition:background .15s ease;}
body[data-page="research"] .research-gallery-arrow:hover,body[data-page="research"] .research-gallery-arrow:focus-visible{background:#e2ede4;outline:2px solid #1b5a3f;outline-offset:2px;}
body[data-page="research"] .research-gallery-arrow svg{height:22px;width:22px;display:block;}
body[data-page="research"] .research-gallery-prev{left:16px;}
body[data-page="research"] .research-gallery-next{right:16px;}
body[data-page="research"] .research-gallery-footer{display:flex;justify-content:center;align-items:center;position:relative;min-height:38px;margin:9px auto 12px;}
body[data-page="research"] .research-gallery-dots{display:flex;align-items:center;gap:9px;}
body[data-page="research"] .research-gallery-dot{width:11px;height:11px;border-radius:50%;padding:0;border:0;cursor:pointer;background:#bfc8c0;}
body[data-page="research"] .research-gallery-dot[aria-current="true"]{background:#155337;}
body[data-page="research"] .research-gallery-dot:focus-visible{outline:2px solid #15482f;outline-offset:3px;}
body[data-page="research"] .research-gallery-progress{position:absolute;right:4px;font-size:12px;color:#596a60;font-variant-numeric:tabular-nums;}
body[data-page="research"] .research-gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;overflow-x:auto;scrollbar-width:thin;padding:4px 1px 9px;scroll-snap-type:x proximity;}
body[data-page="research"] .research-gallery-thumb{min-width:0;padding:4px 4px 11px;display:flex;flex-direction:column;gap:8px;background:transparent;border:1px solid transparent;border-radius:12px;color:#234735;cursor:pointer;text-align:center;scroll-snap-align:center;font:inherit;}
body[data-page="research"] .research-gallery-thumb[aria-current="true"]{background:#f2f6ef;border-color:#327054;box-shadow:inset 0 0 0 1px #327054;}
body[data-page="research"] .research-gallery-thumb:focus-visible{outline:2px solid #327054;outline-offset:2px;}
body[data-page="research"] .research-gallery-thumb img{width:100%;aspect-ratio:1.48;object-fit:cover;border-radius:8px;display:block;}
body[data-page="research"] .research-gallery-thumb-label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:clamp(10px,1vw,12px);line-height:1.3;min-height:30px;}
body[data-page="research"] .research-gallery-thumb-no{display:inline-grid;place-items:center;flex:0 0 19px;height:19px;font-size:11px;border-radius:50%;background:#dce6d8;color:#24492e;}
body[data-page="research"] .research-site-capabilities{scroll-margin-top:130px;background:#fff;border:1px solid #e4e9e1;border-radius:18px;padding:clamp(22px,3.5vw,42px);margin:22px 0 30px;}
body[data-page="research"] .research-capabilities-heading{text-align:center;margin:0 auto 23px;}
body[data-page="research"] .research-capabilities-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3.1vw,39px);color:#153c30;margin:7px 0 3px;}
body[data-page="research"] .research-capabilities-heading p{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(16px,1.7vw,20px);color:#5b6b60;margin:0;}
body[data-page="research"] .research-site-capabilities .research-facility-consolidated{margin-top:15px;}
body[data-page="research"] .research-site-capabilities .research-experience-grid{margin-top:20px;}
body[data-page="research"] .research-capabilities-flamingo-banner{display:block;position:relative;overflow:hidden;isolation:isolate;width:100%;height:clamp(250px,27vw,340px);margin:20px 0 0;border-radius:16px;}
body[data-page="research"] .research-capabilities-flamingo-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;}
body[data-page="research"] .research-capabilities-flamingo-banner>.research-team-ibis-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(6,40,30,.17) 55%,rgba(6,35,28,.74) 100%);}
body[data-page="research"] .research-capabilities-flamingo-banner>.research-team-ibis-label{position:absolute;left:12px!important;right:12px!important;bottom:18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:clamp(20px,2.1vw,30px)!important;white-space:normal!important;text-align:center!important;max-width:none!important;}
body[data-page="research"] .research-capabilities-flamingo-banner .research-team-ibis-title{display:block;line-height:1.15!important;max-width:100%;}
body[data-page="research"] .research-capabilities-flamingo-banner .research-team-ibis-arrow{flex:0 0 35px!important;width:35px!important;height:35px!important;min-width:35px!important;}
body[data-page="research"] .research-capabilities-flamingo-banner:hover>img{transform:scale(1.018);}
body[data-page="research"] .research-capabilities-flamingo-banner:focus-visible{outline:3px solid #326448;outline-offset:3px;}
@media(max-width:850px){body[data-page="research"] .research-gallery-thumbs{display:flex;gap:8px;}body[data-page="research"] .research-gallery-thumb{flex:0 0 145px;}body[data-page="research"] .research-gallery-stage{height:clamp(315px,52vw,460px);}}
@media(max-width:650px){body[data-page="research"] .research-photo-gallery{margin-top:20px;}body[data-page="research"] .research-gallery-stage{height:clamp(295px,83vw,400px);border-radius:12px;}body[data-page="research"] .research-gallery-arrow{width:36px;height:36px;}body[data-page="research"] .research-gallery-prev{left:8px;}body[data-page="research"] .research-gallery-next{right:8px;}body[data-page="research"] .research-gallery-arrow svg{width:19px;height:19px;}body[data-page="research"] .research-gallery-slide>figcaption{font-size:12px;bottom:11px;padding:7px 12px;}body[data-page="research"] .research-gallery-thumb{flex-basis:122px;}body[data-page="research"] .research-gallery-thumbs{gap:7px;}body[data-page="research"] .research-capabilities-flamingo-banner{height:clamp(195px,54vw,240px);}body[data-page="research"] .research-capabilities-flamingo-banner>img{object-position:center center;}body[data-page="research"] .research-capabilities-flamingo-banner>.research-team-ibis-label{font-size:clamp(18px,4.6vw,22px)!important;bottom:14px!important;gap:5px!important;}body[data-page="research"] .research-capabilities-flamingo-banner .research-team-ibis-arrow{width:29px!important;height:29px!important;min-width:29px!important;flex-basis:29px!important;}body[data-page="research"] .research-site-capabilities{padding:20px 14px;margin-top:18px;}}
@media(prefers-reduced-motion:reduce){body[data-page="research"] .research-gallery-track{transition:none!important;}body[data-page="research"] .research-capabilities-flamingo-banner:hover>img{transform:none!important;}}


/* V332 — header micro-refinement: no page tabs or logo moved.
   Two compact language/social controls share their original Follow Us slot;
   the existing 110px Search control occupies the previous Español slot.
   The motto remains exactly centered and the main header stays sticky. */
@media (min-width:1081px){
  .nav .navlinks .nav-utilities-stack{
    width:88px;flex:0 0 88px;min-width:0;
    display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;
    align-self:center;
  }
  .nav .navlinks .nav-utilities-stack .lang,
  .nav .navlinks .nav-utilities-stack .nav-social summary{
    width:88px;height:18px;min-height:18px;line-height:1.1;
    padding:0 4px;font-size:10px;letter-spacing:0;
    border-radius:4px;
  }
  .nav .navlinks .nav-utilities-stack .nav-social {width:88px;flex:0 0 18px;}
  .nav .navlinks .nav-utilities-stack .nav-social summary::after{margin-left:5px;}
  .nav .navlinks .nav-header-search {position:relative;width:88px;flex:0 0 88px;align-self:center;}
  .nav .navlinks .nav-header-search > summary{
    box-sizing:border-box;display:flex;align-items:center;justify-content:center;
    width:110px;min-width:110px;height:27px;padding:3px 12px;
    gap:9px;border-radius:4px;color:var(--green);
    border:1px solid #d5d0c5;white-space:nowrap;
    font:600 11px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.025em;
  }
  .nav .navlinks .nav-header-search > summary:hover,
  .nav .navlinks .nav-header-search[open] > summary{background:#eee9de;border-color:#708f7d;}
  .nav .navlinks .nav-header-search > summary:focus-visible{outline:2px solid #1a523e;outline-offset:3px;}
  .nav .navlinks .nav-header-search svg{width:16px;height:16px;flex:none;}
  .nav .navlinks .nav-header-search .nav-search-panel{
    position:absolute;top:calc(100% + 10px);right:auto;left:auto;
    width:min(350px,calc(100vw - 24px));max-width:calc(100vw - 24px);
    transform:translateX(-190px);padding:17px;margin:0;
    box-shadow:0 15px 32px rgba(0,0,0,.19);
    text-align:left;letter-spacing:normal;line-height:1.45;
  }
}
@media (min-width:1081px) and (max-width:1500px){
  .nav .navlinks .nav-utilities-stack{width:82px;flex-basis:82px;}
  .nav .navlinks .nav-utilities-stack .lang,
  .nav .navlinks .nav-utilities-stack .nav-social summary{width:82px;font-size:10px;}
  .nav .navlinks .nav-utilities-stack .nav-social{width:82px;}
  .nav .navlinks .nav-header-search{width:82px;flex-basis:82px;}
}
/* Mobile: keep Search visible in the sticky cream header, not inside the menu. */
@media(max-width:1080px){
  .nav .nav-utilities-stack{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;}
  .nav .nav-utilities-stack .nav-social{width:100%;}
  .nav .nav-utilities-stack .lang{width:100%;max-width:205px;margin:0;}
  .nav .navinner>.nav-header-search{
    position:absolute;z-index:25;top:37px;right:310px;width:110px;
    align-self:auto;flex:none;margin:0;
  }
  .nav .navinner>.nav-header-search > summary{
    display:flex;align-items:center;justify-content:center;gap:7px;
    box-sizing:border-box;width:110px;min-width:110px;height:30px;
    padding:3px 9px;border-radius:4px;border:1px solid #c5cabe;
    background:transparent;color:var(--green);
    white-space:nowrap;font:600 11px/1.2 Arial,Helvetica,sans-serif;
  }
  .nav .navinner>.nav-header-search svg{width:16px;height:16px;flex:0 0 auto;}
  .nav .navinner>.nav-header-search .nav-search-panel{
    position:absolute;left:auto;right:-15px;top:calc(100% + 12px);margin:0;
    width:min(350px,calc(100vw - 24px));max-width:calc(100vw - 24px);
    padding:17px;z-index:210;box-shadow:0 15px 32px rgba(0,0,0,.20);
    text-align:left;
  }
}
@media(max-width:620px){
  .nav .navinner>.nav-header-search{top:32px;right:81px;width:101px;}
  .nav .navinner>.nav-header-search > summary{width:101px;min-width:101px;height:29px;}
  .nav .navinner>.nav-header-search .nav-search-panel{
    position:fixed;top:calc(100px - 2px);left:12px;right:12px;
    width:auto;max-width:none;margin:0;
  }
}
@media(max-width:350px){
  .nav .navinner>.nav-header-search{right:77px;width:88px;}
  .nav .navinner>.nav-header-search > summary{width:88px;min-width:88px;gap:5px;padding:2px 6px;}
}
/* Research facility: remove the blurred/duplicated image along the sides.
   The new gallery frame uses a crisp full-bleed crop and subtler matte. */
body[data-page="research"] .research-photo-gallery{max-width:1010px;}
body[data-page="research"] .research-gallery-stage{
  max-width:1010px;margin:0 auto;height:clamp(490px,53vw,640px);
  background:#e9eee9;
}
body[data-page="research"] .research-gallery-backdrop{display:none!important;background:none!important;}
body[data-page="research"] .research-gallery-slide{background:#e9eee9;}
body[data-page="research"] .research-gallery-slide>img{object-fit:cover;object-position:center 48%;}
body[data-page="research"] .research-gallery-slide:after{background:transparent;}
@media(max-width:850px){body[data-page="research"] .research-gallery-stage{height:clamp(365px,60vw,530px);}}
@media(max-width:650px){body[data-page="research"] .research-gallery-stage{height:clamp(295px,83vw,410px);}}


/* V333 — preserve approved positions of logo and all nine navigation links.
   The invisible flex-end slot reserves V332's former standalone Search width,
   so combining Search with the utility controls does not push Contact or the
   other tabs to the right. This is a layout spacer, not another search control. */
@media (min-width:1081px){
  .nav .navlinks::after{
    content:"";
    display:block;
    width:88px;
    flex:0 0 88px;
    height:1px;
    pointer-events:none;
    visibility:hidden;
  }
  .nav .navlinks .nav-utilities-stack{
    gap:2px;
    justify-content:center;
    align-items:center;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search{
    display:block;
    position:relative;
    width:88px;
    min-width:0;
    flex:0 0 18px;
    height:18px;
    align-self:center;
    margin:0;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary{
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:88px;
    min-width:0;
    height:18px;
    min-height:18px;
    padding:0 4px;
    border:1px solid #d5d0c5;
    border-radius:4px;
    background:transparent;
    color:var(--green);
    font:700 10px/1.1 Arial,Helvetica,sans-serif;
    letter-spacing:0;
    white-space:nowrap;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary svg{
    width:12px;
    height:12px;
    flex:0 0 12px;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary:hover,
  .nav .navlinks .nav-utilities-stack > .nav-header-search[open] > summary{
    background:#eee9de;
    border-color:#708f7d;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary:focus-visible{
    outline:2px solid #1a523e;
    outline-offset:2px;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search .nav-search-panel{
    position:absolute;
    top:calc(100% + 11px);
    left:0;
    right:auto;
    transform:translateX(-110px);
    width:min(350px,calc(100vw - 24px));
    max-width:calc(100vw - 24px);
    margin:0;
    z-index:210;
  }
}
@media (min-width:1081px) and (max-width:1500px){
  .nav .navlinks::after{width:82px;flex-basis:82px;}
  .nav .navlinks .nav-utilities-stack > .nav-header-search{
    width:82px;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary{
    width:82px;
    font-size:10px;
  }
}
/* At mobile breakpoints retain the V332 exposed Search control beside menu.
   Español and Follow Us continue to live in the expanded navigation menu. */
@media (max-width:1080px){
  .nav .navlinks::after{display:none;}
}


/* V334 — exact equal visual spacing for the three compact header controls.
   Keep the other navigation items in their V333 positions. */
@media (min-width:1081px) {
  .nav .navlinks .nav-utilities-stack {
    display:grid;
    grid-template-rows:repeat(3,18px);
    row-gap:5px;
    column-gap:0;
    align-content:center;
    justify-items:center;
    align-items:center;
  }
  .nav .navlinks .nav-utilities-stack > .lang,
  .nav .navlinks .nav-utilities-stack > .nav-social,
  .nav .navlinks .nav-utilities-stack > .nav-header-search {
    margin:0!important;
    align-self:center;
    height:18px;
    min-height:18px;
  }
  .nav .navlinks .nav-utilities-stack > .nav-social > summary,
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary {
    margin:0!important;
  }
}
/* V334 — reserve room for one future Medicare Advantage carrier without
   listing or claiming that HealthSun is currently accepted. Mirror the extra
   whitespace in the Commercial / Private card for symmetry. */
@media (min-width:901px) {
  body[data-page="insurance"] .insurance-grid .insurance-column {
    grid-template-rows:minmax(660px,auto) minmax(250px,auto);
  }
}
/* Avoid inline-flex baseline line-box drift inside the Follow Us <details>.
   Each of the three outlines now occupies its own exact 18px grid cell. */
@media (min-width:1081px){
  .nav .navlinks .nav-utilities-stack > .nav-social{
    display:flex;
    align-items:center;
    justify-content:center;
  }
}


/* V335 — optical and geometric centering of the three compact header controls.
   The button outlines and 5px grid gaps are unchanged. Icons and the Follow Us
   chevron are positioned independently, so each LABEL is centered within its
   own button instead of centering a label-plus-icon group. */
@media (min-width:1081px) {
  .nav .navlinks .nav-utilities-stack > .lang,
  .nav .navlinks .nav-utilities-stack > .nav-social > summary,
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary {
    position:relative;
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    width:100%;
    height:18px;
    min-height:18px;
    padding:0 2px !important;
    margin:0 !important;
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px !important;
    font-weight:700;
    line-height:1 !important;
    letter-spacing:0;
  }
  .nav .navlinks .nav-utilities-stack > .nav-social > summary::after {
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    margin:0;
    font-size:9px;
    line-height:1;
    pointer-events:none;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary svg {
    position:absolute;
    left:5px;
    top:50%;
    transform:translateY(-50%);
    width:11px;
    height:11px;
    flex:none;
    pointer-events:none;
  }
  .nav .navlinks .nav-utilities-stack > .nav-header-search > summary .top-search-label {
    margin:0;
    padding:0;
    display:inline-block;
    line-height:1;
    text-align:center;
  }
}


/* V336 — homepage hero simplification: keep the original approved logo,
   Miami primary-care line and tagline as one truly centered group.
   Remove the former welcome/standard heading without disturbing CTAs. */
body[data-page="home"] .home-welcome-hero .home-welcome-stage {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-inline:auto;
  text-align:center;
}
body[data-page="home"] .home-welcome-hero .home-welcome-brand {
  top:0;
  margin:0 auto 18px;
  align-self:center;
}
body[data-page="home"] .home-welcome-hero .home-welcome-careline,
body[data-page="home"] .home-welcome-hero .home-welcome-tagline {
  align-self:center;
  text-align:center;
}
@media (max-width:900px) {
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {
    top:0;
    margin-bottom:16px;
  }
}
@media (max-width:600px) {
  body[data-page="home"] .home-welcome-hero .home-welcome-brand {
    top:0;
    margin-bottom:14px;
  }
}


/* V337 — About page's clickable MACAW chapter and six-photo facility.
   Never embed text inside the uploaded photograph: semantic link is live HTML. */
body[data-page="about"] .about-facility-chapter{margin-top:clamp(20px,3vw,36px);display:flex;flex-direction:column;gap:22px;}
body[data-page="about"] .about-facility-macaw-banner{height:clamp(225px,24vw,310px);}
body[data-page="about"] .about-facility-macaw-banner>img{object-position:center 8%;}
body[data-page="about"] .about-facility-macaw-banner>.about-physicians-egret-shade{
  background:linear-gradient(180deg,rgba(8,48,37,.04) 0%,rgba(8,48,37,.12) 36%,rgba(6,38,29,.68) 100%);
}
body[data-page="about"] .about-facility-card{background:#fffdf8;border:1px solid #e1e8df;border-radius:15px;text-align:center;padding:clamp(20px,3.3vw,44px);scroll-margin-top:135px;}
body[data-page="about"] .about-facility-card>h2{font-size:clamp(27px,3.2vw,43px);color:#153c30;margin:9px auto 14px;}
body[data-page="about"] .about-facility-intro{max-width:730px;margin:0 auto 15px;line-height:1.65;color:#4e6158;font-size:15px;}
body[data-page="about"] .about-facility-map-link{display:inline-flex;justify-content:center;align-items:center;gap:7px;margin:2px auto 15px;color:#17503b;font-size:14px;font-weight:700;text-underline-offset:4px;}
body[data-page="about"] .about-facility-map-link svg{width:19px;height:19px;flex:none;}
body[data-page="about"] .about-facility-map-link:hover{color:#9b7938;}
body[data-page="about"] .about-facility-map-link:focus-visible{outline:2px solid #17503b;outline-offset:5px;}
/* V331: approved six-photo research facility carousel and separate flamingo chapter. */
body[data-page="about"] .research-facility{margin-bottom:20px;}
body[data-page="about"] .research-photo-gallery{width:100%;max-width:1140px;margin:28px auto 6px;}
body[data-page="about"] .research-gallery-stage{position:relative;overflow:hidden;border-radius:16px;background:#e8eeeb;height:clamp(420px,43vw,570px);outline-offset:4px;}
body[data-page="about"] .research-gallery-stage:focus-visible{outline:3px solid #326448;}
body[data-page="about"] .research-gallery-track{width:100%;height:100%;display:flex;transition:transform .5s cubic-bezier(.25,.72,.18,1);will-change:transform;}
body[data-page="about"] .research-gallery-slide{margin:0;position:relative;isolation:isolate;width:100%;height:100%;flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#dce5df;}
body[data-page="about"] .research-gallery-backdrop{position:absolute;inset:-25px;z-index:-2;background-size:cover;background-position:center;filter:blur(18px) brightness(.7);transform:scale(1.08);}
body[data-page="about"] .research-gallery-slide:after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(14,46,36,.08);}
body[data-page="about"] .research-gallery-slide>img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;}
body[data-page="about"] .research-gallery-slide>figcaption{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:2;max-width:90%;background:rgba(14,48,36,.83);color:#fffdf8;padding:9px 17px;border-radius:999px;font-size:13px;letter-spacing:.025em;text-align:center;white-space:nowrap;}
body[data-page="about"] .research-gallery-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(240,247,238,.8);color:#184a36;background:rgba(255,255,255,.93);display:grid;place-items:center;box-shadow:0 3px 15px rgba(0,0,0,.13);cursor:pointer;transition:background .15s ease;}
body[data-page="about"] .research-gallery-arrow:hover,body[data-page="about"] .research-gallery-arrow:focus-visible{background:#e2ede4;outline:2px solid #1b5a3f;outline-offset:2px;}
body[data-page="about"] .research-gallery-arrow svg{height:22px;width:22px;display:block;}
body[data-page="about"] .research-gallery-prev{left:16px;}
body[data-page="about"] .research-gallery-next{right:16px;}
body[data-page="about"] .research-gallery-footer{display:flex;justify-content:center;align-items:center;position:relative;min-height:38px;margin:9px auto 12px;}
body[data-page="about"] .research-gallery-dots{display:flex;align-items:center;gap:9px;}
body[data-page="about"] .research-gallery-dot{width:11px;height:11px;border-radius:50%;padding:0;border:0;cursor:pointer;background:#bfc8c0;}
body[data-page="about"] .research-gallery-dot[aria-current="true"]{background:#155337;}
body[data-page="about"] .research-gallery-dot:focus-visible{outline:2px solid #15482f;outline-offset:3px;}
body[data-page="about"] .research-gallery-progress{position:absolute;right:4px;font-size:12px;color:#596a60;font-variant-numeric:tabular-nums;}
body[data-page="about"] .research-gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;overflow-x:auto;scrollbar-width:thin;padding:4px 1px 9px;scroll-snap-type:x proximity;}
body[data-page="about"] .research-gallery-thumb{min-width:0;padding:4px 4px 11px;display:flex;flex-direction:column;gap:8px;background:transparent;border:1px solid transparent;border-radius:12px;color:#234735;cursor:pointer;text-align:center;scroll-snap-align:center;font:inherit;}
body[data-page="about"] .research-gallery-thumb[aria-current="true"]{background:#f2f6ef;border-color:#327054;box-shadow:inset 0 0 0 1px #327054;}
body[data-page="about"] .research-gallery-thumb:focus-visible{outline:2px solid #327054;outline-offset:2px;}
body[data-page="about"] .research-gallery-thumb img{width:100%;aspect-ratio:1.48;object-fit:cover;border-radius:8px;display:block;}
body[data-page="about"] .research-gallery-thumb-label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:clamp(10px,1vw,12px);line-height:1.3;min-height:30px;}
body[data-page="about"] .research-gallery-thumb-no{display:inline-grid;place-items:center;flex:0 0 19px;height:19px;font-size:11px;border-radius:50%;background:#dce6d8;color:#24492e;}
body[data-page="about"] .research-site-capabilities{scroll-margin-top:130px;background:#fff;border:1px solid #e4e9e1;border-radius:18px;padding:clamp(22px,3.5vw,42px);margin:22px 0 30px;}
body[data-page="about"] .research-capabilities-heading{text-align:center;margin:0 auto 23px;}
body[data-page="about"] .research-capabilities-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3.1vw,39px);color:#153c30;margin:7px 0 3px;}
body[data-page="about"] .research-capabilities-heading p{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(16px,1.7vw,20px);color:#5b6b60;margin:0;}
body[data-page="about"] .research-site-capabilities .research-facility-consolidated{margin-top:15px;}
body[data-page="about"] .research-site-capabilities .research-experience-grid{margin-top:20px;}
body[data-page="about"] .research-capabilities-flamingo-banner{display:block;position:relative;overflow:hidden;isolation:isolate;width:100%;height:clamp(250px,27vw,340px);margin:20px 0 0;border-radius:16px;}
body[data-page="about"] .research-capabilities-flamingo-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;}
body[data-page="about"] .research-capabilities-flamingo-banner>.research-team-ibis-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(6,40,30,.17) 55%,rgba(6,35,28,.74) 100%);}
body[data-page="about"] .research-capabilities-flamingo-banner>.research-team-ibis-label{position:absolute;left:12px!important;right:12px!important;bottom:18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:clamp(20px,2.1vw,30px)!important;white-space:normal!important;text-align:center!important;max-width:none!important;}
body[data-page="about"] .research-capabilities-flamingo-banner .research-team-ibis-title{display:block;line-height:1.15!important;max-width:100%;}
body[data-page="about"] .research-capabilities-flamingo-banner .research-team-ibis-arrow{flex:0 0 35px!important;width:35px!important;height:35px!important;min-width:35px!important;}
body[data-page="about"] .research-capabilities-flamingo-banner:hover>img{transform:scale(1.018);}
body[data-page="about"] .research-capabilities-flamingo-banner:focus-visible{outline:3px solid #326448;outline-offset:3px;}
@media(max-width:850px){body[data-page="about"] .research-gallery-thumbs{display:flex;gap:8px;}body[data-page="about"] .research-gallery-thumb{flex:0 0 145px;}body[data-page="about"] .research-gallery-stage{height:clamp(315px,52vw,460px);}}
@media(max-width:650px){body[data-page="about"] .research-photo-gallery{margin-top:20px;}body[data-page="about"] .research-gallery-stage{height:clamp(295px,83vw,400px);border-radius:12px;}body[data-page="about"] .research-gallery-arrow{width:36px;height:36px;}body[data-page="about"] .research-gallery-prev{left:8px;}body[data-page="about"] .research-gallery-next{right:8px;}body[data-page="about"] .research-gallery-arrow svg{width:19px;height:19px;}body[data-page="about"] .research-gallery-slide>figcaption{font-size:12px;bottom:11px;padding:7px 12px;}body[data-page="about"] .research-gallery-thumb{flex-basis:122px;}body[data-page="about"] .research-gallery-thumbs{gap:7px;}body[data-page="about"] .research-capabilities-flamingo-banner{height:clamp(195px,54vw,240px);}body[data-page="about"] .research-capabilities-flamingo-banner>img{object-position:center center;}body[data-page="about"] .research-capabilities-flamingo-banner>.research-team-ibis-label{font-size:clamp(18px,4.6vw,22px)!important;bottom:14px!important;gap:5px!important;}body[data-page="about"] .research-capabilities-flamingo-banner .research-team-ibis-arrow{width:29px!important;height:29px!important;min-width:29px!important;flex-basis:29px!important;}body[data-page="about"] .research-site-capabilities{padding:20px 14px;margin-top:18px;}}
@media(prefers-reduced-motion:reduce){body[data-page="about"] .research-gallery-track{transition:none!important;}body[data-page="about"] .research-capabilities-flamingo-banner:hover>img{transform:none!important;}}



/* V332 identical crisp edge-to-edge crop for all six About photos. */
body[data-page="about"] .research-gallery-stage{height:clamp(365px,43vw,570px);}
body[data-page="about"] .research-gallery-backdrop{display:none!important;background:none!important;}
body[data-page="about"] .research-gallery-slide{background:#e9eee9;}
body[data-page="about"] .research-gallery-slide>img{object-fit:cover;object-position:center 48%;}
body[data-page="about"] .research-gallery-slide:after{background:transparent;}
@media(max-width:850px){body[data-page="about"] .research-gallery-stage{height:clamp(365px,60vw,530px);}}
@media(max-width:650px){body[data-page="about"] .research-gallery-stage{height:clamp(295px,83vw,410px);}body[data-page="about"] .about-facility-macaw-banner{height:230px;}body[data-page="about"] .about-facility-macaw-banner>img{object-position:37% 45%;}body[data-page="about"] .about-facility-card{padding:19px 12px;}body[data-page="about"] .about-facility-card>h2{font-size:clamp(25px,6vw,33px);}}
@media(prefers-reduced-motion:reduce){body[data-page="about"] .research-gallery-track{transition:none!important;}}


/* V338 — About Us only: reduce macaw chapter height, improve original-photo
   focal framing, and balance the three About hero chapter links.
   No other page's banner or navigation is affected. */
body[data-page="about"] .about-facility-macaw-banner {
  height: clamp(185px, 18.5vw, 238px);
}
body[data-page="about"] .about-facility-macaw-banner > img {
  object-position: center 12%;
}
body[data-page="about"] .gm-landing-hero .gm-hero-actions {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  justify-content:center;
  align-items:stretch;
  width:min(100%,650px) !important;
  max-width:650px !important;
  gap:12px !important;
  margin:18px auto 0 !important;
}
body[data-page="about"] .gm-landing-hero .gm-hero-actions a.gm-hero-action {
  box-sizing:border-box;
  min-width:0 !important;
  width:100%;
  min-height:43px;
  padding:9px 12px;
  font-size:12px;
  line-height:1.2;
  white-space:normal;
  text-wrap:balance;
}
@media(max-width:650px) {
  body[data-page="about"] .about-facility-macaw-banner {
    height:clamp(175px,47vw,205px);
  }
  body[data-page="about"] .about-facility-macaw-banner > img {
    object-position:37% 45%;
  }
  body[data-page="about"] .gm-landing-hero .gm-hero-actions {
    gap:7px !important;
    width:100% !important;
    max-width:365px !important;
    margin-top:16px !important;
  }
  body[data-page="about"] .gm-landing-hero .gm-hero-actions a.gm-hero-action {
    padding:8px 5px;
    min-height:48px;
    font-size:clamp(10px,2.8vw,12px);
  }
}


/* V339 — existing-patient consent layout: balanced paired rows and readable
   coming-soon status for CCM/PCM and aesthetic consents. No other pages change. */
body[data-page="existing-patient-forms"] .onboarding-steps:is(.care-management-consent-grid,.aesthetic-consent-grid){
  max-width:820px;
  margin-inline:auto;
}
body[data-page="existing-patient-forms"] .onboarding-steps:is(.care-management-consent-grid,.aesthetic-consent-grid) > .onboarding-step{
  flex:1 1 calc((100% - 18px)/2);
  max-width:calc((100% - 18px)/2);
  min-height:300px;
  aspect-ratio:auto;
}
body[data-page="existing-patient-forms"] .care-management-consent-card p{
  max-width:310px;
}
body[data-page="existing-patient-forms"] .care-management-consent-grid .pending-consent-link{
  min-width:130px;
}
@media(max-width:680px){
  body[data-page="existing-patient-forms"] .onboarding-steps:is(.care-management-consent-grid,.aesthetic-consent-grid) > .onboarding-step{
    flex-basis:100%;max-width:100%;min-height:0;
  }
}

/* V339: unobtrusive section shortcuts for the longer existing-patient form page. */
body[data-page="existing-patient-forms"] .forms-quicknav{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:9px 12px;max-width:1060px;margin:20px auto 0;
  text-align:center;
}
body[data-page="existing-patient-forms"] .forms-quicknav span{
  font-size:12px;font-weight:700;letter-spacing:.025em;color:#526d5c;
}
body[data-page="existing-patient-forms"] .forms-quicknav a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 14px;border-radius:999px;border:1px solid #cfddd2;
  background:#fff;color:#25523e;text-decoration:none;
  font-size:12.5px;font-weight:650;line-height:1.35;min-height:38px;
}
body[data-page="existing-patient-forms"] .forms-quicknav a:is(:hover,:focus-visible){
  background:#edf3ec;border-color:#6d947d;
}
body[data-page="existing-patient-forms"] :is(#existing-patient-forms,#care-management-consents,#aesthetic-consents){
  scroll-margin-top:125px;
}
@media(max-width:680px){
  body[data-page="existing-patient-forms"] .forms-quicknav{gap:8px 10px;padding:0 2px;}
  body[data-page="existing-patient-forms"] .forms-quicknav span{width:100%;}
  body[data-page="existing-patient-forms"] .forms-quicknav a{font-size:12px;padding:8px 10px;}
}

/* V340 — show substantially more of the original macaw scene in the approved
   About banner dimensions. Only About's macaw asset/framing changes. */
body[data-page="about"] .about-facility-macaw-banner > img{
  object-fit:cover;
  object-position:center center !important;
}
@media(max-width:650px){
  body[data-page="about"] .about-facility-macaw-banner > img{
    object-position:23% center !important;
  }
}

/* V341: restore a sharp, aspect-ratio-preserved photographic macaw banner.
   Never stretch; show the original panorama's birds and South Florida scenery. */
body[data-page="about"] .about-facility-macaw-banner > img {
  width: 100%; height: 100%; object-fit: cover !important;
  object-position: center 22% !important;
}
@media (max-width:650px) {
  body[data-page="about"] .about-facility-macaw-banner > img {
    object-position: 19% center !important;
  }
}

/* V345 — align heading, descriptive copy, and action positions across each row
   of the six existing-patient Forms & Requests cards (English and Spanish). */
@media (min-width:681px){
  body[data-page="existing-patient-forms"] .existing-patient-panel > .onboarding-steps:not(.care-management-consent-grid):not(.aesthetic-consent-grid) .onboarding-step-content h3{
    min-height:3.96em;display:flex;align-items:center;justify-content:center;
  }
  body[data-page="existing-patient-forms"] .existing-patient-panel > .onboarding-steps:not(.care-management-consent-grid):not(.aesthetic-consent-grid) .onboarding-step-content p{
    min-height:4.8em;display:flex;align-items:flex-start;justify-content:center;
  }
}


/* V360 — Our Physicians: restore the ORIGINAL Version 304 portrait proportions.
   V304 desktop portraits were 300px tall; don't shrink them to fit a viewport.
   Keep only the scrolling offset needed for the About navigation. */
@media (min-width:901px) {
  body[data-page="about"] .about-physicians-profiles {scroll-margin-top:112px;}
  body[data-page="about"] .about-physicians-profiles .portrait {
    height:300px;
    width:100%;
    object-fit:cover;
    object-position:center 24%;
    margin-bottom:22px;
  }
}

/* V349: Haus of Skin premium identity section, immediately below Aesthetic Medicine banner */
.haus-of-skin-brand{padding:44px 0 12px;background:linear-gradient(180deg,#f6f1e8 0%,#f8f5ed 100%);text-align:center}
.haus-of-skin-inner{max-width:800px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.haus-of-skin-rule{height:1px;width:min(240px,60%);background:linear-gradient(90deg,transparent,#b79b65,transparent)}
.haus-of-skin-logo{display:block;width:min(310px,65vw);height:auto;object-fit:contain;margin:10px auto;background:#fffdf8;mix-blend-mode:multiply}
.haus-of-skin-description{max-width:620px;font-size:15px;line-height:1.8;color:#526b60;letter-spacing:.015em;margin:20px 0 0}
body[data-topic="aesthetics"] .service-details-section{padding-top:42px}
@media(max-width:700px){.haus-of-skin-brand{padding:30px 0 8px}.haus-of-skin-logo{width:min(270px,75vw);margin:9px auto}.haus-of-skin-description{font-size:14px;line-height:1.7;margin-top:15px}body[data-topic="aesthetics"] .service-details-section{padding-top:32px}}

/* V350: Integrated Haus of Skin brand identity within the aesthetic medicine hero. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{background:radial-gradient(ellipse at 50% 40%,#245346 0%,#173d32 50%,#102d25 100%);padding:48px 0 45px;min-height:540px;display:flex;align-items:center;text-align:center;overflow:hidden;position:relative}
body[data-topic="aesthetics"] .haus-aesthetics-hero::before{content:"";position:absolute;inset:16px;pointer-events:none;border:1px solid rgba(190,162,105,.28)}
body[data-topic="aesthetics"] .haus-aesthetics-hero-content{position:relative;z-index:1;width:100%;display:flex;flex-direction:column;align-items:center}
body[data-topic="aesthetics"] .haus-aesthetics-hero .eyebrow{color:#d7bb81;letter-spacing:.27em;font-size:11px}
body[data-topic="aesthetics"] .haus-aesthetics-hero h1{font-size:clamp(38px,4.4vw,58px);margin:12px 0 17px;color:#fffdf7}
body[data-topic="aesthetics"] .haus-aesthetics-divider{width:92px;height:1px;background:linear-gradient(90deg,transparent,#c9a767,transparent);margin:0 auto 17px}
body[data-topic="aesthetics"] .haus-aesthetics-signature{width:clamp(195px,20vw,255px);height:auto;max-height:280px;object-fit:contain;display:block;margin:0 auto;filter:drop-shadow(0 4px 12px rgba(0,0,0,.12))}
body[data-topic="aesthetics"] .haus-aesthetics-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(16px,1.5vw,20px);font-style:italic;color:#f0e9d8;letter-spacing:.01em;margin:13px auto 0;max-width:600px}
body[data-topic="aesthetics"] .service-details-section{padding-top:65px}
@media(max-width:700px){body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:490px;padding:46px 0 44px}body[data-topic="aesthetics"] .haus-aesthetics-hero::before{inset:11px}body[data-topic="aesthetics"] .haus-aesthetics-signature{width:210px;max-height:250px}body[data-topic="aesthetics"] .haus-aesthetics-lead{font-size:16px;max-width:290px}body[data-topic="aesthetics"] .service-details-section{padding-top:48px}}

/* V351: Aesthetic identity spacing and editorial introduction. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:480px;padding:48px 0 54px}
body[data-topic="aesthetics"] .haus-aesthetics-divider{margin:22px auto 15px}
body[data-topic="aesthetics"] .haus-aesthetics-lead{margin:39px auto 0;line-height:1.6}
body[data-topic="aesthetics"] .service-intro-aesthetics{max-width:920px;margin-left:auto;margin-right:auto;padding:50px 60px;text-align:center}
body[data-topic="aesthetics"] .service-intro-aesthetics h2{max-width:790px;margin:18px auto 20px}
body[data-topic="aesthetics"] .service-intro-aesthetics .service-intro-lead{max-width:770px;margin:0 auto;line-height:1.85}
@media(max-width:700px){body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:440px;padding:38px 0 46px}body[data-topic="aesthetics"] .haus-aesthetics-lead{margin-top:29px}body[data-topic="aesthetics"] .service-intro-aesthetics{padding:32px 22px}}

/* V352: move the Haus of Skin tagline toward the lower edge of its hero,
   leaving clear visual separation from the signature without moving the logo. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:550px;padding-bottom:38px}
body[data-topic="aesthetics"] .haus-aesthetics-lead{margin-top:clamp(72px,8vh,108px)}
@media(max-width:700px){body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:510px;padding-bottom:32px}body[data-topic="aesthetics"] .haus-aesthetics-lead{margin-top:54px}}

/* V354: keep the Haus signature and tagline in separate, fixed visual zones.
   The tagline is anchored to the banner bottom, NOT spaced from the logo in
   the centered flex stack; this prevents the two from crowding one another. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:680px;padding:58px 24px 100px;align-items:flex-start}
body[data-topic="aesthetics"] .haus-aesthetics-hero-content{position:static;justify-content:flex-start}
body[data-topic="aesthetics"] .haus-aesthetics-lead{position:absolute;bottom:52px;left:24px;right:24px;margin:0 auto;max-width:680px;line-height:1.5}
@media(max-width:700px){
 body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:625px;padding:48px 20px 100px}
 body[data-topic="aesthetics"] .haus-aesthetics-lead{bottom:48px;left:26px;right:26px;margin:0 auto;max-width:330px}
}

/* V355: compact, balanced hero. Keep original signature size and use a measured
   flow gap rather than absolute bottom positioning or oversized minimum height. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:0;height:auto;padding:42px 24px 48px;align-items:center}
body[data-topic="aesthetics"] .haus-aesthetics-hero-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}
body[data-topic="aesthetics"] .haus-aesthetics-lead{position:static;bottom:auto;left:auto;right:auto;margin:38px auto 0;max-width:680px;line-height:1.5}
@media(max-width:700px){
 body[data-topic="aesthetics"] .haus-aesthetics-hero{min-height:0;height:auto;padding:36px 20px 43px}
 body[data-topic="aesthetics"] .haus-aesthetics-lead{position:static;bottom:auto;left:auto;right:auto;margin:32px auto 0;max-width:330px}
}

/* V356: exact midpoint of the space between the signature's bottom and the
   banner's lower edge. Equal clear space above and below the tagline, while
   preserving V355's total vertical height and the logo dimensions. */
body[data-topic="aesthetics"] .haus-aesthetics-hero{padding-bottom:43px}
body[data-topic="aesthetics"] .haus-aesthetics-lead{margin-top:43px}
@media(max-width:700px){
 body[data-topic="aesthetics"] .haus-aesthetics-hero{padding-bottom:37.5px}
 body[data-topic="aesthetics"] .haus-aesthetics-lead{margin-top:37.5px}
}

/* V357: translate the existing tagline visually to the true measured midpoint.
   Transform preserves the V356 banner's intrinsic height and logo dimensions. */
body[data-topic="aesthetics"] .haus-aesthetics-lead{will-change:transform}

/* V358: reserve only the space necessary to keep the facility introduction
   below the fold after the Our Physicians navigation link is selected. */
@media (min-width:901px) {
  body[data-page="about"] .about-facility-card {
    margin-top:var(--physicians-landing-clearance, 0px);
  }
}

/* V359 — About > Our Physicians: fill the full remaining viewport with the
   actual macaw photograph, never an empty clearance below the banner. */
@media (min-width:901px) {
  body[data-page="about"] .about-facility-macaw-banner {
    height:var(--physicians-macaw-fill-height, clamp(155px, calc((100svh - 500px) * .5), 210px));
  }
  body[data-page="about"] .about-facility-card {
    margin-top:0;
  }
}

/* V360: keep the original 300px portraits; only macaw banner responds to
   available remaining screen height after the Our Physicians landing. */
@media(min-width:901px){
 body[data-page="about"] .about-facility-macaw-banner {
   height:var(--physicians-macaw-fill-height, clamp(155px, calc((100svh - 500px) * .5), 210px));
 }
}

/* V362 — center the single unified care-management consent; equalize
   aesthetic-card heights and align card actions across the row. */
body[data-page="existing-patient-forms"] .care-management-consent-grid{justify-content:center;max-width:620px;}
body[data-page="existing-patient-forms"] .care-management-consent-grid > .onboarding-step{flex:0 1 560px;max-width:560px;min-height:245px;}
body[data-page="existing-patient-forms"] .care-management-consent-card p{max-width:430px;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid{align-items:stretch;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid > .onboarding-step{height:auto;min-height:330px;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-step-content,body[data-page="existing-patient-forms"] .care-management-consent-grid .onboarding-step-content{display:flex;flex-direction:column;align-items:center;flex:1;text-align:center;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-actions,body[data-page="existing-patient-forms"] .care-management-consent-grid .onboarding-actions{margin-top:auto;justify-content:center;}
@media(max-width:680px){body[data-page="existing-patient-forms"] .care-management-consent-grid > .onboarding-step,body[data-page="existing-patient-forms"] .aesthetic-consent-grid > .onboarding-step{flex-basis:100%;max-width:100%;min-height:0;}}

/* V365: balanced three-card aesthetic row; responsive bilingual buttons. */
body[data-page="existing-patient-forms"] .aesthetic-consent-grid {max-width:1120px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid > .onboarding-step {width:100%;max-width:none;min-width:0;min-height:350px;flex:none;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-step-content {width:100%;min-width:0;}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-actions {flex-wrap:wrap;}
@media(max-width:980px){body[data-page="existing-patient-forms"] .aesthetic-consent-grid{grid-template-columns:1fr;max-width:620px;}body[data-page="existing-patient-forms"] .aesthetic-consent-grid > .onboarding-step{min-height:0;}}


/* V366 — aesthetic consent cards now match the standard numbered forms.
   Undo the inherited V339 50%-max-width restriction and the V365
   compressed 3-column layout. Preserve content and all Updox URLs. */
body[data-page="existing-patient-forms"] .onboarding-steps.aesthetic-consent-grid {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  max-width:100%;
  gap:18px;
  margin:0 auto 26px;
}
body[data-page="existing-patient-forms"] .onboarding-steps.aesthetic-consent-grid > .onboarding-step {
  box-sizing:border-box;
  display:flex;
  flex:0 1 calc((100% - 36px) / 3);
  width:auto;
  max-width:calc((100% - 36px) / 3);
  min-width:0;
  min-height:315px;
  height:auto;
  aspect-ratio:1 / 1;
  padding:clamp(19px,2.1vw,29px) 18px;
}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-step-content {
  width:100%;min-width:0;max-width:100%;
  align-items:center;justify-content:flex-start;text-align:center;
}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-step h3 {
  max-width:100%;overflow-wrap:break-word;
  font-size:clamp(18px,1.8vw,21px);line-height:1.32;
}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-step p {
  max-width:295px;font-size:13px;line-height:1.6;
}
body[data-page="existing-patient-forms"] .aesthetic-consent-grid .onboarding-actions {
  width:100%;display:flex;flex-wrap:wrap;align-items:center;
  justify-content:center;gap:9px;margin:auto auto 0;
}
@media(max-width:1050px) and (min-width:681px) {
  body[data-page="existing-patient-forms"] .onboarding-steps.aesthetic-consent-grid > .onboarding-step {
    flex-basis:calc((100% - 18px)/2);
    max-width:calc((100% - 18px)/2);
    aspect-ratio:auto;min-height:295px;
  }
}
@media(max-width:680px) {
  body[data-page="existing-patient-forms"] .onboarding-steps.aesthetic-consent-grid {
    max-width:100%;gap:13px;
  }
  body[data-page="existing-patient-forms"] .onboarding-steps.aesthetic-consent-grid > .onboarding-step {
    flex:0 1 100%;max-width:100%;min-height:0;
    aspect-ratio:auto;padding:24px 18px;
  }
}

body[data-topic="aesthetics"] .haus-aesthetics-heading {
  color: #f0e9d8;
  font-size: clamp(28px, 4vw, 44px);
  margin: 30px 0 0;
  text-align: center;
}

body[data-topic="aesthetics"] .haus-aesthetics-heading + .haus-aesthetics-lead {
  margin-top: 10px;
}

@media (max-width: 620px) {
  .nav .navinner > .nav-header-search {
    top: 50%;
    right: 76px;
    width: 44px;
    transform: translateY(-50%);
  }

  .nav .navinner > .nav-header-search > summary {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }

  .nav .navinner > .nav-header-search .top-search-label {
    display: none;
  }
}

.patient-faq {
  padding-top: 0;
  text-align: center;
}

.patient-faq > .wrap {
  max-width: 760px;
}

.patient-faq details {
  border-top: 1px solid #d6cfbf;
}

.patient-faq details:last-child {
  border-bottom: 1px solid #d6cfbf;
}

.patient-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
}

.patient-faq p {
  margin: 0 0 16px;
}

/* Keep Dr. Casadesus’s full hairline visible in both physician sections. */
.portrait[src$="dr-casadesus.jpg"],
body[data-page="about"] .about-physicians-profiles .portrait[src$="dr-casadesus.jpg"]{object-position:center 15%;}
