/* Swahili Net Solution — visual effects layer (every page)
   Loaded LAST, after styles.css (home) and pages.css (inner pages).
   1. Tokens   2. Subtle shadows   3. Gradient backgrounds   4. Glassmorphism
   5. Backdrop-blur navbar   6. Smooth hover effects   7. Dark mode   8. Extras
   Brand colours are unchanged: blue #1A4C93 / #123870, orange #F0781E, WhatsApp green. */

/* ================= 1. Tokens ================= */
:root{
  --ease:cubic-bezier(.2,.8,.2,1);
  --surface:#FFFFFF;
  --surface-2:#F7F9FC;
  --blue-text:var(--blue);
  --glass-bg:rgba(255,255,255,0.68);
  --glass-bg-strong:rgba(255,255,255,0.86);
  --glass-border:rgba(255,255,255,0.55);
  --glass-dark:rgba(18,56,112,0.55);
  --glass-dark-border:rgba(255,255,255,0.16);
  --blur:saturate(180%) blur(16px);
  --shadow-sm:0 1px 2px rgba(18,56,112,0.06),0 4px 14px -6px rgba(18,56,112,0.12);
  --shadow-md:0 10px 30px -14px rgba(18,56,112,0.28);
  --shadow-lg:0 26px 54px -24px rgba(18,56,112,0.42);
  --shadow:var(--shadow-md);
  --grad-brand:linear-gradient(135deg,#1F5AAE 0%,var(--blue) 45%,var(--blue-deep) 100%);
  --grad-orange:linear-gradient(135deg,#F68A35 0%,var(--orange) 50%,var(--orange-deep) 100%);
  --grad-wa:linear-gradient(135deg,#2EDC72 0%,var(--whatsapp) 55%,var(--whatsapp-deep) 100%);
  --grad-ink:linear-gradient(135deg,#1C2C3A 0%,var(--ink) 55%,#0E2547 100%);
  --glow-orange:radial-gradient(circle,rgba(240,120,30,0.38),transparent 70%);
  --glow-blue:radial-gradient(circle,rgba(86,150,240,0.40),transparent 70%);
}

/* ================= 2. Subtle shadows (resting state) ================= */
.plan-card,.svc-block,.support-item,.survey-card,.faq details,.tabs,
.card,.step,.step-list li,.pkg-card,.contact-card,.form-card,.faq-item,.table-wrap,.toc,.photo,.map-embed{
  box-shadow:var(--shadow-sm);
}
.lead-card{box-shadow:var(--shadow-lg);}

/* ================= 3. Gradient backgrounds ================= */
.topbar{background:linear-gradient(90deg,var(--blue-deep),#0F2F5E 50%,var(--blue-deep));}
.hero,.page-hero{
  background:
    radial-gradient(60% 70% at 88% 8%,rgba(240,120,30,0.22),transparent 60%),
    radial-gradient(55% 60% at 4% 100%,rgba(86,150,240,0.35),transparent 60%),
    linear-gradient(160deg,var(--blue) 0%,var(--blue-deep) 72%);
}
/* soft animated glow orbs behind hero content */
.hero::after,.page-hero::after{
  content:'';position:absolute;width:420px;height:420px;right:-120px;top:-140px;border-radius:50%;
  background:var(--glow-orange);filter:blur(20px);opacity:.55;pointer-events:none;z-index:0;
}
.hero-grid,.page-hero .wrap{z-index:2;}
.hero h1 em,.value-head h2 span,.contact-band h2 span{
  background:linear-gradient(90deg,#FF9A4D,var(--orange) 45%,#FFC08A);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.value-strip{background:linear-gradient(135deg,var(--blue-deep) 0%,#0E2D59 55%,var(--blue) 140%);}
.value-strip::after{content:'';position:absolute;left:-140px;bottom:-200px;width:460px;height:460px;border-radius:50%;background:var(--glow-blue);pointer-events:none;}
#plans{background:linear-gradient(180deg,var(--paper) 0%,var(--blue-pale) 55%,var(--paper) 100%);}
.contact-band,.cta-band{background:var(--grad-ink);position:relative;overflow:hidden;}
.cta-band::before{content:'';position:absolute;right:-120px;top:-140px;width:360px;height:360px;border-radius:50%;background:var(--glow-orange);pointer-events:none;}
.cta-band > *{position:relative;}
.plan-card.custom,.support-box,.coverage-card{background:var(--grad-brand);}
.site-footer{background:linear-gradient(180deg,var(--blue-deep) 0%,#0D2A55 100%);}
.btn-primary,.tab[aria-selected="true"]{background:var(--grad-orange);}
.tab[aria-selected="true"]{background:var(--grad-brand);}
.btn-wa{background:var(--grad-wa);}
.btn-blue,.btn-dark{background:var(--grad-brand);}
.svc-num{background:var(--grad-orange);-webkit-background-clip:text;background-clip:text;color:transparent;}
.value-item .ic,.contact-item .ic,.entry-tag,.plan-badge,.pkg-badge,.price-bubble{background:var(--grad-orange);}
.support-item .ic,.about-list .ic,.step::before,.step-list li::before{background:var(--grad-brand);}
/* gradient border on the highlighted plan */
.plan-card.popular,.pkg-card.popular{
  border:2px solid transparent;
  background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(135deg,#FFB066,var(--orange) 45%,var(--blue) 120%) border-box;
}

/* ================= 4. Glassmorphism ================= */
/* lead form card sits half over the blue hero — frosted white glass */
.lead-card{
  background:var(--glass-bg-strong);
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);
  border:1px solid var(--glass-border);
}
/* frosted panels on blue/dark backgrounds */
.value-item,.contact-item,.plan-card.custom .plan-icon{
  background:rgba(255,255,255,0.08);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border:1px solid var(--glass-dark-border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.10);
}
.coverage-card{
  background:linear-gradient(135deg,rgba(26,76,147,0.78),rgba(18,56,112,0.88));
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);
  border:1px solid var(--glass-dark-border);
}
.hero-photo-tag,.breadcrumb ol{
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.breadcrumb ol{display:inline-flex;background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.18);padding:6px 14px;border-radius:999px;}
.tabs{background:var(--glass-bg);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-color:var(--glass-border);}
.foot-social a{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,0.12);}

/* ================= 5. Backdrop-blur navbar ================= */
.site-header{
  background:rgba(255,255,255,0.72);
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);
  border-bottom:1px solid rgba(225,231,240,0.7);
  transition:background .3s var(--ease),box-shadow .3s var(--ease);
}
.site-header.scrolled{background:rgba(255,255,255,0.84);box-shadow:0 10px 30px -18px rgba(18,56,112,0.45);}
.dropdown,.mobile-nav{
  background:var(--glass-bg-strong);
  -webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);
  border-color:var(--glass-border);
}
.dropdown{box-shadow:var(--shadow-lg);}
.theme-toggle{
  width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  border:1.5px solid var(--line);background:var(--glass-bg);color:var(--blue-deep);cursor:pointer;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  transition:transform .3s var(--ease),border-color .2s ease,background .2s ease,color .2s ease;
}
.theme-toggle:hover{border-color:var(--orange);color:var(--orange);transform:rotate(-15deg);}
.theme-toggle .i-sun{display:none;}
[data-theme="dark"] .theme-toggle .i-sun{display:block;}
[data-theme="dark"] .theme-toggle .i-moon{display:none;}
@media (max-width:420px){.theme-toggle{width:36px;height:36px;}}

/* ================= 6. Smooth hover effects ================= */
@media (hover:hover){
  .plan-card,.svc-block,.support-item,.card,.step,.step-list li,.pkg-card,.contact-card,.faq-item,.faq details,.value-item,.contact-item,.entry-card,.area-grid li,.form-card,.survey-card{
    transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .25s ease,background .25s ease;
  }
  .svc-block:hover,.support-item:hover,.card:hover,.step:hover,.contact-card:hover,.value-item:hover,.area-grid li:hover{
    transform:translateY(-5px);box-shadow:var(--shadow-md);
  }
  .plan-card:hover,.pkg-card:hover,.entry-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);}
  .step-list li:hover,.faq-item:hover,.faq details:hover{transform:translateX(4px);box-shadow:var(--shadow-md);border-color:rgba(26,76,147,0.35);}
  .value-item:hover,.contact-item:hover{background:rgba(255,255,255,0.14);border-color:rgba(255,255,255,0.28);}
  .card:hover .ic,.contact-card:hover .ic,.support-item:hover .ic,.value-item:hover .ic,.contact-item:hover .ic,.plan-card:hover .plan-icon,.dd-item:hover .ic{transform:scale(1.08) rotate(-4deg);}
  .card .ic,.contact-card .ic,.support-item .ic,.value-item .ic,.contact-item .ic,.plan-icon,.dd-item .ic{transition:transform .35s var(--ease);}
  .photo img,.about-media img,.survey-photo img{transition:transform .7s var(--ease);}
  .photo:hover img,.about-media:hover img,.survey-photo:hover img{transform:scale(1.04);}
  .photo,.about-media,.survey-photo{overflow:hidden;}
  /* buttons: lift, glow and a light sweep */
  .btn{position:relative;overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s ease,color .2s ease;}
  .btn::after{content:'';position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,0.35),transparent);transform:skewX(-20deg);transition:left .6s var(--ease);pointer-events:none;}
  .btn:hover::after{left:140%;}
  .btn:hover{transform:translateY(-2px);}
  .btn-primary:hover{box-shadow:0 16px 30px -12px rgba(240,120,30,0.75);}
  .btn-wa:hover{box-shadow:0 16px 30px -12px rgba(37,211,102,0.7);}
  .btn-blue:hover,.btn-dark:hover{box-shadow:0 16px 30px -12px rgba(26,76,147,0.7);}
  .btn-ghost:hover{box-shadow:var(--shadow-sm);}
  /* links: animated underline */
  .foot-links a,.foot-legal a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .3s var(--ease),color .2s ease;padding-bottom:2px;}
  .foot-links a:hover,.foot-legal a:hover{background-size:100% 1px;}
  .foot-social a{transition:transform .25s var(--ease),background .2s ease;}
  .foot-social a:hover{transform:translateY(-3px);}
  .dd-item{transition:background .2s ease,transform .25s var(--ease);}
  .dd-item:hover{transform:translateX(3px);}
}
.btn:active{transform:translateY(0) scale(.98);}

/* ================= 7. Dark mode ================= */
[data-theme="dark"]{
  color-scheme:dark;
  --paper:#0B1622; --white:#122233; --surface:#122233; --surface-2:#0F1D2C;
  --ink:#E7EEF6; --ink-soft:#A8B7C8; --ink-faint:#8394A8;
  --line:#22364D; --blue-pale:#16304F; --orange-pale:#2B1D10;
  --orange-deep:#F28B3C;
  --blue-text:#8DB8F2;
  --glass-bg:rgba(18,34,51,0.62); --glass-bg-strong:rgba(18,34,51,0.86); --glass-border:rgba(255,255,255,0.08);
  --shadow-sm:0 1px 2px rgba(0,0,0,0.35),0 6px 16px -8px rgba(0,0,0,0.5);
  --shadow-md:0 14px 34px -16px rgba(0,0,0,0.65);
  --shadow-lg:0 28px 60px -26px rgba(0,0,0,0.8);
}
[data-theme="dark"] body{background:var(--paper);}
.theme-anim,.theme-anim *{transition:background-color .4s ease,color .4s ease,border-color .4s ease !important;}
/* surfaces that were hard-coded white */
[data-theme="dark"] :is(.plan-card,.svc-block,.survey-card,.faq details,.tabs,.card,.step,.step-list li,.pkg-card,.contact-card,.form-card,.faq-item,.table-wrap,.toc,.area-grid li,.map-slot,.map-embed,.photo figcaption){background:var(--surface);border-color:var(--line);}
[data-theme="dark"] .plan-card.popular,[data-theme="dark"] .pkg-card.popular{border:2px solid transparent;background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(135deg,#FFB066,var(--orange) 45%,var(--blue) 120%) border-box;}
[data-theme="dark"] .plan-card.custom{background:var(--grad-brand);}
[data-theme="dark"] .support-item{background:var(--surface-2);}
[data-theme="dark"] .site-header{background:rgba(11,22,34,0.72);border-bottom-color:rgba(255,255,255,0.06);}
[data-theme="dark"] .site-header.scrolled{background:rgba(11,22,34,0.86);}
[data-theme="dark"] .lead-card{background:rgba(18,34,51,0.82);border-color:rgba(255,255,255,0.08);}
[data-theme="dark"] .brand img{background:#fff;border-radius:10px;padding:3px;}
[data-theme="dark"] .brand-name b,[data-theme="dark"] .nav-phone{color:#fff;}
[data-theme="dark"] .nav-phone{border-color:var(--line);}
[data-theme="dark"] .nav-toggle{color:var(--ink);}
[data-theme="dark"] .theme-toggle{color:#FFC08A;border-color:var(--line);}
[data-theme="dark"] .nav-links > li > a:hover,[data-theme="dark"] .nav-links > li > button:hover,[data-theme="dark"] .nav-links > li.open > button,
[data-theme="dark"] .nav-links > li > a[aria-current="page"],[data-theme="dark"] .nav-links > li.current > button{color:#fff;background:var(--blue-pale);}
[data-theme="dark"] .dd-item:hover,[data-theme="dark"] .dd-item[aria-current="page"]{background:rgba(255,255,255,0.06);}
[data-theme="dark"] .mobile-nav a{color:var(--ink);border-color:var(--line);}
[data-theme="dark"] .mobile-nav .m-group a{color:var(--ink-soft);}
[data-theme="dark"] .mobile-nav a[aria-current="page"]{color:var(--blue-text);}
/* text that was brand blue on light backgrounds */
[data-theme="dark"] :is(main a:not(.btn),.link-arrow,.plan-price,.pkg-price,table.compare td.price,.plan-icon,.svc-tags span,.faq summary .pm,.card .ic.blue,.contact-card .ic,.btn-ghost,.check-list .icon,.info-list .icon,.pkg-features li .icon,.plan-features li svg,.notice.info .icon,.faq-item summary::after,table.compare thead th){color:var(--blue-text);}
[data-theme="dark"] .breadcrumb a,[data-theme="dark"] .contact-band a,[data-theme="dark"] .cta-band a:not(.btn),[data-theme="dark"] .support-box a,[data-theme="dark"] .coverage-card a{color:#fff;}
[data-theme="dark"] .btn-ghost:hover{background:#1D3B60;}
[data-theme="dark"] .pkg-card .btn-wa{background:var(--blue-pale);color:var(--blue-text);}
[data-theme="dark"] .pkg-card.popular .btn-wa{background:var(--grad-orange);color:#fff;}
[data-theme="dark"] .faq details[open]{border-color:var(--blue-text);}
[data-theme="dark"] .field input,[data-theme="dark"] .field select,[data-theme="dark"] .field textarea{background:#0E1B29;border-color:var(--line);color:var(--ink);}
[data-theme="dark"] .field input:focus,[data-theme="dark"] .field select:focus,[data-theme="dark"] .field textarea:focus{background:#10202F;border-color:var(--blue-text);}
[data-theme="dark"] .field input::placeholder,[data-theme="dark"] .field textarea::placeholder{color:#6E8196;}
[data-theme="dark"] .field label{color:var(--ink-soft);}
[data-theme="dark"] .notice{background:rgba(240,120,30,0.10);border-color:rgba(240,120,30,0.35);}
[data-theme="dark"] .notice.info{background:rgba(86,150,240,0.10);border-color:rgba(86,150,240,0.30);}
[data-theme="dark"] .support-box{border:1px solid rgba(255,255,255,0.08);}
[data-theme="dark"] #plans{background:linear-gradient(180deg,var(--paper) 0%,#0F2138 55%,var(--paper) 100%);}
[data-theme="dark"] .bg-white,[data-theme="dark"] .section.alt{background:var(--surface-2);border-color:var(--line);}
[data-theme="dark"] .hero-photo-accent{border-color:var(--surface);}
[data-theme="dark"] .contact-band,[data-theme="dark"] .cta-band{background:linear-gradient(135deg,#132538 0%,#0F1E2E 60%,#0E2547 100%);border:1px solid var(--line);}
[data-theme="dark"] .site-footer{background:linear-gradient(180deg,#0A1A30 0%,#07111E 100%);}
[data-theme="dark"] .value-strip{background:linear-gradient(135deg,#0D2546 0%,#0A1A30 60%,#123870 140%);}
[data-theme="dark"] .hero,[data-theme="dark"] .page-hero{
  background:radial-gradient(60% 70% at 88% 8%,rgba(240,120,30,0.18),transparent 60%),radial-gradient(55% 60% at 4% 100%,rgba(86,150,240,0.25),transparent 60%),linear-gradient(160deg,#16417E 0%,#0C2549 72%);
}
[data-theme="dark"] .map-embed iframe{filter:invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9);}
[data-theme="dark"] mark.fill{background:#5A4A00;color:#FFF1A8;}

/* ================= 8. Extras ================= */
/* thin reading-progress bar under the navbar (browsers that support scroll timelines) */
@supports (animation-timeline: scroll()){
  @media (prefers-reduced-motion:no-preference){
    .site-header::after{content:'';position:absolute;left:0;bottom:-1px;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(0);
      background:linear-gradient(90deg,var(--orange),#FFB066,var(--blue-text));animation:sns-progress linear both;animation-timeline:scroll(root);}
    @keyframes sns-progress{to{transform:scaleX(1);}}
  }
}
::selection{background:rgba(240,120,30,0.28);color:inherit;}
html{scrollbar-color:rgba(26,76,147,0.45) transparent;}
[data-theme="dark"] html,html[data-theme="dark"]{scrollbar-color:rgba(141,184,242,0.35) #0B1622;}
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:rgba(26,76,147,0.38);border-radius:999px;border:2px solid transparent;background-clip:padding-box;}
::-webkit-scrollbar-thumb:hover{background-color:rgba(240,120,30,0.6);}
/* glass/blur fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header{background:rgba(255,255,255,0.97);}
  .dropdown,.mobile-nav,.lead-card,.tabs{background:var(--surface);}
  [data-theme="dark"] .site-header{background:rgba(11,22,34,0.97);}
}
/* respect reduced motion */
@media (prefers-reduced-motion:reduce){
  .hero::after,.page-hero::after{display:none;}
  .btn::after{display:none;}
}
/* printing: clean page without navigation chrome */
@media print{
  .site-header,.site-footer,.wa-float,.theme-toggle,.lead-wrap,.hero-photo-stack,.map-embed{display:none !important;}
  .hero,.page-hero,.value-strip,.contact-band,.cta-band{background:none !important;color:#000 !important;}
  .hero *,.page-hero *,.value-strip *,.contact-band *,.cta-band *{color:#000 !important;}
  .reveal{opacity:1 !important;transform:none !important;}
  body{background:#fff;}
}

/* ================= 9. Flipping photo loop ================= */
/* main.js wraps selected photos in .flip-frame and flips them through the site photos */
.flip-frame{position:relative;display:block;width:100%;perspective:1400px;overflow:visible;}
.flip-card{position:absolute;inset:0;transform-style:preserve-3d;transition:transform 1s cubic-bezier(.45,.05,.2,1);}
.flip-card.flipped{transform:rotateY(180deg);}
.flip-face{position:absolute !important;inset:0;width:100% !important;height:100% !important;object-fit:cover;
  -webkit-backface-visibility:hidden;backface-visibility:hidden;margin:0;}
.flip-face.front{transform:none !important;}
.flip-face.back{transform:rotateY(180deg) !important;}
.photo .flip-frame,.about-media .flip-frame,.survey-photo .flip-frame{border-radius:inherit;}
.about-media .flip-frame{border-radius:22px;overflow:hidden;box-shadow:var(--shadow);}
.about-media .flip-face{border-radius:22px;box-shadow:none !important;}
.survey-photo .flip-frame{border-radius:18px;overflow:hidden;border:1px solid var(--line);}
.survey-photo .flip-face{border:0 !important;border-radius:0 !important;max-height:none !important;}
.flip-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;z-index:3;pointer-events:none;}
.flip-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,0.55);box-shadow:0 1px 3px rgba(0,0,0,0.35);transition:width .3s var(--ease),background .3s ease;}
.flip-dots i.on{width:18px;border-radius:999px;background:#fff;}
@media (prefers-reduced-motion:reduce){.flip-card{transition:none;}}
.survey-photo .flip-frame{aspect-ratio:16 / 9 !important;}
@media (max-width:900px){.hero-photo-stack{width:100%;}}

/* home page phone-support box: warm orange glass, not the inner-page blue */
.support-box.warm{background:linear-gradient(135deg,var(--orange-pale),#FFF8F0);border:1px solid #f6d6b6;color:var(--ink);box-shadow:var(--shadow-sm);}
.support-box.warm strong{color:var(--ink);}
.support-box.warm p{color:var(--ink-soft);}
.support-box.warm a{color:var(--orange-deep);}
[data-theme="dark"] .support-box.warm{background:rgba(240,120,30,0.10);border-color:rgba(240,120,30,0.35);}
[data-theme="dark"] .support-box.warm a{color:#FFB066;}

/* ================= 10. Faceless photos in page headers ================= */
.page-hero-media{position:absolute;top:0;right:0;bottom:0;width:48%;z-index:1;background-size:cover;background-position:center;opacity:.42;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 55%);mask-image:linear-gradient(90deg,transparent 0%,#000 55%);
  mix-blend-mode:luminosity;pointer-events:none;}
.page-hero.has-media .wrap{position:relative;z-index:2;}
[data-theme="dark"] .page-hero-media{opacity:.3;}
@media (max-width:760px){.page-hero-media{width:100%;opacity:.16;-webkit-mask-image:none;mask-image:none;}}
@media print{.page-hero-media{display:none;}}
.entry-card img{object-position:center 85%;}
/* site-survey sections flip through the square marketing posters */
[data-flip-set="posters"] .flip-frame{aspect-ratio:1 / 1 !important;}
[data-flip-set="posters"] .flip-face{object-fit:cover;}
/* home hero: single cover poster */
.hero-photo-stack.cover{padding:0 0 30px 0;}
.hero-photo-stack.cover .price-bubble{bottom:-6px;right:-14px;}
@media (max-width:900px){.hero-photo-stack.cover{padding:0 0 24px 0;max-width:24rem;}}
/* home hero cover: no frame, edges fade into the hero background */
.hero-photo-stack.cover{padding:0;margin-right:-60px;}
.hero-photo-stack.cover .hero-photo-main,.hero-photo-stack.cover:hover .hero-photo-main{border:0;border-radius:0;box-shadow:none;transform:none;background:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 82%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 18%,#000 80%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 82%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 18%,#000 80%,transparent 100%);mask-composite:intersect;}
.hero-photo-stack.cover .hero-photo-main img{aspect-ratio:3/2;height:auto;}
.hero-photo-stack.cover .price-bubble{bottom:4%;right:8%;}
@media (max-width:900px){.hero-photo-stack.cover{margin:0 -16px;max-width:none;}}
/* home hero cover v2: photo runs from just above the eyebrow line down to the buttons,
   bleeds to the right edge of the screen and fades out only toward the text */
@media (min-width:901px){
  .hero-grid:has(.hero-photo-stack.cover){gap:0;}
  .hero-grid:has(.hero-photo-stack.cover) > div:first-child{position:relative;z-index:3;}
  .hero-photo-stack.cover{align-self:stretch;position:relative;margin:0;padding:0;min-height:100%;
    --bleed:calc(-1 * max(24px, (100vw - 1180px) / 2 + 24px));}
  .hero-photo-stack.cover .hero-photo-main,.hero-photo-stack.cover:hover .hero-photo-main{position:absolute;top:-22px;bottom:0;right:var(--bleed);left:auto;
    height:auto;aspect-ratio:3/2;border:0;border-radius:0;box-shadow:none;transform:none;background:none;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 14%,#000 38%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 14%,#000 38%);
    -webkit-mask-composite:source-over;mask-composite:add;}
  .hero-photo-stack.cover .hero-photo-main img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;}
  .hero-photo-stack.cover .price-bubble{bottom:-30px;right:2%;}
}
@media (max-width:900px){
  .hero-photo-stack.cover{margin:0 -16px;padding:0;max-width:none;}
  .hero-photo-stack.cover .hero-photo-main{border:0;border-radius:0;box-shadow:none;transform:none;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 26%);mask-image:linear-gradient(180deg,transparent 0%,#000 26%);
    -webkit-mask-composite:source-over;mask-composite:add;}
  .hero-photo-stack.cover .hero-photo-main img{aspect-ratio:3/2;width:100%;height:auto;}
  .hero-photo-stack.cover .price-bubble{bottom:-24px;right:18px;}
}
/* wide screens: soft blurred copy of the same photo fills the space up to the text,
   so the sharp photo fades into its own background instead of plain blue */
@media (min-width:901px){
  .hero-photo-stack.cover::before{content:'';position:absolute;top:-22px;bottom:0;left:-60px;right:var(--bleed);z-index:0;
    background:url(/assets/img/hero-cover-full.jpg) right center/cover no-repeat;filter:blur(26px) saturate(1.1) brightness(.92);transform:scale(1.04);
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 55%);mask-image:linear-gradient(90deg,transparent 0%,#000 55%);pointer-events:none;}
  .hero-photo-stack.cover .hero-photo-main{z-index:1;}
  .hero-photo-stack.cover .price-bubble{z-index:2;}
}
@media (max-width:900px){.hero-photo-stack.cover{width:calc(100% + 32px);justify-self:start;}}
/* hero cover v3: photo ends at the content edge (where the price banner ends) and slides left under the text */
@media (min-width:901px){
  .hero-photo-stack.cover{--bleed:0px;}
  .hero-photo-stack.cover::before{left:-200px;right:0;}
  .hero-photo-stack.cover .price-bubble{right:-10px;}
}
@media (min-width:901px){
  .hero-photo-stack.cover .price-bubble{right:0;}
}
/* home cover flips through 3 photos; frame fills the faded box */
@media (min-width:901px){
  .hero-photo-stack.cover .flip-frame{position:absolute;inset:0;aspect-ratio:auto !important;height:100%;}
  .hero-photo-stack.cover::before{background-image:var(--cover-bg,url(/assets/img/hero-cover-full.jpg));transition:background-image .6s ease;}
}
.hero-photo-stack.cover .flip-card{transition:transform 1.1s cubic-bezier(.45,.05,.2,1);}
.hero-photo-stack.cover .flip-face{transition:transform .9s var(--ease) !important;}
@media (hover:hover){.hero-photo-stack.cover:hover .flip-face.front:not([aria-hidden]),.hero-photo-stack.cover:hover .flip-face.back:not([aria-hidden]){filter:saturate(1.08) brightness(1.03);}}
.hero-photo-stack.cover .flip-dots{bottom:18px;left:auto;right:150px;transform:none;}
@media (max-width:900px){.hero-photo-stack.cover .flip-dots{right:50%;transform:translateX(50%);}}
@media (max-width:760px){.page-hero-media[style*="pay-banner-r"]{display:none;}}

/* Hotspot tab: keep header on one line on narrower laptops (phone number stays in top bar) */
@media (max-width:1180px){.nav-phone{display:none;}}
.nav-phone{white-space:nowrap;}

/* ---- Full-width layout: content stretches with the screen, with fluid side gutters ---- */
.wrap{max-width:1760px;padding-left:clamp(16px,3.2vw,56px);padding-right:clamp(16px,3.2vw,56px);}
.faq-list{max-width:980px;}
.prose,.toc{max-width:52rem;}

/* ---- In-page links (#packages, #plans, #survey, #report…) land just below the sticky header ---- */
html{scroll-padding-top:var(--hdr-h,100px);}
[id]{scroll-margin-top:0;}
:not(section)[id]{scroll-margin-top:16px;}
#packages,#plans{padding-top:56px;padding-bottom:56px;}

/* Hotspot header: Wi-Fi 7 access point shown clearly */
.page-hero-media[style*="hdr-hotspot-wifi7"]{opacity:.9;mix-blend-mode:normal;background-position:60% center;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 22%,#000 48%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 22%,#000 48%);}
[data-theme="dark"] .page-hero-media[style*="hdr-hotspot-wifi7"]{opacity:.75;}
@media (max-width:760px){.page-hero-media[style*="hdr-hotspot-wifi7"]{opacity:.18;background-position:75% center;}}

/* Hamburger stays visible in light mode even when the device is in dark mode */
html[data-theme="light"]{color-scheme:light;}
.nav-toggle{color:var(--ink);}
.nav-toggle svg{display:block;}

/* Social icon buttons (About > Follow us) */
.social-icons{display:flex;gap:12px;flex-wrap:wrap;}
.social-icons .soc{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;box-shadow:0 6px 16px rgba(11,37,69,.18);transition:transform .2s ease,box-shadow .2s ease;}
.social-icons .soc:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(11,37,69,.26);}
.social-icons .soc:focus-visible{outline:3px solid var(--orange);outline-offset:3px;}
.social-icons .soc-wa{background:#25D366;}
.social-icons .soc-fb{background:#1877F2;}
.social-icons .soc-tt{background:#111;}
[data-theme="dark"] .social-icons .soc-tt{background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.18);}
