/* ==========================================================
   TEAN TECH - main stylesheet
   Sections: tokens, base, layout, header, buttons, hero, cards,
   portfolio, process, forms, footer, utilities, motion
   ========================================================== */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --cyan: #06b6d4;
  --white: #ffffff;
  --bg: #f8fafc;
  --bg-2: #eef2f7;
  --text: #475569;
  --text-strong: #0f172a;
  --line: #e2e8f0;
  --success: #15803d;
  --danger: #b91c1c;
  --wa: #128c7e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 50px -20px rgba(15, 23, 42, .35);
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.brand span.tech { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-link {
  color: var(--navy-2); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 8px;
}
.nav a.nav-link:hover { background: var(--bg-2); color: var(--navy); }
.nav a.nav-link[aria-current="page"] { color: var(--blue); background: #eaf1ff; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a.nav-link { padding: 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: 14px 24px;
  border-radius: 12px; border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e6f64; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .88rem; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .78) 55%, rgba(15, 23, 42, .55) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    var(--navy);
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  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: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #e2e8f0;
}
.chip svg { width: 14px; height: 14px; color: var(--cyan); }

/* Device mockup built with CSS (no stock images, no false claims) */
.mock { position: relative; }
.mock-window {
  background: #0b1220; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #111a2e; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock-bar i:nth-child(1) { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #4ade80; }
.mock-url { margin-left: 10px; flex: 1; font-size: .72rem; color: #94a3b8; background: #0b1220; border-radius: 6px; padding: 4px 10px; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { border-radius: 12px; padding: 20px; background: linear-gradient(135deg, rgba(37, 99, 235, .55), rgba(6, 182, 212, .4)); }
.mock-line { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .85); margin-bottom: 9px; }
.mock-line.s { width: 55%; background: rgba(255, 255, 255, .45); }
.mock-line.m { width: 80%; }
.mock-btn { display: inline-block; width: 90px; height: 24px; border-radius: 7px; background: #fff; margin-top: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 64px; border-radius: 10px; background: #16213a; border: 1px solid rgba(255, 255, 255, .07); position: relative; }
.mock-cards div::before { content: ""; position: absolute; left: 10px; top: 10px; width: 18px; height: 18px; border-radius: 6px; background: var(--cyan); opacity: .8; }
.mock-cards div:nth-child(2)::before { background: var(--blue); }
.mock-cards div:nth-child(3)::before { background: #818cf8; }
.mock-phone {
  position: absolute; right: -14px; bottom: -34px; width: 118px; border-radius: 22px; background: #0b1220; border: 3px solid #1e293b; padding: 12px 9px; box-shadow: var(--shadow-lg);
}
.mock-phone .mock-line { height: 6px; margin-bottom: 6px; }
.mock-phone .tile { height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--cyan)); margin-bottom: 8px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock { max-width: 520px; }
  .mock-window { transform: none; }
}
@media (max-width: 480px) { .mock-phone { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #cbd5e1; padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 182, 212, .3), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 720px; margin: 0; font-size: 1.08rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: #94a3b8; }
.breadcrumb a { color: #cbd5e1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #475569; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.card p { flex: 1; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: #eaf1ff; color: var(--blue);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.c2 { background: #e0f7fb; color: #0891b2; }
.icon-box.c3 { background: #ede9fe; color: #6d28d9; }
.icon-box.c4 { background: #fef3c7; color: #b45309; }
.icon-box.c5 { background: #fce7f3; color: #be185d; }
.icon-box.c6 { background: #dcfce7; color: #15803d; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.panel-visual {
  border-radius: var(--radius-lg); padding: 32px; color: #e2e8f0; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--navy), #172554 60%, #0e7490);
  box-shadow: var(--shadow-lg);
}
.panel-visual h3 { color: #fff; font-size: 1.3rem; }
.stack-list { display: grid; gap: 14px; margin-top: 20px; }
.stack-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.stack-list svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 3px; }

/* Why choose */
.feature { display: flex; gap: 16px; }
.feature .icon-box { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; font-size: .96rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.step p { margin: 0; font-size: .95rem; color: #cbd5e1; }
@media (min-width: 961px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -24px; width: 24px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); text-align: center; color: #dbeafe;
  background: radial-gradient(500px 260px at 90% 0, rgba(6, 182, 212, .45), transparent 60%), linear-gradient(135deg, var(--blue-dark), var(--navy));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  font: inherit; font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy-2); transition: .18s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project[hidden] { display: none; }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.project:hover .thumb img { transform: scale(1.04); }
/* Branded placeholder used when a screenshot file is not present */
.thumb-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
.thumb-ph .ph-bar { display: flex; gap: 6px; align-items: center; }
.thumb-ph .ph-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.thumb-ph .ph-bar span { margin-left: 8px; flex: 1; font-size: .7rem; background: rgba(255, 255, 255, .18); border-radius: 6px; padding: 3px 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb-ph .ph-name { font-size: 1.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.thumb-ph .ph-cat { font-size: .78rem; font-weight: 600; opacity: .9; }
.thumb-ph .ph-mono { position: absolute; right: 14px; bottom: 6px; font-size: 5rem; font-weight: 800; opacity: .13; line-height: 1; }
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--blue); background: #eaf1ff; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.project-body h3 { margin-bottom: 6px; }
.project-body p { font-size: .94rem; flex: 1; }
.project-url { font-size: .82rem; color: #64748b; word-break: break-all; margin-bottom: 14px; display: block; }
.project-url:hover { color: var(--blue); }
.note { font-size: .88rem; color: #64748b; margin-top: 28px; }
.empty-msg { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* ---------- Service sections ---------- */
.service-row { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 10px); }
.service-row:first-of-type { border-top: 0; }
.service-row .icon-box { width: 72px; height: 72px; border-radius: 20px; margin: 0; }
.service-row .icon-box svg { width: 34px; height: 34px; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 20px 0 26px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.checklist svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 4px; }
.callout { background: #eaf1ff; border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .92rem; margin-bottom: 24px; color: #1e3a8a; }
@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row .icon-box { width: 58px; height: 58px; }
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--navy); padding: 0; }
.req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--navy); width: 100%; padding: 13px 14px; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field .error-msg { color: var(--danger); font-size: .84rem; min-height: 0; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }
.help { font-size: .82rem; color: #64748b; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radio-row label { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.radio-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #dcfce7; color: #14532d; }
.form-status.err { background: #fee2e2; color: #7f1d1d; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-item .icon-box { margin: 0; width: 46px; height: 46px; flex: none; }
.info-item small { display: block; color: #64748b; font-weight: 600; }
.info-item a, .info-item strong { color: var(--navy); font-weight: 700; word-break: break-word; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); width: 100%; height: clamp(280px, 38vw, 440px); background: var(--bg-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .quick-actions { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.mv .card { background: linear-gradient(180deg, #fff, var(--bg)); }
.quote { font-size: 1.12rem; color: var(--navy); font-weight: 600; line-height: 1.55; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94a3b8; padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span.tech { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom li { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(18, 140, 126, .6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mock-window { transform: none; }
}
@media print { .site-header, .wa-float, .nav-toggle { display: none; } }
