/* ============================================================
   ALPNEXA DIGITAL MARKETING
   Light / professional theme · standalone (Hostinger File Manager)
   ============================================================ */

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

:root {
  --bg: #f3f5fb;
  --surface: #ffffff;
  --ink: #0c1424;
  --body: #565f72;
  --muted: #8b92a4;
  --accent: #0d9488;
  --accent-2: #20c0aa;
  --accent-soft: #e3f6f2;
  --navy-1: #0a201e;
  --navy-2: #0e4f48;
  --border: rgba(12,20,36,0.08);
  --shadow-sm: 0 4px 22px rgba(12,20,36,0.05);
  --shadow-md: 0 20px 55px rgba(12,20,36,0.10);
  --shadow-lg: 0 30px 70px rgba(12,20,36,0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Sora', sans-serif;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 120px; }

.grad {
  background: linear-gradient(115deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 15px 30px; border-radius: 50px; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 12px 30px rgba(13,148,136,0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(13,148,136,0.42); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(13,148,136,0.30); }
.btn-light { background: #fff; color: var(--navy-1); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }

/* ===================== HEADER (floating) ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 24px; }
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 12px 18px 12px 22px;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s ease;
}
.site-header.scrolled .header-inner { box-shadow: var(--shadow-md); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-text { height: 22px; width: auto; display: block; }
.footer .logo { margin-bottom: 18px; }
@media (max-width: 520px) {
  .logo-img { height: 50px; }
  .logo-text { height: 26px; }
}

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--body);
  transition: color .2s, background .2s;
}
.main-nav > ul > li > a:hover { color: var(--ink); background: rgba(12,20,36,0.04); }
.main-nav .has-dropdown > a::after {
  content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
.main-nav .has-dropdown:hover > a::after { transform: rotate(225deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 8px; min-width: 280px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s; z-index: 1100;
}
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown ul { list-style: none; }
.dropdown li { width: 100%; }
.dropdown a { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--body); transition: background .18s, color .18s; }
.dropdown a:hover { background: var(--accent-soft); color: var(--ink); }
.dropdown .dd-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; }
.dropdown .dd-ic svg { width: 17px; height: 17px; color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, transform .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.header-cta { padding: 12px 22px; }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
body.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===================== MOBILE MENU OVERLAY ===================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990;
  background: linear-gradient(160deg, #ffffff, #eef2fb);
  padding: 110px 28px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu .mm-group { margin-bottom: 8px; }
.mobile-menu a.mm-link { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink); letter-spacing: -0.02em; padding: 12px 0; transition: color .2s, transform .2s; }
.mobile-menu a.mm-link:hover { color: var(--accent); transform: translateX(6px); }
.mobile-menu .mm-sub-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.mobile-menu .mm-sub a { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; padding: 10px 0; transition: color .2s, transform .2s; }
.mobile-menu .mm-sub a:hover { color: var(--accent); }
.mobile-menu .mm-sub a svg { width: 22px; height: 22px; color: var(--accent); }
.mobile-menu .mm-cta { margin-top: 28px; }
.mobile-menu .mm-cta .btn { width: 100%; justify-content: center; }
/* staggered entrance */
body.menu-open .mobile-menu .mm-link,
body.menu-open .mobile-menu .mm-sub a,
body.menu-open .mobile-menu .mm-sub a,
body.menu-open .mobile-menu .mm-cta { animation: mmIn .5s ease both; }
@keyframes mmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -260px; left: 50%; transform: translateX(-50%); width: 1000px; height: 700px; background: radial-gradient(circle, rgba(13,148,136,0.14) 0%, transparent 62%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(42px, 7.5vw, 86px); line-height: 1.0; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 26px; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--body); max-width: 620px; margin: 0 auto 38px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sub-page hero (left aligned, smaller) */
.subhero { padding: 160px 0 70px; text-align: left; }
.subhero::before { left: 80%; }
.subhero .hero-inner { margin: 0; max-width: 760px; text-align: left; }
.subhero h1 { font-size: clamp(38px, 5.5vw, 64px); }
.subhero .hero-actions { justify-content: flex-start; }
.subhero p.lead { margin: 0 0 38px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* section label */
.label { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* ===================== STATS STRIP ===================== */
.stats { padding: 40px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px 28px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: var(--border); }
.stat h3 { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat h3 .u { color: var(--accent); }
.stat p { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ===================== SECTION HEAD ===================== */
.section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 12px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); }
.section-sub { font-size: 16px; color: var(--body); margin-top: 18px; line-height: 1.75; }

/* ===================== SERVICE CARDS ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(13,148,136,0.25); }
.ic-tile { width: 54px; height: 54px; border-radius: 15px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.ic-tile svg { width: 25px; height: 25px; color: var(--accent); }
.card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 11px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--body); line-height: 1.7; flex: 1; }
.card .more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); transition: gap .2s; }
.card:hover .more { gap: 13px; }
.card .more svg { width: 16px; height: 16px; }

/* CTA card variant */
.card.cta-card { background: linear-gradient(140deg, var(--navy-1), var(--navy-2)); border: none; color: #fff; justify-content: center; }
.card.cta-card h3 { color: #fff; font-size: 23px; }
.card.cta-card p { color: rgba(255,255,255,0.75); }
.card.cta-card .btn { margin-top: 22px; align-self: flex-start; }

/* ===================== PROCESS ===================== */
.process-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.pstep { padding: 34px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.pstep:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.pnum { font-family: var(--font-display); font-size: 60px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pstep h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.pstep p { font-size: 14px; color: var(--body); line-height: 1.65; }

/* ===================== RESULTS ===================== */
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.result-card .r-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.result-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.result-card .r-desc { font-size: 14.5px; color: var(--body); line-height: 1.7; margin-bottom: 26px; }
.r-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.r-metric { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.r-metric .n { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--accent); }
.r-metric .m { font-size: 11.5px; color: var(--muted); margin-top: 3px; font-weight: 500; }

/* ===================== FEATURE CARDS (subpages) ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(13,148,136,0.22); }
.feature-card .ic-tile { margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--body); line-height: 1.72; }

/* ===================== CHECKLIST ===================== */
.check-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 44px; margin-top: 40px; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--body); line-height: 1.55; }
.check-list li .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.check-list li .ck svg { width: 15px; height: 15px; color: var(--accent); }
.check-list li strong { color: var(--ink); font-weight: 600; }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 15.5px; color: var(--body); line-height: 1.85; margin-bottom: 18px; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.value { display: flex; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value .ic-tile { margin-bottom: 0; flex-shrink: 0; }
.value h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.value p { font-size: 14.5px; color: var(--body); line-height: 1.65; }

/* ===================== DARK CTA BAND ===================== */
.cta-band { padding: 90px 0; }
.cta-box { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 100%); border-radius: 30px; padding: 80px 56px; text-align: center; }
.cta-box::before { content: ''; position: absolute; top: -40%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(32,192,170,0.22) 0%, transparent 60%); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box .label { color: var(--accent-2); }
.cta-box h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: #fff; margin-bottom: 16px; }
.cta-box p { font-size: 16.5px; color: rgba(255,255,255,0.78); max-width: 540px; margin: 0 auto 34px; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 40px; }
.contact-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 26px; }
.contact-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-row .ic-tile { margin-bottom: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact-row .ic-tile svg { width: 20px; height: 20px; }
.contact-row .c-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.contact-row .c-val { font-size: 15px; color: var(--ink); font-weight: 600; }
.contact-row a.c-val:hover { color: var(--accent); }
.next-steps { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--border); }
.next-steps .ns-title { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ns-step { display: flex; gap: 14px; margin-bottom: 16px; }
.ns-step .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.ns-step p { font-size: 14.5px; color: var(--body); line-height: 1.55; }
.ns-step strong { color: var(--ink); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px; }
.form-card iframe { width: 100%; min-height: 600px; border: none; border-radius: 14px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-1); color: rgba(255,255,255,0.7); padding: 70px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.14); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.3); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

/* ===================== COOKIE BANNER ===================== */
#cookieBanner { display: none; position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 2000; max-width: 1180px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: 18px; padding: 20px 24px; }
#cookieBanner .ck-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
#cookieBanner p { font-size: 13.5px; color: var(--body); flex: 1; min-width: 260px; line-height: 1.6; }
#cookieBanner a { color: var(--accent); text-decoration: underline; }
#cookieBanner .ck-actions { display: flex; gap: 10px; }
#cookieBanner button { font-family: inherit; font-size: 13px; font-weight: 600; padding: 11px 22px; border-radius: 50px; cursor: pointer; }
#cookieBanner .ck-decline { background: var(--bg); color: var(--body); border: 1px solid var(--border); }
#cookieBanner .ck-accept { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; border: none; }

/* ===================== ANIMATIONS ===================== */
/* Content is visible by default. JS hides (.pre) then reveals (.visible) for the
   fade-in effect. If JS fails to load, nothing is hidden -> page stays fully visible. */
.fade-up { transition: opacity .7s ease, transform .7s ease; }
.fade-up.pre { opacity: 0; transform: translateY(28px); }
.fade-up.visible { opacity: 1; transform: translateY(0); }


/* ===================== LEGAL PAGES ===================== */
.legal-section { padding: 30px 0 90px; }
.legal { max-width: 880px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 56px 60px; }
.legal h2 { font-family: var(--font-display); font-size: 25px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.legal p { font-size: 15px; color: var(--body); line-height: 1.8; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15px; color: var(--body); line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; word-break: break-word; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .addr { font-size: 16px; color: var(--ink); line-height: 1.9; }
@media (max-width: 760px) { .legal { padding: 32px 24px; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .cards-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .stat:nth-child(2)::before, .stat:nth-child(4)::before { display: none; }
  .results-grid, .feature-grid, .about-grid, .values-grid, .check-list { grid-template-columns: 1fr; }
  .about-grid { gap: 36px; }
  .about-photo { order: -1; max-width: 360px; }
  .cta-box { padding: 56px 28px; }
  .check-wrap { padding: 30px 24px; }
}
@media (max-width: 520px) {
  .cards-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .mobile-menu a.mm-link { font-size: 26px; }
  .mobile-menu .mm-sub a { font-size: 22px; }
  .stat h3 { font-size: 24px; }
  .stats-inner { padding: 28px 16px; }
  .stat + .stat::before { display: none; }
}
/* ============================================================
   PREMIUM EFFECTS v5 — appended layer
   Same palette, same layout. Pure polish.
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 3000;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(32,192,170,0.55); pointer-events: none;
  transition: width .08s linear; }

/* ---------- Hero aurora background ---------- */
.hero { isolation: isolate; }
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-aurora .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-aurora .b1 { width: 560px; height: 560px; top: -180px; left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(13,148,136,0.34), transparent 65%);
  animation: blobDrift1 16s ease-in-out infinite alternate; }
.hero-aurora .b2 { width: 640px; height: 640px; top: -120px; right: -180px;
  background: radial-gradient(circle at 70% 40%, rgba(32,192,170,0.30), transparent 65%);
  animation: blobDrift2 20s ease-in-out infinite alternate; }
.hero-aurora .b3 { width: 480px; height: 480px; bottom: -220px; left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(14,79,72,0.16), transparent 65%);
  animation: blobDrift3 24s ease-in-out infinite alternate; }
@keyframes blobDrift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,50px) scale(1.12); } }
@keyframes blobDrift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-80px,40px) scale(0.95); } }
@keyframes blobDrift3 { from { transform: translate(0,0); } to { transform: translate(60px,-40px); } }

/* faint grid overlay */
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(12,20,36,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(12,20,36,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 75%); }

/* ---------- Hero headline word reveal ---------- */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(26px) rotate(2deg); filter: blur(6px);
  animation: wordIn .7s cubic-bezier(.2,.65,.25,1) forwards; animation-delay: var(--d, 0s); }
/* Gradient words: the .grad class stays OFF the wrapper (background-clip:text
   breaks with animated children) — each word carries its own gradient. */
.hero h1 .w-grad {
  background-image: linear-gradient(115deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
.hero p.lead, .hero-actions, .hero .breadcrumb { opacity: 0; animation: softRise .8s ease forwards; }
.hero .breadcrumb { animation-delay: .05s; }
.hero p.lead { animation-delay: .45s; }
.hero-actions { animation-delay: .6s; }
@keyframes softRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Spotlight cards (cursor-tracked) ---------- */
.card, .feature-card, .result-card, .pstep, .value, .contact-info { position: relative; overflow: hidden; }
.spot::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(32,192,170,0.10), transparent 55%); }
.spot:hover::after { opacity: 1; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(13,148,136,0.45), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease; }
.spot:hover::before { opacity: 1; }
.card.cta-card.spot::after { background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.10), transparent 55%); }

/* ---------- Button shine + gradient shift + press ---------- */
.btn-primary { position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 220% 100%; background-position: 0% 50%;
  transition: transform .2s ease, box-shadow .25s ease, background-position .5s ease; }
.btn-primary:hover { background-position: 95% 50%; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: 0 6px 18px rgba(13,148,136,0.30); transition-duration: .08s; }
.btn-ghost:active, .btn-light:active { transform: translateY(0) scale(0.97); transition-duration: .08s; }
.btn-primary .shine { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); pointer-events: none; animation: shineSweep 4.5s ease-in-out infinite; }
@keyframes shineSweep { 0%, 60% { left: -80%; } 80%, 100% { left: 130%; } }

/* ---------- Staggered reveal upgrade ---------- */
.fade-up { transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1), filter .8s ease; transition-delay: var(--stagger, 0s); }
.fade-up.pre { opacity: 0; transform: translateY(34px); filter: blur(5px); }
.fade-up.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- Header hide/reveal on scroll ---------- */
.site-header { transition: transform .45s cubic-bezier(.2,.65,.25,1); }
.site-header.hidden { transform: translateY(-120%); }

/* ---------- Tech marquee ---------- */
.marquee-section { padding: 10px 0 26px; overflow: hidden; }
.marquee-wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.marquee-label { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marqueeMove 30s linear infinite; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50px;
  padding: 12px 22px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); }
.mq-item .mq-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }

/* ---------- Process: connecting line + glow ---------- */
.process-grid { position: relative; }
.pstep { background: var(--bg); }
.pstep::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.65,.25,1); }
.pstep:hover::after { transform: scaleX(1); }
.pnum { transition: transform .35s ease; }
.pstep:hover .pnum { transform: translateY(-3px) scale(1.04); }

/* ---------- Result metrics pop ---------- */
.r-metric { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.r-metric:hover { transform: translateY(-3px); border-color: rgba(13,148,136,0.35); box-shadow: 0 10px 26px rgba(13,148,136,0.10); }

/* ---------- CTA band: animated orbs + grain ---------- */
.cta-box::after { content: ''; position: absolute; bottom: -45%; left: -10%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(32,192,170,0.22) 0%, transparent 62%); pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate; }
.cta-box::before { animation: orbFloat2 15s ease-in-out infinite alternate; }
@keyframes orbFloat { from { transform: translate(0,0); } to { transform: translate(50px,-35px); } }
@keyframes orbFloat2 { from { transform: translate(0,0); } to { transform: translate(-45px,30px); } }

/* ---------- Back to top ---------- */
.back-top { position: fixed; bottom: 26px; right: 26px; z-index: 1500; width: 48px; height: 48px;
  border-radius: 14px; border: 1px solid var(--border); cursor: pointer;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s, box-shadow .25s; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13,148,136,0.22); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Cursor glow (desktop, fine pointer only) ---------- */
@media (pointer: fine) {
  .cursor-glow { position: fixed; top: 0; left: 0; width: 340px; height: 340px; border-radius: 50%;
    pointer-events: none; z-index: 1;
    background: radial-gradient(circle, rgba(32,192,170,0.07) 0%, transparent 65%);
    transform: translate(-50%, -50%); transition: opacity .4s ease; will-change: transform; }
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Logo subtle hover ---------- */
.logo { transition: transform .3s ease; }
.logo:hover { transform: translateY(-1px); }

/* ---------- Image reveal (about photo) ---------- */
.about-photo img { transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.about-photo:hover img { transform: scale(1.035); }

/* ---------- Footer link micro-interaction ---------- */
.footer-col a { position: relative; width: fit-content; }
.footer-col a::after { content: ''; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.footer-col a:hover::after { transform: scaleX(1); }

/* ---------- Reduced motion: switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora .blob, .btn-primary .shine, .marquee-track, .cta-box::before, .cta-box::after,   .hero h1 .w { animation: none !important; opacity: 1; transform: none; filter: none; }
  .hero p.lead, .hero-actions, .hero .breadcrumb { animation: none !important; opacity: 1; }
  .fade-up, .fade-up.pre { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .cursor-glow { display: none; }
}
@media (max-width: 760px) {
  .hero-aurora .blob { filter: blur(50px); opacity: .45; }
  .back-top { bottom: 18px; right: 18px; }
}
