/* Theme control and accessible back-to-top button */
:root{--font-text:'Noto Sans Georgian','Noto Sans','DM Sans',Arial,sans-serif}
html[lang="en"]{--font-text:'DM Sans','Noto Sans','Noto Sans Georgian',Arial,sans-serif}
html[lang="ru"]{--font-text:'Noto Sans','DM Sans','Noto Sans Georgian',Arial,sans-serif}
body{font-family:var(--font-text);font-size:16px;line-height:1.75;text-rendering:optimizeLegibility}
html,body{scrollbar-color:#28576b #061522;scrollbar-width:thin}
html::-webkit-scrollbar{width:10px;background:#061522}
html::-webkit-scrollbar-track{background:#061522}
html::-webkit-scrollbar-thumb{background:#28576b;border:2px solid #061522;border-radius:10px}
html::-webkit-scrollbar-thumb:hover{background:#3c8193}
button,select,input,textarea{font-family:var(--font-text)}
.nav a{font-family:var(--font-text);font-size:14px;line-height:1.5}
.eyebrow,.service-card-number,.contact-detail-label,.card-top,.offer-page-top,.contact-channel-top{font-family:var(--font-text);font-size:11px}
.hero-copy,.section-head>p,.about-copy p,.service-row p,.service-card p,.offer-card p,.goal-card p,.project-card p,.offer-page-card p,.contact-channel-card p,.tv-feature-card p,.about-pillar p,.employee-copy,.employee-quote,.contact-details p,.service-hero-content>p{font-family:var(--font-text);font-size:15px;line-height:1.8}
.button,.text-link,.footer,.cookie-note,.contact-detail-list a{font-family:var(--font-text)}
.button{font-size:14px}
.footer p,.footer>a:last-child{font-size:12px}
html[lang="ka"] .nav a,
html[lang="ka"] .eyebrow,
html[lang="ka"] .hero-title,
html[lang="ka"] .section h2,
html[lang="ka"] .service-hero-content h1,
html[lang="ka"] .service-card-number,
html[lang="ka"] .service-num,
html[lang="ka"] .contact-detail-label,
html[lang="ka"] .hero-index,
html[lang="ka"] .scroll-cue,
html[lang="ka"] .card-top,
html[lang="ka"] .offer-page-top,
html[lang="ka"] .contact-channel-top,
html[lang="ka"] .project-card-top{letter-spacing:0!important}
html[lang="ru"] .nav a,
html[lang="ru"] .eyebrow,
html[lang="ru"] .hero-title,
html[lang="ru"] .section h2,
html[lang="ru"] .service-hero-content h1,
html[lang="ru"] .service-card-number,
html[lang="ru"] .service-num,
html[lang="ru"] .contact-detail-label,
html[lang="ru"] .hero-index,
html[lang="ru"] .scroll-cue,
html[lang="ru"] .card-top,
html[lang="ru"] .offer-page-top,
html[lang="ru"] .contact-channel-top,
html[lang="ru"] .project-card-top{letter-spacing:0!important}

.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid rgba(177,218,238,.28);
  border-radius:999px;
  color:#e8f5fb;
  background:rgba(255,255,255,.07);
  font:600 12px/1 'Noto Sans Georgian','DM Sans',sans-serif;
  cursor:pointer;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.theme-toggle:hover{background:rgba(104,209,213,.14);border-color:rgba(112,220,219,.58)}
.theme-toggle:focus-visible,.back-to-top:focus-visible,.menu-toggle:focus-visible{outline:3px solid #73dfe0;outline-offset:3px}
.language-switcher{display:inline-flex;align-items:center}
.language-select{
  min-height:42px;
  min-width:66px;
  padding:7px 9px;
  border:1px solid rgba(177,218,238,.28);
  border-radius:10px;
  color:#e8f5fb;
  background:#0c2334;
  font:700 12px/1 'DM Sans','Noto Sans Georgian',sans-serif;
  cursor:pointer;
}
.language-select:focus-visible{outline:3px solid #73dfe0;outline-offset:3px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.theme-icon{width:17px;height:17px;flex:none}
.theme-icon-moon{display:none}
.back-to-top{
  position:fixed;
  z-index:40;
  right:calc(20px + env(safe-area-inset-right, 0px));
  bottom:calc(20px + env(safe-area-inset-bottom, 0px));
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  padding:0;
  border:1px solid rgba(157,229,231,.48);
  border-radius:50%;
  color:#052337;
  background:linear-gradient(135deg,#73e4d1,#8ad8ff);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease;
}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(0,0,0,.34)}
.back-to-top svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;fill:none}
.back-to-top[hidden]{display:none!important}

/* Light theme; dark remains the default */
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="light"] body{background:#f2f7fa;color:#173449}
:root[data-theme="light"] .site-header{
  background:rgba(245,250,253,.95);
  border-bottom-color:rgba(31,79,107,.13);
  box-shadow:0 8px 28px rgba(22,56,78,.09);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
:root[data-theme="light"] .brand span{color:#143b55}
:root[data-theme="light"] .brand small{color:#587386}
:root[data-theme="light"] .nav a{color:#244b63}
:root[data-theme="light"] .nav a:hover{color:#087d86}
:root[data-theme="light"] .nav a:after{background:linear-gradient(90deg,#29a8a5,#58a8ff)}
:root[data-theme="light"] .menu-toggle{border-color:rgba(31,79,107,.2);background:rgba(12,52,77,.055)}
:root[data-theme="light"] .menu-toggle i{background:#173f58}
:root[data-theme="light"] .theme-toggle{color:#174158;border-color:rgba(31,79,107,.22);background:rgba(16,76,104,.055)}
:root[data-theme="light"] .theme-toggle:hover{background:rgba(47,161,166,.12)}
:root[data-theme="light"] .language-select{color:#174158;background:#edf4f7;border-color:rgba(31,79,107,.22)}
:root[data-theme="light"] .theme-icon-sun{display:none}
:root[data-theme="light"] .theme-icon-moon{display:block}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero){
  background:linear-gradient(145deg,#f6fafc 0%,#eaf2f7 100%)!important;
  color:#173449!important;
  border-top-color:rgba(25,83,112,.12);
  border-bottom-color:rgba(25,83,112,.1);
}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) h2,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) h3,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) h4,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) p,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) li{color:#1b3a50!important}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .section-head .eyebrow,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .eyebrow,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-card-number,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-detail-label,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .discount-mark{color:#167b82!important}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .section-head>p,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-row p,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .about-copy p,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .employee-copy,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-card p,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .offer-card p{color:#536b7b!important}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) h2 em{color:#147e8c!important}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .offer-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .goal-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .project-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .offer-page-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-channel-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-detail-card,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .about-pillar,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .employee-quote{
  background:linear-gradient(145deg,#fff,#f2f7fa)!important;
  border-color:rgba(34,83,110,.16)!important;
  box-shadow:0 12px 30px rgba(17,51,73,.07);
}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .offer-card h3,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-card h3,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .goal-card h3,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-channel-card h3{color:#173c55!important}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) a:not(.button){color:#176b81}
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-list,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .service-row,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .about-pillar-list,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .about-pillar,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .social-links,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .social-links a,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-detail-list,
:root[data-theme="light"] main>section:not(.hero):not(.service-page-hero) .contact-detail-list a{border-color:rgba(34,83,110,.15)!important}
:root[data-theme="light"] .footer{background:#e8f0f5;border-top-color:rgba(34,83,110,.15)}
:root[data-theme="light"] .footer p,
:root[data-theme="light"] .footer>a:last-child{color:#4d687a;border-bottom-color:#a8bdca}
:root[data-theme="light"] .footer .brand span{color:#173d57}
:root[data-theme="light"] .footer .brand small{color:#5e7889}
:root[data-theme="light"] .cookie-note{background:#fff;color:#173449}
:root[data-theme="light"] .nav.open{background:rgba(245,250,253,.98);border-bottom-color:rgba(31,79,107,.14)}

/* Phone and small-tablet layout */
@media(max-width:760px){
  html{scroll-padding-top:76px}
  body{font-size:16px;line-height:1.75;overflow-x:hidden}
  .site-header{height:70px;padding:0 16px;gap:10px}
  .site-header .brand{order:0}
  .site-header .brand span{font-size:21px}
  .site-header .brand small{font-size:6.5px;letter-spacing:.12em}
  .site-header .language-switcher{order:1;margin-left:auto}
  .language-select{width:58px;min-width:58px;min-height:42px;padding:7px 5px}
  .site-header .theme-toggle{order:2;margin-left:0;min-width:42px;padding:8px}
  .theme-toggle-label{display:none}
  .site-header .menu-toggle{order:3;width:42px;height:42px;padding:7px}
  .nav{top:70px;max-height:calc(100svh - 70px);overflow:auto;padding:12px 20px 20px}
  .nav a{min-height:46px;padding:10px 0;font-size:15px}
  .hero{min-height:100vh;min-height:max(620px,100svh);height:auto;padding:100px 16px 92px}
  .hero-content{width:100%;max-width:540px;margin:auto;padding:25px 18px;border-radius:18px}
  .hero h1{font-size:clamp(52px,15vw,78px);line-height:1.06;letter-spacing:.055em;margin:22px 0 16px}
  .hero-title{font-size:clamp(12px,3.7vw,14px);letter-spacing:.025em;line-height:1.8}
  .hero-copy{font-size:15px;line-height:1.85;max-width:38em;margin-bottom:22px}
  .hero-actions{gap:11px}
  .hero-actions .button,.button{min-height:46px;font-size:14px}
  .scroll-cue{font-size:11px;letter-spacing:.04em;bottom:17px}
  .hero-index{font-size:10px;bottom:25px}
  .service-page-hero{min-height:100vh;min-height:max(620px,100svh);height:auto;padding:84px 16px 48px}
  .service-hero-content{width:100%;max-width:590px;padding:25px 17px;border-radius:18px}
  .service-hero-content .eyebrow{font-size:10px;letter-spacing:.04em;line-height:1.6}
  .service-hero-content h1,.offers-page-hero .service-hero-content h1{font-size:clamp(27px,7.6vw,38px);line-height:1.42;letter-spacing:-.025em;margin:17px auto 13px;overflow-wrap:anywhere}
  .service-hero-content>p{font-size:15px;line-height:1.8;margin-bottom:20px}
  .section{padding:62px 18px}
  .section-head{display:block;margin-bottom:28px}
  .section-head .eyebrow{font-size:10px;letter-spacing:.1em}
  .section h2{font-size:clamp(28px,8.3vw,37px);line-height:1.28;letter-spacing:-.025em;margin-top:14px}
  .section-head>p{max-width:none;margin:16px 0 0;font-size:15px;line-height:1.8}
  .offer-card,.service-card,.goal-card,.project-card,.offer-page-card,.contact-channel-card,.contact-detail-card{padding:21px;min-height:0}
  .offer-card h3,.service-card h3,.goal-card h3,.project-card h3,.offer-page-card h3,.contact-channel-card h3{font-size:18px;line-height:1.5}
  .offer-card p,.service-card p,.goal-card p,.project-card p,.offer-page-card p,.contact-channel-card p,.contact-details p,.service-items li{font-size:15px;line-height:1.8}
  .service-row{grid-template-columns:36px minmax(0,1fr);gap:8px 12px;padding:17px 0}
  .service-row h3{font-size:16px;line-height:1.55}
  .service-row p{grid-column:2;grid-row:2;font-size:15px;line-height:1.75}
  .service-num{font-size:10px}
  .about{grid-template-columns:minmax(0,1fr);gap:30px}
  .about-visual{max-width:350px;border-radius:20px}
  .visual-core{gap:10px}
  .visual-core span{font-size:72px}
  .visual-core small{font-size:7px;letter-spacing:.12em}
  .visual-label{font-size:7px;letter-spacing:.15em}
  .about-copy p,.employee-copy,.employee-quote{font-size:15px;line-height:1.85}
  .about-pillar{grid-template-columns:36px minmax(0,1fr);gap:7px 12px;padding:17px 0}
  .about-pillar h3{font-size:16px;line-height:1.5}
  .about-pillar p{grid-column:2;grid-row:2;font-size:15px;line-height:1.75}
  .goal-grid,.project-grid,.offer-page-grid,.contact-channel-grid,.tv-feature-grid,.service-card-grid{grid-template-columns:minmax(0,1fr)}
  .service-card{min-height:0}
  .contact{display:flex;align-items:flex-start;gap:22px;flex-direction:column;padding-bottom:64px}
  .contact .button,.service-cta .button{margin:0}
  .contact-lines{position:static;display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:4px;font-size:12px}
  .contact-details-grid{grid-template-columns:minmax(0,1fr)}
  .contact-detail-list a{min-height:50px;font-size:15px;overflow-wrap:anywhere}
  .social-section,.learning-approach{grid-template-columns:minmax(0,1fr);gap:24px}
  .service-cta{display:flex;align-items:flex-start;flex-direction:column;gap:22px;padding-bottom:64px}
  .footer{padding:24px 18px;gap:14px;align-items:flex-start}
  .footer p{order:2;width:100%;font-size:12px;line-height:1.7}
  .footer>a:last-child{order:3;margin:0;min-height:42px;display:inline-flex;align-items:center;font-size:12px}
  .back-to-top{right:calc(14px + env(safe-area-inset-right, 0px));bottom:calc(14px + env(safe-area-inset-bottom, 0px));width:48px;height:48px}
  .cookie-note{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom, 0px));max-width:none;gap:12px;padding:13px;font-size:13px}
}

@media(max-width:380px){
  .site-header{padding-inline:12px;gap:7px}
  .site-header .brand span{font-size:19px}
  .theme-toggle,.site-header .menu-toggle{width:40px;height:40px;min-width:40px}
  .language-select{width:52px;min-width:52px;min-height:40px}
  .hero-content,.service-hero-content{padding-inline:14px}
  .section{padding-inline:15px}
  .visual-core span{font-size:64px}
  .visual-core small{font-size:6px}
}

/* Keep the moving map signals visible on devices that request reduced motion. */
:root[data-theme] .moving-signal{display:inline;visibility:visible}
@media(max-width:760px){.moving-signal{filter:none!important}}


/* Shared GITR footer and legal information pages */
.site-footer{position:relative;isolation:isolate;width:min(1320px,calc(100% - 48px));margin:76px auto 28px;padding:clamp(28px,5vw,58px);display:block;overflow:hidden;border:1px solid rgba(158,204,221,.16);border-radius:24px;background:radial-gradient(ellipse at 90% 0%,rgba(56,133,167,.14),transparent 42%),linear-gradient(135deg,#0b2030,#0b2635 58%,#0a1d2c);box-shadow:0 22px 60px rgba(2,12,22,.16);color:#edf6f8}
.site-footer:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.3;background-image:linear-gradient(rgba(167,211,229,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(167,211,229,.035) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(135deg,#000,transparent 75%)}
.footer-cta,.footer-main-row,.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:28px}
.footer-kicker{display:block;margin-bottom:14px;color:#7ed7d3;font-size:11px;font-weight:600;letter-spacing:.12em}
.footer-cta h2{margin:0;color:#f4f8fc;font-size:clamp(28px,4vw,46px);line-height:1.38;font-weight:500;letter-spacing:-.035em}
.footer-cta h2 em{color:#88dcd5;font-style:normal}
.footer-contact-button{min-height:56px;display:inline-flex;align-items:center;gap:18px;padding:8px 9px 8px 22px;border-radius:10px;background:#eff6f2;color:#15394a;font-size:14px;font-weight:600;white-space:nowrap;transition:transform .2s ease,box-shadow .2s ease}
.footer-contact-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.footer-contact-button b{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,#4cdbca,#6bbcff);font:600 20px 'DM Sans',sans-serif;color:#07283b}
.footer-divider{height:1px;margin:32px 0 26px;background:rgba(183,218,225,.16)}
.footer-main-row{align-items:flex-start}
.footer-brand{display:inline-flex;flex-direction:column;gap:3px}
.footer-brand span{font-family:'DM Sans',sans-serif;font-size:29px;font-weight:700;line-height:1.1;letter-spacing:.14em;background:linear-gradient(105deg,#fff,#98d9fa 65%,#75e0d2);-webkit-background-clip:text;background-clip:text;color:transparent}
.footer-brand small{color:#91acbb;font:600 8px 'DM Sans',sans-serif;letter-spacing:.2em}
.footer-socials{display:flex;flex-wrap:wrap;gap:9px}
.footer-socials a{min-height:42px;display:inline-flex;align-items:center;gap:9px;padding:0 14px;border:1px solid rgba(173,214,224,.2);border-radius:9px;color:#c1d4dc;font-size:13px;transition:background .2s ease,border-color .2s ease,color .2s ease}
.footer-socials a:hover{color:#efffff;border-color:rgba(102,218,211,.55);background:rgba(75,205,198,.08)}
.footer-socials a span{display:inline-grid;place-items:center;width:18px;height:18px;color:#8ddbd8;font-family:'DM Sans',sans-serif;font-size:15px;font-weight:700}
.footer-legal-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin:27px 0 23px}
.footer-legal-links a,.footer-bottom a{color:#9eb8c3;font-size:12px;line-height:1.6;transition:color .2s ease}
.footer-legal-links a:hover,.footer-bottom a:hover{color:#80ddd7}
.footer-bottom{justify-content:flex-start;padding-top:19px;border-top:1px solid rgba(183,218,225,.14);color:#8ca8b5;font-size:11px}
.footer-bottom a{margin-left:auto}
.legal-page{padding-top:82px}
.legal-main{width:min(1100px,calc(100% - 48px));margin:0 auto;padding:70px 0 30px}
.legal-hero{padding:34px 0 45px}
.legal-hero .eyebrow{display:flex;align-items:center;gap:11px;color:#8adbd9}
.legal-hero .eyebrow b{display:inline-block;width:22px;height:1px;background:#59d3ca}
.legal-overline{margin:19px 0 9px;color:#8faebe;font-size:12px}
.legal-hero h1{max-width:920px;margin:0;color:#f2f8fc;font-size:clamp(34px,6vw,64px);font-weight:600;line-height:1.24;letter-spacing:-.04em}
.legal-intro{max-width:790px;margin:20px 0 0;color:#b7c9d4;font-size:16px;line-height:1.85}
.legal-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid rgba(174,213,227,.17)}
.legal-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border:1px solid rgba(174,213,227,.18);border-radius:8px;color:#b6ccd6;font-size:13px;transition:background .2s,border-color .2s,color .2s}
.legal-tabs a:hover,.legal-tabs a.is-active{border-color:rgba(92,218,208,.45);background:rgba(68,196,191,.1);color:#a4ebe1}
.legal-content{border:1px solid rgba(174,213,227,.13);border-radius:17px;background:linear-gradient(140deg,rgba(12,35,51,.92),rgba(9,27,41,.94));overflow:hidden}
.legal-section{display:grid;grid-template-columns:54px minmax(0,1fr);gap:20px;padding:26px 30px;border-bottom:1px solid rgba(174,213,227,.12)}
.legal-section:last-child{border-bottom:0}
.legal-number{display:grid;place-items:center;width:38px;height:30px;border:1px solid rgba(92,218,208,.25);border-radius:30px;color:#80ddd7;font:600 11px 'DM Sans',sans-serif}
.legal-section h2{margin:0 0 10px;color:#edf6f8;font-size:19px;line-height:1.5;font-weight:600}
.legal-section p{max-width:850px;margin:7px 0 0;color:#afc2cd;font-size:14px;line-height:1.9}
.legal-source{margin:16px 0 0;color:#95adba;font-size:12px}
.legal-source a{color:#8addd8;text-decoration:underline;text-underline-offset:3px}
:root[data-theme="light"] .legal-page{background:#f2f7fa}
:root[data-theme="light"] .legal-hero h1{color:#15384f}
:root[data-theme="light"] .legal-intro{color:#4e687b}
:root[data-theme="light"] .legal-overline{color:#597889}
:root[data-theme="light"] .legal-tabs{border-color:rgba(34,83,110,.16)}
:root[data-theme="light"] .legal-tabs a{color:#345d73;border-color:rgba(34,83,110,.18)}
:root[data-theme="light"] .legal-tabs a:hover,:root[data-theme="light"] .legal-tabs a.is-active{background:#e0f3f2;color:#146b72;border-color:rgba(26,144,148,.38)}
:root[data-theme="light"] .legal-content{background:linear-gradient(140deg,#fff,#f4f9fb);border-color:rgba(34,83,110,.16);box-shadow:0 16px 42px rgba(17,51,73,.06)}
:root[data-theme="light"] .legal-section{border-color:rgba(34,83,110,.13)}
:root[data-theme="light"] .legal-section h2{color:#173c55}
:root[data-theme="light"] .legal-section p{color:#526d7e}
:root[data-theme="light"] .legal-source{color:#526d7e}
:root[data-theme="light"] .legal-source a{color:#176b81}
@media(max-width:760px){
  .site-footer{width:calc(100% - 24px);margin:48px auto 14px;padding:24px 20px;border-radius:18px}
  .footer-cta,.footer-main-row{align-items:flex-start;flex-direction:column;gap:20px}
  .footer-cta h2{font-size:clamp(27px,7vw,36px)}
  .footer-contact-button{min-height:50px;padding-left:16px;font-size:13px}
  .footer-divider{margin:24px 0 20px}
  .footer-socials{gap:8px}
  .footer-socials a{min-height:40px;padding:0 11px;font-size:12px}
  .footer-legal-links{display:grid;grid-template-columns:1fr;gap:6px;margin:21px 0 18px}
  .footer-legal-links a{min-height:40px;display:flex;align-items:center;font-size:13px}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:8px;padding-top:15px;font-size:11px}
  .footer-bottom a{margin:0}
  .legal-page{padding-top:70px}
  .legal-main{width:calc(100% - 32px);padding:37px 0 16px}
  .legal-hero{padding:23px 0 28px}
  .legal-hero h1{font-size:clamp(30px,8vw,43px);line-height:1.35;overflow-wrap:anywhere}
  .legal-intro{margin-top:14px;font-size:15px;line-height:1.8}
  .legal-tabs{gap:7px;margin-bottom:15px}
  .legal-tabs a{min-height:40px;padding:7px 10px;font-size:12px}
  .legal-section{grid-template-columns:34px minmax(0,1fr);gap:12px;padding:20px 15px}
  .legal-number{width:31px;height:27px;font-size:10px}
  .legal-section h2{font-size:17px;line-height:1.5}
  .legal-section p{font-size:14px;line-height:1.8}
}

/* Refined legal-page introduction panel and typography */
.legal-main{width:min(1100px,calc(100% - 48px));min-width:0;box-sizing:border-box}
.legal-hero{box-sizing:border-box;min-width:0;padding:clamp(27px,4vw,46px);border:1px solid rgba(143,205,218,.18);border-radius:24px;background:radial-gradient(ellipse at 92% 4%,rgba(50,135,171,.13),transparent 45%),linear-gradient(145deg,#0b2030,#0c2636 65%,#0b1e2e);box-shadow:0 18px 48px rgba(1,12,22,.18);overflow:hidden}
.legal-hero .eyebrow{font-family:var(--font-text);font-size:11px;line-height:1.6;letter-spacing:.06em}
.legal-overline{font-family:var(--font-text);font-size:13px;line-height:1.65}
.legal-hero h1{max-width:820px;font-family:var(--font-text);font-size:clamp(32px,4.2vw,48px);line-height:1.34;letter-spacing:0;font-weight:600;overflow-wrap:anywhere;text-wrap:balance}
.legal-intro{max-width:760px;font-family:var(--font-text);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.legal-tabs{font-family:var(--font-text)}
.legal-tabs a{font-family:var(--font-text);font-size:13px;line-height:1.55;letter-spacing:0}
.legal-section h2,.legal-section p,.legal-source{font-family:var(--font-text);letter-spacing:0}
:root[data-theme="light"] .legal-main > .legal-hero{background:radial-gradient(ellipse at 94% 0%,rgba(93,180,193,.12),transparent 46%),linear-gradient(145deg,#f5fafb,#e8f2f6)!important;border-color:rgba(34,102,124,.17);border-radius:24px;box-shadow:0 18px 46px rgba(17,51,73,.09)}
:root[data-theme="light"] .legal-main > .legal-hero .eyebrow{color:#287d88!important}
:root[data-theme="light"] .legal-main > .legal-hero .legal-overline{color:#587889!important}
:root[data-theme="light"] .legal-main > .legal-hero h1{color:#15384f!important}
:root[data-theme="light"] .legal-main > .legal-hero .legal-intro{color:#4e687b!important}
@media(max-width:760px){
  .legal-main{width:calc(100% - 32px)}
  .legal-hero{padding:23px 19px;border-radius:18px}
  .legal-hero h1{font-size:clamp(28px,7.5vw,38px);line-height:1.4}
  .legal-intro{font-size:14px;line-height:1.8}
}

/* Maintain clear contrast for legal-page tabs in light mode */
:root[data-theme="light"] body.legal-page{background:#f2f7fa!important;color:#173449}
:root[data-theme="light"] body.legal-page:before{display:none!important}
:root[data-theme="light"] .legal-tabs{padding:8px;border:1px solid rgba(34,83,110,.13);border-radius:13px;background:#e8f1f5}
:root[data-theme="light"] .legal-tabs a{color:#244e63!important;border-color:rgba(34,83,110,.17);background:#f7fbfd}
:root[data-theme="light"] .legal-tabs a:hover{color:#145d69!important;border-color:rgba(26,144,148,.35);background:#e3f4f2}
:root[data-theme="light"] .legal-tabs a.is-active{color:#124f63!important;border-color:rgba(26,144,148,.38);background:linear-gradient(135deg,#d6f3ed,#d9eff8)}

/* FAQ page */
.faq-page .site-header{position:fixed}
.faq-page-hero{min-height:max(620px,82svh)}
.faq-page-hero .service-hero-content h1{max-width:920px;font-size:clamp(35px,5.3vw,66px);line-height:1.38}
.faq-section{background:linear-gradient(145deg,#f4f8fb,#e8f1f6);color:#102338}
.faq-section .section-head .eyebrow,.faq-contact .eyebrow{color:#287d91}
.faq-section .section-head h2{color:#15384f}
.faq-section .section-head>p{color:#526d7e}
.faq-list{max-width:1040px;margin:0 auto;border-top:1px solid rgba(30,78,103,.16)}
.faq-item{border-bottom:1px solid rgba(30,78,103,.16)}
.faq-item summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:48px minmax(0,1fr) 34px;gap:14px;align-items:center;min-height:78px;padding:14px 5px;color:#183c52;font-family:var(--font-text)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-number{font:600 11px 'DM Sans',sans-serif;color:#238b91;letter-spacing:.08em}
.faq-question{font-size:17px;line-height:1.6;font-weight:600}
.faq-toggle{position:relative;width:30px;height:30px;justify-self:end;border:1px solid rgba(34,123,136,.23);border-radius:50%;background:rgba(255,255,255,.65)}
.faq-toggle:before,.faq-toggle:after{content:'';position:absolute;left:9px;right:9px;top:14px;height:2px;border-radius:2px;background:#247c89;transition:transform .2s ease}
.faq-toggle:after{transform:rotate(90deg)}
.faq-item[open] .faq-toggle:after{transform:rotate(0)}
.faq-item summary:hover .faq-question{color:#147783}
.faq-item summary:focus-visible{outline:2px solid #26a6a8;outline-offset:3px;border-radius:8px}
.faq-answer{padding:0 54px 22px 67px;animation:faq-open .2s ease both}
.faq-answer p{max-width:820px;margin:0;color:#586f80;font-family:var(--font-text);font-size:15px;line-height:1.9}
@keyframes faq-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.faq-contact{display:flex;align-items:center;justify-content:space-between;gap:32px;background:linear-gradient(125deg,#e9f3f6,#f7fafc);border-top:1px solid rgba(34,83,110,.1)}
.faq-contact h2{margin:13px 0 8px;color:#173c55;font-family:var(--font-text);font-size:clamp(28px,4vw,42px);line-height:1.4}
.faq-contact p{max-width:680px;margin:0;color:#526d7e;font-size:15px;line-height:1.8}
.faq-contact .button{flex:none}
:root[data-theme="light"] .faq-section{background:linear-gradient(145deg,#f4f8fb,#e8f1f6)!important;color:#102338!important}
:root[data-theme="light"] .faq-section .section-head h2{color:#15384f!important}
:root[data-theme="light"] .faq-section .section-head>p{color:#526d7e!important}
:root[data-theme="light"] .faq-item summary{color:#183c52!important}
:root[data-theme="light"] .faq-item .faq-question{color:#183c52!important}
:root[data-theme="light"] .faq-answer p{color:#586f80!important}
:root[data-theme="light"] .faq-contact{background:linear-gradient(125deg,#e9f3f6,#f7fafc)!important}
:root[data-theme="light"] .faq-contact h2{color:#173c55!important}
:root[data-theme="light"] .faq-contact p{color:#526d7e!important}
@media(min-width:801px) and (max-width:1150px){.site-header{padding-inline:24px}.nav{gap:16px}.nav a{font-size:13px}}
@media(max-width:760px){
  .faq-page-hero{min-height:max(600px,82svh)}
  .faq-page-hero .service-hero-content h1{font-size:clamp(29px,7.6vw,42px);line-height:1.4}
  .faq-item summary{grid-template-columns:32px minmax(0,1fr) 30px;gap:9px;min-height:72px;padding:13px 0}
  .faq-question{font-size:15px;line-height:1.6}
  .faq-answer{padding:0 39px 18px 41px}
  .faq-answer p{font-size:14px;line-height:1.8}
  .faq-contact{align-items:flex-start;flex-direction:column;gap:18px}
  .faq-contact h2{font-size:clamp(26px,7vw,34px)}
}

/* FAQ page: coherent surfaces in both themes and a tighter section start */
.faq-section.section{padding-top:clamp(52px,5.2vw,72px);padding-bottom:clamp(56px,6vw,82px);background:radial-gradient(ellipse at 94% 0%,rgba(47,128,164,.13),transparent 42%),linear-gradient(145deg,#081a28,#0b2232 58%,#091c2a)!important;color:#edf6fa!important}
.faq-section .section-head h2{color:#f1f7fa!important}
.faq-section .section-head .eyebrow{color:#80dad7!important}
.faq-section .section-head>p{color:#b1c4d0!important}
.faq-list{border-top-color:rgba(176,214,228,.17)}
.faq-item{border-bottom-color:rgba(176,214,228,.15);transition:background .2s ease,border-color .2s ease}
.faq-item[open]{border-radius:12px;background:rgba(116,184,206,.055)}
.faq-item summary{color:#eef6fa!important}
.faq-number{color:#75ded8}
.faq-question{color:#edf5f8}
.faq-item summary:hover .faq-question{color:#8ce2dc}
.faq-toggle{border-color:rgba(113,215,212,.34);background:rgba(39,120,145,.16)}
.faq-toggle:before,.faq-toggle:after{background:#8adfd9}
.faq-answer p{color:#b7c9d4!important}
.faq-contact.section{padding-top:clamp(48px,5vw,72px);padding-bottom:clamp(52px,6vw,82px);background:radial-gradient(ellipse at 85% 35%,rgba(76,192,183,.13),transparent 37%),linear-gradient(120deg,#0a2030,#0d2b3d 58%,#0a2030)!important;border-top:1px solid rgba(117,203,215,.16)}
.faq-contact h2{color:#f3f8fb!important}
.faq-contact p{color:#b7c9d4!important}
:root[data-theme="light"] .faq-section.section{background:linear-gradient(145deg,#f4f8fb,#e8f1f6)!important;color:#102338!important}
:root[data-theme="light"] .faq-section .section-head h2{color:#15384f!important}
:root[data-theme="light"] .faq-section .section-head .eyebrow{color:#287d91!important}
:root[data-theme="light"] .faq-section .section-head>p{color:#526d7e!important}
:root[data-theme="light"] .faq-list{border-top-color:rgba(30,78,103,.16)}
:root[data-theme="light"] .faq-item{border-bottom-color:rgba(30,78,103,.16)}
:root[data-theme="light"] .faq-item[open]{background:rgba(255,255,255,.6)}
:root[data-theme="light"] .faq-item summary,:root[data-theme="light"] .faq-question{color:#183c52!important}
:root[data-theme="light"] .faq-item summary:hover .faq-question{color:#147783!important}
:root[data-theme="light"] .faq-number{color:#238b91}
:root[data-theme="light"] .faq-toggle{border-color:rgba(34,123,136,.23);background:rgba(255,255,255,.8)}
:root[data-theme="light"] .faq-toggle:before,:root[data-theme="light"] .faq-toggle:after{background:#247c89}
:root[data-theme="light"] .faq-answer p{color:#586f80!important}
:root[data-theme="light"] .faq-contact.section{background:linear-gradient(125deg,#e9f3f6,#f7fafc)!important;border-top-color:rgba(34,83,110,.1)}
:root[data-theme="light"] .faq-contact h2{color:#173c55!important}
:root[data-theme="light"] .faq-contact p{color:#526d7e!important}
@media(max-width:760px){
  .faq-section.section{padding-top:44px;padding-bottom:50px}
  .faq-contact.section{padding-top:44px;padding-bottom:54px}
}


/* Center the main navigation and group language/theme controls at the right */
@media(min-width:1001px){
  .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:0}
  .site-header>.brand{grid-column:1;justify-self:start;margin:0}
  .site-header>.menu-toggle{display:none}
  .site-header>.nav{grid-column:2;justify-self:center;margin:0;min-width:0}
  .site-header>.header-controls{grid-column:3;justify-self:end;display:flex;align-items:center;gap:14px;margin:0}
  .site-header .language-switcher,.site-header .theme-toggle{margin:0}
}
@media(min-width:761px) and (max-width:1000px){
  .site-header{display:flex;height:82px;padding-inline:22px;gap:12px}
  .site-header>.brand{order:0;margin:0}
  .site-header>.header-controls{order:1;display:flex;align-items:center;gap:9px;margin-left:auto}
  .site-header>.menu-toggle{display:flex;order:2;z-index:22}
  .site-header>.nav{display:none;position:absolute;top:82px;right:0;left:0;max-height:calc(100svh - 82px);overflow:auto;padding:12px 24px 20px;background:rgba(5,17,29,.97);flex-direction:column;align-items:flex-start;gap:8px;border-bottom:1px solid var(--line)}
  .site-header>.nav.open{display:flex}
  .site-header .nav a{min-height:42px;font-size:14px}
}
@media(max-width:760px){
  .site-header{display:flex}
  .site-header>.header-controls{display:contents}
}


/* Secure customer contact widget */
.chat-widget{position:fixed;z-index:60;right:24px;bottom:calc(88px + env(safe-area-inset-bottom,0px));font-family:var(--font-text)}
.chat-launcher{min-height:54px;display:inline-flex;align-items:center;gap:10px;padding:0 18px;border:1px solid rgba(161,238,232,.55);border-radius:999px;background:linear-gradient(115deg,#57dec9,#69bbff);color:#06283d;font:600 14px var(--font-text);box-shadow:0 14px 38px rgba(1,12,22,.32);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.chat-launcher:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(1,12,22,.38)}
.chat-launcher svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat-launcher svg path:last-child{fill:currentColor;stroke:none}
.chat-panel{position:absolute;right:0;bottom:68px;width:min(390px,calc(100vw - 28px));max-height:min(720px,calc(100svh - 150px));overflow:auto;border:1px solid rgba(137,204,220,.24);border-radius:20px;background:linear-gradient(145deg,#0b2030,#0d293a);color:#eff7fb;box-shadow:0 24px 72px rgba(0,0,0,.38);animation:chat-panel-in .18s ease both}
.chat-panel[hidden],.chat-result-actions[hidden],.chat-feedback[hidden],.chat-whatsapp-link[hidden],.chat-email-link[hidden]{display:none!important}
@keyframes chat-panel-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.chat-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 19px;border-bottom:1px solid rgba(176,214,228,.15);background:rgba(83,159,177,.08)}
.chat-panel-head>div{display:flex;align-items:center;gap:11px}
.chat-status-dot{width:10px;height:10px;border-radius:50%;background:#54ddba;box-shadow:0 0 0 5px rgba(84,221,186,.12)}
.chat-panel-head h2{margin:0;color:#f3f8fb;font:600 17px/1.4 var(--font-text)}
.chat-panel-head p{margin:2px 0 0;color:#a9c0cc;font:400 12px/1.5 var(--font-text)}
.chat-close{width:36px;height:36px;border:1px solid rgba(181,216,228,.18);border-radius:50%;background:rgba(255,255,255,.045);color:#d8e9ef;font:400 24px/1 var(--font-text);cursor:pointer}
.chat-form{display:grid;gap:13px;padding:17px 19px 19px}
.chat-field{display:grid;gap:6px;color:#dcebf1;font-size:12px;font-weight:600}
.chat-field input,.chat-field textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid rgba(154,199,217,.22);border-radius:10px;outline:none;background:rgba(2,15,25,.42);color:#f3f8fb;font:400 14px/1.6 var(--font-text);transition:border-color .2s,box-shadow .2s}
.chat-field input{min-height:45px}
.chat-field textarea{resize:vertical;min-height:92px}
.chat-field input::placeholder,.chat-field textarea::placeholder{color:#7f9aaa;opacity:1}
.chat-field input:focus,.chat-field textarea:focus{border-color:#5bd6ca;box-shadow:0 0 0 3px rgba(91,214,202,.12)}
.chat-consent{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:start;color:#b8cbd4;font-size:11px;line-height:1.65}
.chat-consent input{width:16px;height:16px;margin:2px 0 0;accent-color:#39cbbd}
.chat-consent a{color:#88ded8;text-decoration:underline;text-underline-offset:2px}
.chat-submit,.chat-whatsapp-link,.chat-email-link{min-height:46px;display:flex;align-items:center;justify-content:center;padding:10px 14px;border:0;border-radius:10px;font:600 13px/1.5 var(--font-text);text-align:center;cursor:pointer}
.chat-submit{background:linear-gradient(110deg,#57dec9,#69bbff);color:#06283d;box-shadow:0 8px 22px rgba(65,205,200,.14);transition:filter .2s,transform .2s}
.chat-submit:hover{filter:brightness(1.06);transform:translateY(-1px)}
.chat-submit:disabled{opacity:.65;cursor:wait;transform:none}
.chat-privacy-note{margin:0;color:#8ea9b6;font-size:10px;line-height:1.6;text-align:center}
.chat-feedback{margin:0;padding:11px 12px;border:1px solid rgba(102,212,190,.18);border-radius:10px;background:rgba(72,181,164,.08);color:#bdeae0;font-size:12px;line-height:1.7}
.chat-result-actions{display:grid;gap:9px;padding:0 19px 19px}
.chat-whatsapp-link{background:#26c978;color:#062a23}
.chat-email-link{border:1px solid rgba(157,207,220,.22);background:rgba(255,255,255,.04);color:#cfe2e9}
.chat-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
:root[data-theme="light"] .chat-panel{background:linear-gradient(145deg,#f9fcfd,#edf5f8);border-color:rgba(34,83,110,.2);color:#173449;box-shadow:0 24px 70px rgba(19,52,72,.25)}
:root[data-theme="light"] .chat-panel-head{background:linear-gradient(115deg,#e3f4f2,#e8f2f8);border-color:rgba(34,83,110,.13)}
:root[data-theme="light"] .chat-panel-head h2{color:#173b52}
:root[data-theme="light"] .chat-panel-head p{color:#597486}
:root[data-theme="light"] .chat-close{color:#274e64;border-color:rgba(34,83,110,.18);background:rgba(255,255,255,.6)}
:root[data-theme="light"] .chat-field{color:#284c62}
:root[data-theme="light"] .chat-field input,:root[data-theme="light"] .chat-field textarea{background:#fff;color:#183b52;border-color:rgba(34,83,110,.2)}
:root[data-theme="light"] .chat-field input::placeholder,:root[data-theme="light"] .chat-field textarea::placeholder{color:#758c9b}
:root[data-theme="light"] .chat-consent{color:#506b7c}
:root[data-theme="light"] .chat-consent a{color:#126e79}
:root[data-theme="light"] .chat-privacy-note{color:#60798a}
:root[data-theme="light"] .chat-feedback{color:#1a615b;background:#e8f7f2;border-color:rgba(31,140,127,.2)}
:root[data-theme="light"] .chat-email-link{color:#234d64;border-color:rgba(34,83,110,.2);background:#f5f9fb}
@media(max-width:760px){
  .chat-widget{right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .chat-launcher{min-height:48px;padding:0 15px;font-size:13px}
  .chat-panel{position:fixed;right:12px;bottom:calc(132px + env(safe-area-inset-bottom,0px));width:min(420px,calc(100vw - 24px));max-height:calc(100svh - 160px);border-radius:18px}
  .chat-panel-head{padding:15px}
  .chat-form{padding:15px}
  .chat-result-actions{padding:0 15px 15px}
}

/* Match the FAQ opening panel height to the other page heroes */
.faq-page-hero{min-height:max(680px,100svh)}
@media(max-width:760px){.faq-page-hero{min-height:max(620px,100svh)}}

/* On phones, show the complete world map as a panorama below the home hero copy. */
@media(max-width:760px){
  .hero:not(.service-page-hero){
    min-height:max(740px,100svh);
    height:auto;
    padding:82px 14px 228px;
    align-items:center;
  }
  .hero:not(.service-page-hero) .hero-content{
    width:100%;
    max-width:540px;
    margin:auto;
    padding:21px 16px;
  }
  .hero:not(.service-page-hero) .hero-map-image,
  .hero:not(.service-page-hero) .hero-map-packets{
    inset:auto 0 0;
    width:100%;
    height:auto;
    aspect-ratio:1400 / 788;
    transform:none;
  }
  .hero:not(.service-page-hero) .hero-map-image{
    object-fit:contain;
    object-position:center bottom;
  }
  .hero:not(.service-page-hero) .hero-map-packets{overflow:hidden}
}

/* Final small-screen safeguards shared by every page. */
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:clip}
  body{min-width:320px}
  main,main>section,.section,.site-footer,.legal-main{min-width:0;max-width:100%}
  .section>* ,.service-page-hero>* ,.legal-main>*{min-width:0}
  img,svg,video,canvas,iframe{max-width:100%}
  h1,h2,h3,h4,p,li,summary,a,button,label,.eyebrow,.footer-kicker,.footer-legal-links a{
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  h1,h2,h3{ text-wrap:balance }
  .offer-grid,.about,.about-employees,.service-list,.service-card-grid,.service-card-featured,
  .goal-grid,.project-grid,.offer-page-grid,.social-section,.contact-channel-grid,
  .contact-details-grid,.learning-approach,.tv-feature-grid,.faq-list,.legal-content{
    width:100%;
    min-width:0;
    max-width:100%;
  }
  .offer-card,.service-card,.goal-card,.project-card,.offer-page-card,.contact-channel-card,
  .contact-detail-card,.tv-feature-card,.faq-item,.legal-section,.legal-hero{
    min-width:0;
    max-width:100%;
  }
  .button,.footer-contact-button,.footer-socials a,.legal-tabs a{
    min-width:0;
    max-width:100%;
    white-space:normal;
    text-align:center;
    line-height:1.55;
  }
  .contact-detail-list a{min-width:0;flex-wrap:wrap;justify-content:flex-start;overflow-wrap:anywhere}
  .contact-detail-list a span{margin-left:auto}
  .service-row h3,.service-row p,.about-pillar h3,.about-pillar p,.service-items li{min-width:0;overflow-wrap:anywhere}
  .faq-item summary{min-width:0}
  .faq-question{overflow-wrap:anywhere}
  .chat-panel,.chat-form,.chat-field,.chat-field input,.chat-field textarea{min-width:0;max-width:100%}
  .footer-cta,.footer-main-row,.footer-bottom{min-width:0;max-width:100%}
  .footer-bottom a{overflow-wrap:anywhere}
}

@media(max-width:380px){
  .section{padding-inline:14px}
  .service-page-hero{padding-inline:12px}
  .service-hero-content,.hero-content{padding-inline:13px}
  .legal-main{width:calc(100% - 24px)}
  .legal-hero{padding-inline:15px}
  .legal-section{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:17px 11px}
  .faq-item summary{grid-template-columns:27px minmax(0,1fr) 28px;gap:7px}
  .footer-contact-button{gap:8px;padding-inline:11px}
}

/* Keep every page's opening panel clear of the fixed phone navigation. */
@media(max-width:760px){
  .hero:not(.service-page-hero),
  .service-page-hero{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    box-sizing:border-box;
    width:100%;
    min-height:max(740px,100svh);
    height:auto;
    padding:calc(70px + env(safe-area-inset-top,0px) + 18px) 14px 228px;
  }
  .hero:not(.service-page-hero) .hero-content,
  .service-page-hero .service-hero-content{
    align-self:center;
    width:100%;
    max-width:590px;
    margin:0 auto;
    padding:21px 16px;
  }
  .hero:not(.service-page-hero) h1{font-size:clamp(48px,13vw,68px);margin:18px 0 14px}
  .hero:not(.service-page-hero) .hero-title{font-size:clamp(11px,3.5vw,14px);line-height:1.75;letter-spacing:.02em}
  .hero:not(.service-page-hero) .hero-copy{font-size:clamp(14px,3.8vw,16px);line-height:1.75;margin-bottom:18px}
  .service-page-hero .service-hero-content h1{font-size:clamp(26px,7vw,38px);line-height:1.38;margin:15px auto 12px}
  .service-page-hero .service-hero-content>p{font-size:14px;line-height:1.75;margin-bottom:16px}
  .hero:not(.service-page-hero) .hero-map-image,
  .hero:not(.service-page-hero) .hero-map-packets,
  .service-page-hero .hero-map-image,
  .service-page-hero .hero-map-packets{
    inset:auto 0 0;
    width:100%;
    height:auto;
    aspect-ratio:1400 / 788;
    transform:none;
  }
  .hero:not(.service-page-hero) .hero-map-image,
  .service-page-hero .hero-map-image{object-fit:contain;object-position:center bottom}
  .hero:not(.service-page-hero) .hero-map-packets,
  .service-page-hero .hero-map-packets{overflow:hidden}
  .service-page-hero .scroll-cue,.service-page-hero .hero-index{z-index:3}
}
