/* Galina · editorial and mobile refinement · 2026-11-10
   Loaded ONLY on public pages other than /yantra-4x4/.
   Keeps all calculators, booking flows, current images and legal pages intact. */
:root{--gp-forest:#173d30;--gp-gold:#a5824f;--gp-line:#d9cfbe}
html{scroll-padding-top:20px}
body{max-width:100%;}
body,body *{box-sizing:border-box}
/* Balanced headings, left-aligned prose. Do not override existing colors/type families. */
body :is(h1,h2,h3){overflow-wrap:break-word;hyphens:auto;text-wrap:balance;text-align:center}
body :is(.section-head,.section-header,.pr-heading,.tr-section-head,.sales-intro,.v10-section-lead,.service-bridge-head,.ga-intro-column,.ga-price-teaser,.galina-v15-contact,.sales-hero-copy,.pr-hero-copy,.tr-hero-copy,.v10-media-copy,.calc-copy,.products-copy,.about-copy,.service-offer-body) > :is(h1,h2,h3){text-align:center!important;margin-left:auto;margin-right:auto}
body :is(.kicker,.pr-over,.sales-eyebrow,.eyebrow,.tr-over,.ga-price-kicker,.service-over,.ga-ol-structured){text-wrap:balance}
body :is(.dir-body,.pr-metrics article,.sales-four article,.tr-track,.service-offer-body,.product){min-width:0}
body :is(.dir-body h3,.pr-metrics h3,.sales-four h3,.tr-track h3,.product h3,.service-offer-body h3){text-align:center}
body :is(.dir-body p,.pr-metrics article p,.sales-four article p,.tr-track p,.product p,.service-offer-body p){text-align:left}
body :is(.tags,.about-chips,.service-study-tags){justify-content:center}
body :is(.tags span,.about-chips span,.service-study-tags span){text-align:center;line-height:1.4;max-width:100%}
.service-study-tags .gp-upayi-chip{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid #b49b69;border-radius:50px;color:#f3d9a0!important;text-decoration:none;font-size:12px;line-height:1.45;text-align:center;white-space:normal}
.service-study-tags .gp-upayi-chip:hover{background:rgba(255,255,255,.1)}
.gp-method-link{color:inherit;text-decoration:underline;text-underline-offset:4px}
/* Harmonisation intentionally has its own full-width fifth tile */
.sales-four article.ga-harmonisation-card{grid-column:1/-1;max-width:100%;text-align:center}
.sales-four article.ga-harmonisation-card p{max-width:640px;margin-inline:auto;text-align:center}
/* Price lines: item at left, currency amount together on its own line on phones */
.ga-pricing-rows{display:grid;gap:0;margin:12px 0 18px}
.ga-pricing-rows > div{display:flex;align-items:baseline;gap:12px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--gp-line)}
.ga-pricing-rows > div span{font-size:15px;line-height:1.45;text-align:left}
.ga-pricing-rows > div strong{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums;color:inherit}
.product .price{display:block;font-variant-numeric:tabular-nums;white-space:nowrap}
/* Real photographs rather than a pseudo-player: clearer editorial caption */
.v10-video-poster .v10-video-overlay{background:linear-gradient(0deg,rgba(13,39,29,.96),rgba(13,39,29,.42) 74%,transparent)}
/* Mobile logo: prevent rectangular dark matt appearing pasted onto the portrait. */
.approved-hero-brand{isolation:auto!important;background:transparent!important}
.approved-hero-brand::before{content:none!important;background:none!important}
.approved-hero-brand .brandmark-approved{mix-blend-mode:screen;filter:none!important}
@media(min-width:721px){.topnav .gp-search-launch{position:static;flex:none;margin-left:4px}}
/* Quick site search, same colors as the project */
.gp-search-launch{position:absolute;z-index:65;right:84px;top:18px;width:44px;height:44px;border:1px solid rgba(196,161,104,.5);border-radius:50%;display:grid;place-items:center;background:rgba(15,45,32,.72);color:#f3dcb0;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.gp-search-launch:hover,.gp-search-launch:focus-visible{background:#25503e;outline:2px solid #d1b47f;outline-offset:2px}
.gp-search-launch svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.gp-search-launch.gp-search-home{top:18px;right:92px}
.gp-search-overlay[hidden]{display:none!important}
.gp-search-overlay{position:fixed;inset:0;z-index:10050;background:rgba(10,29,22,.68);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:clamp(44px,9vh,100px) 16px 24px}
.gp-search-panel{width:min(100%,700px);background:#faf7ef;color:#183c2e;border:1px solid #d0b789;border-radius:18px;padding:clamp(19px,4vw,35px);box-shadow:0 25px 80px rgba(0,0,0,.35)}
.gp-search-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:17px}
.gp-search-title{margin:0!important;font:400 clamp(25px,4vw,36px)/1.2 Georgia,'Times New Roman',serif!important;color:#173e30!important;text-align:left!important}
.gp-search-close{width:42px;height:42px;flex:none;background:#f5efe1;color:#173d30;border:1px solid #d9c7a8;border-radius:9px;font-size:28px;line-height:1;cursor:pointer}
.gp-search-label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:#415d4b}
.gp-search-input{display:block;width:100%;height:52px;padding:13px 16px;border:1px solid #bbaa8f;border-radius:9px;background:#fff;color:#173d30;font-size:16px;outline-offset:2px}
.gp-search-results{margin-top:17px;display:grid;gap:8px}
.gp-search-result{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #e0d6c7;border-radius:10px;background:#fffdf9;text-decoration:none!important;color:#173e30!important}
.gp-search-result:hover,.gp-search-result:focus-visible{background:#f4ecd8;border-color:#b39c70}
.gp-search-result strong{display:block;font-size:15px;line-height:1.3}
.gp-search-result small{display:block;font-size:12px;color:#647266;margin-top:3px}
.gp-search-count{font-size:12px;color:#67766a;margin-top:13px}
.gp-search-empty{font-size:14px;color:#5b705e;padding:12px 0}
/* Maintain functional date controls, inputs and links */
:is(button,a,input,select,textarea):focus-visible{outline:3px solid #c79d57;outline-offset:3px}
@media(max-width:960px){
  .pr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sales-four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  html,body{max-width:100%}
  /* Shorter, calmer sections: protect individual app containers */
  .section{padding-top:46px!important;padding-bottom:46px!important}
  .pr-section{padding-top:48px!important;padding-bottom:48px!important}
  .v10-section,.sales-section{padding-top:48px!important;padding-bottom:48px!important}
  .v10-media-band{padding-top:42px!important;padding-bottom:42px!important}
  .v10-video-poster{min-height:0!important}
  .v10-video-poster img{height:auto;min-height:240px;max-height:360px;object-fit:cover}
  .section-head{margin-bottom:25px!important}
  .section-header{margin-bottom:25px!important}
  .pr-heading{margin-inline:auto}
  .pr-metrics{grid-template-columns:1fr;gap:12px}
  .sales-four{grid-template-columns:1fr;gap:12px}
  .sales-four article.ga-harmonisation-card{grid-column:auto}
  :is(.pr-section,.sales-section,.tr-section,.section) :is(h1,h2){font-size:clamp(30px,8.2vw,43px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
  :is(.pr-section,.sales-section,.tr-section,.section) h3{font-size:clamp(24px,6.7vw,33px);line-height:1.17}
  :is(.calculator-grid,.calc-copy,.products-copy,.about-copy,.ga-intro-column,.service-bridge-head) > h2{text-align:center!important;margin-left:auto;margin-right:auto;max-width:24ch}
  :is(.pr-heading,.tr-section-head,.sales-intro,.section-head,.service-bridge-head) > :is(.kicker,.pr-over,.sales-eyebrow,.eyebrow){text-align:center}
  .ga-ol-structured .ga-ol-part{white-space:normal!important}
  :is(.tr-track,.pr-metrics article,.sales-four article,.direction,.service-offer,.ga-tool-card){min-width:0}
  .dir-body{padding:22px 18px!important}
  .dir-body p{margin-bottom:15px!important}
  .dir-more{margin-top:auto}
  .about-chips,.tags,.service-study-tags{gap:8px!important}
  .tags span,.about-chips span,.service-study-tags span{flex:0 1 auto;white-space:normal!important}
  .ga-price-teaser{margin-block:25px!important;padding:23px 17px!important}
  .ga-pricing-rows>div{display:grid;justify-items:start;gap:5px}
  .ga-pricing-rows>div strong{font-size:20px}
  .product .price{margin-top:6px;margin-bottom:12px}
  .gp-search-launch{top:14px;right:76px;width:40px;height:40px}
  .gp-search-launch.gp-search-home{top:12px;right:74px}
  /* Home hero logo: preserve the gold lettering while removing the dark mat. */
  .approved-hero-brand::before{display:none!important}
  .approved-hero-brand .brandmark-approved{mix-blend-mode:screen;filter:none!important}
  /* The calculator trigger is in the bottom-right; place scroll-to-top above it. */
  :is(.scroll-top,.back-to-top,.to-top,.go-top,.scroll-to-top,.back-top,#back-to-top,#scroll-top,#to-top){bottom:105px!important;right:14px!important}
  .ga-cal-dock{right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:80}
  .ga-cal-dock .ga-cal-trigger{max-width:56px;min-width:52px;overflow:hidden}
  .ga-cal-dock .ga-cal-trigger-copy,.ga-cal-dock .ga-cal-trigger-arrow{display:none!important}
  .ga-cal-dock .ga-cal-panel{max-width:calc(100vw - 24px)}
  /* Safe horizontal sizing without hiding broken overflow. */
  :is(.pr-wrap,.sales-container,.container,.wrap,.ga-intro-column,.pr-metrics,.sales-four,.tr-tracks){max-width:100%;min-width:0}
}
@media(max-width:375px){
 .gp-search-launch{right:70px;top:12px;width:38px;height:38px}
 .gp-search-launch.gp-search-home{right:71px}
 .pr-metrics h3,.sales-four h3{font-size:25px!important}
 .ga-pricing-rows>div strong{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.gp-search-overlay *, .gp-search-launch{scroll-behavior:auto!important;transition:none!important}}
