/* ============================================
   AiHaKi — Stylesheet
   Brand: Navy #16294F / Blue #1E8AE5 (theo logo AiHaKi)
   ============================================ */

:root {
    --navy:        #16294F;
    --navy-2:      #112141;
    --navy-dark:   #0B1730;
    --navy-light:  #2B4A82;
    --red:         #1E8AE5;
    --red-dark:    #1976D2;
    --red-light:   #4FA6EF;

    --ink:         #14202B;
    --body:        #4A5A68;
    --muted:       #7B8A98;
    --line:        #E4EAF0;
    --bg:          #FFFFFF;
    --bg-soft:     #F5F8FB;
    --bg-softer:   #EEF3F8;

    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   26px;
    --shadow-sm:   0 4px 14px rgba(20, 40, 60, .06);
    --shadow:      0 16px 40px rgba(20, 40, 60, .10);
    --shadow-lg:   0 30px 70px rgba(15, 40, 65, .18);
    --shadow-red:  0 16px 34px rgba(30, 138, 229, .28);
    --shadow-navy: 0 16px 34px rgba(22, 41, 79, .30);

    --container:   1200px;
    --ease:        cubic-bezier(.22, 1, .36, 1);

    --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
svg { display: block; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.text-gradient {
    background: linear-gradient(100deg, var(--red) 0%, var(--red-light) 60%, #7FC1FF 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: 15px;
    letter-spacing: .01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
    white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { transition: transform .35s var(--ease); }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-navy); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-3px); box-shadow: 0 22px 44px rgba(22,41,79,.4); }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 22px 44px rgba(30,138,229,.4); }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(0,0,0,.28); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: #cfe0ee; padding: 7px 16px; border-radius: 100px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 0 4px rgba(79,166,239,.25); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--red); margin-bottom: 14px;
    padding: 6px 16px; background: rgba(30,138,229,.08); border-radius: 100px;
}
.section__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.section__sub { font-size: 17px; color: var(--body); }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all .4s var(--ease);
    background: rgba(255,255,255,0);
}
.header.scrolled {
    background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
    box-shadow: 0 6px 26px rgba(20,40,60,.08); padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 46px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .header__logo img { height: 40px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
    font-size: 15px; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0;
    transition: color .25s;
}
/* On transparent header over hero, links are light */
.header:not(.scrolled) .nav__link { color: rgba(255,255,255,.88); }
.header:not(.scrolled) .header__logo { background: #fff; padding: 6px 12px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--red); transition: width .3s var(--ease); border-radius: 2px;
}
.nav__link:hover { color: var(--red); }
.header:not(.scrolled) .nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: all .35s var(--ease); }
.header:not(.scrolled) .nav__toggle span { background: #fff; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative; padding: 170px 0 110px; overflow: hidden;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-2) 100%);
    color: #fff;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 40%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--1 { width: 480px; height: 480px; background: var(--red); top: -160px; right: -120px; opacity: .28; }
.hero__glow--2 { width: 420px; height: 420px; background: var(--navy-light); bottom: -180px; left: -100px; opacity: .5; }

.hero__inner {
    position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 50px; align-items: center;
}
.hero__content { max-width: 600px; }
.hero__title {
    color: #fff; font-size: clamp(36px, 5.4vw, 62px); font-weight: 900;
    line-height: 1.08; margin: 22px 0; letter-spacing: -.03em;
}
.hero__desc { font-size: 18px; color: rgba(255,255,255,.82); margin-bottom: 34px; max-width: 540px; }
.hero__desc strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
/* CTA chính trong hero dùng xanh sáng để nổi trên nền navy */
.hero__actions .btn--primary { background: var(--red); box-shadow: var(--shadow-red); }
.hero__actions .btn--primary:hover { background: var(--red-dark); }

.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 38px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 8px; }
.stat + .stat { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.14); }

/* Hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero__card--main {
    width: 100%; max-width: 420px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
    padding: 18px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
    animation: floaty 6s ease-in-out infinite;
}
.mockup { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.mockup__bar { display: flex; gap: 7px; padding: 14px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mockup__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d4dde6; }
.mockup__bar span:nth-child(1) { background: var(--red-light); }
.mockup__body { padding: 20px; }
.mockup__row { display: flex; gap: 10px; margin-bottom: 22px; }
.mockup__pill { height: 14px; width: 110px; border-radius: 100px; background: var(--bg-softer); }
.mockup__pill--accent { width: 64px; background: linear-gradient(90deg, var(--navy), var(--navy-light)); }
.mockup__chart { display: flex; align-items: flex-end; gap: 12px; height: 130px; padding: 10px 0; }
.mockup__chart .bar { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--navy-light), var(--navy)); border-radius: 7px 7px 0 0; opacity: .85; }
.mockup__chart .bar--accent { background: linear-gradient(180deg, var(--red-light), var(--red)); opacity: 1; }
.mockup__lines { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.mockup__lines span { height: 9px; border-radius: 100px; background: var(--bg-softer); }
.mockup__lines span:nth-child(1) { width: 100%; }
.mockup__lines span:nth-child(2) { width: 80%; }
.mockup__lines span:nth-child(3) { width: 60%; }

.hero__badge {
    position: absolute; display: flex; align-items: center; gap: 9px;
    background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 14px;
    font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg);
}
.hero__badge svg { color: var(--red); }
.hero__badge--1 { top: 30px; left: -10px; animation: floaty 5s ease-in-out infinite .5s; }
.hero__badge--2 { bottom: 40px; right: -10px; animation: floaty 5.5s ease-in-out infinite 1s; }
.hero__badge--2 svg { color: var(--navy); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Pixel motif (from logo) */
.pixels { position: absolute; pointer-events: none; }
.pixels span { position: absolute; background: var(--red); border-radius: 3px; opacity: .8; }
.pixels--hero { top: 18%; left: 6%; width: 120px; height: 120px; }
.pixels--hero span { width: 14px; height: 14px; background: rgba(79,166,239,.55); }
.pixels--hero span:nth-child(1){top:0;left:0;animation:pix 4s ease-in-out infinite}
.pixels--hero span:nth-child(2){top:0;left:26px;width:10px;height:10px;animation:pix 4s ease-in-out infinite .3s}
.pixels--hero span:nth-child(3){top:24px;left:8px;width:8px;height:8px;animation:pix 4s ease-in-out infinite .6s}
.pixels--hero span:nth-child(4){top:22px;left:30px;animation:pix 4s ease-in-out infinite .9s}
.pixels--hero span:nth-child(5){top:48px;left:0;width:9px;height:9px;animation:pix 4s ease-in-out infinite 1.2s}
.pixels--hero span:nth-child(6){top:46px;left:24px;width:12px;height:12px;animation:pix 4s ease-in-out infinite 1.5s}
.pixels--hero span:nth-child(7){top:70px;left:14px;width:7px;height:7px;animation:pix 4s ease-in-out infinite 1.8s}
.pixels--hero span:nth-child(8){top:68px;left:36px;width:9px;height:9px;animation:pix 4s ease-in-out infinite 2.1s}
@keyframes pix { 0%,100% { opacity:.3; transform: scale(.8); } 50% { opacity:.9; transform: scale(1.1); } }

/* ============================================
   TRUST BAR
   ============================================ */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); font-size: 15px; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }

/* ============================================
   PRODUCTS
   ============================================ */
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product-card {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 40px; overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__glow {
    position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(70px);
    top: -120px; right: -100px; opacity: .12; transition: opacity .45s;
}
.product-card--bds .product-card__glow { background: var(--navy); }
.product-card--pos .product-card__glow { background: var(--red); }
.product-card:hover .product-card__glow { opacity: .22; }

.product-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; position: relative; }
.product-card__icon {
    width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
    color: #fff; box-shadow: var(--shadow);
}
.product-card--bds .product-card__icon { background: linear-gradient(140deg, var(--navy-light), var(--navy)); box-shadow: var(--shadow-navy); }
.product-card--pos .product-card__icon { background: linear-gradient(140deg, var(--red-light), var(--red)); box-shadow: var(--shadow-red); }
.product-card__icon svg { width: 34px; height: 34px; }
.product-card__tag {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--navy); background: rgba(22,41,79,.1); padding: 7px 14px; border-radius: 100px;
}
.product-card__tag--red { color: var(--red); background: rgba(30,138,229,.1); }
.product-card__title { font-size: 24px; margin-bottom: 14px; }
.product-card__desc { color: var(--body); margin-bottom: 24px; font-size: 15.5px; }
.product-card__features { display: grid; gap: 12px; margin-bottom: 32px; }
.product-card__features li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; font-size: 15px; }
.product-card__features li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(22,41,79,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316294F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.product-card--pos .product-card__features li::before {
    background: rgba(30,138,229,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E8AE5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.product-card__btn { position: relative; }

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(140deg, rgba(22,41,79,.1), rgba(30,138,229,.08));
    color: var(--navy); margin-bottom: 22px; transition: all .4s var(--ease);
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { background: linear-gradient(140deg, var(--navy), var(--navy-2)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--body); }

/* ============================================
   ABOUT
   ============================================ */
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__img-wrap {
    position: relative; background: linear-gradient(150deg, var(--navy-dark), var(--navy)); border-radius: var(--radius-lg);
    aspect-ratio: 4/3.4; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about__img-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 36px 36px;
}
.about__logo-badge { position: relative; background: #fff; padding: 30px 36px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); z-index: 2; }
.about__logo-badge img { width: 200px; }
.about__floating {
    position: absolute; bottom: 26px; right: -22px; background: var(--red); color: #fff;
    padding: 20px 26px; border-radius: 18px; box-shadow: var(--shadow-red); text-align: center; z-index: 3;
}
.about__floating strong { display: block; font-size: 34px; font-weight: 800; line-height: 1; }
.about__floating span { font-size: 13px; opacity: .9; }
.pixels--about { top: 20px; left: 20px; z-index: 2; }
.pixels--about span { background: rgba(79,166,239,.7); border-radius: 2px; }
.pixels--about span:nth-child(1){width:16px;height:16px;top:0;left:0}
.pixels--about span:nth-child(2){width:11px;height:11px;top:0;left:22px}
.pixels--about span:nth-child(3){width:9px;height:9px;top:20px;left:6px}
.pixels--about span:nth-child(4){width:8px;height:8px;top:22px;left:26px;background:rgba(255,255,255,.6)}
.pixels--about span:nth-child(5){width:7px;height:7px;top:38px;left:0;background:rgba(255,255,255,.5)}
.pixels--about span:nth-child(6){width:10px;height:10px;top:40px;left:18px}

.about__content > p { margin-bottom: 16px; font-size: 16px; }
.about__content > p strong { color: var(--navy); }
.about__values { display: grid; gap: 20px; margin-top: 30px; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value__icon {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(30,138,229,.1); color: var(--red);
}
.value__icon svg { width: 26px; height: 26px; }
.value h4 { font-size: 17px; margin-bottom: 3px; }
.value p { font-size: 14.5px; color: var(--body); }

/* ============================================
   TEAM
   ============================================ */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
    text-align: center; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 36px 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.team-card__avatar {
    width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
    background: linear-gradient(140deg, var(--navy), var(--navy-light)); color: #fff;
    box-shadow: var(--shadow-navy); transition: transform .4s var(--ease);
}
.team-card:nth-child(even) .team-card__avatar { background: linear-gradient(140deg, var(--red), var(--red-light)); box-shadow: var(--shadow-red); }
.team-card:hover .team-card__avatar { transform: scale(1.08) translateY(-3px); }
.team-card__avatar svg { width: 40px; height: 40px; }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card__role { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--body); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { padding: 30px 0; }
.cta-banner__inner {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-2) 100%);
    border-radius: var(--radius-lg); padding: 56px 60px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-banner__inner::after {
    content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
    background: var(--red); filter: blur(90px); opacity: .3; top: -120px; right: -60px;
}
.cta-banner__text { position: relative; z-index: 2; max-width: 620px; }
.cta-banner__text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-banner__text p { color: rgba(255,255,255,.82); font-size: 17px; }
.cta-banner__actions { position: relative; z-index: 2; }
.pixels--cta { top: 24px; right: 30%; }
.pixels--cta span { background: rgba(255,255,255,.5); border-radius: 2px; }
.pixels--cta span:nth-child(1){width:12px;height:12px;top:0;left:0}
.pixels--cta span:nth-child(2){width:8px;height:8px;top:0;left:18px}
.pixels--cta span:nth-child(3){width:7px;height:7px;top:16px;left:6px;background:rgba(79,166,239,.7)}
.pixels--cta span:nth-child(4){width:9px;height:9px;top:18px;left:20px}
.pixels--cta span:nth-child(5){width:6px;height:6px;top:32px;left:0}

/* ============================================
   CONTACT
   ============================================ */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__lead { margin-bottom: 32px; font-size: 16.5px; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__ic {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line);
}
.contact__ic svg { width: 24px; height: 24px; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); }
.contact__list a, .contact__list span { font-size: 16px; font-weight: 600; color: var(--ink); transition: color .25s; }
.contact__list a:hover { color: var(--red); }

.contact__form {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-soft); color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(22,41,79,.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.contact__note { margin-top: 14px; font-size: 14px; text-align: center; font-weight: 600; min-height: 20px; }
.contact__note.success { color: #1a8a4a; }
.contact__note.error { color: var(--red); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding-top: 70px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { background: #fff; padding: 12px 16px; border-radius: 12px; display: inline-block; margin-bottom: 20px; }
.footer__logo img { height: 42px; width: auto; }
.footer__brand p { font-size: 15px; max-width: 320px; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; transition: all .3s var(--ease);
}
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col ul a { font-size: 15px; transition: color .25s, padding-left .25s; }
.footer__col ul a:hover { color: #fff; padding-left: 5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-size: 14px; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 900;
    width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: var(--red); color: #fff; box-shadow: var(--shadow-red);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-4px); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__card--main, .hero__badge, .pixels span { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero__inner { grid-template-columns: 1fr; gap: 60px; }
    .hero__visual { order: -1; min-height: 340px; }
    .hero__content { max-width: 100%; }
    .about__inner { grid-template-columns: 1fr; gap: 50px; }
    .about__floating { right: 20px; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .team__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .nav {
        position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
        background: #fff; flex-direction: column; justify-content: center; gap: 30px;
        padding: 40px; transform: translateX(100%); transition: transform .45s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,.15); z-index: 1050;
    }
    .nav.open { transform: translateX(0); }
    .nav__list { flex-direction: column; gap: 22px; text-align: center; }
    .nav__link { color: var(--navy) !important; font-size: 18px; }
    .header:not(.scrolled) .nav__cta { color: #fff; }
    .nav__toggle { display: flex; }
    .header:not(.scrolled) .header__logo { background: #fff; padding: 6px 12px; border-radius: 12px; }
    .products__grid { grid-template-columns: 1fr; gap: 22px; }
    .product-card { padding: 30px 26px; }
    .cta-banner__inner { padding: 40px 30px; flex-direction: column; text-align: center; }
    .hero__stats { gap: 24px; }
    .stat + .stat { padding-left: 24px; }
    .stat__num { font-size: 30px; }
    .footer__bottom-inner { flex-direction: column; text-align: center; }
    body.menu-open { overflow: hidden; }
}

@media (max-width: 540px) {
    .container { padding: 0 18px; }
    .services__grid, .team__grid, .field-row { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__stats { flex-direction: column; gap: 16px; }
    .stat + .stat { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
    .about__floating { right: 10px; bottom: 10px; padding: 14px 18px; }
    .about__floating strong { font-size: 26px; }
    .contact__form { padding: 26px 22px; }
}
