/* ==========================================================================
   IRAL DIGITAL — ENHANCEMENTS
   Additive layer on top of style.css. Uses the original brand colours and
   fonts (var(--color-*), var(--font-*)). Delete this file to get the
   original site back exactly.
   ========================================================================== */

/* ---------- SVG icons (replace emoji) ---------- */
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.14em; color: var(--color-primary); }
.btn .ic, .hh-btn-glass .ic, a.btn-primary .ic { color: inherit; width: 1.1em; height: 1.1em; margin-right: 0.45em; }
.job-tag .ic, .apply-modal-meta .ic, .cfs-badge .ic { width: 1.05em; height: 1.05em; margin-right: 0.35em; vertical-align: -0.17em; }
.service-icon .ic, .dps-icon .ic, .why-point-icon .ic, .srv-pillar-icon .ic, .srv-tab-icon .ic,
.srv-why-icon .ic, .srv-step-circle .ic, .srv-ai-feature-icon .ic, .cfs-detail-icon .ic, .srv-ai-avatar .ic {
    width: 1em; height: 1em; vertical-align: middle; stroke-width: 1.7;
}
.srv-ai-avatar .ic, .srv-step-circle .ic { color: #fff; }
.ic-flag { width: 1.6em; height: 1.1em; display: inline-block; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.18); vertical-align: middle; }
.location-flag { display: flex; align-items: center; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ---------- Card ring (the "sample" section) ---------- */
.has-orbit { padding-top: 0 !important; overflow: hidden; }
.has-orbit { background: linear-gradient(180deg, rgba(25,114,120,.30) 0%, rgba(25,114,120,.12) 26%, var(--color-bg-2) 60%); }
.orbit {
    position: relative; min-height: clamp(560px, 56vw, 760px);
    display: flex; align-items: flex-end; justify-content: center; margin-bottom: 40px; overflow: hidden;
}
.orbit-stage { position: absolute; inset: 0; pointer-events: none; }
.orbit-card {
    position: absolute; left: 0; top: 0; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden;
    background: #fff; box-shadow: 0 22px 50px rgba(15, 23, 42, .25); opacity: 0; will-change: transform, opacity;
}
.orbit-card img { width: 100%; height: 100%; object-fit: cover; }
.orbit-copy { position: relative; z-index: 2; max-width: 820px; padding: 0 24px clamp(36px, 6vw, 64px); }
.orbit-copy .section-header { margin-bottom: 0; }
@media (max-width: 640px) { .orbit { min-height: 760px; } }

/* ---------- Scroll-scrubbed reveals ---------- */
.scrub { will-change: translate, rotate, scale, opacity; }
.scrub-wide { will-change: translate; }

/* ---------- Buttons: magnetic feel ---------- */
.btn-primary, .hh-btn-glass { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .scroll-progress { display: none; }
    .orbit-card { opacity: 1; }
}

/* ==========================================================================
   ROUND 2 — hero 3D icons, readability, 3D cards, services layout,
   AI section, stats tiles, light footer
   ========================================================================== */

/* ---------- Header + hero readability ---------- */
@media (min-width: 769px) {
    .header:not(.scrolled) .nav-links .nav-link { color: rgba(255,255,255,0.9); }
}
.home-hero .hh-hero-bg::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(58% 52% at 50% 46%, rgba(4,10,18,0.62) 0%, rgba(4,10,18,0.25) 60%, transparent 80%);
}
.home-hero .hh-headline { text-shadow: 0 4px 40px rgba(0,0,0,0.45); }
.home-hero .hh-hl-outline { -webkit-text-stroke: 2px rgba(255,255,255,0.9); }
.home-hero .hh-subtitle { color: rgba(255,255,255,0.86); }
.home-hero .hh-stat-l { color: rgba(255,255,255,0.72); }

/* ---------- Hero: 3D icons ---------- */
.hh-floats-3d .hh-3d { position: absolute; width: var(--s); will-change: transform; filter: drop-shadow(0 26px 30px rgba(0,0,0,0.45)); }
.hh-3d-in { animation: hh3dFloat 7s ease-in-out infinite; }
.hh-3d img { width: 100%; height: auto; display: block; }
.hh-3d-1 { --s: clamp(70px, 10.4vw, 150px); top: 17%; left: 7%; }
.hh-3d-2 { --s: clamp(58px, 8.2vw, 118px); top: 55%; left: 4%; }
.hh-3d-2 .hh-3d-in { animation-delay: -2s; animation-duration: 8s; }
.hh-3d-3 { --s: clamp(48px, 6.4vw, 92px); top: 79%; left: 15%; opacity: 0.9; }
.hh-3d-3 .hh-3d-in { animation-name: hh3dSpin; animation-duration: 16s; animation-timing-function: linear; }
.hh-3d-4 { --s: clamp(70px, 10.4vw, 150px); top: 15%; right: 7%; }
.hh-3d-4 .hh-3d-in { animation-delay: -3.5s; }
.hh-3d-5 { --s: clamp(58px, 8.4vw, 120px); top: 53%; right: 5%; }
.hh-3d-5 .hh-3d-in { animation-delay: -1s; animation-duration: 6s; }
.hh-3d-6 { --s: clamp(46px, 6vw, 88px); top: 77%; right: 16%; }
.hh-3d-6 .hh-3d-in { animation-delay: -4s; }
.hh-3d-7 { --s: 74px; top: 40%; left: 17%; opacity: 0.85; filter: blur(1.2px) drop-shadow(0 18px 24px rgba(0,0,0,0.4)); }
@media (max-width: 1399px) { .hh-3d-7 { display: none; } }
@keyframes hh3dFloat { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-18px) rotate(5deg); } }
@keyframes hh3dSpin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
    .hh-3d-1 { --s: 66px; top: 11%; left: -2%; }
    .hh-3d-4 { --s: 66px; top: 10%; right: -2%; }
    .hh-3d-2 { --s: 52px; top: 64%; left: -3%; }
    .hh-3d-5 { --s: 52px; top: 62%; right: -3%; }
    .hh-3d-3, .hh-3d-6 { display: none; }
    .hh-floats-3d .hh-3d { opacity: 0.92; }
}

/* ---------- Blueprint: 3D cards dealt like a deck ---------- */
#approach { overflow: hidden; }
#approach .dps-grid { perspective: 1400px; }
#approach .dps-card {
    background: linear-gradient(160deg, #ffffff 0%, #f6fafa 100%);
    border: 1px solid rgba(25,114,120,0.14);
    box-shadow: inset 0 1px 0 #fff, 0 34px 60px -34px rgba(15,23,42,0.38), 0 14px 28px -16px rgba(25,114,120,0.22);
    transform-style: preserve-3d; will-change: transform;
}
#approach .dps-card:hover { box-shadow: inset 0 1px 0 #fff, 0 44px 70px -30px rgba(15,23,42,0.42), 0 18px 34px -16px rgba(25,114,120,0.3); }
.dps-icon.dps-icon-3d { width: 104px; height: 104px; background: none !important; margin: -14px 0 6px -12px; padding: 0; }
.dps-icon-3d img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(15,23,42,0.22)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.dps-card:hover .dps-icon-3d img { transform: translateY(-8px) rotate(-7deg) scale(1.07); }
.card-shine {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.75), transparent 45%);
    mix-blend-mode: soft-light; z-index: 2;
}
.dps-card:hover .card-shine, .service-item:hover .card-shine { opacity: 1; }

/* ---------- Services: sticky intro + staggered 3D cards ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.svc-left { position: sticky; top: 110px; }
.svc-left .section-header { margin-bottom: 28px; }
.svc-left > div[style] { justify-content: flex-start !important; margin-bottom: 0 !important; }
.svc-illustration { max-width: 430px !important; border-radius: 28px !important; background: #fff; box-shadow: 0 40px 80px -42px rgba(15,23,42,0.4); }
.svc-layout .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
    background: none; border: 0; border-radius: 0; overflow: visible; perspective: 1300px;
}
.svc-layout .service-item {
    border-radius: 22px; border: 1px solid var(--color-border); padding: 30px 26px 26px;
    background: linear-gradient(170deg, #ffffff, #fbfcfc);
    box-shadow: 0 22px 44px -30px rgba(15,23,42,0.38);
    transform-style: preserve-3d; will-change: transform;
}
.svc-layout .service-item:nth-child(even) { margin-top: 44px; }
.svc-layout .service-item:hover { background: #fff; border-color: rgba(25,114,120,0.3); }
.service-icon.service-icon-3d { width: 86px; height: 86px; margin: -8px 0 12px -8px; font-size: 0; }
.service-icon-3d img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(15,23,42,0.2)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.service-item:hover .service-icon-3d img { transform: translateY(-6px) rotate(8deg) scale(1.08); }
@media (max-width: 1024px) {
    .svc-layout { grid-template-columns: 1fr; gap: 36px; }
    .svc-left { position: static; }
    .svc-left > div[style] { justify-content: center !important; }
    .svc-illustration { max-width: 340px !important; }
}
@media (max-width: 600px) {
    .svc-layout .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .svc-layout .service-item:nth-child(even) { margin-top: 0; }
    .svc-layout .service-item { padding: 24px 22px; }
}

/* ---------- Stats strip: glass 3D tiles ---------- */
.stats-strip {
    padding: 72px 0; perspective: 1200px;
    background:
        radial-gradient(700px 280px at 12% 0%, rgba(255,255,255,0.14), transparent 60%),
        radial-gradient(600px 300px at 90% 100%, rgba(196,69,54,0.28), transparent 60%),
        var(--color-primary);
}
.stats-strip .stats-strip-grid { gap: 20px; }
.stats-strip .strip-stat {
    border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 20px; padding: 30px 14px;
    background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 26px 40px -24px rgba(0,0,0,0.45);
    transform-style: preserve-3d; will-change: transform;
}
@media (max-width: 1100px) { .stats-strip .stats-strip-grid { gap: 14px; } }

/* ---------- AI agents: dark stage with live chat ---------- */
.ai-dark {
    background:
        radial-gradient(700px 520px at 88% 18%, rgba(25,114,120,0.42), transparent 62%),
        radial-gradient(560px 420px at 6% 92%, rgba(196,69,54,0.2), transparent 60%),
        #0b1620;
    overflow: hidden;
}
.ai-dark .section-title { color: #fff; }
.ai-dark .section-title .accent { color: #3cc0c7; }
.ai-dark .section-desc { color: rgba(255,255,255,0.78); }
.ai-dark .benefit-item { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.ai-dark .benefit-item:hover { background: rgba(25,114,120,0.3); border-color: rgba(60,192,199,0.5); }
.ai-dark .benefit-text { color: rgba(255,255,255,0.92); }
.ai-dark .benefit-icon { color: #3cc0c7; }
.ai-stage { position: relative; display: flex; justify-content: flex-end; padding: 40px 0 70px; min-height: 520px; }
.ai-stage-img {
    width: 82%; max-width: 440px; height: auto; border-radius: 28px; display: block;
    box-shadow: 0 50px 90px -40px rgba(0,0,0,0.7); transform: rotate(3deg);
}
.ai-stage-bot { position: absolute; width: 118px; top: -6px; right: -10px; filter: drop-shadow(0 22px 26px rgba(0,0,0,0.5)); animation: hh3dFloat 6s ease-in-out infinite; }
.ai-chat {
    position: absolute; left: 0; bottom: 0; width: min(370px, 82%);
    background: rgba(12,26,36,0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 16px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.65); transform: rotate(-2deg);
}
.ai-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ai-chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex: none; }
.ai-chat-avatar img { width: 34px; height: 34px; }
.ai-chat-head strong { display: block; font-family: var(--font-heading); font-size: 0.9rem; color: #fff; line-height: 1.2; }
.ai-chat-head small { color: #3cc0c7; font-size: 0.72rem; font-weight: 600; }
.ai-chat-wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 22px; }
.ai-chat-wave i { width: 3px; height: 40%; border-radius: 2px; background: #3cc0c7; animation: aiWave 1.1s ease-in-out infinite; }
.ai-chat-wave i:nth-child(2) { animation-delay: -0.2s; } .ai-chat-wave i:nth-child(3) { animation-delay: -0.45s; }
.ai-chat-wave i:nth-child(4) { animation-delay: -0.7s; } .ai-chat-wave i:nth-child(5) { animation-delay: -0.9s; }
@keyframes aiWave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.ai-chat-body { display: flex; flex-direction: column; gap: 9px; }
.ai-msg { font-size: 0.79rem; line-height: 1.5; padding: 9px 13px; border-radius: 14px; max-width: 88%; color: rgba(255,255,255,0.9); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.8,.2,1); }
.ai-msg.user { align-self: flex-end; background: rgba(25,114,120,0.55); border-bottom-right-radius: 4px; }
.ai-msg.bot { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.ai-anim .ai-msg { opacity: 0; transform: translateY(14px) scale(0.97); }
.ai-anim .ai-msg.on { opacity: 1; transform: none; }
@media (max-width: 900px) {
    .ai-stage { justify-content: center; flex-direction: column; align-items: center; min-height: 0; padding: 20px 0 0; }
    .ai-stage-img { width: 100%; max-width: 420px; transform: rotate(2deg); }
    .ai-stage-bot { width: 86px; top: 0; right: 4px; }
    .ai-chat { position: relative; width: 94%; max-width: 420px; margin-top: -70px; transform: rotate(-1.5deg); }
}

/* ---------- Footer: light, aligned ---------- */
.footer-v2 { background: #ffffff; border-top: 1px solid var(--color-border); }
.footer-v2::before { background: radial-gradient(ellipse, rgba(25,114,120,0.08) 0%, transparent 65%); }
.footer-v2-border { height: 3px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.footer-v2-inner { max-width: 1240px; padding: 64px 24px 44px; }
.footer-v2-grid { grid-template-columns: 1.5fr 1fr 1.3fr; gap: 56px; }
.footer-v2-logo img { filter: none !important; opacity: 1 !important; height: 72px !important; width: auto; }
.footer-v2-tagline { color: var(--color-text-muted); font-size: 0.93rem; max-width: 320px; line-height: 1.75; margin-bottom: 24px; }
.fv2-soc { width: 40px; height: 40px; border-radius: 12px; background: var(--color-primary-pale); border: 0; color: var(--color-primary); }
.fv2-soc:hover { background: var(--color-primary); color: #fff; }
.footer-v2-col-title { color: var(--color-heading); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 22px; }
.footer-v2-col-title::after { background: var(--color-secondary); width: 28px; height: 2px; }
.footer-v2-links { gap: 12px; }
.footer-v2-links li a { color: var(--color-text); font-size: 0.95rem; }
.footer-v2-links li a:hover { color: var(--color-primary); }
.footer-v2-contact-list { gap: 16px; }
.footer-v2-contact-list li { color: var(--color-text); font-size: 0.93rem; align-items: center; }
.footer-v2-contact-list li:hover { color: var(--color-primary); }
.fv2-contact-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--color-primary-pale) !important; border: 0 !important; color: var(--color-primary) !important; flex: none; }
.footer-v2-bottom { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }
.footer-v2-bottom-inner { max-width: 1240px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-v2-copy { color: var(--color-text-muted); }
.footer-v2-bottom a { color: var(--color-text-muted) !important; font-weight: 600; }
.footer-v2-bottom a:hover { color: var(--color-primary) !important; }
@media (max-width: 900px) {
    .footer-v2-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-v2-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-v2-inner { padding: 48px 20px 32px; }
    .footer-v2-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-v2-bottom-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .hh-3d-in, .ai-stage-bot, .ai-chat-wave i { animation: none !important; }
    .ai-anim .ai-msg { opacity: 1; transform: none; }
}
.footer-v2-bottom { max-width: none !important; width: 100%; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
.footer-v2-bottom-inner { margin: 0 auto; }

/* ==========================================================================
   ROUND 3 — inner-page heroes (readability + 3D icons), location section
   ========================================================================== */

/* ---------- Inner heroes: readable text ---------- */
.ah-desc, .srv-hero-desc, .pf-subtitle, .coh-subtitle, .ch-subtitle { color: rgba(255,255,255,0.86) !important; }
.ah-stat-l, .srv-stat-l, .pf-stat-l, .coh-stat-l, .ch-stat-l { color: rgba(255,255,255,0.72) !important; }
.ah-hl-outline, .srv-hl-outline, .pf-hl-outline, .coh-hl-outline, .ch-hl-outline { -webkit-text-stroke: 2px rgba(255,255,255,0.9) !important; }
.pf-breadcrumb, .coh-breadcrumb, .ch-breadcrumb, .pf-breadcrumb a, .coh-breadcrumb a, .ch-breadcrumb a { color: rgba(255,255,255,0.7) !important; }
#about-hero h1, #srv-hero h1, #pf-hero h1, #con-hero h1, #car-hero h1 { text-shadow: 0 4px 40px rgba(0,0,0,0.45); }

/* ---------- Inner heroes: 3D icons ---------- */
.float-3d {
    background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    overflow: visible !important; opacity: 1 !important; height: auto !important;
    filter: drop-shadow(0 24px 28px rgba(0,0,0,0.45));
}
.float-3d img { width: 100%; height: auto !important; object-fit: contain !important; }
.hero-3d-set { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.h3d { position: absolute; width: var(--s); filter: drop-shadow(0 24px 28px rgba(0,0,0,0.45)); will-change: transform; }
.h3d img { width: 100%; height: auto; display: block; }
.h3d-1 { --s: clamp(64px, 9vw, 130px); top: 20%; left: 6%; }
.h3d-2 { --s: clamp(54px, 7.4vw, 108px); top: 60%; left: 9%; }
.h3d-2 .hh-3d-in { animation-delay: -2.5s; animation-duration: 8s; }
.h3d-3 { --s: clamp(54px, 7.6vw, 110px); top: 18%; right: 7%; }
.h3d-3 .hh-3d-in { animation-delay: -1.2s; }
.h3d-4 { --s: clamp(64px, 9vw, 128px); top: 58%; right: 5%; }
.h3d-4 .hh-3d-in { animation-delay: -4s; animation-duration: 6.5s; }
@media (max-width: 768px) {
    .h3d-1 { --s: 58px; top: 9%; left: -2%; } .h3d-3 { --s: 54px; top: 9%; right: -2%; }
    .h3d-2, .h3d-4 { display: none; }
}

/* ---------- Location: card beside a live map ---------- */
.loc-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.loc-card { max-width: none !important; margin: 0 !important; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.loc-card .ic-flag { width: 2.4em; height: 1.6em; }
.loc-map {
    position: relative; min-height: 420px; border-radius: 24px; overflow: visible;
    background:
        linear-gradient(rgba(25,114,120,0.07) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(25,114,120,0.07) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--color-primary-pale);
    box-shadow: 0 40px 70px -40px rgba(15,23,42,0.45), 0 0 0 1px var(--color-border);
}
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 24px; filter: saturate(0.85) contrast(1.03); }
.loc-pin {
    position: absolute; width: 110px; height: auto; top: -46px; right: -22px; z-index: 2; pointer-events: none;
    filter: drop-shadow(0 22px 22px rgba(15,23,42,0.35)); animation: hh3dFloat 6s ease-in-out infinite;
}
@media (max-width: 860px) {
    .loc-layout { grid-template-columns: 1fr; gap: 28px; }
    .loc-map { min-height: 320px; }
    .loc-pin { width: 84px; top: -36px; right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .loc-pin, .h3d .hh-3d-in { animation: none !important; } }
.loc-card .location-badge { align-self: flex-start; }

/* ==========================================================================
   ROUND 4 — premium 3D card system, Services page sections, 3D icons
   ========================================================================== */

/* ---------- 3D icon images ---------- */
.i3d { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 12px 14px rgba(0,0,0,0.25)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.srv-pillar-icon.icon-3d { width: 100px; height: 100px; font-size: 0; margin: -10px 0 14px -10px; }
.srv-tab-icon.icon-3d { width: 54px; height: 54px; padding: 5px; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); border-radius: 15px; font-size: 0; }
.srv-why-icon.icon-3d { width: 104px; height: 104px; background: none !important; margin: 0 auto 12px; font-size: 0; }
.srv-step-circle.icon-3d { padding: 12px; font-size: 0; }
.srv-ai-avatar.icon-3d { padding: 5px; font-size: 0; }
.dps-icon-3d .i3d { filter: drop-shadow(0 16px 18px rgba(15,23,42,0.22)); }
.srv-pillar-card:hover .i3d, .srv-why-card:hover .i3d, .dps-card:hover .i3d, .srv-process-step:hover .i3d { transform: translateY(-6px) rotate(-7deg) scale(1.08); }
.srv-tab-btn.active .i3d, .srv-tab-btn:hover .i3d { transform: scale(1.14) rotate(-7deg); }

/* ---------- Premium 3D card look (light cards, all pages) ---------- */
.card-3d {
    transform-style: preserve-3d;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(15,23,42,0.06), 0 20px 40px -24px rgba(15,23,42,0.38), 0 44px 80px -56px rgba(25,114,120,0.4) !important;
    transition: box-shadow 0.45s ease, border-color 0.45s ease, background 0.45s ease !important;
}
.card-3d:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(15,23,42,0.06), 0 34px 60px -28px rgba(15,23,42,0.45), 0 60px 100px -56px rgba(25,114,120,0.5) !important; }
.card-3d.card-dark { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 40px 80px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(26,168,176,0.05) !important; }
.card-3d.card-dark:hover, .card-3d.card-dark.active { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 50px 90px -40px rgba(0,0,0,0.9), 0 0 60px -10px rgba(26,168,176,0.28) !important; }
.card-dark .card-shine { mix-blend-mode: overlay; }

/* ---------- Services: pillar cards (tri-fold unfold on scroll) ---------- */
.srv-pillar-cards { perspective: 1600px; }
.srv-pillar-card { background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)); border-color: rgba(255,255,255,0.1); will-change: transform; }

/* ---------- Services: outcome-focused tabs ---------- */
.srv-tabs-wrap { perspective: 1600px; }
.srv-tab-list { gap: 8px; }
.srv-tab-btn { border-radius: 16px; transition: transform 0.55s cubic-bezier(.2,.8,.2,1), background 0.3s, box-shadow 0.45s, border-color 0.3s; }
.srv-tab-btn.active {
    transform: translateX(10px) translateZ(30px) rotateY(-6deg);
    background: linear-gradient(120deg, rgba(25,114,120,0.38), rgba(25,114,120,0.08));
    box-shadow: 0 26px 40px -24px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08);
}
.srv-tab-panels { perspective: 1400px; }
.srv-tab-panel {
    transform-origin: left center; border-radius: 28px; padding: 40px;
    background: linear-gradient(160deg, rgba(255,255,255,0.065), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 60px 100px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.07);
}
.srv-tab-panel.active { animation: panel3d 0.75s cubic-bezier(.2,.8,.2,1); }
@keyframes panel3d { from { opacity: 0; transform: rotateY(-24deg) translateX(40px) translateZ(-90px); } to { opacity: 1; transform: none; } }
.srv-feature { box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 26px -20px rgba(0,0,0,0.8); transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1); }
.srv-feature:hover { transform: translateY(-3px); }
.srv-tab-panel.active .srv-feature { animation: chipIn 0.6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 60ms + 180ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(18px) rotateX(-45deg); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
    .srv-tab-list { gap: 10px; padding-bottom: 12px; }
    .srv-tab-btn.active { transform: translateY(-4px); }
    .srv-tab-panel { padding: 28px 22px; }
}

/* ---------- Services: why cards (stand up like dominoes) ---------- */
.srv-why-grid { perspective: 1400px; }
.srv-why-card { transform-origin: 50% 100%; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .srv-tab-panel.active, .srv-tab-panel.active .srv-feature { animation: none !important; }
    .srv-tab-btn.active { transform: none; }
}

/* ==========================================================================
   ROUND 5 — full-screen card ring, quiet location label, contact buttons
   ========================================================================== */

/* ---------- Card ring: full screen, text dead centre ---------- */
.has-orbit {
    background:
        radial-gradient(ellipse 50% 42% at 50% 50%, #ffffff 0%, rgba(255,255,255,0.75) 45%, transparent 80%),
        linear-gradient(180deg, rgba(25,114,120,0.30), rgba(25,114,120,0.12) 50%, rgba(25,114,120,0.26)),
        var(--color-bg-2);
}
.orbit { min-height: 100vh; min-height: 100svh; align-items: center; margin-bottom: 0; }
.orbit-copy { padding: 0 24px; max-width: 760px; }
.has-orbit .orbit + .container { padding-top: 64px; }
@media (max-width: 640px) {
    .orbit { min-height: 100svh; }
    .orbit-copy { max-width: 300px; padding: 0; }
}

/* ---------- Location: keep the country label quiet ---------- */
.location-country { color: var(--color-text-muted) !important; font-size: 0.7rem !important; letter-spacing: 2px; opacity: 0.85; }

/* ---------- Floating WhatsApp + Email buttons ---------- */
.fab-stack {
    position: fixed; z-index: 950; display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
    right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
}
.fab {
    display: inline-flex; align-items: center; height: 54px; padding: 0 15px; border-radius: 999px; border: 0; cursor: pointer;
    color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; text-decoration: none;
    box-shadow: 0 16px 30px -12px rgba(0,0,0,0.4); transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.fab svg { width: 24px; height: 24px; flex: none; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.4s cubic-bezier(.2,.8,.2,1), margin 0.4s; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 170px; margin-left: 10px; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -12px rgba(0,0,0,0.45); }
.fab-wa { background: #25D366; position: relative; }
.fab-wa::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: fabPulse 2.4s ease-out infinite; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.fab-mail { background: var(--color-primary); }
@media (max-width: 640px) { .fab { height: 50px; padding: 0 13px; } }

/* footer buttons */
.footer-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fcta {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 0; cursor: pointer;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
}
.fcta svg { width: 18px; height: 18px; }
.fcta:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(0,0,0,0.35); }
.fcta-wa { background: #25D366; color: #fff; }
.fcta-mail { background: var(--color-primary); color: #fff; }

/* ---------- Quick message popup (sends to the site's inbox via Formspree) ---------- */
.qm-overlay {
    position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    background: rgba(8,16,24,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.qm-overlay.open { opacity: 1; visibility: visible; }
.qm {
    width: min(460px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 24px; padding: 28px;
    box-shadow: 0 50px 90px -30px rgba(0,0,0,0.55); position: relative;
    transform: translateY(24px) scale(0.97); transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.qm-overlay.open .qm { transform: none; }
.qm h3 { font-family: var(--font-heading); font-size: 1.45rem; color: var(--color-heading); margin-bottom: 6px; }
.qm-sub { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 20px; }
.qm-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--color-bg-2); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--color-heading); }
.qm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.qm-field label { font-size: 0.78rem; font-weight: 700; color: var(--color-heading); letter-spacing: 0.3px; }
.qm-field input, .qm-field textarea {
    font: inherit; font-size: 0.95rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--color-border-strong); background: var(--color-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.qm-field textarea { min-height: 110px; resize: vertical; }
.qm-field input:focus, .qm-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(25,114,120,0.15); }
.qm-field.invalid input, .qm-field.invalid textarea { border-color: var(--color-secondary); }
.qm-err { font-size: 0.78rem; color: var(--color-secondary); min-height: 1em; }
.qm .btn { width: 100%; justify-content: center; }
.qm-status { margin-top: 12px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.qm-status.ok { color: var(--color-primary); } .qm-status.err { color: var(--color-secondary); }
.qm-alt { margin-top: 14px; font-size: 0.85rem; color: var(--color-text-muted); text-align: center; }
.qm-alt a { color: var(--color-primary); font-weight: 700; }
.qm-hp { position: absolute; left: -9999px; }
@media (prefers-reduced-motion: reduce) { .fab-wa::after { animation: none; } .qm { transition: none; } }
@media (max-width: 640px) { .footer-v2-bottom-inner { padding-bottom: 96px !important; } }

/* ==========================================================================
   ROUND 6 — simple closing CTA (Services page)
   ========================================================================== */
.srv-final-cta.cta-simple {
    padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 90px); text-align: center; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% 110%, rgba(196,69,54,0.35), transparent 60%),
        radial-gradient(800px 500px at 10% -10%, rgba(42,154,161,0.55), transparent 60%),
        linear-gradient(125deg, #0d3b40 0%, #197278 55%, #2a8f96 100%);
}
.srv-final-cta.cta-simple::before { display: none; }
.cta-simple-inner { max-width: 1240px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)); }
.cta-card {
    position: relative; background: #fff; border-radius: 40px; max-width: 1080px; margin: 0 auto;
    padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px) clamp(52px, 7vw, 92px);
    clip-path: polygon(0 0, calc(100% - 96px) 0, 100% 96px, 100% 100%, 0 100%);
    box-shadow: 0 50px 90px -40px rgba(0,0,0,0.45);
}
.cta-card-icon { position: absolute; top: 14px; right: 18px; width: 70px; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,0.2)); animation: hh3dFloat 6s ease-in-out infinite; pointer-events: none; }
.cta-card-title {
    font-family: var(--font-heading); font-weight: 700; color: var(--color-heading);
    font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12; letter-spacing: -1px; max-width: 14ch; margin: 0 auto 20px; text-wrap: balance;
}
.cta-card-title .cta-hl { color: var(--color-primary); font-style: italic; }
.cta-card-desc { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--color-text-muted); max-width: 520px; margin: 0 auto 34px; line-height: 1.7; }
.cta-pill {
    display: inline-flex; align-items: center; gap: 18px; padding: 8px 8px 8px 30px; border-radius: 999px;
    background: var(--color-secondary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: 0.3px;
    text-decoration: none; box-shadow: 0 18px 34px -14px rgba(196,69,54,0.6); transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s, background 0.3s;
}
.cta-pill:hover { transform: translateY(-3px); background: #d44a39; box-shadow: 0 24px 40px -14px rgba(196,69,54,0.7); }
.cta-pill-ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--color-secondary); display: grid; place-items: center; transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }
.cta-pill-ic svg { width: 20px; height: 20px; }
.cta-pill:hover .cta-pill-ic { transform: rotate(-12deg) scale(1.08); }

.cta-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 7vw, 96px); margin-top: clamp(44px, 6vw, 70px); color: #fff; }
.cta-badge { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 170px; }
.badge-mark { display: flex; align-items: center; gap: 6px; }
.badge-laurel { width: 26px; height: 54px; color: rgba(255,255,255,0.9); flex: none; }
.badge-laurel.flip { transform: scaleX(-1); }
.badge-core { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.badge-name { font-size: 1.85rem; line-height: 1; color: #fff; white-space: nowrap; }
.bn-upwork { font-family: 'Raleway', sans-serif; font-weight: 800; letter-spacing: -1px; }
.bn-fiverr { font-family: 'Raleway', sans-serif; font-weight: 900; letter-spacing: -1px; }
.bn-fiverr i { font-style: normal; color: #6ee7b7; }
.bn-linkedin { font-family: 'Raleway', sans-serif; font-weight: 800; letter-spacing: -0.5px; }
.badge-stars { color: #f6c453; font-size: 0.72rem; letter-spacing: 2px; }
.badge-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.88); }
@media (max-width: 640px) {
    .cta-card { border-radius: 28px; clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 0 100%); }
    .cta-card-icon { width: 46px; top: 8px; right: 10px; }
    .cta-pill { padding-left: 22px; gap: 12px; font-size: 0.92rem; }
    .cta-badges { gap: 26px 18px; }
    .cta-badge { min-width: 0; width: calc(50% - 9px); }
    .badge-name { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .cta-card-icon { animation: none; } }
.cta-card-wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.cta-card-wrap .cta-card-icon { top: -6px; right: -4px; width: 92px; z-index: 2; }
@media (max-width: 640px) { .cta-card-wrap .cta-card-icon { width: 58px; top: -4px; right: -2px; } }
.qm-fallback { display: inline-block; margin-top: 6px; color: var(--color-primary); font-weight: 700; text-decoration: underline; }
.qm-sub strong { color: var(--color-primary); }
.qm-via { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.82rem; color: var(--color-text-muted); }
.qm-via button { border: 1.5px solid var(--color-border-strong); background: #fff; color: var(--color-heading); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.qm-via button:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---------- Real reviews: LinkedIn recommendation label ---------- */
.li-rec { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3px; color: #0a66c2; background: rgba(10,102,194,0.1); }
.testi-stars:has(.li-rec), .srv-testi-stars:has(.li-rec) { letter-spacing: normal; font-size: inherit; }
.testi-card .testi-body.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.testi-more { margin: 6px 0 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--color-primary); cursor: pointer; text-decoration: underline; }
.testi-stars .li-rec, .srv-testi-stars .li-rec { color: #0a66c2 !important; background: rgba(10,102,194,0.1) !important; font-size: 0.7rem !important; }

/* ---------- Reviews: 3D icon instead of initials circle, service tag instead of LinkedIn label ---------- */
.testi-avatar-wrap.testi-3d { width: 78px; height: 78px; top: -38px; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.testi-avatar-wrap.testi-3d img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,0.3)); }
.srv-testi-avatar.srv-testi-3d { background: none !important; width: 48px; height: 48px; }
.srv-testi-avatar.srv-testi-3d img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(15,23,42,0.2)); }
.svc-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-family: var(--font-body); font-size: 0.7rem !important; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-primary) !important; background: var(--color-primary-pale); }
.testi-avatar-wrap.testi-3d { overflow: visible !important; } .testi-avatar-wrap.testi-3d img { border-radius: 0 !important; object-fit: contain !important; }

/* ==========================================================================
   ROUND 7 — audit fixes: accessibility, forms, transitions, loader, cursor,
   unified CTA, portfolio lightbox
   ========================================================================== */

/* ---------- Accessibility ---------- */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 3000; background: var(--color-heading); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; border-radius: 4px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; min-height: 1em; margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--color-secondary); }
.input-invalid { border-color: var(--color-secondary) !important; }

/* minimum readable size for small labels */
.hh-stat-l, .ah-stat-l, .srv-stat-l, .pf-stat-l, .ch-stat-l, .coh-stat-l, .hh-scroll-hint, .ah-scroll-hint, .srv-scroll-hint, .pf-scroll-hint, .ch-scroll-hint, .coh-scroll-hint,
.svc-tag, .location-country, .location-badge, .tpc-role, .tpc-panel-role, .srv-pillar-num, .srv-tab-num, .srv-panel-eyebrow, .srv-tools-label, .srv-step-label, .srv-ai-stat-l,
.apply-label, .cfs-info-eyebrow, .cfs-detail-label, .cfs-badge, .cfs-form-eyebrow, .cfs-label { font-size: 0.75rem !important; }

/* comfortable tap targets on touch screens */
@media (pointer: coarse) {
    .service-link, .portfolio-link, .testi-more, .cfs-detail-value, .footer-v2-links li a, .footer-v2-bottom a, .tpc-panel-linkedin { min-height: 44px; display: inline-flex; align-items: center; }
    .footer-v2-links { gap: 2px; }
    .filter-btn { min-height: 44px; }
}
.founders-grid .tpc:focus-visible { outline: 3px solid #3cc0c7; outline-offset: 4px; }

/* ---------- Home hero: stats live in the teal strip only ---------- */
.home-hero .hh-stats-row { display: none; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.28s ease both; }
::view-transition-new(root) { animation: vtIn 0.42s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- First-visit loader (pure CSS, hides itself) ---------- */
html.il-loading::before, html.il-loading::after { content: ''; position: fixed; z-index: 5000; pointer-events: none; }
html.il-loading::before { inset: 0; background: #0b1620; animation: ilOut 0.55s ease 1.15s forwards; }
html.il-loading::after {
    left: 50%; top: 50%; width: 150px; height: 120px; margin: -60px 0 0 -75px;
    background: url('images/logo-light.webp') center / contain no-repeat;
    animation: ilLogo 1.15s cubic-bezier(.2,.8,.2,1) both, ilOut 0.4s ease 1.15s forwards;
}
@keyframes ilLogo { 0% { opacity: 0; transform: scale(0.7) translateY(14px); } 45% { opacity: 1; transform: none; } 100% { opacity: 1; transform: scale(1.04); } }
@keyframes ilOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Hero headline: words rise in ---------- */
.hw { display: inline-block; animation: hwIn 0.85s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--hd, 0s) + var(--i) * 70ms); }
@keyframes hwIn { from { opacity: 0; transform: translateY(0.55em) rotate(3deg); filter: blur(6px); } }

/* ---------- Custom cursor (desktop only, native cursor stays) ---------- */
.cur-dot { position: fixed; left: 0; top: 0; z-index: 4000; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--color-primary); pointer-events: none; opacity: 0;
    display: grid; place-items: center; color: #fff; font: 700 0 var(--font-heading); letter-spacing: 1px; text-transform: uppercase;
    transition: width 0.3s cubic-bezier(.2,.8,.2,1), height 0.3s cubic-bezier(.2,.8,.2,1), margin 0.3s cubic-bezier(.2,.8,.2,1), background 0.3s, opacity 0.3s, font-size 0.2s; }
.cur-dot.on { opacity: 0.9; }
.cur-dot.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(25,114,120,0.22); }
.cur-dot.view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--color-secondary); font-size: 0.72rem; opacity: 0.96; }

/* ---------- Unified closing CTA (same card style as Services) ---------- */
.cta-banner {
    padding: clamp(56px, 8vw, 96px) 0 !important; overflow: hidden;
    background: radial-gradient(900px 500px at 85% 110%, rgba(196,69,54,0.35), transparent 60%), radial-gradient(800px 500px at 10% -10%, rgba(42,154,161,0.55), transparent 60%), linear-gradient(125deg, #0d3b40 0%, #197278 55%, #2a8f96 100%) !important;
}
.cta-banner::before { display: none !important; }
.cta-banner .cta-banner-inner {
    position: relative; background: #fff; border-radius: 40px; max-width: 1080px; margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px;
    clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 90px, 100% 100%, 0 100%); will-change: transform;
}
.cta-banner .cta-title { color: var(--color-heading) !important; font-size: clamp(1.9rem, 4.4vw, 3.2rem) !important; line-height: 1.14; text-wrap: balance; }
.cta-banner .cta-sub { color: var(--color-text-muted) !important; font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 540px; margin: 14px auto 0; }
.cta-banner .cta-actions { justify-content: center; flex-wrap: wrap; }
.cta-banner .cta-actions .btn { border-radius: 999px; padding: 15px 30px; }
.cta-banner .cta-actions .btn-outline { color: var(--color-heading) !important; border-color: var(--color-border-strong) !important; background: transparent !important; }
.cta-banner .cta-actions .btn-outline:hover { border-color: var(--color-primary) !important; color: var(--color-primary) !important; }
@media (max-width: 640px) { .cta-banner .cta-banner-inner { border-radius: 28px; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); } }

/* ---------- Portfolio lightbox ---------- */
.portfolio-grid .portfolio-card { cursor: pointer; }
.pl-overlay { position: fixed; inset: 0; z-index: 2200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,16,24,0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.pl-overlay.open { opacity: 1; visibility: visible; }
.pl { position: relative; width: min(940px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 26px; display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: 0 60px 100px -30px rgba(0,0,0,0.6); transform: translateY(30px) scale(0.96) rotateX(8deg); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.pl-overlay.open .pl { transform: none; }
.pl-media { background: var(--color-bg-2); display: grid; place-items: center; padding: 26px; border-radius: 26px 0 0 26px; }
.pl-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(15,23,42,0.5); }
.pl-body { padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pl-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--color-primary); background: var(--color-primary-pale); padding: 5px 12px; border-radius: 999px; }
.pl-title { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1.2; color: var(--color-heading); }
.pl-desc { color: var(--color-text-muted); line-height: 1.75; }
.pl-count { margin-top: auto; font-size: 0.8rem; color: var(--color-text-light); font-variant-numeric: tabular-nums; }
.pl-close, .pl-nav { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--color-heading); font-size: 1.3rem; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,0.2); display: grid; place-items: center; z-index: 2; }
.pl-close { top: 12px; right: 12px; }
.pl-nav { top: 50%; margin-top: -21px; } .pl-prev { left: 10px; } .pl-next { right: 10px; top: auto; bottom: 14px; margin: 0; } .pl-prev { top: auto; bottom: 14px; left: auto; right: 62px; margin: 0; }
@media (max-width: 720px) { .pl { grid-template-columns: 1fr; } .pl-media { border-radius: 26px 26px 0 0; padding: 18px; } .pl-body { padding: 24px 22px 72px; } }

/* portfolio filter: cards glide to their new places (FLIP) */
.portfolio-card.flip-anim { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
    .hw, html.il-loading::before, html.il-loading::after { animation: none !important; }
    html.il-loading::before, html.il-loading::after { display: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    .pl { transition: none; }
}
.founders-grid .tpc-role { color: #3cc0c7 !important; }
