﻿/* ============ Bader Consulting — Design system ============ */
:root {
  --green: #2f6b53;
  --green-600: #255a45;
  --green-800: #163a2d;
  --green-50: #eaf3ef;
  --blue: #435f97;
  --blue-600: #364f80;
  --blue-50: #eceff7;
  --ink: #14211c;
  --text: #3b4a44;
  --muted: #6b7a74;
  --line: #e2e8e5;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 50, 40, .08);
  --shadow-lg: 0 24px 60px rgba(20, 50, 40, .14);
  --grad: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  --container: 1200px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.08rem; font-weight: 700; font-family: var(--font-body); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(47, 107, 83, .3); }
.btn-primary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(67, 95, 151, .35); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--green); }

/* ============ Top bar ============ */
.topbar { background: var(--green-800); color: #cfe0d8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar a { color: #cfe0d8; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; opacity: .85; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social svg { width: 16px; height: 16px; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(20,50,40,.08); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 999px; position: relative; }
.nav a:hover { color: var(--green); background: var(--green-50); }
.nav a.active { color: var(--green); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px; background: var(--grad); transform: translateX(-50%); }
/* Services dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.has-sub .chev { width: 14px; height: 14px; transition: transform .3s; }
.has-sub:hover > a .chev, .has-sub:focus-within > a .chev { transform: rotate(180deg); }
.sub-toggle { display: none; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 580px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .25s, transform .3s cubic-bezier(.2,.75,.25,1), visibility .25s;
  z-index: 120;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.submenu::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .submenu a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; font-weight: 400; }
.nav .submenu a:hover, .nav .submenu a.cur { background: var(--green-50); }
.submenu .si { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--green-50); color: var(--green); transition: all .25s; }
.submenu .si svg { width: 20px; height: 20px; }
.submenu a:nth-child(even) .si { background: var(--blue-50); color: var(--blue); }
.submenu a:hover .si, .submenu a.cur .si { background: var(--grad); color: #fff; }
.submenu b { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.submenu small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav .submenu .sub-all { grid-column: 1 / -1; justify-content: center; font-size: .85rem; font-weight: 600; color: var(--green); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; padding-top: 14px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff;
}
.lang-toggle button {
  border: 0; background: transparent; font: 600 .78rem var(--font-body); color: var(--muted);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang-toggle button.on { background: var(--grad); color: #fff; }
.header .btn { padding: 11px 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--green-50); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: min(82vh, 720px); display: flex; align-items: center;
  padding: 120px 0 150px; overflow: hidden; color: #e6efeb; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/hero-building.jpg") center 35% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(12, 33, 26, .92) 0%, rgba(22, 58, 45, .82) 38%, rgba(37, 64, 110, .45) 75%, rgba(67, 95, 151, .25) 100%),
    linear-gradient(0deg, rgba(10, 25, 20, .55) 0%, transparent 40%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero > .container { position: relative; }
.hero-content { max-width: 640px; }
.hero .eyebrow { background: rgba(255,255,255,.1); color: #cfe3da; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.hero .eyebrow::before { background: #8fd0b3; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.15; margin-bottom: 22px; }
.hero h1 .accent { color: #9fd6bd; font-style: italic; }
.hero p.lead { font-size: 1.06rem; color: rgba(230, 239, 235, .88); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--green-800); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero .btn-primary:hover { background: var(--green); color: #fff; }
.hero .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.scroll-hint { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Letter-by-letter title animation */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch {
  display: inline-block; opacity: 0; transform: translateY(.7em) rotateX(-60deg) scale(.9); filter: blur(10px);
  animation: chIn 1.1s cubic-bezier(.16, .84, .3, 1) forwards; animation-delay: calc(var(--i) * 40ms + 250ms);
  transform-origin: 50% 100%;
}
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
.fade-in-late { opacity: 0; transform: translateY(16px); animation: fadeUp .9s cubic-bezier(.2,.75,.25,1) forwards; animation-delay: var(--d, 1s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.hero-trust svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-card {
  position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: 34px; border: 1px solid var(--line);
}
.hero-card .mark { position: absolute; right: -30px; top: -40px; width: 130px; opacity: .1; }
.hero-card h3 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.hero-card .big { font: 800 2.6rem var(--font-head); color: var(--ink); }
.hero-card .big small { font-size: 1rem; color: var(--green); font-weight: 700; margin-left: 8px; }
.progress-list { margin-top: 24px; display: grid; gap: 16px; }
.progress-item { display: grid; gap: 7px; }
.progress-item .row { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 500; color: var(--ink); }
.bar { height: 9px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.float-badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
.float-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.float-badge .ic svg { width: 22px; height: 22px; }
.float-badge small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.float-badge.b1 { left: -40px; bottom: -30px; }
.float-badge.b2 { right: -24px; top: 40%; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Stats ============ */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--grad); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 36px 28px; color: #fff; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,.25); }
.stat .num { font: 800 2.4rem var(--font-head); line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: .9rem; opacity: .9; }

/* ============ Cards / Services ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--grad); transition: width .4s; }
.card:hover::after { width: 100%; }
.icon-box {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--green-50); color: var(--green); transition: all .3s;
}
.icon-box svg { width: 28px; height: 28px; }
.card:hover .icon-box { background: var(--grad); color: #fff; }
.card:nth-child(even) .icon-box { background: var(--blue-50); color: var(--blue); }
.card:nth-child(even):hover .icon-box { background: var(--grad); color: #fff; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.card .more { color: var(--green); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ============ Feature list ============ */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Chart */
.chart-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; height: 260px; padding-top: 30px; border-bottom: 2px solid var(--line); }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart .col b { font: 700 .9rem var(--font-head); color: var(--ink); margin-bottom: 8px; }
.chart .col .fill { width: 100%; max-width: 64px; border-radius: 12px 12px 4px 4px; background: var(--grad); height: 0; transition: height 1.4s cubic-bezier(.2,.8,.2,1); }
.chart .col:nth-child(n+4) .fill { background: linear-gradient(180deg, #c9d3e6, #9fb0d2); }
.chart-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.chart-labels span { flex: 1; text-align: center; font-size: .82rem; color: var(--muted); }
.note { font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* Calculator */
.calc { background: var(--green-800); border-radius: 28px; padding: 50px; color: #d9e6e0; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(67,95,151,.55), transparent 70%); }
.calc h2 { color: #fff; }
.calc > * { position: relative; }
.calc-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 30px; display: grid; gap: 18px; }
.calc-form label { font-size: .85rem; font-weight: 500; display: grid; gap: 8px; color: #fff; }
.calc-form input[type=number] { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 13px 16px; color: #fff; font: 600 1rem var(--font-body); outline: none; }
.calc-form input[type=number]:focus { border-color: #8fb8a6; }
.calc-form input[type=range] { width: 100%; accent-color: #6fae93; }
.range-row { display: flex; justify-content: space-between; align-items: center; }
.range-row output { font-weight: 700; color: #fff; }
.calc-result { border-top: 1px dashed rgba(255,255,255,.2); padding-top: 18px; }
.calc-result small { display: block; font-size: .82rem; opacity: .8; }
.calc-result strong { font: 800 2rem var(--font-head); color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step .n {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px dashed var(--green); color: var(--green); font: 800 1.5rem var(--font-head); position: relative; z-index: 1;
  transition: all .3s;
}
.step:hover .n { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06); }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step p { color: var(--muted); font-size: .93rem; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 26px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 100px; }
.cta-inner {
  background: var(--grad); border-radius: 30px; padding: 64px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; overflow: hidden;
}
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); }
.cta-inner::before { width: 340px; height: 340px; right: -80px; top: -140px; }
.cta-inner::after { width: 220px; height: 220px; left: 30%; bottom: -150px; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { opacity: .92; margin: 0; max-width: 560px; }
.cta-inner .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Page hero */
.page-hero { background: linear-gradient(100deg, rgba(12,33,26,.94) 0%, rgba(22,58,45,.86) 50%, rgba(37,64,110,.6) 100%), url("../assets/hero-city.jpg") center 45% / cover no-repeat, var(--green-800); color: #cfe0d8; padding: 90px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(67,95,151,.6), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(47,107,83,.7), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a { color: #9cc3b2; }
.page-hero .mark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 170px; opacity: .14; filter: brightness(0) invert(1); }

/* Service detail */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: -1; }
.service-media {
  border-radius: 26px; min-height: 340px; position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-50), var(--blue-50));
}
.service-media .big-ic { width: 130px; height: 130px; border-radius: 34px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.service-media .big-ic svg { width: 62px; height: 62px; }
.service-media .tag { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 12px; padding: 10px 16px; font-size: .85rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }
.service-media .num-bg { position: absolute; right: 24px; top: 10px; font: 900 7rem var(--font-head); color: rgba(47,107,83,.08); line-height: 1; }
.mini-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.mini-benefits div { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; font-size: .88rem; font-weight: 500; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.mini-benefits svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* Values / team */
.value-card { text-align: left; }
.mv-card { background: #fff; border-radius: 22px; padding: 38px; border: 1px solid var(--line); height: 100%; }
.mv-card.featured { background: var(--grad); color: #e9f1ee; border: 0; }
.mv-card.featured h3 { color: #fff; }
.about-visual { position: relative; border-radius: 28px; background: var(--grad); min-height: 420px; padding: 40px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.about-visual .mark { position: absolute; right: -40px; top: -30px; width: 280px; opacity: .15; filter: brightness(0) invert(1); }
.about-visual blockquote { margin: 0; font: 600 1.35rem/1.5 var(--font-head); position: relative; }
.about-visual cite { display: block; margin-top: 16px; font-style: normal; opacity: .85; font-size: .9rem; }

/* Blog */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { height: 190px; position: relative; display: grid; place-items: center; color: #fff; }
.post-thumb svg { width: 54px; height: 54px; opacity: .9; }
.post-thumb.t1 { background: linear-gradient(135deg, #2f6b53, #4f8f74); }
.post-thumb.t2 { background: linear-gradient(135deg, #435f97, #6a85bd); }
.post-thumb.t3 { background: linear-gradient(135deg, #163a2d, #2f6b53); }
.post-thumb.t4 { background: linear-gradient(135deg, #364f80, #2f6b53); }
.post-thumb.t5 { background: linear-gradient(135deg, #2f6b53, #435f97); }
.post-thumb.t6 { background: linear-gradient(135deg, #1e2e4f, #435f97); }
.post-thumb .cat { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.95); color: var(--green); font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; }
.post-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 999px; font: 500 .88rem var(--font-body); color: var(--text); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--green); color: var(--green); }
.filters button.on { background: var(--green); border-color: var(--green); color: #fff; }
.newsletter { background: var(--blue-50); border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 70px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; min-width: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info-card { background: var(--green-800); color: #cfe0d8; border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(67,95,151,.6), transparent 70%); }
.info-card h3 { color: #fff; font-size: 1.5rem; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.info-item:last-of-type { border-bottom: 0; }
.info-item .ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #8fd0b3; flex-shrink: 0; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.info-item a, .info-item span { color: #fff; font-weight: 500; word-break: break-word; }
.socials { display: flex; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .25s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); color: #fff; }
.socials svg { width: 19px; height: 19px; }
.form-card { background: #fff; border-radius: 26px; padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; font: 400 .95rem var(--font-body); color: var(--ink); background: var(--bg-soft); outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-50); }
textarea { resize: vertical; min-height: 140px; }
.consent { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--green); }
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; font-size: .9rem; margin-top: 6px; }
.form-msg.ok { display: block; background: var(--green-50); color: var(--green-600); }

/* Legal */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 44px; padding-top: 10px; scroll-margin-top: 110px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal-toc { background: var(--bg-soft); border-radius: 18px; padding: 26px 30px; margin-bottom: 30px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.legal-toc li { margin-bottom: 6px; font-size: .92rem; }
.updated { display: inline-block; background: var(--green-50); color: var(--green); font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 99px; margin-bottom: 20px; }

/* ============ Footer ============ */
.footer { background: #0f251d; color: #a9bdb4; padding-top: 80px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 14px; margin-bottom: 20px; }
.footer-logo img { height: 46px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #a9bdb4; }
.footer a:hover { color: #fff; }
.footer .socials a { background: rgba(255,255,255,.06); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: #6fae93; flex-shrink: 0; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom .legal-links { display: flex; gap: 10px; align-items: center; }
.footer-bottom .legal-links span { opacity: .4; }

html.lenis-on, html.lenis-on body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .25s;
}
.wa-float:hover .wa-tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

.map-wrap { margin-top: 40px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

.to-top { position: fixed; right: 28px; bottom: 94px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(70px) scale(.97);
  transition: opacity 1.5s cubic-bezier(.16,.84,.3,1), transform 1.6s cubic-bezier(.16,.84,.3,1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.grid-2 > .reveal:first-child, .contact-grid > .reveal:first-child, .service-row > .reveal:first-child { transform: translateX(-80px); }
.grid-2 > .reveal:last-child, .contact-grid > .reveal:last-child, .service-row > .reveal:last-child { transform: translateX(80px); }
.reveal.in,
.grid-2 > .reveal.in:first-child, .contact-grid > .reveal.in:first-child, .service-row > .reveal.in:first-child,
.grid-2 > .reveal.in:last-child, .contact-grid > .reveal.in:last-child, .service-row > .reveal.in:last-child { opacity: 1; transform: none; filter: none; }

/* Section heading underline that draws itself */
.section-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 3px;
  background: var(--grad); transform: translateX(-50%); transition: width 1.1s cubic-bezier(.2,.75,.25,1) .3s;
}
.section-head.in h2::after { width: 64px; }

/* Soft divider wave between sections */
.section-soft { position: relative; }

/* Word-by-word mask reveal for section titles */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.16,.84,.3,1); transition-delay: calc(var(--i) * 70ms + 150ms); }
.in .wi, .wi.show { transform: none; }
.grad-text .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero side panel (glass) */
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-panel-wrap { justify-self: end; width: 100%; max-width: 430px; }
.hero-panel {
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 24px; padding: 26px; color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25); animation: float 7s ease-in-out infinite;
}
.hp-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 8px; }
.hp-head img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; flex-shrink: 0; }
.hp-head b { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.hp-head small, .hp-steps small { display: block; color: rgba(255,255,255,.72); font-size: .8rem; line-height: 1.4; }
.hp-steps { list-style: none; margin: 0; padding: 0; }
.hp-steps li { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .6s; }
.hp-steps .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.35); font-weight: 700; font-size: .85rem; flex-shrink: 0; transition: all .6s; }
.hp-steps li.active { background: rgba(255,255,255,.13); }
.hp-steps li.active .dot { background: #fff; color: var(--green-800); border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.14); }
.hp-steps li.done .dot { background: rgba(143,208,179,.22); border-color: #8fd0b3; color: #8fd0b3; }
.hp-steps b { font-size: .93rem; font-weight: 600; display: block; }
.hp-foot { display: flex; gap: 10px; margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.hp-foot a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 12px; font-weight: 600; font-size: .85rem; color: #fff; background: rgba(255,255,255,.14); transition: all .25s; white-space: nowrap; }
.hp-foot a:hover { background: rgba(255,255,255,.25); color: #fff; }
.hp-foot a.wa { background: #25d366; }
.hp-foot a.wa:hover { background: #1ebe5b; }
.hp-foot svg { width: 17px; height: 17px; flex-shrink: 0; }
@media (max-width: 960px) {
  .hero-panel-wrap { justify-self: stretch; max-width: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .header .btn-cta { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch;
    padding: 100px 24px 30px; gap: 4px; box-shadow: -20px 0 50px rgba(0,0,0,.15); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: 99;
  }
  .menu-open .nav { visibility: visible; }
  .nav { overflow-y: auto; }
  .nav-item { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub > a .chev { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--green); cursor: pointer; }
  .sub-toggle .chev { width: 16px; height: 16px; }
  .has-sub.open .sub-toggle .chev { transform: rotate(180deg); }
  .submenu, .has-sub:hover .submenu, .has-sub:focus-within .submenu {
    position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    display: none; grid-template-columns: 1fr; padding: 4px 0 8px 8px; gap: 2px;
  }
  .has-sub.open .submenu { display: grid; }
  .submenu::after, .submenu::before { display: none; }
  .submenu small { display: none; }
  .nav .submenu a { padding: 9px 10px; align-items: center; }
  .submenu .si { width: 32px; height: 32px; }
  .submenu .si svg { width: 16px; height: 16px; }
  .nav a { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .nav a.active { background: var(--green-50); }
  .nav a.active::after { display: none; }
  .menu-open .nav { transform: none; }
  .burger { position: relative; z-index: 100; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(10,25,20,.45); opacity: 0; visibility: hidden; transition: .3s; z-index: 98; }
  .menu-open .nav-overlay { opacity: 1; visibility: visible; }
  .hero .container, .grid-2, .calc, .contact-grid, .service-row, .newsletter { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .hero-visual { max-width: 520px; margin: 20px auto 0; width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .topbar-info .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header .container { height: 72px; }
  .brand img { height: 42px; }
  .lang-toggle button { padding: 5px 8px; }
  .hero { padding: 80px 0 130px; min-height: 0; }
  .scroll-hint { display: none; }
  .grid-3, .grid-4, .stats-grid, .steps, .footer-grid, .form-grid, .mini-benefits { grid-template-columns: 1fr; }
  .stat + .stat::before { left: 25%; top: 0; width: 50%; height: 1px; }
  .stat:nth-child(3)::before { display: block; }
  .float-badge.b1 { left: 0; bottom: -40px; }
  .float-badge.b2 { right: 0; }
  .calc, .form-card, .info-card, .chart-card { padding: 28px 20px; }
  .chart { gap: 8px; }
  .chart-labels { gap: 8px; }
  .legal-toc ol { columns: 1; }
  .topbar-social { display: none; }
  .topbar .hide-xs { display: none; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { right: 20px; bottom: 80px; width: 44px; height: 44px; }
  .wa-tip { display: none; }
  .map-wrap { height: 280px; }
  .newsletter { padding: 28px 20px; }
  .newsletter form { flex-direction: column; }
  .page-hero .mark { display: none; }
  .service-media { min-height: 260px; }
}

/* ============ Blog article ============ */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { font-size: 1.02rem; color: var(--text); }
.article .intro { font-size: 1.12rem; color: var(--ink); line-height: 1.75; border-left: 4px solid var(--green); padding-left: 20px; margin-bottom: 34px; }
.article h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 46px 0 16px; scroll-margin-top: 110px; }
.article h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1.2em; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article .callout { background: var(--green-50); border-radius: 16px; padding: 22px 26px; margin: 28px 0; }
.article .callout p:last-child { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: .93rem; }
.article th, .article td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: #cfe0d8; margin-top: 16px; }
.article-cta { background: var(--grad); color: #fff; border-radius: 22px; padding: 34px; margin: 46px 0 10px; }
.article-cta h3 { color: #fff; font-family: var(--font-head); font-size: 1.5rem; margin: 0 0 8px; }
.article-cta p { opacity: .92; }
.article-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.aside-box { position: sticky; top: 110px; display: grid; gap: 22px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.aside-card h4 { font-size: 1rem; margin-bottom: 14px; font-family: var(--font-body); }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 8px; }
.aside-card.dark { background: var(--green-800); color: #cfe0d8; border: 0; }
.aside-card.dark h4 { color: #fff; }
.faq-article details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq-article summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); }
.faq-article details p { padding-bottom: 14px; margin: 0; }
.guide-card .post-thumb { height: 150px; }
@media (max-width: 960px) {
  .article-wrap { grid-template-columns: 1fr; }
  .aside-box { position: static; }
}
