/* ==========================================================================
   ADDITIVE — additive.mx
   Design system & stylesheet
   Single visual source of truth: ADDITIVE brand identity guide.
   Palette: #007BFF | #00C2FF | #1F2937 | #E5E7EB | #FFFFFF
   Typeface: Montserrat (400 / 500 / 600 / 700 / 800)
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable 400–800) ------------------------ */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --blue: #007BFF;
  --blue-dark: #0064D2;
  --lblue: #00C2FF;
  --carbon: #1F2937;
  --gray: #E5E7EB;
  --white: #FFFFFF;

  /* Neutrals derived from carbon/gray */
  --ink: #1F2937;
  --ink-2: #374151;
  --muted: #6B7280;
  --muted-2: #9AA3AF;
  --line: #E5E7EB;
  --line-2: #EEF1F4;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-soft-2: #F1F3F6;

  /* Dark surfaces */
  --carbon-900: #0B1117;
  --carbon-800: #111A24;
  --carbon-700: #1A2430;

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 6px;

  /* Spacing */
  --section-y: clamp(64px, 8.5vw, 124px);
  --gap: clamp(16px, 2.2vw, 28px);

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, .06);
  --shadow-md: 0 14px 40px rgba(16, 24, 40, .10);
  --shadow-blue: 0 10px 30px rgba(0, 123, 255, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Anchored sections clear the sticky header when jumped to */
main section[id], #inicio { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.85rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.2; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Layout helpers ---------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--carbon); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 16px; }
.section--dark .section-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: block; }
.section--dark .eyebrow { color: var(--lblue); }
.section--dark .eyebrow::before { background: var(--lblue); }
.eyebrow--plain::before { display: none; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); font-weight: 400; }
.text-blue { color: var(--blue); }
.text-lblue { color: var(--lblue); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  min-height: 48px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--lblue); border-color: var(--lblue); box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--carbon); --btn-bd: var(--carbon); }
.btn--secondary:hover { background: var(--carbon); color: #fff; border-color: var(--carbon); box-shadow: 0 10px 26px rgba(31,41,55,.22); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--carbon); --btn-bd: #fff; }
.btn--light:hover { background: var(--lblue); color: #fff; border-color: var(--lblue); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: #fff; color: var(--carbon); border-color: #fff; box-shadow: none; }
.btn--lg { padding: 17px 30px; min-height: 54px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--link {
  background: none; border: 0; padding: 0; min-height: 0; color: var(--blue);
  font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: .92rem;
}
.btn--link:hover { background: none; box-shadow: none; color: var(--blue-dark); transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  transition: height .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(16,24,40,.06); background: rgba(255,255,255,.96); }
.header.is-scrolled .header__inner { height: 66px; }
.header__logo { display: inline-flex; align-items: center; flex: none; }
.header__logo img, .header__logo svg { height: 34px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img, .header.is-scrolled .header__logo svg { height: 30px; }

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-block; padding: 10px 13px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__cta { margin-left: 8px; display: none; }

.burger {
  margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.burger:hover { border-color: var(--blue); }
.burger span { position: relative; display: block; width: 20px; height: 2px; background: var(--carbon); transition: transform .3s var(--ease), background .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--carbon); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open { overflow: hidden; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 999;
  background: #fff;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 18px) clamp(20px, 6vw, 40px) 32px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.drawer__link svg { width: 18px; height: 18px; color: var(--muted-2); }
.drawer__link:hover { color: var(--blue); }
.drawer__foot { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.drawer__meta { color: var(--muted); font-size: .9rem; }
.drawer__meta a { color: var(--ink); font-weight: 600; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(31,41,55,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,41,55,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(34px, 5vw, 60px);
  padding-block: clamp(46px, 7vw, 92px) clamp(48px, 6vw, 84px);
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__eyebrow b { color: var(--blue); }
.hero__dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px rgba(0,123,255,.16); }
.hero h1 { margin: 20px 0 0; }
.hero h1 .hl { color: var(--blue); display: inline; }
.hero__sub { margin-top: 20px; font-size: clamp(1.12rem, 2.1vw, 1.5rem); font-weight: 500; color: var(--carbon); line-height: 1.35; }
.hero__support { margin-top: 14px; color: var(--muted); max-width: 54ch; }
.hero__cta { margin-top: 30px; }
.hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__meta-item { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta-item svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.hero__visual { position: relative; }
.viewport {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--carbon-900); border: 1px solid #0a0f14;
  box-shadow: 0 30px 70px rgba(16,24,40,.28), 0 2px 0 rgba(255,255,255,.04) inset;
}
.viewport img { width: 100%; height: auto; }
.viewport--hero { border-top: 3px solid var(--blue); }
.viewport__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.07); }
.viewport__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); display: block; }
.viewport__bar i:first-child { background: var(--blue); }
.viewport__bar span { margin-left: auto; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.hero__badge {
  position: absolute; right: -6px; bottom: -6px; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero__badge svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.hero__badge b { display: block; font-size: .82rem; }
.hero__badge small { color: var(--muted); font-size: .72rem; line-height: 1.3; display: block; }

/* ---------- Capability bar ---------------------------------------------- */
.capbar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.capbar__item {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  border-bottom: 1px solid var(--line); position: relative; transition: background .25s var(--ease);
}
.capbar__item:hover { background: var(--bg-soft); }
.capbar__item svg { width: 30px; height: 30px; color: var(--carbon); flex: none; transition: color .25s var(--ease); }
.capbar__item:hover svg { color: var(--blue); }
.capbar__item b { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.capbar__item small { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .02em; }

/* ---------- Cards -------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
  height: 100%;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.card:hover { border-color: #d7dde5; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.card:hover::before { transform: scaleY(1); }
.card__icon {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--carbon); transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { color: var(--blue); border-color: rgba(0,123,255,.35); background: rgba(0,123,255,.05); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Value proposition pillars */
.pillar { text-align: left; }
.pillar__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center;
  background: var(--carbon); color: #fff; margin-bottom: 20px; transition: background .3s var(--ease);
}
.pillar__icon svg { width: 28px; height: 28px; }
.pillar:hover .pillar__icon { background: var(--blue); }
.pillar h3 { margin-bottom: 10px; }

/* ---------- Services ----------------------------------------------------- */
.service { position: relative; overflow: hidden; }
.service__num {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--muted-2);
  display: block; margin-bottom: 22px; transition: color .25s var(--ease);
}
.service:hover .service__num { color: var(--blue); }
.service__icon { position: absolute; right: 22px; top: 22px; width: 26px; height: 26px; color: var(--line); transition: color .3s var(--ease), transform .3s var(--ease); }
.service:hover .service__icon { color: var(--blue); transform: translateY(-2px); }
.service h3 { font-size: 1.02rem; letter-spacing: .01em; }
.service p { margin-top: 8px; }
.service__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); opacity: 0; transform: translateY(4px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.service:hover .service__link { opacity: 1; transform: none; }
.service__link svg { width: 15px; height: 15px; }

/* ---------- Process timeline -------------------------------------------- */
.process { position: relative; }
.process__track { display: grid; gap: 0; }
.step { position: relative; padding: 0 6px 34px 44px; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--carbon); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 700;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.step__line { position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child .step__line { display: none; }
.step__icon { width: 30px; height: 30px; color: var(--carbon); margin-bottom: 12px; transition: color .3s var(--ease); }
.step h3 { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }
.step:hover .step__num { background: var(--blue); box-shadow: 0 0 0 5px rgba(0,123,255,.14); }
.step:hover .step__icon { color: var(--blue); }

/* ---------- Industries --------------------------------------------------- */
.industry { display: flex; gap: 18px; align-items: flex-start; }
.industry__icon {
  flex: none; width: 52px; height: 52px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center; color: var(--carbon);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.industry:hover .industry__icon { background: var(--blue); color: #fff; border-color: var(--blue); }
.industry__icon svg { width: 26px; height: 26px; }
.industry h3 { font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.industry p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Materials ---------------------------------------------------- */
.mat-group { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(20px,2.2vw,28px); height: 100%; }
.mat-group__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mat-group__head svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.mat-group__head h3 { font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; }
.mat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); background: #fff;
  transition: border-color .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
}
.chip::before { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.chip:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,123,255,.04); }
.mat-note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: var(--gap);
  border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius);
  background: var(--bg-soft); padding: clamp(18px,2vw,24px);
}
.mat-note svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.mat-note p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.mat-actions { margin-top: var(--gap); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mat-actions small { color: var(--muted); font-size: .84rem; }

/* ---------- Applications gallery ---------------------------------------- */
.gallery { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.shot {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.shot:hover { border-color: #cfd6df; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.shot__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover .shot__media img { transform: scale(1.045); }
.shot__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(to top, rgba(11,17,23,.86), rgba(11,17,23,0));
  padding: 30px 16px 14px; color: #fff;
}
.shot__cap b { font-size: .92rem; display: block; }
.shot__cap small { font-size: .74rem; color: rgba(255,255,255,.72); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Feature / advantage (dark) ---------------------------------- */
.adv { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.adv__item { padding: 26px 0 26px 26px; border-left: 2px solid rgba(255,255,255,.14); transition: border-color .3s var(--ease); }
.adv__item:hover { border-color: var(--lblue); }
.adv__item svg { width: 30px; height: 30px; color: var(--lblue); margin-bottom: 16px; }
.adv__item h3 { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.adv__item p { color: rgba(255,255,255,.66); font-size: .92rem; margin: 0; }

.adv-dark { position: relative; overflow: hidden; }
.adv-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(90% 80% at 15% 100%, #000, transparent 70%);
  mask-image: radial-gradient(90% 80% at 15% 100%, #000, transparent 70%);
}
.adv-dark > * { position: relative; z-index: 1; }
.adv-dark__grid { display: grid; gap: clamp(34px, 5vw, 60px); align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat b .u { color: var(--lblue); }
.stat span { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Region / local ---------------------------------------------- */
.region { display: grid; gap: clamp(30px, 4vw, 52px); align-items: center; }
.region__map { position: relative; }
.region__map img { width: 100%; height: auto; border-radius: var(--radius); }
.region__cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; color: var(--ink-2); background: #fff; }
.city svg { width: 14px; height: 14px; color: var(--blue); }
.region__list { margin-top: 22px; display: grid; gap: 14px; }
.region__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.region__list svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }

/* ---------- Quote / lead form ------------------------------------------- */
.quote { display: grid; gap: clamp(30px, 4vw, 56px); align-items: start; }
.quote__aside .lead { margin-top: 16px; }
.contact-mini { margin-top: 30px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-mini__row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.contact-mini__row:last-child { border-bottom: 0; }
.contact-mini__row svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.contact-mini__row small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.contact-mini__row a, .contact-mini__row b { font-weight: 600; color: var(--ink); font-size: .95rem; }
.contact-mini__row a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.form-card__head { padding: clamp(20px,2.4vw,28px); border-bottom: 1px solid var(--line); background: var(--carbon); color: #fff; display: flex; align-items: center; gap: 14px; }
.form-card__head svg { width: 26px; height: 26px; color: var(--lblue); flex: none; }
.form-card__head b { font-size: 1rem; }
.form-card__head small { display: block; color: rgba(255,255,255,.66); font-size: .78rem; }
.form-card__body { padding: clamp(20px,2.6vw,32px); }

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: .94rem; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,123,255,.14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.field__err { font-size: .74rem; color: #c0392b; min-height: 0; }
.field__hint { font-size: .74rem; color: var(--muted-2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }

/* Upload dropzone */
.drop {
  border: 1.5px dashed #cbd5e1; border-radius: var(--radius); background: var(--bg-soft);
  padding: 22px; text-align: center; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.drop:hover, .drop.is-over { border-color: var(--blue); background: rgba(0,123,255,.05); }
.drop svg { width: 26px; height: 26px; color: var(--blue); margin: 0 auto 10px; }
.drop b { display: block; font-size: .9rem; }
.drop small { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .84rem; }
.file-row svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.file-row .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .size { color: var(--muted-2); margin-left: auto; flex: none; }
.file-row button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 2px; display: inline-flex; }
.file-row button:hover { color: #c0392b; }
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.form-consent { font-size: .76rem; color: var(--muted); }
.form-status { margin-top: 16px; border-radius: var(--radius); padding: 14px 16px; font-size: .88rem; display: none; }
.form-status.is-ok { display: block; background: rgba(0,123,255,.07); border: 1px solid rgba(0,123,255,.25); color: #0059b8; }
.form-status.is-err { display: block; background: rgba(214,69,69,.07); border: 1px solid rgba(214,69,69,.28); color: #b03030; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact block ------------------------------------------------ */
.contact-card {
  display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: 1fr;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden;
}
.contact-card__main { padding: clamp(28px, 3.4vw, 48px); }
.contact-card__side { background: var(--carbon); color: #fff; padding: clamp(28px, 3.4vw, 48px); }
.contact-card__side h3 { color: #fff; }
.person { display: flex; gap: 16px; align-items: center; margin: 22px 0 26px; }
.person__avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--carbon); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; flex: none; }
.person b { display: block; font-size: 1.05rem; }
.person span { color: var(--muted); font-size: .86rem; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines a { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-lines svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.contact-lines a:hover { color: var(--blue); }
.contact-card__side .contact-lines a { color: #fff; }
.contact-card__side .contact-lines a:hover { color: var(--lblue); }
.contact-card__side .contact-lines svg { color: var(--lblue); }

/* ---------- Final CTA ---------------------------------------------------- */
.final { background: var(--carbon); color: #fff; position: relative; overflow: hidden; text-align: center; }
.final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(0,123,255,.20), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
}
.final > .container { position: relative; z-index: 1; }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.7); letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; font-weight: 600; margin-top: 14px; }
.final .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer ------------------------------------------------------- */
.footer { background: var(--carbon-900); color: rgba(255,255,255,.72); padding-top: clamp(50px, 6vw, 78px); }
.footer__top { display: grid; gap: clamp(30px, 4vw, 50px); grid-template-columns: 1fr; padding-bottom: clamp(34px, 4vw, 50px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__desc { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.footer__brand p { font-size: .92rem; max-width: 38ch; }
.footer h4 { color: #fff; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--lblue); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a { display: inline-flex; gap: 10px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.72); }
.footer__contact a:hover { color: var(--lblue); }
.footer__contact svg { width: 16px; height: 16px; color: var(--lblue); flex: none; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-block: 26px; }
.footer__legal { font-size: .8rem; color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.socials a:hover { border-color: var(--lblue); color: #fff; background: rgba(0,194,255,.1); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Floating WhatsApp ------------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,123,255,.4); transition: transform .25s var(--ease), background .25s var(--ease);
}
.wa-float:hover { background: var(--lblue); transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float span { position: absolute; right: 66px; white-space: nowrap; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.wa-float:hover span { opacity: 1; transform: none; }

/* ---------- Reveal animations ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }
.reveal[data-delay="7"] { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Skip link ---------------------------------------------------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--carbon); color: #fff; padding: 12px 18px; border-radius: var(--radius); transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

/* ---------- Responsive --------------------------------------------------- */
@media (min-width: 560px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 760px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .capbar__grid { grid-template-columns: repeat(4, 1fr); }
  .capbar__item { border-bottom: 0; border-right: 1px solid var(--line); }
  .capbar__item:last-child { border-right: 0; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .contact-card { grid-template-columns: 1.15fr .85fr; }
  .form-actions { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .process__track { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .step { padding: 0 18px 0 0; }
  .step__line { left: 30px; top: 15px; bottom: auto; width: auto; right: -0px; height: 2px; }
  .step:last-child .step__line { display: none; }
  .step__num { position: static; margin-bottom: 18px; }
  .region { grid-template-columns: 1fr 1.05fr; }
  .adv-dark__grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: .85fr 1.15fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .nav { display: flex; align-items: center; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; }
}
@media (min-width: 1180px) {
  :root { --header-h: 82px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Services grid: 8 cards -> 2/4 columns */
.services-grid { grid-template-columns: 1fr; }
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* Print */
@media print {
  .header, .drawer, .wa-float, .btn, .final { display: none !important; }
  body { color: #000; }
}
