/* ============================================================
   styleB.css  –  template_B custom styles
   Design Language: Clean · Premium · Modern Light
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── CSS Design Tokens ── */
:root {
    --b-ink:       #0F172A;   /* deep navy  */
    --b-ink2:      #1E293B;   /* medium navy */
    --b-teal:      #0EA5E9;   /* sky blue accent */
    --b-teal-dk:   #0284C7;   /* hover teal */
    --b-teal-glow: rgba(14, 165, 233, 0.15);
    --b-amber:     #D97706;   /* warm amber (secondary accent) */
    --b-amber-lt:  #FEF3C7;   /* amber light bg */
    --b-cloud:     #F1F5F9;   /* very light blue-gray */
    --b-cloud2:    #E2E8F0;   /* slightly darker cloud */
    --b-muted:     #64748B;   /* text muted */
    --b-line:      #E2E8F0;   /* borders */
    --b-white:     #FFFFFF;
    --b-success:   #10B981;

    --b-radius-sm: 0.5rem;
    --b-radius:    0.875rem;
    --b-radius-lg: 1.5rem;
    --b-shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --b-shadow:    0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
    --b-shadow-lg: 0 12px 40px rgba(15,23,42,0.12), 0 4px 16px rgba(15,23,42,0.06);
    --b-shadow-teal: 0 8px 32px rgba(14,165,233,0.25);
}

/* ── Resets ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--b-ink);
    background: var(--b-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Typography ── */
.font-display { font-family: 'Syne', sans-serif; }

/* ── Animations ── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.4); }
    50%       { box-shadow: 0 0 0 12px rgba(14,165,233,0); }
}

.anim-slide-up   { opacity: 0; animation: slideUp   0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-slide-right{ opacity: 0; animation: slideRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-scale-in   { opacity: 0; animation: scaleIn   0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.anim-d1 { animation-delay: 0.10s; }
.anim-d2 { animation-delay: 0.22s; }
.anim-d3 { animation-delay: 0.34s; }
.anim-d4 { animation-delay: 0.46s; }
.anim-d5 { animation-delay: 0.58s; }

/* ── Buttons ── */
.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--b-teal);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-teal:hover {
    background: var(--b-teal-dk);
    transform: translateY(-2px);
    box-shadow: var(--b-shadow-teal);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--b-ink);
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    border: 2px solid var(--b-line);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: var(--b-ink);
    background: var(--b-ink);
    color: #fff;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.9);
}

/* ── Utility: Teal accent line ── */
.teal-bar {
    display: block;
    width: 2.5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--b-teal), var(--b-amber));
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.teal-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--b-teal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.teal-label::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: var(--b-teal);
    border-radius: 2px;
}

/* ── Header & Nav ── */
#b-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}
#b-header.scrolled {
    border-bottom-color: var(--b-line);
    box-shadow: 0 4px 24px rgba(15,23,42,0.07);
}

.b-nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--b-muted);
    padding: 0.375rem 0.125rem;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.b-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--b-teal);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.b-nav-link:hover { color: var(--b-ink); }
.b-nav-link:hover::after,
.b-nav-link.b-nav-active::after { transform: scaleX(1); }
.b-nav-link.b-nav-active { color: var(--b-ink); font-weight: 600; }

/* Utility bar */
.b-utility-bar {
    background: var(--b-ink);
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    padding: 0.45rem 0;
    letter-spacing: 0.01em;
}
.b-utility-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.b-utility-link:hover { color: var(--b-teal); }

/* ── Hero: Split Layout ── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
}

.hero-split__left {
    background: var(--b-ink);
    padding: 5rem 3rem 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
    z-index: 2;
}

.hero-split__right {
    position: relative;
    overflow: hidden;
    margin-left: -4%;
}
.hero-split__right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-badge {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    background: var(--b-white);
    border-radius: var(--b-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--b-shadow-lg);
    min-width: 180px;
}

/* Hero geometric accent */
.hero-split__left::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 60px solid rgba(14,165,233,0.07);
    pointer-events: none;
}
.hero-split__left::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 30px solid rgba(14,165,233,0.10);
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-split__left {
        clip-path: none;
        padding: 4rem 1.5rem 3rem;
        min-height: 60vh;
    }
    .hero-split__right {
        margin-left: 0;
        height: 55vw;
        min-height: 240px;
        max-height: 400px;
    }
    .hero-badge {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

/* ── Stats Strip ── */
.stats-strip {
    background: var(--b-white);
    border-bottom: 1px solid var(--b-line);
    padding: 2.5rem 0;
}
.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--b-line);
}
.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--b-teal);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--b-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ── Section Headers ── */
.section-header {
    margin-bottom: 3rem;
}
.section-header--center {
    text-align: center;
}
.section-header--center .teal-label {
    justify-content: center;
}
.section-header--center .teal-bar {
    margin-left: auto;
    margin-right: auto;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--b-ink);
    margin-top: 0.75rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--b-muted);
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 52ch;
}
.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ── Service Cards ── */
.svc-card {
    background: var(--b-white);
    border: 1.5px solid var(--b-line);
    border-radius: var(--b-radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b-teal), var(--b-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card:hover {
    border-color: var(--b-teal);
    transform: translateY(-4px);
    box-shadow: var(--b-shadow-lg);
}
.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--b-radius-sm);
    background: var(--b-cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    flex-shrink: 0;
}
.svc-card:hover .svc-icon {
    background: var(--b-teal-glow);
}
.svc-card:hover .svc-icon img {
    filter: none;
}
.svc-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.svc-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--b-ink);
    transition: color 0.2s;
}
.svc-card:hover .svc-title { color: var(--b-teal-dk); }

.svc-desc {
    font-size: 0.82rem;
    color: var(--b-muted);
    line-height: 1.65;
}

.svc-arrow {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--b-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}
.svc-card:hover .svc-arrow { gap: 0.6rem; }

/* ── Diagonal CTA Section ── */
.cta-diagonal {
    background: var(--b-ink);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}
.cta-diagonal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(14,165,233,0.15) 0%, transparent 65%);
    pointer-events: none;
}
.cta-diagonal::after {
    content: '';
    position: absolute;
    top: -40px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(14,165,233,0.06);
    pointer-events: none;
}

/* ── Accordion (template B style) ── */
.b-acc-item {
    border: 1.5px solid var(--b-line);
    border-radius: var(--b-radius);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-bottom: 0.75rem;
}
.b-acc-item.active {
    border-color: var(--b-teal);
    box-shadow: 0 0 0 4px var(--b-teal-glow);
}

.b-acc-header {
    width: 100%;
    text-align: left;
    background: var(--b-white);
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--b-ink);
    transition: background 0.2s;
}
.b-acc-header:hover { background: var(--b-cloud); }
.b-acc-item.active .b-acc-header { background: var(--b-cloud); }

.b-acc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--b-cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, transform 0.3s;
}
.b-acc-item.active .b-acc-icon {
    background: var(--b-teal);
    transform: rotate(180deg);
}

.b-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.b-acc-body-inner {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--b-line);
}

/* ── Contact ── */
.info-tile {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--b-white);
    border: 1.5px solid var(--b-line);
    border-radius: var(--b-radius);
    border-left: 4px solid var(--b-teal);
    transition: box-shadow 0.2s;
}
.info-tile:hover { box-shadow: var(--b-shadow); }

.info-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--b-radius-sm);
    background: var(--b-teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form inputs */
.b-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--b-muted);
    margin-bottom: 0.5rem;
}
.b-form-group input[type="text"],
.b-form-group input[type="email"],
.b-form-group input[type="tel"],
.b-form-group input[type="number"],
.b-form-group select,
.b-form-group textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--b-line);
    border-radius: var(--b-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--b-ink);
    background: var(--b-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.b-form-group input:focus,
.b-form-group select:focus,
.b-form-group textarea:focus {
    border-color: var(--b-teal);
    box-shadow: 0 0 0 3px var(--b-teal-glow);
}
.b-form-group textarea { min-height: 130px; resize: vertical; }

/* ── About Timeline ── */
.about-number {
    font-family: 'Syne', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--b-cloud2);
    line-height: 1;
    margin-bottom: -1rem;
}

/* ── Mobile menu drawer ── */
#b-mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--b-white);
    box-shadow: -12px 0 40px rgba(15,23,42,0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 200;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
#b-mobile-drawer.open { transform: translateX(0); }
#b-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.4);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
#b-drawer-overlay.open { opacity: 1; pointer-events: all; }

.b-drawer-link {
    display: block;
    padding: 0.875rem 0.75rem;
    font-weight: 500;
    color: var(--b-muted);
    border-bottom: 1px solid var(--b-line);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.b-drawer-link:hover { color: var(--b-ink); padding-left: 1.25rem; }
.b-drawer-link:last-of-type { border-bottom: none; }

/* ── Footer ── */
#b-footer {
    background: var(--b-ink);
    color: rgba(255,255,255,0.55);
    position: relative;
    overflow: hidden;
}
#b-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b-teal), var(--b-amber), var(--b-teal));
}
.footer-heading {
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--b-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.footer-link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: var(--b-teal); padding-left: 0.5rem; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.875rem;
}
.footer-contact-item a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--b-teal); }
.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(14,165,233,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Feature list bullets ── */
.b-feature-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.b-feature-list li {
    font-size: 0.8rem;
    color: var(--b-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}
.b-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--b-teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.b-check svg { color: var(--b-teal); }

/* ── Success message ── */
.b-success-msg {
    background: rgba(16,185,129,0.08);
    border: 1.5px solid rgba(16,185,129,0.3);
    border-left: 4px solid var(--b-success);
    border-radius: var(--b-radius-sm);
    color: #065f46;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* ── Page hero variants ── */
.b-page-hero {
    background: var(--b-ink);
    padding: 5rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}
.b-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(0deg, var(--b-cloud) 0%, transparent 100%);
    pointer-events: none;
}
.b-page-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 85% 50%, rgba(14,165,233,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(217,119,6,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* ── Welcome section image frame ── */
.img-frame {
    position: relative;
    display: inline-block;
    width: 100%;
}
.img-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    border: 2px solid var(--b-teal);
    border-radius: var(--b-radius);
    z-index: 0;
    opacity: 0.4;
}
.img-frame img {
    position: relative;
    z-index: 1;
    border-radius: var(--b-radius);
    width: 100%;
    object-fit: cover;
}
.img-frame-badge {
    position: absolute;
    z-index: 2;
    bottom: -1.25rem;
    right: 1.5rem;
    background: var(--b-teal);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--b-radius-sm);
    text-align: center;
    box-shadow: var(--b-shadow-teal);
}

/* ── Responsive helpers ── */
@media (max-width: 768px) {
    .stat-item + .stat-item::before { display: none; }
    .b-page-hero { padding: 3.5rem 1rem 3rem; }
    .hero-split__left { padding: 3rem 1.25rem; }
}

/* ── Scroll reveal (intersection observer) ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



@keyframes urgent-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.urgent-banner {
    animation: urgent-blink 1.2s ease-in-out infinite;
}
