/* GLO shared design layer: accents, motion, photo bands, card thumbnails, footer, mobile action bar.
   Loaded on every page after the inline styles. */

/* ---------- Heading accents: one italic gold word per heading ---------- */
.glo-accent{font-style:italic;color:#B8894F;font-weight:inherit;}
.glo-dark .glo-accent,.glo-band .glo-accent{color:#E8D3A8;}
.glo-hero-h1.is-long{font-size:46px !important;}
@media (max-width:900px){.glo-hero-h1.is-long{font-size:38px !important;}}
@media (max-width:600px){.glo-hero-h1.is-long{font-size:33px !important;}}

/* ---------- Scroll reveal (only when JS is running and motion is allowed) ---------- */
html.glo-js .glo-reveal{opacity:0;transform:translateY(26px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.65,.25,1);}
html.glo-js .glo-reveal.is-in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){html.glo-js .glo-reveal{opacity:1;transform:none;transition:none;}}

/* ---------- Benefit marquee ---------- */
.glo-marquee{width:100%;overflow:hidden;background:#6B5435;color:#EADFCC;border-top:1px solid rgba(232,211,168,.18);border-bottom:1px solid rgba(232,211,168,.18);}
.glo-marquee-track{display:flex;width:max-content;animation:glo-marquee 48s linear infinite;}
.glo-marquee:hover .glo-marquee-track{animation-play-state:paused;}
.glo-marquee ul{display:flex;align-items:center;margin:0;padding:0;list-style:none;}
.glo-marquee li{display:flex;align-items:center;gap:28px;padding:17px 0 17px 28px;white-space:nowrap;font-family:'Playfair Display',Georgia,serif;font-style:italic;font-size:19px;letter-spacing:.01em;}
.glo-marquee li::after{content:"";width:6px;height:6px;border-radius:50%;background:#E8D3A8;opacity:.75;}
@keyframes glo-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce){.glo-marquee-track{animation:none;}}

/* ---------- Full-bleed photo band ---------- */
.glo-band{position:relative;width:100%;min-height:560px;display:flex;align-items:center;overflow:hidden;background:#3A2D1E;color:#FAF9F6;}
.glo-band > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left center;}
.glo-band::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(43,33,22,0) 22%,rgba(43,33,22,.55) 52%,rgba(43,33,22,.86) 100%);}
.glo-band-inner{position:relative;z-index:1;width:100%;max-width:1320px;margin:0 auto;padding:90px 48px;display:flex;justify-content:flex-end;}
.glo-band-copy{max-width:520px;}
.glo-band-copy .glo-band-kicker{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-family:'Montserrat',sans-serif;font-size:13px;letter-spacing:.28em;color:#E8D3A8;font-weight:600;text-transform:uppercase;}
.glo-band-copy .glo-band-kicker::before{content:"";width:36px;height:1px;background:#E8D3A8;}
.glo-band-copy h2{font-size:42px;line-height:1.18;color:#FAF9F6;margin:0 0 18px;}
.glo-band-copy p{font-size:17.5px;line-height:1.75;color:#EADFCC;margin:0 0 30px;}
.glo-band-copy a.glo-band-btn{display:inline-block;background:#E8D3A8;color:#3A2D1E;padding:16px 34px;border-radius:2px;font-family:'Montserrat',sans-serif;font-size:13px;letter-spacing:.1em;font-weight:600;text-transform:uppercase;transition:background .2s ease;}
.glo-band-copy a.glo-band-btn:hover{background:#FAF9F6;}
.glo-band-note{position:absolute;z-index:1;left:20px;bottom:14px;font-size:11.5px;color:rgba(250,249,246,.72);}
@media (max-width:900px){
  .glo-band{min-height:0;flex-direction:column;align-items:stretch;}
  .glo-band > img{position:relative;height:320px;object-position:left center;}
  .glo-band::after{display:none;}
  .glo-band-inner{padding:44px 28px 52px;background:#4A3A26;}
  .glo-band-copy h2{font-size:32px;}
  .glo-band-note{top:290px;bottom:auto;}
}

/* ---------- Treatment card thumbnails ---------- */
.tx-thumb{display:block;margin:-28px -26px 22px;height:190px;overflow:hidden;border-radius:8px 8px 0 0;background:#EFE9E1;}
.tx-thumb img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block;transition:transform .6s ease;}
.card-hover:hover .tx-thumb img{transform:scale(1.045);}

/* ---------- Shared footer ---------- */
.glo-footer{background:#4A3A26;color:#D9CBB4;font-size:15px;}
.glo-footer a{color:#D9CBB4;transition:color .2s ease;}
.glo-footer a:hover{color:#E8D3A8;}
.glo-footer-top{max-width:1320px;margin:0 auto;padding:76px 48px 44px;display:grid;grid-template-columns:1.35fr 1fr 1fr 1.15fr;gap:48px;}
.glo-footer h3{font-family:'Montserrat',sans-serif;font-size:12.5px;letter-spacing:.2em;text-transform:uppercase;color:#FAF9F6;font-weight:600;margin:0 0 20px;}
.glo-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;}
.glo-footer p{margin:0;line-height:1.7;font-weight:300;}
.glo-footer .glo-footer-brand p{max-width:300px;margin-top:18px;}
.glo-footer .glo-footer-book{display:inline-block;margin-top:24px;background:#E8D3A8;color:#3A2D1E !important;padding:14px 26px;border-radius:2px;font-family:'Montserrat',sans-serif;font-size:12.5px;letter-spacing:.1em;font-weight:600;text-transform:uppercase;}
.glo-footer .glo-footer-book:hover{background:#FAF9F6;}
.glo-footer-loc + .glo-footer-loc{margin-top:18px;}
.glo-footer-loc strong{display:block;color:#FAF9F6;font-weight:500;margin-bottom:4px;}
.glo-footer-bottom{max-width:1320px;margin:0 auto;padding:22px 48px 26px;border-top:1px solid rgba(232,211,168,.16);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13.5px;color:#B8A88E;}
@media (max-width:1000px){.glo-footer-top{grid-template-columns:1fr 1fr;}}
@media (max-width:600px){.glo-footer-top{grid-template-columns:1fr;padding:56px 20px 32px;gap:34px;}.glo-footer-bottom{padding:20px 20px 24px;}}

/* ---------- Mobile action bar ---------- */
.glo-mbar{display:none;}
@media (max-width:900px){
  .glo-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(250,249,246,.96);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:1px solid #E0D6C8;box-shadow:0 -8px 24px rgba(34,31,27,.08);}
  .glo-mbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:2px;font-family:'Montserrat',sans-serif;font-size:13px;letter-spacing:.08em;font-weight:600;text-transform:uppercase;}
  .glo-mbar .glo-mbar-book{background:#B8894F;color:#FAF9F6;}
  .glo-mbar .glo-mbar-call{flex:0 0 38%;border:1px solid #6B5435;color:#221F1B;}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom));}
}

/* Stats strip (3 facts under the hero) on tablets and phones: a clean 3-column grid with hairline dividers */
@media (max-width:900px){
  .glo-stats-strip{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 !important;padding:22px 10px !important;margin-left:24px !important;margin-right:24px !important;}
  .glo-stats-strip > div[style*="width:1px"]{display:none !important;}
  .glo-stats-strip > div:not([style*="width:1px"]){min-width:0;padding:0 10px;border-left:1px solid #E6E1D6;justify-content:center;text-align:center;}
  .glo-stats-strip > div:first-child{border-left:0;}
  .glo-stats-strip > div > span:first-child{line-height:1.2;white-space:normal !important;}
}
@media (max-width:600px){
  .glo-stats-strip{padding:18px 6px !important;margin-left:16px !important;margin-right:16px !important;}
  .glo-stats-strip > div:not([style*="width:1px"]){padding:0 8px;}
  .glo-stats-strip > div > span:first-child{font-size:17px !important;}
  .glo-stats-strip > div > span:last-child{font-size:10px !important;letter-spacing:.08em !important;line-height:1.3;}
}

/* ---------- Team group photo (AI-generated composite) ---------- */
.glo-teamshot{display:flex;gap:56px;align-items:center;}
.glo-teamshot figure{flex:0 0 46%;margin:0;}
.glo-teamshot img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:10px;display:block;box-shadow:0 24px 48px rgba(34,31,27,.12);}
.glo-teamshot figcaption{font-size:12.5px;color:#8A8377;margin-top:10px;}
@media (max-width:900px){.glo-teamshot{flex-direction:column;align-items:stretch;gap:28px;}.glo-teamshot figure{flex:none;}}

/* Small disclosure caption on an AI-generated hero photo */
.glo-split-media .glo-hero-note{position:absolute;z-index:1;left:16px;bottom:14px;font-size:11.5px;color:rgba(250,249,246,.92);text-shadow:0 1px 3px rgba(0,0,0,.55);}
/* Group photo heroes keep the photo's own 4:5 shape on phones so nobody is cropped out */
@media (max-width:900px){.glo-split-hero--group .glo-split-media{min-height:0 !important;aspect-ratio:4/5;}}

/* Home "Visit us" Google Map embed */
.glo-map{border-radius:8px;overflow:hidden;border:1px solid #E6E1D6;background:#EFE9E1;box-shadow:0 24px 48px -20px rgba(34,31,27,.25);}
.glo-map iframe{display:block;width:100%;aspect-ratio:4/3.1;min-height:320px;border:0;}
.glo-map-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#6B5435;padding:14px 18px;}
.glo-map-bar span{font-size:14.5px;color:#FAF9F6;}
.glo-map-bar a{font-size:14px;color:#E8D3A8;font-weight:600;white-space:nowrap;}

/* Cherry payment calculator widget (financing page) */
.glo-cherry{background:#FFFFFF;border:1px solid #E6E1D6;border-radius:10px;padding:12px;min-height:320px;overflow:hidden;}
@media (max-width:600px){.glo-cherry{padding:4px;border-radius:8px;}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth;}}

/* Live review widgets (api.gloocala.com) */
.glo-reviews-widget{min-height:240px;}
.glo-reviews-widget iframe{display:block;}

/* Home hero video (real GLO footage). Covers the media panel like the old photo; pause control for accessibility. */
.glo-hero-video{overflow:hidden;background:#EFE9E1 url('/assets/video/hero-reel-poster.webp') center/cover no-repeat;}
.glo-hero-reel{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block;}
/* Phones and tablets: a square (1:1) crop of the reel at full screen width, so the video and the start of the
   headline share the first screen. Tablets cap the square at 60% of the screen height. */
@media (max-width:900px){
  .glo-hero-video{min-height:0 !important;width:100%;height:auto;aspect-ratio:1/1;max-height:60vh;}
  .glo-hero-reel{object-fit:cover;object-position:center 50%;}
}
.glo-video-toggle{position:absolute;z-index:2;right:16px;top:16px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(250,249,246,.7);background:rgba(34,31,27,.42);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);}
.glo-video-toggle:hover,.glo-video-toggle:focus-visible{background:rgba(107,84,53,.8);}
.glo-video-toggle span{display:block;width:12px;height:14px;border-left:4px solid #FAF9F6;border-right:4px solid #FAF9F6;}
.glo-video-toggle[aria-pressed="true"] span{width:0;height:0;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #FAF9F6;margin-left:3px;}

/* Treatment rows on the home cards: name + tag flow as one line of text, so long names wrap cleanly */
.rx-text{font-size:15.5px;color:#221F1B;line-height:1.45;}
.rx-text > span{font-size:inherit;}
.rx-text > span + span{font-size:12.5px;color:#8A8377;white-space:nowrap;}

/* Home "What happens at your first visit?" — four steps with real Ocala photos */
.fv-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;counter-reset:none;}
.fv-step{display:flex;flex-direction:column;background:#FAF9F6;border:1px solid #E6E1D6;border-radius:10px;overflow:hidden;}
.fv-photo{position:relative;margin:0;aspect-ratio:4/5;overflow:hidden;background:#EFE9E1;}
.fv-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease;}
.fv-step:hover .fv-photo img{transform:scale(1.04);}
.fv-num{position:absolute;left:14px;top:14px;width:38px;height:38px;border-radius:50%;background:#FAF9F6;color:#6B5435;font-family:'Playfair Display',Georgia,serif;font-size:19px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(34,31,27,.18);}
.fv-text{padding:22px 22px 26px;}
.fv-text h3{font-size:22px;color:#221F1B;margin:0 0 8px;}
.fv-text p{font-size:15px;line-height:1.65;color:#5C574E;margin:0;}
@media (max-width:1000px){.fv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:600px){
  .fv-grid{grid-template-columns:1fr;gap:16px;}
  .fv-step{flex-direction:row;align-items:stretch;}
  .fv-photo{flex:0 0 112px;aspect-ratio:auto;min-height:150px;}
  .fv-num{left:10px;top:10px;width:32px;height:32px;font-size:16px;}
  .fv-text{padding:16px 16px 18px;}
  .fv-text h3{font-size:19px;margin-bottom:6px;}
  .fv-text p{font-size:14.5px;line-height:1.6;}
}

/* "How it works" text + real photo side by side (scripts/real_photos.py figure()) */
.hiw-flex{display:flex;gap:56px;align-items:center;}
.hiw-flex > div{flex:1 1 auto;min-width:0;max-width:760px;}
.hiw-figure{flex:0 0 360px;margin:0;}
.hiw-figure img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 55%;border-radius:10px;display:block;box-shadow:0 24px 48px rgba(34,31,27,.12);}
.hiw-figure figcaption{font-size:13px;line-height:1.55;color:#8A8377;margin-top:10px;}
@media (max-width:900px){
  .hiw-flex{flex-direction:column;align-items:stretch;gap:28px;}
  .hiw-figure{flex:none;max-width:420px;}
}

/* Tables on phones: no sideways scrolling. Each row becomes a stacked card and every value
   carries its column name (data-label), so nothing hides off-screen. */
@media (max-width:700px){
  .glo-table-wrap{overflow:visible !important;background:transparent !important;border:0 !important;}
  table.glo-stack{min-width:0 !important;display:block;font-size:15.5px !important;}
  table.glo-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  table.glo-stack tbody,table.glo-stack tr,table.glo-stack th,table.glo-stack td{display:block;width:auto;}
  table.glo-stack tr{background:#FFFFFF;border:1px solid #E6E1D6;border-radius:10px;padding:16px 18px;margin:0 0 12px;}
  table.glo-stack th[scope="row"]{padding:0 0 8px !important;border:0 !important;white-space:normal !important;font-family:'Playfair Display',Georgia,serif;font-size:19px;font-weight:400 !important;color:#221F1B;}
  table.glo-stack td{padding:8px 0 0 !important;border:0 !important;border-top:1px solid #F0ECE4 !important;margin-top:8px;}
  table.glo-stack td::before{content:attr(data-label);display:block;font-family:'Montserrat',sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#B8894F;font-weight:600;margin-bottom:3px;}
  table.glo-stack--pair td{border-top:0 !important;margin-top:0;padding-top:4px !important;}
}
/* Florida s. 456.062 notice for free or discounted services */
.glo-footer-legal{max-width:1320px;margin:0 auto;padding:0 48px 28px;font-size:11px;line-height:1.6;letter-spacing:.02em;color:#9C8E77;}
.glo-offer-legal{font-size:10.5px;line-height:1.55;color:#8A8377;margin:10px 0 0;text-align:left;}
@media (max-width:600px){.glo-footer-legal{padding:0 20px 24px;}}
