/* ============================================================
   LAVIZYON — Premium Agency Design System
   HTML5 + CSS3 + Bootstrap 5
   Palette: #fcb429 (primary) · #53575b (dark) · #ffffff (white)
   ============================================================ */

:root {
    --primary: #fcb429;
    --primary-dark: #e89b2c;
    --primary-light: #ffd580;
    --dark: #53575b;
    --dark-800: #46494d;
    --dark-900: #3a3d40;
    --dark-950: #2f3235;
    --white: #ffffff;
    --off-white: #f7f7f5;
    --gray-100: #f3f4f6;
    --gray-300: #d5d7da;
    --gray-500: #8b8f94;
    --gray-700: #6a6e73;

    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --shadow-sm: 0 4px 16px rgba(83, 87, 91, 0.06);
    --shadow-md: 0 12px 32px rgba(83, 87, 91, 0.10);
    --shadow-lg: 0 24px 60px rgba(83, 87, 91, 0.16);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 84px;
    --header-h-compact: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h-compact) + 16px);
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

a { color: var(--dark); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }
svg { display: block; }

::selection {
    background: var(--primary);
    color: var(--dark);
}

:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container { max-width: 1240px; }

.section { padding: 120px 0; }

.eyebrow {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.eyebrow-light { color: rgba(255,255,255,0.7); }

.accent { color: var(--primary-dark); }

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    margin-bottom: 12px;
}
.section-sub { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; }
.section-head { margin-bottom: 64px; }

.btn {
    font-family: var(--font-head);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.9rem 1.8rem;
    letter-spacing: 0.01em;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

.btn-arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.35s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(6px); }

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--dark-900);
    box-shadow: 0 8px 24px rgba(252, 180, 41, 0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--dark-900);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(232, 155, 44, 0.4);
}

.btn-dark {
    background: var(--dark);
    border: 2px solid var(--dark);
    color: var(--white);
}
.btn-dark:hover { background: var(--dark-900); border-color: var(--dark-900); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-text-link {
    background: transparent;
    border: none;
    color: var(--dark);
    padding: 1rem 0.5rem;
    border-bottom: 2px solid var(--primary);
    border-radius: 0;
}
.btn-text-link:hover { color: var(--primary-dark); border-color: var(--primary-dark); transform: none; }
.btn-text-link .btn-arrow { margin-left: 6px; }

.btn-cta {
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
    transform: translateX(-110%) skewX(-20deg);
    transition: transform 0.6s var(--ease);
}
.btn-cta:hover::before { transform: translateX(110%) skewX(-20deg); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Cursor ---------- */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--primary);
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid var(--primary);
    transition: transform 0.2s, width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}
.cursor-ring.is-hover {
    width: 56px; height: 56px;
    border-color: var(--dark);
}
@media (hover: none), (max-width: 991.98px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: height 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.site-header .navbar { width: 100%; padding: 0; }
.site-header .container { display: flex; align-items: center; }

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--dark);
}
.navbar-brand:hover { color: var(--dark); }

.brand-mark {
    width: 40px; height: 40px;
    background: var(--dark);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    transform: rotate(-8deg);
    transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.navbar-brand:hover .brand-mark { transform: rotate(8deg) scale(1.05); background: var(--primary); color: var(--dark); }

.nav-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 1.1rem; right: 100%;
    bottom: 0.25rem;
    height: 2px;
    background: var(--primary);
    transition: right 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--primary-dark); }
.nav-link:hover::after, .nav-link.active::after { right: 1.1rem; }

/* compact on scroll */
.site-header.is-scrolled {
    height: var(--header-h-compact);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 30px rgba(83,87,91,0.08);
    border-bottom: 1px solid rgba(83,87,91,0.06);
}
.site-header.is-scrolled .brand-mark { width: 34px; height: 34px; font-size: 1.1rem; }
.site-header.is-scrolled .btn-cta { padding: 0.55rem 1.3rem; font-size: 0.9rem; }

/* toggler */
.navbar-toggler {
    border: none;
    width: 44px; height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
    display: block;
    width: 26px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.3s;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px; right: 12px;
        background: var(--white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 18px 20px;
        border: 1px solid var(--gray-100);
    }
    .navbar-nav { align-items: flex-start; }
    .nav-link { padding: 0.7rem 0.5rem !important; font-size: 1.05rem; width: 100%; }
    .nav-link::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 0;
    overflow: hidden;
    background: var(--white);
}
.hero-title {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin-bottom: 0;
}
.accent-stroke {
    color: var(--dark);
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary) 100%);
    background-repeat: no-repeat;
    background-size: 100% 38%;
    background-position: 0 78%;
    padding: 0 0.05em;
    border-radius: 0.08em;
}
.hero-sub {
    font-size: 1.08rem;
    color: var(--gray-700);
    margin-bottom: 28px;
    max-width: 420px;
}
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* hero visual collage */
.hero-visual { margin-top: 72px; }
.hero-visual-inner {
    position: relative;
    height: 520px;
}
@media (max-width: 767.98px) {
    .hero-visual-inner { height: 420px; }
}

.float-card {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    will-change: transform;
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}

.card-site {
    --r: -2deg;
    width: 340px;
    left: 4%;
    top: 6%;
    animation-delay: 0s;
    padding: 0;
    overflow: hidden;
}
.fc-browser {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}
.fc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.fc-dot:nth-child(2) { background: var(--primary); }
.fc-body { padding: 20px 18px 24px; }
.fc-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    margin-bottom: 18px;
}
.fc-chart span {
    flex: 1;
    background: var(--gray-100);
    border-radius: 6px 6px 2px 2px;
    transition: background 0.3s;
}
.fc-chart span.yellow { background: var(--primary); }
.fc-lines { display: flex; flex-direction: column; gap: 10px; }
.fc-lines i { height: 10px; border-radius: 6px; background: var(--gray-100); width: 100%; }
.fc-lines i:nth-child(2) { width: 82%; }
.fc-lines i:nth-child(3) { width: 62%; background: var(--primary); opacity: 0.5; }

.card-poster {
    --r: 2.5deg;
    width: 220px;
    right: 16%;
    top: 0%;
    background: var(--dark);
    color: var(--white);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation-delay: 1.2s;
}
.poster-tag {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 18px;
}
.poster-big {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.poster-line { width: 44px; height: 4px; background: var(--primary); border-radius: 2px; margin-bottom: 16px; }
.poster-foot { font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

.card-phone {
    --r: 3deg;
    width: 150px;
    height: 300px;
    right: 4%;
    bottom: 0%;
    border-radius: 26px;
    background: var(--dark);
    border: 6px solid var(--dark-900);
    padding: 16px 14px;
    animation-delay: 2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.phone-notch {
    width: 44px; height: 6px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    align-self: center;
}
.phone-square { border-radius: 8px; }
.phone-square.sq-1 { height: 54px; background: var(--primary); }
.phone-square.sq-2 { height: 34px; background: rgba(255,255,255,0.16); }
.phone-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.16); }
.phone-btn { height: 34px; border-radius: 8px; background: var(--primary); margin-top: auto; }

.card-tag {
    padding: 12px 18px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}
.card-tag.tag-1 {
    left: 34%;
    bottom: 12%;
    background: var(--white);
    color: var(--dark);
    animation-delay: 0.6s;
}
.card-tag.tag-2 {
    left: 12%;
    bottom: 2%;
    background: var(--primary);
    color: var(--dark-900);
    animation-delay: 1.7s;
}

/* decorative shapes */
.shape { position: absolute; border-radius: var(--radius-lg); }
.shape-yellow {
    width: 130px; height: 130px;
    background: var(--primary);
    right: 34%;
    bottom: 6%;
    opacity: 0.9;
    animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.shape-circle {
    width: 52px; height: 52px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    left: 48%;
    top: 34%;
    animation: float 5s ease-in-out infinite;
}
.shape-dots {
    width: 90px; height: 90px;
    right: 30%;
    top: 46%;
    background-image: radial-gradient(var(--dark) 3px, transparent 3.5px);
    background-size: 18px 18px;
    opacity: 0.35;
    animation: float 8s ease-in-out 1s infinite;
}

@media (max-width: 991.98px) {
    .card-site { width: 280px; left: 0; }
    .card-poster { right: 0; width: 190px; }
    .card-phone { right: -2%; }
    .shape-yellow { right: 20%; }
}
@media (max-width: 575.98px) {
    .hero { padding-top: calc(var(--header-h) + 48px); }
    .card-site { width: 78%; left: 0; top: 0; }
    .card-poster { display: none; }
    .card-phone { width: 120px; height: 240px; right: 0; bottom: 0; }
    .card-tag.tag-2 { left: 0; bottom: 0; }
    .card-tag.tag-1 { left: 30%; bottom: 10%; }
    .shape-yellow { right: 6%; bottom: 2%; width: 90px; height: 90px; }
    .shape-dots { display: none; }
}

/* scroll hint */
.scroll-hint {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 80px;
    margin-bottom: 0;
    padding-bottom: 40px;
    color: var(--gray-500);
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--gray-300);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }
.scroll-label { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee {
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 22px 0;
    overflow: hidden;
    background: var(--white);
}
.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.marquee-track span {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: var(--dark);
    white-space: nowrap;
}
.marquee-track i { color: var(--primary); font-style: normal; font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: 140px 0; background: var(--white); }
.statement-inner { max-width: 1000px; }
.statement-title {
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 48px;
}
.statement-title .accent { position: relative; white-space: nowrap; }
.statement-title .accent::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0.06em;
    width: 100%; height: 0.28em;
    background: var(--primary);
    z-index: -1;
    border-radius: 0.1em;
}
.statement-text { color: var(--gray-700); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Services ---------- */
.services { background: var(--off-white); }
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
    position: absolute;
    top: 28px; right: 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-300);
    transition: color 0.3s, transform 0.4s var(--ease);
}
.service-card:hover .service-num { color: var(--primary); transform: scale(1.15); }

.service-icon {
    width: 62px; height: 62px;
    border-radius: var(--radius-md);
    background: var(--off-white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    transition: background 0.4s, color 0.4s, transform 0.5s var(--ease), rotate 0.5s var(--ease);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--dark-900);
    transform: translateY(-4px) rotate(-6deg);
}

.service-title { font-size: 1.35rem; margin-bottom: 12px; }
.service-text { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 22px; }
.service-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s var(--ease), color 0.3s;
}
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }
.service-link:hover { color: var(--primary-dark); }
.service-link .btn-arrow { margin-left: 8px; font-size: 1rem; }
.service-card:hover .service-link .btn-arrow { animation: arrowNudge 1.2s ease-in-out infinite; }
@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* ---------- Selected Works ---------- */
.works { background: var(--white); }
.works-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}
.work-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.work-big { grid-column: span 7; grid-row: span 2; }
.work-tall { grid-column: span 5; grid-row: span 2; }
.work-wide { grid-column: span 8; }
.work-small { grid-column: span 4; }
.work-full { grid-column: span 12; }

.work-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--g), var(--g2));
    transition: transform 0.8s var(--ease);
}
.work-item:hover .work-media { transform: scale(1.05); }

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    background: linear-gradient(to top, rgba(47,50,53,0.88) 0%, rgba(47,50,53,0.15) 45%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    color: var(--white);
}
.work-item:hover .work-overlay { opacity: 1; }
.work-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transform: translateY(-8px);
    transition: transform 0.5s var(--ease);
}
.work-info { transform: translateY(12px); transition: transform 0.5s var(--ease); }
.work-item:hover .work-meta { transform: translateY(0); }
.work-item:hover .work-info { transform: translateY(0); }
.work-title { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.work-tags { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 14px; }
.work-cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}
.work-cta .btn-arrow { margin-left: 8px; font-size: 1.1rem; transition: transform 0.35s var(--ease); }
.work-item:hover .work-cta .btn-arrow { transform: translateX(6px); }

/* work media art (pure CSS mockups) */
.wm-poster {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-950);
    text-align: center;
}
.wm-logo { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.3em; font-size: 0.8rem; margin-bottom: 18px; }
.wm-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; }
.wm-shape { width: 80px; height: 80px; background: var(--white); opacity: 0.9; border-radius: 50%; margin-top: 24px; }

.wm-phone {
    position: absolute;
    left: 50%; top: 50%;
    width: 110px; height: 220px;
    background: var(--white);
    border-radius: 22px;
    transform: translate(-50%, -50%) rotate(4deg);
    border: 5px solid rgba(255,255,255,0.35);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wm-phone .phone-notch { background: rgba(47,50,53,0.2); width: 34px; height: 5px; }
.wm-btn { height: 30px; border-radius: 6px; background: var(--dark); opacity: 0.9; }
.wm-btn.short { width: 70%; background: var(--primary); }
.wm-card { flex: 1; border-radius: 8px; background: var(--gray-300); opacity: 0.6; margin-top: 6px; }

.wm-wide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    color: var(--white);
}
.wm-wide-l { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; }
.wm-wide-cta {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--white);
    color: var(--dark);
    padding: 12px 22px;
    border-radius: var(--radius-full);
}

.wm-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wm-art-ring {
    width: 120px; height: 120px;
    border: 6px solid rgba(255,255,255,0.85);
    border-radius: 50%;
    position: relative;
}
.wm-art-dot {
    position: absolute;
    width: 40px; height: 40px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(60px, -40px);
    box-shadow: 0 0 0 8px rgba(252,180,41,0.3);
}

.wm-full {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    color: var(--dark-950);
}
.wm-full-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.wm-full-sub { font-family: var(--font-head); font-weight: 600; margin-top: 10px; font-size: 1.1rem; }

@media (max-width: 991.98px) {
    .works-grid { grid-auto-rows: 260px; }
    .work-big { grid-column: span 12; grid-row: span 2; }
    .work-tall { grid-column: span 6; grid-row: span 2; }
    .work-wide { grid-column: span 12; grid-row: span 1; }
    .work-small { grid-column: span 6; }
}
@media (max-width: 575.98px) {
    .works-grid { grid-auto-rows: 220px; gap: 16px; }
    .work-tall { grid-column: span 12; grid-row: span 2; }
    .work-small { grid-column: span 12; }
    .work-overlay { opacity: 1; }
    .work-meta, .work-info { transform: none; }
}

/* ---------- Stats ---------- */
.stats {
    background: var(--dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(252,180,41,0.12), transparent 70%);
    top: -120px; right: -120px;
    border-radius: 50%;
}
.stats::after {
    content: "";
    position: absolute;
    width: 220px; height: 220px;
    border: 2px solid rgba(252,180,41,0.25);
    border-radius: 50%;
    bottom: -80px; left: -60px;
}
.stat { text-align: center; position: relative; z-index: 1; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-num::after {
    content: "";
    display: block;
    width: 40px; height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 16px auto 0;
}
.stat-label { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ---------- Why Us ---------- */
.why { background: var(--white); }
.why-list { border-top: 1px solid var(--gray-100); }
.why-item {
    display: grid;
    grid-template-columns: 90px 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: padding 0.4s var(--ease);
}
.why-index {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    padding-top: 8px;
}
.why-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform 0.4s var(--ease), color 0.3s;
}
.why-item:hover .why-title { transform: translateX(8px); color: var(--primary-dark); }
.why-text { color: var(--gray-700); margin: 0; font-size: 1.02rem; }

@media (max-width: 991.98px) {
    .why-item { grid-template-columns: 60px 1fr; gap: 20px; }
    .why-text { grid-column: 2; }
}
@media (max-width: 575.98px) {
    .why-item { grid-template-columns: 1fr; gap: 12px; }
    .why-text { grid-column: 1; }
    .why-index { padding-top: 0; }
}

/* ---------- Process ---------- */
.process { background: var(--off-white); }
.process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding-top: 40px;
}
.process-line {
    position: absolute;
    top: 18px; left: 0; right: 0;
    height: 2px;
    background: var(--gray-300);
    border-radius: 2px;
    overflow: hidden;
}
.process-line-fill {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 1s var(--ease);
}
.process-step {
    position: relative;
    padding-top: 44px;
    opacity: 0.45;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.process-step.is-active { opacity: 1; transform: translateY(-4px); }
.process-num {
    position: absolute;
    top: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--gray-700);
    z-index: 1;
    transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.process-step.is-active .process-num {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark-900);
}
.process-step h4 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; color: var(--gray-700); margin: 0; }

@media (max-width: 991.98px) {
    .process-track { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .process-line { display: none; }
}
@media (max-width: 575.98px) {
    .process-track { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testimonial {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px 34px;
    height: 100%;
    margin: 0;
    position: relative;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s;
}
.testimonial:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: var(--white); }
.quote-mark {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 5rem;
    line-height: 0.6;
    color: var(--primary);
    margin-bottom: 26px;
    height: 0.6em;
}
.testimonial blockquote {
    font-size: 1.02rem;
    color: var(--dark-800);
    margin-bottom: 28px;
    line-height: 1.7;
}
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.t-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--t);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.t-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--dark); line-height: 1.3; }
.t-role { display: block; font-size: 0.82rem; color: var(--gray-500); }

/* ---------- Blog ---------- */
.blog { background: var(--off-white); }
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    height: 100%;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-media {
    height: 180px;
    background: linear-gradient(135deg, var(--g), var(--g2));
    position: relative;
    overflow: hidden;
}
.bm-chart {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    padding: 24px;
}
.bm-chart span {
    width: 34px;
    background: var(--gray-300);
    border-radius: 8px 8px 2px 2px;
}
.bm-chart span.yellow { background: var(--primary); }
.bm-type {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--gray-500);
}
.bm-seo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gray-500);
    gap: 6px;
}
.bm-seo .yellow { color: var(--primary-dark); }
.blog-body { padding: 28px 26px 30px; }
.blog-meta {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: block;
}
.blog-title { font-size: 1.25rem; margin-bottom: 18px; line-height: 1.35; }
.blog-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
}
.blog-link .btn-arrow { margin-left: 8px; transition: transform 0.35s var(--ease); }
.blog-link:hover { color: var(--primary-dark); }
.blog-link:hover .btn-arrow { transform: translateX(6px); }

/* ---------- CTA ---------- */
.cta-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}
.cta-section::before {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(252,180,41,0.16), transparent 70%);
    top: -200px; right: -100px;
    border-radius: 50%;
}
.cta-section::after {
    content: "";
    position: absolute;
    width: 240px; height: 240px;
    border: 2px solid rgba(252,180,41,0.2);
    border-radius: 50%;
    bottom: -90px; left: -60px;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-title {
    color: var(--white);
    font-size: clamp(2.4rem, 7vw, 5rem);
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}
.cta-title .accent { color: var(--primary); }
.cta-text { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 44px; }
.cta-inner .btn-cta {
    font-size: 1.15rem;
    padding: 1.2rem 2.6rem;
    gap: 12px;
}
.cta-contact {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-contact a {
    color: rgba(255,255,255,0.6);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}
.cta-contact a:hover { color: var(--primary); border-color: var(--primary); }

/* magnetic btn */
.btn-magnetic { will-change: transform; }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark-950);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer .navbar-brand { color: var(--white); }
.footer .brand-mark { background: var(--primary); color: var(--dark-950); }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about { margin-top: 24px; font-size: 0.95rem; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer-heading {
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer-links a:hover { color: var(--primary); padding-left: 6px; }

.social-row { display: flex; gap: 12px; }
.social-link {
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.social-link svg { width: 19px; height: 19px; }
.social-link:hover {
    background: var(--primary);
    color: var(--dark-950);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
}
.footer-copy { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.footer-legal a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color 0.3s; }
.footer-legal a:hover { color: var(--primary); }

@media (max-width: 991.98px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-legal { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Back to top ---------- */
.back-top {
    position: fixed;
    right: 28px; bottom: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 1040;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s;
}
.back-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--primary); color: var(--dark-900); }

/* ---------- Responsive tuning ---------- */
@media (max-width: 767.98px) {
    .section { padding: 88px 0; }
    .section-head { margin-bottom: 44px; }
    .btn-cta.btn-hero, .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-sub { max-width: 100%; }
    .statement { padding: 100px 0; }
    .cta-section { padding: 100px 0; }
}
@media (max-width: 575.98px) {
    .hero-title { letter-spacing: -0.02em; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: calc(var(--header-h) + 64px) 0 64px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
    position: relative;
}
.page-hero::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(252,180,41,0.12), transparent 70%);
    top: -120px; right: -80px;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.03;
    margin-bottom: 32px;
}
.page-hero-text {
    color: var(--gray-700);
    font-size: 1.08rem;
    max-width: 520px;
    margin-bottom: 0;
}

.page-hero-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.chip {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    display: inline-block;
}
.chip-yellow { background: var(--primary); color: var(--dark-900); }
.chip-dark { background: var(--dark); color: var(--white); }
.chip-outline { border: 2px solid var(--dark); color: var(--dark); }

/* ---------- Story / milestones ---------- */
.story { background: var(--white); }
.story-visual {
    position: relative;
    height: 460px;
}
.sv-card {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.sv-main {
    top: 0; left: 0;
    width: 78%;
    height: 340px;
    background: var(--dark);
    color: var(--white);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}
.sv-label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary);
}
.sv-big {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.sv-line { width: 52px; height: 4px; background: var(--primary); border-radius: 2px; }
.sv-foot { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.sv-float {
    right: 0; bottom: 0;
    width: 46%;
    height: 200px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}
.sv-quote {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 0.7;
    color: var(--primary);
    margin-bottom: 16px;
}
.sv-qt { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--dark); line-height: 1.4; }
.sv-shape { width: 80px; height: 80px; right: 6%; top: -30px; animation: spin 18s linear infinite; }

@media (max-width: 991.98px) {
    .story-visual { height: 420px; margin-bottom: 40px; }
}
@media (max-width: 575.98px) {
    .story-visual { height: 380px; }
    .sv-main { width: 88%; height: 280px; padding: 28px 24px; }
    .sv-float { width: 60%; height: 170px; }
}

.milestones { display: flex; flex-direction: column; }
.milestone {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}
.milestone-year {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary-dark);
    padding-top: 4px;
}
.milestone-body h4 { font-size: 1.2rem; margin-bottom: 6px; }
.milestone-body p { color: var(--gray-700); font-size: 0.98rem; margin: 0; }

/* ---------- Team ---------- */
.team { background: var(--off-white); }
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 26px;
    text-align: center;
    height: 100%;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-avatar {
    width: 92px; height: 92px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--t);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2rem;
    position: relative;
}
.team-avatar::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s, transform 0.4s var(--ease);
}
.team-card:hover .team-avatar::after { opacity: 1; transform: scale(1); }
.team-name { font-size: 1.15rem; margin-bottom: 6px; }
.team-role { color: var(--gray-500); font-size: 0.9rem; }

/* ---------- Blog category filter ---------- */
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}
.cat-pill {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
    transition: all 0.3s var(--ease);
}
.cat-pill:hover { border-color: var(--dark); color: var(--dark); transform: translateY(-2px); }
.cat-pill.active { background: var(--dark); border-color: var(--dark); color: var(--white); }

/* ---------- Featured post ---------- */
.blog-featured { background: var(--white); padding: 72px 0 0; }
.featured-post {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.featured-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.featured-media {
    position: relative;
    min-height: 320px;
    background: linear-gradient(135deg, var(--g), var(--g2));
    overflow: hidden;
}
.fp-chart {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    padding: 40px;
}
.fp-chart span {
    width: 48px;
    background: rgba(255,255,255,0.85);
    border-radius: 10px 10px 2px 2px;
    transition: background 0.4s;
}
.featured-post:hover .fp-chart span { background: var(--dark); }
.fp-chart span:nth-child(2) { background: var(--dark); }
.fp-chart span:nth-child(4) { background: var(--dark); }
.featured-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-tag {
    align-self: flex-start;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--primary);
    color: var(--dark-900);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}
.featured-body .blog-meta { margin-bottom: 14px; }
.featured-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    transition: color 0.3s;
}
.featured-post:hover .featured-title { color: var(--primary-dark); }
.featured-text { color: var(--gray-700); margin-bottom: 22px; }
.featured-cta {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
}
.featured-cta .btn-arrow { margin-left: 8px; font-size: 1.1rem; transition: transform 0.35s var(--ease); }
.featured-post:hover .featured-cta .btn-arrow { transform: translateX(6px); }
.featured-cta:hover { color: var(--primary-dark); }

@media (max-width: 991.98px) {
    .featured-post { grid-template-columns: 1fr; }
    .featured-media { min-height: 260px; }
}

/* ---------- Blog cards: media link + extra art ---------- */
.blog-media-link { display: block; }
.blog-title a { color: var(--dark); transition: color 0.3s; }
.blog-title a:hover { color: var(--primary-dark); }

.bm-social {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.bm-like { color: var(--primary-dark); font-size: 1.6rem; }
.bm-post {
    width: 120px; height: 12px;
    background: var(--gray-300);
    border-radius: 6px;
}
.bm-post.short { width: 80px; background: var(--gray-500); opacity: 0.5; }
.bm-tech {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--gray-500);
}

/* ---------- Pagination ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 56px; }
.pagination { gap: 8px; }
.page-link {
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm) !important;
    background: var(--white);
    color: var(--dark);
    font-family: var(--font-head);
    font-weight: 600;
    margin: 0;
    transition: all 0.3s var(--ease);
}
.page-link:hover { background: var(--off-white); border-color: var(--dark); color: var(--dark); }
.page-item.active .page-link { background: var(--dark); border-color: var(--dark); color: var(--white); }
.page-item.disabled .page-link { opacity: 0.4; }
.page-nav { font-size: 1.1rem; }
.page-dots { border: none; background: transparent; }
.page-dots:hover { background: transparent; border: none; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--dark); padding: 90px 0; }
.newsletter-inner { max-width: 960px; margin: 0 auto; }
.newsletter-title { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 0; }
.newsletter-form {
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}
.newsletter-form .form-control {
    border: none;
    background: transparent;
    padding: 0.9rem 1.4rem;
    font-size: 0.98rem;
    box-shadow: none;
}
.newsletter-form .form-control:focus { background: transparent; }
.newsletter-form .btn { white-space: nowrap; }
.newsletter-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 14px; text-align: center; }
@media (max-width: 575.98px) {
    .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); }
    .newsletter-form .btn { width: 100%; }
}

/* ---------- Article (blog detail) ---------- */
.article-hero {
    padding: calc(var(--header-h) + 56px) 0 48px;
    background: var(--white);
}
.article-hero-inner { max-width: 860px; }
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 24px;
}
.breadcrumb-nav a { color: var(--gray-500); transition: color 0.3s; }
.breadcrumb-nav a:hover { color: var(--primary-dark); }
.breadcrumb-nav span { color: var(--gray-300); }
.article-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 28px;
}
.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}
.article-author { display: flex; align-items: center; gap: 14px; }
.article-author-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--dark); line-height: 1.3; }
.article-author-role { display: block; font-size: 0.82rem; color: var(--gray-500); }
.article-meta { display: flex; align-items: center; gap: 10px; color: var(--gray-500); font-size: 0.92rem; }
.meta-sep { color: var(--primary); font-weight: 700; }

.article-cover { padding-bottom: 64px; }
.article-cover-media {
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--g), var(--g2));
    position: relative;
    box-shadow: var(--shadow-lg);
}
@media (max-width: 767.98px) {
    .article-cover-media { height: 260px; }
}

.article { background: var(--white); padding-bottom: 80px; }
.article-body { font-size: 1.06rem; color: var(--dark-800); }
.article-body p { margin-bottom: 1.6em; }
.article-body .lead { font-size: 1.3rem; font-weight: 500; color: var(--dark); line-height: 1.6; }
.article-body h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2em 0 0.8em;
    letter-spacing: -0.02em;
}
.article-body h3 {
    font-size: 1.3rem;
    margin: 1.8em 0 0.7em;
}
.article-body h2:first-of-type { margin-top: 1.2em; }
.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--off-white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 28px 32px;
    margin: 2em 0;
}
.article-body blockquote p {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}
.article-body ul, .article-body ol {
    padding-left: 1.4em;
    margin: 1.4em 0;
}
.article-body li { margin-bottom: 0.6em; }
.article-body li::marker { color: var(--primary-dark); font-weight: 700; }
.article-body strong { color: var(--dark); }

.article-footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 32px 0;
    margin-top: 24px;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-chip {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 16px;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    transition: all 0.3s;
}
.tag-chip:hover { background: var(--primary); color: var(--dark-900); border-color: var(--primary); }
.article-share { display: flex; align-items: center; gap: 10px; }
.share-label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.share-link {
    width: 42px; height: 42px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s var(--ease);
}
.share-link svg { width: 17px; height: 17px; }
.share-link:hover { background: var(--dark); border-color: var(--dark); color: var(--primary); transform: translateY(-3px); }

.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 48px;
}
.author-box-avatar { width: 72px; height: 72px; font-size: 1.6rem; flex-shrink: 0; }
.author-box-name { font-size: 1.2rem; margin-bottom: 8px; }
.author-box-bio { color: var(--gray-700); font-size: 0.98rem; margin-bottom: 14px; }
@media (max-width: 575.98px) {
    .author-box { flex-direction: column; }
}

.related { background: var(--off-white); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-form-wrap {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 44px;
}
.contact-form-title { font-size: 1.6rem; margin-bottom: 32px; }
.contact-form-wrap .form-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.98rem;
    color: var(--dark);
    background-color: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-wrap .form-control::placeholder { color: var(--gray-500); }
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(252,180,41,0.18);
}
.contact-form-wrap .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.contact-form-wrap .form-check-input:focus { box-shadow: 0 0 0 3px rgba(252,180,41,0.18); border-color: var(--primary); }
.contact-form-wrap .form-check-label { font-size: 0.92rem; color: var(--gray-700); }
.contact-form-wrap .btn { margin-top: 8px; }
.form-success {
    display: none;
    margin-top: 18px;
    background: rgba(252,180,41,0.14);
    border: 1px solid var(--primary);
    color: var(--dark-900);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-success.is-shown { display: block; }
@media (max-width: 575.98px) {
    .contact-form-wrap { padding: 28px 22px; }
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.info-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.info-value {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 4px;
    transition: color 0.3s;
}
a.info-value:hover { color: var(--primary-dark); }
.info-sub { color: var(--gray-500); font-size: 0.9rem; }
.info-social { padding: 8px 6px; }
.info-social-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 16px; }
.info-social .social-link {
    border-color: var(--gray-300);
    color: var(--dark);
}
.info-social .social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--dark-950); }

/* ---------- Map ---------- */
.map-section { background: var(--white); padding-bottom: 120px; }
.map-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    background:
        linear-gradient(90deg, rgba(83,87,91,0.05) 1px, transparent 1px),
        linear-gradient(rgba(83,87,91,0.05) 1px, transparent 1px),
        var(--off-white);
    background-size: 40px 40px;
    position: relative;
    height: 360px;
}
.map-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.map-pin {
    width: 52px; height: 52px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(252,180,41,0.5);
    animation: pinPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes pinPulse {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.12); }
}
.map-pin-dot {
    width: 16px; height: 16px;
    background: var(--dark-900);
    border-radius: 50%;
    transform: rotate(45deg);
}
.map-lines { position: absolute; inset: 0; }
.map-lines i {
    position: absolute;
    background: var(--gray-300);
    opacity: 0.6;
    border-radius: 2px;
}
.map-lines i:nth-child(1) { width: 34%; height: 2px; top: 30%; left: 8%; }
.map-lines i:nth-child(2) { width: 2px; height: 26%; top: 12%; left: 62%; }
.map-lines i:nth-child(3) { width: 22%; height: 2px; bottom: 26%; right: 10%; }
.map-lines i:nth-child(4) { width: 2px; height: 34%; bottom: 8%; left: 24%; }
.map-lines i:nth-child(5) { width: 18%; height: 2px; top: 52%; right: 30%; }
.map-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    z-index: 2;
}
@media (max-width: 575.98px) {
    .map-box { height: 280px; }
}

/* ---------- FAQ / Accordion ---------- */
.faq { background: var(--off-white); }
.accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md) !important;
    background: var(--white);
    margin-bottom: 14px;
    overflow: hidden;
}
.accordion-button {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    padding: 22px 26px;
    background: var(--white);
    box-shadow: none;
    transition: color 0.3s, background 0.3s;
}
.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-button::after {
    width: 18px; height: 18px;
    background-size: 18px;
    filter: none;
    transition: transform 0.35s var(--ease);
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e89b2c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}
.accordion-body { padding: 4px 26px 24px; color: var(--gray-700); }

/* ---------- Nav active state (inner pages) ---------- */
.nav-link.active { color: var(--primary-dark); }
.nav-link.active::after { right: 1.1rem; }

/* ---------- Detail links (always discoverable) ---------- */
.service-link { opacity: 1; transform: translateY(0); }
