/* ═══════════════════════════════════════════════════
   hanarum.com  — Main Stylesheet
   Light SaaS Theme · Minimal · Generous Whitespace
═══════════════════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
    /* Brand — IT / SaaS Blue */
    --primary:   #1D4ED8;
    --primary-d: #1E40AF;
    --primary-lt:#EFF6FF;
    --accent:    #D75A4C;
    --accent-d:  #B7483B;

    /* Neutrals */
    --dark:      #0F172A;
    --text:      #1E293B;
    --muted:     #64748B;
    --border:    #E2E8F0;

    /* Backgrounds */
    --bg:        #FFFFFF;
    --bg-soft:   #F8FAFF;
    --bg-dark:   #0F172A;

    /* Cards */
    --card-bg:   #FFFFFF;
    --radius:    24px;
    --radius-sm: 14px;

    /* Shadows */
    --shadow-xs: 0 2px 8px rgba(29,78,216,.06);
    --shadow-sm: 0 4px 16px rgba(29,78,216,.08);
    --shadow-md: 0 8px 32px rgba(29,78,216,.12);
    --shadow-lg: 0 16px 56px rgba(29,78,216,.18);

    /* Nav */
    --nav-h: 72px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
}
body:not(.loaded) { overflow: hidden; }

/* ══════════════════════════════════════════════════
   LOADING SCREEN  — minimal white
══════════════════════════════════════════════════ */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    transition: opacity .5s ease, visibility .5s ease;
}
#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 로고 */
.loader-logo {
    height: 36px;
}

/* 스피너: 얇은 원형 하나 */
.loader-spinner {
    position: relative;
    width: 36px;
    height: 36px;
}
.spinner-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.08);
    border-top-color: var(--primary);
    animation: spinRing .9s linear infinite;
}
.spinner-ring::after { display: none; }
@keyframes spinRing {
    to { transform: rotate(360deg); }
}

/* 프로그레스 바 (화면 하단 고정) */
.loader-progress {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    overflow: hidden;
}
.loader-progress::after {
    content: '';
    display: block;
    height: 100%;
    width: 40%;
    background: var(--primary);
    opacity: .35;
    animation: loaderBar 1.2s ease-in-out infinite;
}
.loader-progress.complete::after {
    width: 100%;
    opacity: .5;
    animation: none;
    transition: width .3s ease;
}
@keyframes loaderBar {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* loader-text 숨김 */
.loader-text { display: none; }

/* ══════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════ */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--nav-h);
    padding: 0 6%;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(29,78,216,.10); }

.nav-logo img { height: 30px; display: block; }

.nav-links {
    display: flex; align-items: center;
    gap: 2.6rem; list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: .88rem; font-weight: 500;
    color: var(--text);
    position: relative; transition: color .2s;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; border-radius: 2px;
    background: var(--accent);
    transition: width .3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background .2s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-d) !important; transform: translateY(-1px); }
.nav-cta.active { color: #fff !important; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px;
    background: none; border: none;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    z-index: 800;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem 6%;
    border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 1rem;
    box-shadow: 0 12px 32px rgba(29,78,216,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    text-decoration: none;
    color: var(--text); font-size: 1rem; font-weight: 500;
    padding: .5rem 0;
    border-bottom: 1px solid var(--bg-soft);
    transition: color .2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .m-cta {
    background: var(--accent); color: #fff !important;
    text-align: center;
    padding: 12px; border-radius: 12px;
    margin-top: .5rem; border-bottom: none;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh; min-height: 640px;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.hero-bg {
    position: absolute; inset: 0;
}
.hero-bg video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
/* 3-layer gradient overlay */
.hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15,23,42,.92) 0%,
        rgba(29,78,216,.50) 45%,
        rgba(15,23,42,.12) 100%
    );
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(15,23,42,.68) 0%,
        transparent 50%
    );
}



.hero-content {
    position: relative; z-index: 1;
    padding: 0 6%;
    max-width: 720px;
    color: #fff;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(215,90,76,.13);
    border: 1px solid rgba(215,90,76,.35);
    color: #fca5a5;
    font-size: .73rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 18px; border-radius: 50px;
    margin-bottom: 1.8rem;
}
.hero-badge b {
    width: 6px; height: 6px;
    border-radius: 50%; background: var(--accent);
    display: block;
}

.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 5.8vw, 4.4rem);
    font-weight: 800; line-height: 1.12;
    letter-spacing: -2px;
    margin-bottom: 1.4rem;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fca5a5, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    font-weight: 300;
    max-width: 480px; margin-bottom: 2.5rem;
    line-height: 1.85;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-solid {
    display: inline-block;
    text-decoration: none;
    background: var(--accent);
    color: #fff; font-weight: 600; font-size: .92rem;
    padding: 14px 36px; border-radius: 50px;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(215,90,76,.35);
}
.btn-solid:hover {
    background: var(--accent-d);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(215,90,76,.42);
}

.btn-ghost {
    display: inline-block;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff; font-weight: 500; font-size: .92rem;
    padding: 14px 36px; border-radius: 50px;
    transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute; bottom: 2.2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,.35);
    font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
    animation: bounce 2.2s ease-in-out infinite;
    z-index: 1;
}
.hero-scroll svg { width: 18px; opacity: .45; }
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════════ */
.stats-strip {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 55%, #3B82F6 100%);
    padding: 1.6rem 6%;
}
.stats-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.stat-item {
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .5rem 1rem;
}
.stat-num {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}
.stat-suffix {
    display: inline-block;
    font-size: 1.2rem; font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-meta {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.stat-unit {
    font-size: .65rem; letter-spacing: 1.5px;
    text-transform: uppercase; opacity: .6;
    line-height: 1;
}
.stat-label { font-size: .8rem; font-weight: 500; opacity: .85; line-height: 1.3; }
.stats-divider {
    width: 1px; height: 28px;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   COMMON SECTION
══════════════════════════════════════════════════ */
section { padding: 104px 6%; }
.inner  { max-width: 1140px; margin: 0 auto; }

.sec-eyebrow {
    font-size: .72rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: .6rem;
}
.sec-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800; color: var(--dark);
    letter-spacing: -1px; line-height: 1.18;
    margin-bottom: 1rem;
}
.sec-bar {
    width: 52px; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-bottom: 1.6rem;
}
.sec-desc {
    font-size: 1rem; color: var(--muted);
    line-height: 1.85;
}

/* ══════════════════════════════════════════════════
   COMPANY
══════════════════════════════════════════════════ */
#company { background: var(--bg); }

.company-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
    margin-top: 3.5rem;
}
.company-desc {
    font-size: 1rem; color: var(--muted);
    line-height: 1.95; margin-bottom: 3rem;
}

.info-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.info-card {
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.5rem;
    border-left: 3px solid var(--primary);
    transition: box-shadow .25s, transform .25s;
}
.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.info-card .label {
    font-size: .68rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--primary); opacity: .8;
    margin-bottom: 5px;
}
.info-card .value {
    font-size: .95rem; font-weight: 600;
    color: var(--dark); line-height: 1.5;
}

.company-photo { position: relative; }
.company-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: block;
}
.company-since {
    position: absolute; top: -20px; right: -20px;
    background: linear-gradient(135deg, var(--primary), #2563EB);
    color: #fff; border-radius: 16px;
    padding: 1.2rem 1.8rem; text-align: center;
    box-shadow: 0 8px 32px rgba(29,78,216,.30);
}
.company-since-2 {
    position: absolute; bottom: -20px; left: -20px;
    background: linear-gradient(135deg, var(--accent-d), var(--accent));
    color: #fff; border-radius: 16px;
    padding: 1.2rem 1.8rem; text-align: center;
    box-shadow: 0 8px 32px rgba(215,90,76,.25);
}
.company-since .big,
.company-since-2 .big {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem; font-weight: 800; line-height: 1;
}
.company-since .sm,
.company-since-2 .sm {
    font-size: .72rem; font-weight: 500;
    opacity: .85; margin-top: 3px;
}

/* ══════════════════════════════════════════════════
   SERVICE
══════════════════════════════════════════════════ */
#service { background: var(--bg-soft); }

.service-img-wrap {
    margin-top: 3rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 3rem; overflow: hidden;
}
.service-img-wrap img { width: 100%; display: block; }

/* Platform Cards */
.platform-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-top: 2rem;
}
.pcard {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.8rem 2.4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.pcard::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    transition: transform .35s;
    transform: scaleX(0);
    transform-origin: left;
}
.pcard--manhwa::after {
    background: linear-gradient(90deg, var(--primary), #60A5FA);
}
.pcard--arumbooks::after {
    background: linear-gradient(90deg, var(--accent), #E8897E);
}
.pcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pcard:hover::after { transform: scaleX(1); }

.pcard-logo {
    height: 56px; margin-bottom: 1.6rem;
    display: flex; align-items: center;
}
.pcard-logo img {
    height: 100%; width: auto;
    max-width: 200px; object-fit: contain;
    display: block;
}
.pcard-logo.manhwa img { height: 48px; border-radius: 10px; }

.pcard h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; }
.pcard p  { font-size: .9rem; color: var(--muted); line-height: 1.75; flex: 1; }

.genre-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.genre-tag {
    font-size: .73rem; font-weight: 600;
    letter-spacing: .5px;
    padding: 4px 12px; border-radius: 50px;
}
.pcard--manhwa .genre-tag {
    background: var(--primary-lt);
    color: var(--primary);
}
.pcard--arumbooks .genre-tag {
    background: rgba(215,90,76,.08);
    color: var(--accent);
}

.pcard-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 1.6rem; font-size: .85rem; font-weight: 700;
    text-decoration: none; transition: gap .2s, color .2s;
}
.pcard--manhwa .pcard-link { color: var(--primary); }
.pcard--arumbooks .pcard-link { color: var(--accent); }
.pcard-link:hover { gap: 12px; }
.pcard-link::after { content: '→'; }

/* ══════════════════════════════════════════════════
   AWARDS
══════════════════════════════════════════════════ */
#awards { background: var(--bg-soft); }

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}

.award-card {
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: 1.8rem 1.6rem;
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s, border-left .25s;
    position: relative;
}
.award-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 0 0 0 var(--radius-sm);
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0; transition: opacity .25s;
}
.award-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.award-card:hover::before { opacity: 1; }

.award-img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.10));
    transition: transform .3s, filter .3s;
}
.award-card:hover .award-img {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.16));
}

.award-year {
    font-family: 'Raleway', sans-serif;
    font-size: .78rem; font-weight: 800;
    color: var(--accent); letter-spacing: 1.5px;
    margin-bottom: .4rem;
}
.award-title {
    font-size: .95rem; font-weight: 700;
    color: var(--dark); line-height: 1.45;
    margin-bottom: .4rem;
}
.award-desc {
    font-size: .8rem; color: var(--muted); line-height: 1.65;
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
#contact { background: var(--bg); }

.contact-layout {
    display: grid; grid-template-columns: 1fr 1.6fr;
    gap: 4rem; margin-top: 3.5rem;
    align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 1.1rem; }

.citem {
    display: flex; align-items: flex-start; gap: 1.1rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 1.4rem;
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
}
.citem:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cicon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #2563EB);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.citem strong {
    display: block; font-size: .7rem; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--primary); opacity: .8; margin-bottom: 4px;
}
.citem span, .citem a {
    font-size: .92rem; font-weight: 500;
    color: var(--dark); line-height: 1.55;
    text-decoration: none;
}
.citem a:hover { color: var(--accent); }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    line-height: 0;
    border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 400px; border: none; display: block; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,.45);
    padding: 4.5rem 6% 2.5rem;
}
.footer-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img {
    height: 26px;
    filter: brightness(0) invert(1);
    opacity: .55;
    display: block;
}
.footer-info {
    font-size: .82rem; line-height: 1.9;
    margin-top: .6rem;
}
.footer-info a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
}
.footer-info a:hover { color: rgba(255,255,255,.7); }

.footer-col h4 {
    font-size: .75rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 1rem;
}
.footer-col ul {
    list-style: none;
    display: flex; flex-direction: column; gap: .7rem;
}
.footer-col ul a {
    text-decoration: none;
    color: rgba(255,255,255,.5);
    font-size: .85rem; transition: color .2s;
}
.footer-col ul a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
    max-width: 1140px; margin: 2rem auto 0;
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    font-size: .78rem;
}

/* ══════════════════════════════════════════════════
   PRIVACY MODAL
══════════════════════════════════════════════════ */
#privacyModal {
    display: none;
    position: fixed; inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,.55);
    overflow-y: auto; padding: 2rem;
    backdrop-filter: blur(4px);
}
#privacyModal .modal-inner {
    background: var(--bg);
    max-width: 700px; margin: 2rem auto;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}
#privacyModal h2 {
    margin-bottom: 1.5rem;
    font-family: 'Raleway', sans-serif;
    color: var(--dark);
}
#privacyModal p {
    margin-bottom: 1rem;
    line-height: 1.85; color: var(--text);
    font-size: .95rem;
}
#privacyModal p.note {
    color: var(--muted); font-size: .87rem;
}
.modal-close-btn {
    margin-top: 2rem;
    padding: 10px 28px;
    background: var(--primary);
    color: #fff; border: none;
    border-radius: 8px; cursor: pointer;
    font-size: .9rem; font-weight: 600;
    transition: background .2s;
}
.modal-close-btn:hover { background: var(--primary-d); }

/* ══════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════ */
/* Default: fade up */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade left */
.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade right */
.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale */
.reveal-scale {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Delays */
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .stats-inner { grid-template-columns: 1fr auto 1fr; grid-template-rows: repeat(2, auto); gap: .5rem 0; }
    .stats-inner > .stat-item:nth-child(4),
    .stats-inner > .stat-item:nth-child(5),
    .stats-inner > .stat-item:nth-child(6),
    .stats-inner > .stat-item:nth-child(7) { grid-column: auto; }
    .stats-divider:nth-child(4) { display: none; }
    .stats-divider { height: 24px; }
    .company-layout,
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .company-since  { top: 12px; right: 12px; }
    .company-since-2 { bottom: 12px; left: 12px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner > div:first-child { grid-column: span 2; }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    section { padding: 72px 5%; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .stats-inner { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .stats-divider { display: none; }
    .stat-item { justify-content: flex-start; padding: .5rem; }
    .info-cards,
    .platform-cards { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-inner > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .service-img-wrap { padding: 1.5rem; }
    .awards-grid { grid-template-columns: 1fr; }

}
