/* Suncom Technologies website: shared styles (homepage + legal pages) */
/* ==========================================================
   Design tokens — taken from the Suncom logo
   ========================================================== */
:root {
    --navy: #030866;
    --navy-700: #0A1180;
    --navy-900: #020445;
    --navy-950: #01022B;
    --orange: #FF753A;
    --orange-600: #F25F1F;
    --orange-100: #FFEDE4;
    --orange-50: #FFF6F1;
    --ink: #0E1233;
    --muted: #585E7E;
    --line: #E6E8F2;
    --bg: #FFFFFF;
    --bg-soft: #F6F7FC;
    --white: #FFFFFF;
    --success: #12A150;
    --error: #D93838;

    --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(3, 8, 102, .06), 0 2px 8px rgba(3, 8, 102, .04);
    --shadow: 0 10px 30px -12px rgba(3, 8, 102, .18), 0 2px 6px rgba(3, 8, 102, .05);
    --shadow-lg: 0 30px 60px -20px rgba(3, 8, 102, .30), 0 8px 20px -8px rgba(3, 8, 102, .12);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --nav-h: 76px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;   /* stops phones laying the page out wider than the screen */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--orange); color: #fff; }

.ic {
    width: 24px; height: 24px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.75;
    stroke-linecap: round; stroke-linejoin: round;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================
   Scroll progress
   ========================================================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--orange), #FFB088);
    transform-origin: 0 50%; transform: scaleX(0);
    z-index: 1100; pointer-events: none;
}


/* ==========================================================
   Navigation
   ========================================================== */
nav {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: height .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
nav.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, .9);
    border-color: var(--line);
    box-shadow: 0 8px 30px -18px rgba(3, 8, 102, .35);
}

.nav-container {
    width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
}

.logo-container { display: flex; align-items: center; text-decoration: none; }
.logo-image { height: 36px; width: auto; transition: height .35s var(--ease); }
nav.scrolled .logo-image { height: 31px; }

.nav-links { display: flex; list-style: none; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(3, 8, 102, .04); }
.nav-links a {
    position: relative; display: block;
    padding: 8px 16px; border-radius: 999px;
    text-decoration: none; color: var(--muted);
    font-weight: 500; font-size: .92rem;
    transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-cta, .btn-primary, .explore-cta, .modal-contact-btn, .submit-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    text-decoration: none; border: 0; cursor: pointer;
    border-radius: 999px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.nav-cta::before, .btn-primary::before, .explore-cta::before, .modal-contact-btn::before, .submit-btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.35) 50%, transparent 75%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.nav-cta:hover::before, .btn-primary:hover::before, .explore-cta:hover::before, .modal-contact-btn:hover::before, .submit-btn:hover::before { transform: translateX(120%); }
.nav-cta .ic, .btn-primary .ic, .explore-cta .ic, .modal-contact-btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.nav-cta:hover .ic, .btn-primary:hover .ic, .explore-cta:hover .ic, .modal-contact-btn:hover .ic { transform: translateX(3px); }

.nav-cta { background: var(--navy); color: #fff; padding: 11px 22px; font-size: .9rem; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(3, 8, 102, .55); }

.mobile-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
    position: relative; overflow: hidden;
    min-height: clamp(680px, 100svh, 940px);
    padding: calc(var(--nav-h) + 56px) 0 96px;
    display: flex; align-items: center;
    background:
        radial-gradient(1000px 600px at 85% 15%, rgba(255, 117, 58, .14), transparent 60%),
        radial-gradient(800px 600px at 0% 100%, rgba(3, 8, 102, .08), transparent 60%),
        linear-gradient(180deg, #FBFBFF 0%, #F3F4FC 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(3, 8, 102, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 8, 102, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

/* Sunburst — the logo mark, recreated in SVG */
.sunburst { position: absolute; pointer-events: none; color: var(--orange); }
.sunburst svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
    animation: float 14s ease-in-out infinite;
}
.hero-orb.o1 { width: 340px; height: 340px; background: rgba(255, 117, 58, .22); left: -120px; top: 20%; }
.hero-orb.o2 { width: 280px; height: 280px; background: rgba(3, 8, 102, .14); right: 25%; bottom: -120px; animation-delay: -6s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-container {
    position: relative; z-index: 1;
    max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; margin-bottom: 24px;
    border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-size: .82rem; font-weight: 600; color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.hero-eyebrow img { width: 26px; height: 26px; animation: spin 16s linear infinite; }

.hero-content h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.1rem);
    font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
    color: var(--navy);
}
.hero-content h1 .hl {
    background: linear-gradient(100deg, var(--orange) 0%, #FF9A5C 50%, var(--orange-600) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.tagline {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy);
}
.tagline span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(3, 8, 102, .06);
}
.tagline span::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255, 117, 58, .6); animation: pulse 2.4s infinite;
}
.tagline span:nth-child(2)::before { animation-delay: .8s; }
.tagline span:nth-child(3)::before { animation-delay: 1.6s; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 117, 58, .55); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(255, 117, 58, 0); }
}

.hero-content p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; max-width: 600px; }
.hero-content p strong { color: var(--navy); }

.hero-buttons { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-content p.hero-lead { font-size: 1.15rem; line-height: 1.7; max-width: 560px; }
/* secondary hero action: outlined, same shape as the primary button */
.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; text-decoration: none;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    color: var(--navy); background: rgba(255, 255, 255, .7); border: 1.5px solid rgba(3, 8, 102, .18);
    transition: transform .3s var(--ease), border-color .3s, background .3s, color .3s;
}
.btn-secondary .ic { width: 18px; height: 18px; }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--orange-600); background: #fff; }
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-600) 100%);
    color: #fff; padding: 16px 32px; font-size: 1rem;
    box-shadow: 0 14px 30px -12px rgba(255, 117, 58, .8);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(255, 117, 58, .9); }

/* Hero globe: interactive lattice with Build / Manage / Secure anchor nodes */
.hero-image-section { position: relative; }
.hero-globe { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; margin-left: auto; }
.hero-globe::before {
    content: ""; position: absolute; inset: 10%; border-radius: 50%; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, rgba(255, 117, 58, .16), rgba(3, 8, 102, .07) 50%, transparent 70%);
    filter: blur(30px);
}
.globe-stage {
    position: absolute; inset: 0; cursor: grab;
    touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.globe-stage.dragging { cursor: grabbing; }
.globe-stage canvas { display: block; width: 100%; height: 100%; }

.globe-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.globe-link path { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-dasharray: 4 5; stroke-linecap: round; opacity: 0; transition: opacity .35s; }
.globe-link.on path { opacity: .9; }

/* Anchor nodes (pins) that follow the 3D globe */
.anchor {
    position: absolute; left: 0; top: 0; z-index: 3;
    display: flex; align-items: center; gap: 8px;
    padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
    will-change: transform, opacity;
}
.anchor .pin {
    position: relative; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
    background: var(--orange); border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(255, 117, 58, .5), 0 4px 12px rgba(255, 117, 58, .55);
    transition: transform .4s var(--ease);
}
.anchor .pin::after {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 2px solid var(--orange); opacity: 0;
}
.anchor.active .pin { transform: scale(1.3); }
.anchor.active .pin::after { animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.anchor .tag {
    padding: 6px 15px; border-radius: 999px; white-space: nowrap;
    background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy);   /* readable at a glance */
    transition: opacity .3s, transform .3s var(--ease), color .2s;
}
.anchor:hover .tag { color: var(--orange-600); }
.anchor.active .tag { opacity: 0; transform: translateX(-6px); }

/* Motto picture cards that pop out next to the active node */
.motto-pos { position: absolute; left: 0; top: 0; z-index: 4; width: clamp(190px, 44%, 264px); pointer-events: none; will-change: transform; }
.motto-card {
    padding: 10px 10px 14px; border-radius: 20px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; transform: scale(.35); transform-origin: var(--origin, left center);
    transition: opacity .3s var(--ease), transform .55s var(--ease);
}
.motto-card.show { opacity: 1; transform: none; }
.motto-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--navy-900); }   /* photos fill the frame */

.slide-label {
    padding: 10px 6px 0;
    font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    color: var(--navy); letter-spacing: -.02em; display: flex;
}
.slide-label span { display: inline-block; opacity: 0; transform: translateY(14px) rotate(6deg); }
.slide-label span.accent { color: var(--orange); }
.motto-card.show .slide-label span {
    animation: letterIn .55s var(--ease) forwards;
    animation-delay: calc(var(--i) * 40ms + 200ms);
}
@keyframes letterIn { to { opacity: 1; transform: none; } }

.globe-controls {
    position: absolute; left: 50%; bottom: -6px; z-index: 3; transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px; white-space: nowrap;
}
.globe-hint {
    font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(3, 8, 102, .45); transition: opacity .6s var(--ease);
}
.hero-globe.touched .globe-hint { opacity: 0; }
@media (hover: none) { .globe-hint { display: none; } }
@media (max-width: 680px) { .anchor .tag { font-size: .9rem; padding: 5px 12px; } }
.carousel-dots { display: flex; gap: 8px; }
.dot {
    position: relative; overflow: hidden;
    width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
    background: rgba(3, 8, 102, .15); cursor: pointer;
    transition: width .4s var(--ease), background .3s;
}
.dot.active { width: 36px; background: rgba(3, 8, 102, .12); }
.dot.active::after {
    content: ""; position: absolute; inset: 0; background: var(--orange); border-radius: inherit;
    transform-origin: left; animation: dotFill var(--slide-ms, 4200ms) linear forwards;
}
.carousel-dots.manual .dot.active::after { animation: none; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Before the 3D globe starts (or if it can't), keep overlays out of the way;
   the fallback shows the motto cards one at a time in the middle. */
.hero-globe:not(.ready) .anchor, .hero-globe:not(.ready) .globe-link { visibility: hidden; }
.hero-globe.fallback .motto-pos { left: 50%; top: 50%; transform: translate(-50%, -50%) !important; width: min(80%, 340px); }
.hero-globe.fallback .motto-card { --origin: center; }

/* Hero entrance */
.hero [data-enter] { opacity: 0; transform: translateY(24px); animation: enter .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ==========================================================
   Sections
   ========================================================== */
section { position: relative; }
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 20px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
    margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
.section-header h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; color: var(--navy); }
.section-header p { margin-top: 14px; font-size: 1.12rem; color: var(--muted); font-weight: 500; }

.section-intro {
    max-width: 860px; margin: 0 auto 56px; text-align: center;
    color: var(--muted); font-size: 1rem;
}

/* ==========================================================
   Cards (products, services, industries)
   ========================================================== */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* Products & services: flex instead of grid so an incomplete last row sits centred */
.products-grid, .services-grid { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; }
.services-grid { --cols: 3; }
.products-grid > .service-card, .services-grid > .service-card { flex: 0 0 calc((100% - (var(--cols) - 1) * 22px) / var(--cols)); }
@media (max-width: 1080px) { .products-grid { --cols: 3; } .services-grid { --cols: 2; } }
@media (max-width: 760px)  { .products-grid { --cols: 2; } }
@media (max-width: 640px)  { .services-grid { --cols: 1; } }
@media (max-width: 520px)  { .products-grid { --cols: 1; } }

.service-card, .industry-card {
    --mx: 50%; --my: 0%;
    position: relative; isolation: isolate;
    display: flex; flex-direction: column; gap: 18px;
    padding: 28px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: inherit; text-align: left; font: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-card::before, .industry-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 117, 58, .12), transparent 45%);
    opacity: 0; transition: opacity .35s;
}
.service-card:hover, .industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 117, 58, .45);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before, .industry-card:hover::before { opacity: 1; }

.service-icon, .industry-icon {
    position: relative;
    width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center;
    color: var(--orange-600);
    background: var(--orange-50);
    border: 1px solid var(--orange-100);
    transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s;
}
.service-icon .ic, .industry-icon .ic { width: 28px; height: 28px; }
.service-card:hover .service-icon, .industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    border-color: transparent; color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

.service-content, .industry-content { display: flex; flex-direction: column; flex: 1; }
.service-content h3, .industry-content h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-content p, .industry-content p { color: var(--muted); font-size: .93rem; flex: 1; }

.service-cta, .industry-cta {
    margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy);
}
.service-cta .ic, .industry-cta .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.service-card:hover .service-cta, .industry-card:hover .industry-cta { color: var(--orange-600); }
.service-card:hover .service-cta .ic, .industry-card:hover .industry-cta .ic { transform: translateX(5px); }

.explore-cta-container { text-align: center; margin-top: 52px; }
.explore-cta {
    padding: 15px 30px; color: #fff;
    background: var(--navy);
    box-shadow: 0 14px 30px -14px rgba(3, 8, 102, .7);
}
.explore-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(3, 8, 102, .8); }

/* Services — dark band */
.section-dark {
    color: #fff; overflow: hidden;
    background:
        radial-gradient(800px 500px at 90% 0%, rgba(255, 117, 58, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(40, 60, 255, .25), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
}
.section-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.section-dark .sunburst { width: 640px; height: 640px; left: -260px; bottom: -280px; opacity: .07; }
.section-dark .container { position: relative; z-index: 1; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p, .section-dark .section-intro { color: rgba(255,255,255,.72); }
.section-dark .eyebrow { color: #FF9A66; }
.section-dark .service-card {
    background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12);
    backdrop-filter: blur(6px); box-shadow: none;
}
.section-dark .service-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255, 117, 58, .6); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.section-dark .service-card::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 117, 58, .2), transparent 45%); }
.section-dark .service-icon { background: rgba(255, 117, 58, .14); border-color: rgba(255, 117, 58, .3); color: #FF9A66; }
.section-dark .service-content h3 { color: #fff; }
.section-dark .service-content p { color: rgba(255,255,255,.68); }
.section-dark .service-cta { color: #fff; }
.section-dark .service-card:hover .service-cta { color: #FF9A66; }
.section-dark .explore-cta { background: linear-gradient(135deg, var(--orange), var(--orange-600)); box-shadow: 0 14px 30px -12px rgba(255, 117, 58, .7); }

/* Services header: smaller title + tagline under "Our Services" */
.section-dark .section-header .svc-title {
    margin-top: 14px; font-family: var(--font-head); font-weight: 700;
    font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.35; color: #fff;
}
.section-dark .section-header .svc-tagline {
    margin-top: 8px; font-family: var(--font-head); font-weight: 600;
    font-size: clamp(.98rem, 1.4vw, 1.08rem); color: #FF9A66;
}
.svc-intro p + p { margin-top: 12px; }

/* Service cards open a details pop-up instead of linking out */
#services .service-card, #products .service-card { cursor: pointer; }
button.service-cta { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
/* no focus box on "Learn More"; the text turns orange instead, like on hover */
button.service-cta:focus-visible { outline: none; }
button.service-cta:focus-visible { color: var(--orange-600); }
.section-dark button.service-cta:focus-visible { color: #FF9A66; }

/* Service details pop-up */
.svc-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    visibility: hidden;
}
.svc-modal.open { visibility: visible; }
.svc-modal-backdrop {
    position: absolute; inset: 0; background: rgba(2, 4, 45, .6);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .4s var(--ease);
}
.svc-modal.open .svc-modal-backdrop { opacity: 1; }
.svc-modal.closing .svc-modal-backdrop { opacity: 0; }
.svc-modal-panel {
    position: relative; width: 100%; max-width: 860px; max-height: calc(100svh - 40px);
    display: flex; flex-direction: column; transform-origin: top left;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .55);
}
.svc-modal-panel > * { transition: opacity .3s var(--ease); }
.svc-modal.growing .svc-modal-panel > * { opacity: 0; }
.svc-modal-head {
    position: relative; flex-shrink: 0;
    display: flex; align-items: center; gap: 18px;
    padding: 30px 76px 26px 30px; color: #fff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
}
.svc-modal-icon {
    width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(255, 117, 58, .16); border: 1px solid rgba(255, 117, 58, .35); color: #FF9A66;
}
.svc-modal-icon .ic { width: 30px; height: 30px; }
.svc-modal-head h2 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; }
.svc-modal-tagline { margin-top: 6px; color: rgba(255, 255, 255, .78); font-size: .97rem; }
.svc-modal-body { padding: 26px 30px 10px; overflow-y: auto; overscroll-behavior: contain; color: var(--muted); }
.svc-modal-body p { margin-bottom: 16px; }
.svc-modal-body h4 {
    margin: 24px 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-600);
}
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-bottom: 20px; }
.svc-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.svc-list li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    border: 1px solid var(--orange-100);
    background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F25F1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-list-detail li { color: var(--muted); }
/* Challenge lists show a red "!" alert instead of the orange tick */
.svc-list.challenge-list li::before {
    border-color: #F6CFCF;
    background: #FDECEC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D93838' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8'/%3E%3Cpath d='M12 18.5h.01'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.svc-list-detail li strong { display: block; margin-bottom: 2px; color: var(--navy); font-weight: 700; }
.svc-modal-foot {
    flex-shrink: 0; display: flex; justify-content: flex-end;
    padding: 18px 30px; border-top: 1px solid var(--line); background: var(--bg-soft);
}
.svc-modal-foot .modal-contact-btn { padding: 12px 24px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-600)); }
@media (max-width: 680px) {
    .svc-list { grid-template-columns: 1fr; }
    .svc-modal { padding: 12px; }
    .svc-modal-panel { max-height: calc(100svh - 24px); }
    .svc-modal-head { padding: 22px 64px 20px 20px; gap: 14px; }
    .svc-modal-icon { width: 48px; height: 48px; }
    .svc-modal-body { padding: 20px 20px 6px; }
    .svc-modal-foot { padding: 14px 20px; }
    .svc-modal-foot .modal-contact-btn { width: 100%; }
}


/* Industries */
.industries-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.industry-card { cursor: pointer; width: 100%; }
.industry-card .industry-icon { width: 64px; height: 64px; border-radius: 50%; }

/* ==========================================================
   Industry modal
   ========================================================== */
.industry-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(2, 4, 45, .55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.industry-modal.active { opacity: 1; visibility: visible; }
.modal-content {
    width: 100%; max-width: 860px; max-height: calc(100svh - 40px);
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,.5);
    transform: translateY(30px) scale(.96);
    transition: transform .5s var(--ease);
}
.industry-modal.active .modal-content { transform: none; }
.modal-header {
    position: relative; overflow: hidden;
    padding: 34px 72px 30px 34px; color: #fff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
}
.modal-header .sunburst, .svc-modal-head .sunburst { width: 260px; height: 260px; right: -70px; top: -90px; opacity: .25; }
.svc-modal-head { overflow: hidden; }
.svc-modal-head > .svc-modal-icon, .svc-modal-head > div:not(.sunburst) { position: relative; }   /* above the sunburst */
.modal-header h2 { position: relative; color: #fff; font-size: 1.6rem; font-weight: 800; }
.modal-header p { position: relative; margin-top: 8px; color: rgba(255,255,255,.78); font-size: .97rem; }
.modal-close {
    position: absolute; top: 18px; right: 18px; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: rgba(255,255,255,.12); color: #fff;
    transition: background .25s, transform .35s var(--ease);
}
.modal-close:hover { background: var(--orange); transform: rotate(90deg); }
.modal-close:focus-visible { outline: none; background: var(--orange); }   /* filled instead of a focus ring */
.modal-close .ic { width: 20px; height: 20px; }
.modal-body { padding: 28px 34px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.modal-header, .modal-footer { flex-shrink: 0; }   /* only the body scrolls; header and footer keep their size */
.modal-body h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 16px; }
/* Industry pop-up: detailed content under "Solutions We Deliver" */
.ind-detail h4 {
    margin: 30px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
}
.ind-detail h5 { margin: 22px 0 8px; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.ind-detail p { margin-bottom: 14px; color: var(--muted); font-size: .95rem; }
.ind-detail .svc-list { margin-bottom: 16px; }
.ind-tags { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.ind-tags .tag-label { margin-right: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ind-tags .tag { padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--orange-50); color: var(--orange-600); border: 1px solid var(--orange-100); }
.ind-tags.tech .tag { background: rgba(3, 8, 102, .05); color: var(--navy); border-color: var(--line); }
.solutions-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.solution-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px; border-radius: 14px; border: 1px solid var(--line);
    opacity: 0; transform: translateY(12px);
    transition: border-color .25s, background .25s;
}
.industry-modal.active .solution-item { animation: enter .55s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
.solution-item:hover { border-color: rgba(255,117,58,.4); background: var(--orange-50); }
.solution-icon {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; color: var(--orange-600); background: var(--orange-50);
}
.solution-icon .ic { width: 22px; height: 22px; }
.solution-text h4 { font-size: .98rem; color: var(--navy); }
.solution-text p { font-size: .87rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.modal-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 20px 34px; border-top: 1px solid var(--line); background: var(--bg-soft);
}
.modal-footer p { color: var(--muted); font-size: .92rem; flex: 1; min-width: 220px; }
.modal-contact-btn { padding: 12px 24px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-600)); }
.modal-contact-btn:hover { transform: translateY(-2px); }

/* ==========================================================
   Why choose us
   ========================================================== */
.why-section { overflow: hidden; }   /* clips the half-visible sunburst at the right edge */
.why-container { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: stretch; }
/* Desktop: the photo spans the full height of the text column (top of 'Why Suncom' to the last feature box) */
.why-visual { display: flex; }
.why-visual .why-banner-carousel { flex: 1; aspect-ratio: auto; min-height: 480px; }
.why-visual, .why-text-content { position: relative; z-index: 1; }
/* Spinning sunburst centred on the right edge of the page: half of it shows */
.why-sun { width: 800px; height: 800px; top: 50%; margin-top: -400px; right: calc((100% - 100vw) / 2 - 400px); opacity: .1; z-index: 0; }

/* Photo carousel: each photo wipes in from the right while zooming into place */
.why-banner-carousel {
    position: relative; isolation: isolate; aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); background: var(--navy-900);
}
.why-banner-carousel::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 4, 45, .5), transparent 28%);
}
.why-banner-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.why-banner-slide.is-prev { visibility: visible; z-index: 1; filter: brightness(.6); transition: filter .8s var(--ease); }
.why-banner-slide.is-active {
    visibility: visible; z-index: 2;
    animation: whyWipe .8s cubic-bezier(.77, 0, .18, 1) both, whyZoom 5s cubic-bezier(.22, 1, .36, 1) both;
}
.why-banner-slide.instant { animation: none; }
@keyframes whyWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes whyZoom { from { transform: scale(1.18); } to { transform: scale(1); } }

.why-progress { position: absolute; left: 22px; right: 22px; top: 12px; z-index: 4; display: flex; gap: 8px; }   /* top: clear of the 25+ Years badge */
.why-progress button {
    position: relative; flex: 1; height: 18px; padding: 0; border: 0; background: none; cursor: pointer;
}
.why-progress button::before, .why-progress .fill {
    content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 999px;
}
.why-progress button::before { background: rgba(255, 255, 255, .35); }
.why-progress .fill { background: #fff; transform: scaleX(0); transform-origin: left; }
.why-progress button.is-done .fill { transform: scaleX(1); }
.why-progress button.is-active .fill { animation: whyFill var(--why-ms, 4200ms) linear forwards; }
/* specific enough to beat the 'animation' shorthand on the active bar */
.why-banner-carousel.hover .why-progress button.is-active .fill,
.why-banner-carousel.offscreen .why-progress button.is-active .fill { animation-play-state: paused; }
@keyframes whyFill { to { transform: scaleX(1); } }
.why-badge {
    position: absolute; right: -18px; bottom: 32px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px 14px 14px; border-radius: 18px;
    background: #fff; box-shadow: var(--shadow-lg);
    animation: bob 5s ease-in-out infinite;
}
.why-badge .badge-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-600)); }
.why-badge strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); line-height: 1.1; }
.why-badge span { font-size: .8rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.why-text-content .eyebrow::after { display: none; }
.why-text-content h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--navy); }
.why-tagline { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--orange-600); }
.why-intro { margin: 18px 0 34px; color: var(--muted); }
.why-intro strong { color: var(--navy); }

.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-item {
    display: flex; gap: 14px; padding: 18px; border-radius: 16px;
    background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,117,58,.35); }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; color: var(--navy); background: rgba(3, 8, 102, .06);
    transition: background .35s, color .35s, transform .45s var(--ease);
}
.feature-icon .ic { width: 22px; height: 22px; }
.feature-item:hover .feature-icon { background: var(--navy); color: #fff; transform: scale(1.06); }
.feature-text h3 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-text p { font-size: .87rem; color: var(--muted); line-height: 1.55; }

.trust-stats {
    margin-top: 72px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
    box-shadow: var(--shadow-lg); position: relative;
}
.trust-stats .sunburst { width: 240px; height: 240px; left: -32px; top: -57px; opacity: .12; }   /* top-left corner, centred just inside it */
.trust-stat {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    padding: 40px 24px; color: #fff;
}
.trust-stat + .trust-stat { border-left: 1px solid rgba(255,255,255,.12); }
.trust-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,117,58,.16); color: #FF9A66; margin-bottom: 6px; }
.trust-stat strong {
    font-family: var(--font-head); font-weight: 800; color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.trust-text { color: rgba(255,255,255,.72); font-weight: 500; }

/* ==========================================================
   Clients
   ========================================================== */
/* flex (not grid) so an incomplete last row sits centred */
.clients-grid { --cols: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 52px; }
.client-logo {
    position: relative; flex: 0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols));
    aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18px 22px;
    border-radius: 16px; background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.client-logo img { width: auto; height: auto; max-height: 64px; max-width: 100%; object-fit: contain; }   /* full colour */
/* hover: the box grows a little with a soft orange glow (same as the partner logos) */
.client-logo:hover {
    z-index: 1; transform: scale(1.08);
    border-color: rgba(255, 117, 58, .55);
    box-shadow: 0 0 0 1px rgba(255, 117, 58, .25), 0 8px 30px -4px rgba(255, 117, 58, .45), 0 0 22px rgba(255, 117, 58, .25);
}

/* ==========================================================
   Partners marquee
   ========================================================== */
.partners-grid {
    margin-top: 24px; padding: 24px 0; overflow: hidden;   /* vertical padding leaves room for the hover glow */
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners-marquee { display: flex; width: max-content; gap: 18px; animation: marquee 40s linear infinite; }
.partners-grid:hover .partners-marquee { animation-play-state: paused; }
.partner-logo {
    position: relative;
    width: 180px; height: 96px; flex-shrink: 0; padding: 20px 26px;
    display: grid; place-items: center;
    border-radius: 16px; background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.partner-logo img { width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
/* hover: the box grows a little with a soft orange glow */
.partner-logo:hover {
    z-index: 1; transform: scale(1.1);
    border-color: rgba(255, 117, 58, .55);
    box-shadow: 0 0 0 1px rgba(255, 117, 58, .25), 0 8px 30px -4px rgba(255, 117, 58, .45), 0 0 22px rgba(255, 117, 58, .25);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ==========================================================
   Contact
   ========================================================== */
.contact-container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; margin-top: 52px; }
/* Arriving via /#contact-info (e.g. from the Privacy Policy) briefly highlights the box */
.contact-info:target { animation: targetGlow 2.2s var(--ease) .6s 1 both; }
@keyframes targetGlow {
    0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(255, 117, 58, 0); }
    30% { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 117, 58, .55); }
}
.contact-info {
    position: relative; overflow: hidden;
    padding: 40px; border-radius: var(--radius-lg); color: #fff;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
    box-shadow: var(--shadow-lg);
}
.contact-info .sunburst { width: 360px; height: 360px; right: -140px; bottom: -140px; opacity: .14; }
.contact-info h3 { position: relative; color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 28px; }
.contact-item { position: relative; display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }   /* text centred against its icon */
.contact-icon {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #FF9A66;
    transition: background .3s, color .3s;
}
.contact-icon .ic { width: 21px; height: 21px; }
.contact-item:hover .contact-icon { background: var(--orange); color: #fff; }
.contact-text { color: rgba(255,255,255,.85); line-height: 1.55; }
.contact-text a { text-decoration: none; transition: color .2s; }
.contact-text a:hover { color: #FF9A66; }

.social-links { position: relative; display: flex; gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.social-link {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff;
    transition: transform .35s var(--ease), background .3s;
}
.social-link .ic { width: 20px; height: 20px; }
.social-link:hover { transform: translateY(-4px); background: var(--orange); }


/* Address in Contact Information opens the location pop-up */
.contact-map-link {
    appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
    font: inherit; color: inherit; line-height: inherit; text-align: left; transition: color .2s;
}
.contact-map-link:hover, .contact-map-link:focus-visible { color: #FF9A66; outline: none; }

/* Location pop-up (reuses the service pop-up panel) */
.map-modal .svc-modal-panel { max-width: 900px; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.map-modal.open:not(.closing) .svc-modal-panel { transform: none; opacity: 1; }
.map-frame { display: block; width: 100%; height: min(460px, 58svh); border: 0; background: var(--bg-soft); flex-shrink: 1; }
.map-actions { justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.map-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap;
    color: var(--navy); background: #fff; border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s, background .3s, color .3s;
}
.map-btn .ic { width: 18px; height: 18px; }
.map-btn .ext { width: 15px; height: 15px; opacity: .6; transition: transform .3s var(--ease); }
.map-btn:hover { transform: translateY(-2px); border-color: rgba(255, 117, 58, .5); background: var(--orange-50); color: var(--orange-600); }
.map-btn:hover .ext { transform: translate(2px, -2px); }
@media (max-width: 680px) {
    .map-frame { height: min(380px, 50svh); }
    .map-btn { flex: 1 1 100%; justify-content: center; }   /* stacked, one per row */
}
.contact-form {
    padding: 40px; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.form-group input, .form-group textarea {
    width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
    padding: 14px 16px; border-radius: 12px;
    background: var(--bg-soft); border: 1.5px solid transparent;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:hover, .form-group textarea:hover { border-color: var(--line); }
.form-group input:focus, .form-group textarea:focus {
    outline: none; background: #fff; border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 117, 58, .15);
}
.submit-btn {
    grid-column: 1 / -1; justify-self: start;
    padding: 16px 34px; font-size: 1rem; color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    box-shadow: 0 14px 30px -12px rgba(255, 117, 58, .8);
}
.submit-btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); }
.submit-btn:hover:not(:disabled) .ic { transform: translate(3px, -3px) rotate(8deg); }
.submit-btn:disabled { opacity: .7; cursor: not-allowed; }

.form-feedback {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: .93rem;
    animation: enter .45s var(--ease) both;
}
.form-feedback .ic { width: 20px; height: 20px; }
.form-feedback.success { background: #E8F7EE; color: #0B6B35; }
.form-feedback.error { background: #FDECEC; color: #A82424; }

/* ==========================================================
   Footer
   ========================================================== */
footer {
    background: var(--navy-950); color: rgba(255,255,255,.65);
    padding: 36px 0; font-size: .9rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 84px; width: auto; }   /* tall enough to read the "Build.Manage.Secure IT" tagline */
@media (max-width: 680px) { .footer-logo { height: 72px; } }
.footer-links { display: flex; gap: 10px; align-items: center; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }

/* ==========================================================
   Scroll reveal
   ========================================================== */
/* :where() keeps specificity low so hover transforms still win once revealed */
.js [data-reveal]:not(.settled) {
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 70ms);
}
:where(.js) :where([data-reveal]:not(.in)) { opacity: 0; transform: translateY(32px); }
:where(.js) :where([data-reveal="left"]:not(.in)) { transform: translateX(-40px); }
:where(.js) :where([data-reveal="right"]:not(.in)) { transform: translateX(40px); }
:where(.js) :where([data-reveal="zoom"]:not(.in)) { transform: scale(.94); }
/* on narrow screens, side-entrances slide up instead so nothing pokes past the screen edge */
@media (max-width: 960px) {
    :where(.js) :where([data-reveal="left"]:not(.in)), :where(.js) :where([data-reveal="right"]:not(.in)) { transform: translateY(32px); }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
    .nav-links a { padding: 8px 11px; font-size: .86rem; }
    .hero-container, .why-container { gap: 44px; }
    .clients-grid { --cols: 4; }
}

@media (max-width: 960px) {
    .mobile-toggle { display: inline-flex; }
    .nav-cta { display: none; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 12px; right: 12px;
        flex-direction: column; gap: 4px; padding: 12px;
        background: #fff; border-radius: 20px; border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    nav.scrolled .nav-links { top: 64px; }
    nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 12px 16px; font-size: 1rem; border-radius: 12px; }
    .nav-links .mobile-only { display: block; }

    .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
    .hero-container { grid-template-columns: 1fr; }
    .hero-image-section { max-width: 560px; width: 100%; margin: 0 auto; }
    .why-container { grid-template-columns: 1fr; align-items: start; }
    .why-visual { display: block; }
    .why-visual .why-banner-carousel { aspect-ratio: 1 / 1; min-height: 0; }   /* stacked: square photo above the text */
    .why-sun { width: 520px; height: 520px; margin-top: -260px; right: calc((100% - 100vw) / 2 - 260px); }
    .why-visual { max-width: 520px; margin: 0 auto; width: 100%; }
    .contact-container { grid-template-columns: 1fr; }
}
.nav-links .mobile-only { display: none; }
@media (max-width: 960px) { .nav-links li.mobile-only { display: block; } }

@media (max-width: 680px) {
    :root { --nav-h: 66px; }
    .container, .nav-container, .hero-container { padding: 0 16px; }
    .section { padding: 80px 0; }
    .logo-image { height: 30px; }
    nav.scrolled .logo-image { height: 27px; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; }
    .why-features { grid-template-columns: 1fr; }
    .why-badge { right: 12px; bottom: 16px; }
    .trust-stats { grid-template-columns: 1fr; margin-top: 56px; }
    .trust-stat + .trust-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .clients-grid { --cols: 2; gap: 12px; }
    .client-logo { flex-basis: calc((100% - 12px) / 2); }
    .client-logo img { max-height: 48px; }
    .partner-logo { width: 140px; height: 80px; padding: 16px 20px; }
    .contact-info, .contact-form { padding: 28px 22px; }
    .contact-form form { grid-template-columns: 1fr; }
    .submit-btn { width: 100%; }
    .modal-header { padding: 26px 64px 24px 22px; }
    .modal-body { padding: 22px; }
    .modal-footer { padding: 18px 22px; }
    .modal-contact-btn { width: 100%; }
}

@media (min-width: 1600px) {
    .container, .hero-container, .nav-container { max-width: 1360px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    :where(.js) :where([data-reveal]) { opacity: 1 !important; transform: none !important; }
}

/* Footer: highlight the link for the page you're on (legal pages) */
.footer-links a[aria-current="page"] { color: var(--orange); }

/* Contact form: spam honeypot, hidden from people */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
