/* =========================================================
   INTEGRAQ SERVICES S.A.S. — Sistema visual v2 (corporativo)
   Grafito + acero + rojo de marca, contenido sobre fondo claro
   ========================================================= */

:root {
  --bg: #f4f5f7;
  --white: #ffffff;
  --ink: #111418;
  --ink-2: #353b42;
  --mute: #646c75;
  --line: #e0e3e7;
  --line-2: #cfd4da;

  --graphite: #14171b;
  --graphite-2: #1c2025;
  --on-dark: #eef0f2;
  --on-dark-2: #b4bac1;
  --on-dark-3: #858c94;
  --line-dark: rgba(238, 240, 242, 0.12);

  --red: #d0121b;
  --red-hover: #b10e16;
  --red-soft: #fbe9ea;

  --wa: #25d366;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 6px;
  --shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 8px 24px -12px rgba(17, 20, 24, .12);
  --shadow-h: 0 2px 4px rgba(17, 20, 24, .05), 0 22px 44px -18px rgba(17, 20, 24, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--white); color: var(--ink-2);
  font-family: var(--f-body); font-size: clamp(16px, 1.02vw, 17px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.display { font-size: clamp(2.6rem, min(6.6vw, 11.5svh), 6.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.15; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--mute); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .75em; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.red { color: var(--red); }
.muted { color: var(--mute); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 9vw, 132px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.bg-soft { background: var(--bg); }
.dark { background: var(--graphite); color: var(--on-dark-2); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-dark); }
.dark .lede { color: var(--on-dark-2); }
.dark .eyebrow { color: #ff4a52; }
.shead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.shead p { margin: 0; }
.shead--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .shead { grid-template-columns: 1fr; } }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 80; transition: transform .5s var(--ease), background .35s, box-shadow .35s; }
.hdr.is-solid { background: rgba(20, 23, 27, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.hdr__logo img { width: 156px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { position: relative; font-size: .92rem; font-weight: 500; color: var(--on-dark-2); padding: 8px 0; transition: color .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--line-dark); border-radius: var(--r); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 100px var(--gutter) 40px; background: var(--graphite); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--on-dark); padding: 6px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: #ff4a52; }
  .nav .btn { margin-top: 24px; }
  .hdr__logo { position: relative; z-index: 2; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; background: var(--red); color: #fff; font-weight: 600; font-size: .95rem; border-radius: var(--r); transition: background .25s, transform .3s var(--ease), box-shadow .3s; box-shadow: 0 8px 20px -10px rgba(208,18,27,.6); }
.btn:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.dark .btn--ghost, .hero .btn--ghost, .phero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover, .phero .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 11px 16px; font-size: .86rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--red); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--graphite); color: var(--on-dark-2); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,23,27,.9) 0%, rgba(20,23,27,.62) 45%, rgba(20,23,27,.25) 100%), linear-gradient(0deg, rgba(20,23,27,.95) 0%, rgba(20,23,27,0) 40%); }
.hero__body { position: relative; z-index: 3; padding-top: 120px; padding-bottom: clamp(24px, 3.6vh, 44px); }
.hero__tag { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: clamp(18px, 2.6vh, 28px); }
.hero__tag span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); display: inline-flex; align-items: center; gap: 8px; }
.hero__tag span::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 .red { color: #ff2e38; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; margin-top: clamp(20px, 3.4vh, 38px); }
.hero__row .lede { color: var(--on-dark-2); margin: 0; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot { position: relative; z-index: 3; border-top: 1px solid var(--line-dark); background: rgba(20,23,27,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .hero__row { grid-template-columns: 1fr; } }

/* A-scan */
.ascan { position: relative; height: 96px; border-right: 1px solid var(--line-dark); display: grid; grid-template-columns: auto 1fr; }
.ascan__label { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-right: 22px; border-right: 1px solid var(--line-dark); min-width: 160px; }
.ascan__label .mono { color: var(--on-dark-3); font-size: .66rem; }
.ascan__label strong { font-family: var(--f-mono); font-weight: 500; font-size: 1.45rem; color: #fff; line-height: 1; }
.ascan__label strong em { font-style: normal; color: #ff4a52; font-size: .68em; margin-left: 4px; }
.ascan canvas { width: 100%; height: 100%; }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); }
.readout div { padding: 18px 0 18px 22px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.readout div:last-child { border-right: 0; }
.readout .mono { font-size: .64rem; color: var(--on-dark-3); }
.readout b { font-family: var(--f-mono); font-weight: 500; font-size: .9rem; color: #fff; letter-spacing: .04em; }
.blink { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff4a52; margin-right: 8px; animation: blink 1.2s steps(2) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: .15; } }
@media (max-width: 900px) {
  .hero__foot .wrap { grid-template-columns: 1fr; padding: 0; }
  .ascan { border-right: 0; height: 88px; padding-left: var(--gutter); }
  .ascan__label { min-width: 124px; }
  .readout { border-top: 1px solid var(--line-dark); }
  .readout div { padding: 12px 10px 12px var(--gutter); }
  .readout div + div { padding-left: 14px; }
}
@media (max-width: 560px) {
  .readout { grid-template-columns: 1fr 1fr; }
  .readout div:nth-child(3) { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(20,23,27,.97) 0%, rgba(20,23,27,.72) 50%, rgba(20,23,27,.35) 100%); }
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.split .ln { display: block; overflow: hidden; padding: .1em .04em .04em 0; margin: -.1em -.04em -.04em 0; }
.split .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0s)); }
.split.in .ln > span { transform: none; }

/* ---------- media ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tagpin { position: absolute; z-index: 2; left: 12px; bottom: 12px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(20,23,27,.78); padding: 7px 10px; border-radius: 4px; }

/* ---------- intro / facts ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 6px; }
.fact span { color: var(--mute); font-size: .95rem; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s; }
.scard:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); border-color: var(--line-2); }
.scard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); position: relative; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__no { position: absolute; top: 12px; left: 12px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; background: var(--white); color: var(--ink); padding: 5px 8px; border-radius: 4px; }
.scard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scard__body p { margin: 0; color: var(--mute); font-size: .96rem; }
.scard__body .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- technique tiles (home) ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tile { background: var(--white); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 128px; transition: background .3s; }
.tile:hover { background: var(--bg); }
.tile b { font-family: var(--f-mono); font-weight: 500; font-size: .82rem; letter-spacing: .08em; color: var(--red); }
.tile span { font-family: var(--f-display); font-weight: 600; color: var(--ink); line-height: 1.2; font-size: 1.02rem; letter-spacing: -0.01em; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { min-height: 108px; padding: 16px; } }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sector { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.sector svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 22px; }
.sector h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sector p { margin: 0; font-size: .92rem; color: var(--mute); }
@media (max-width: 1100px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- split ---------- */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split2__media { aspect-ratio: 5 / 4; }
.split2--rev .split2__media { order: 2; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } .split2--rev .split2__media { order: 0; } .split2__media { aspect-ratio: 4 / 3; } }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d0121b' stroke-width='2'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.step::before { counter-increment: s; content: "0" counter(s); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-family: var(--f-mono); font-weight: 500; font-size: .9rem; margin-bottom: 22px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .95rem; color: var(--mute); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- certifications ---------- */
.certs { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.cert { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.cert__logo { height: 96px; display: flex; align-items: center; }
.cert__logo img { max-height: 96px; width: auto; }
.cert h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cert p { margin: 0; font-size: .93rem; color: var(--mute); }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--graphite); color: var(--on-dark-2); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(208,18,27,.22), transparent); pointer-events: none; }
.cta .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.cta h2 { color: #fff; }
.slogan { margin: 18px 0 0; color: var(--on-dark-2); font-size: 1.1rem; border-left: 3px solid var(--red); padding-left: 14px; }
.cta__side { display: grid; gap: 20px; }
.cta__side p { margin: 0; }
.cta__phones { display: grid; font-size: .95rem; }
.cta__phones a { border-bottom: 1px solid var(--line-dark); padding: 11px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; color: var(--on-dark); transition: color .25s; word-break: break-all; }
.cta__phones a span:first-child { color: var(--on-dark-3); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.cta__phones a:hover { color: #ff4a52; }
@media (max-width: 900px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: #0f1114; color: var(--on-dark-3); padding: clamp(56px, 7vw, 88px) 0 26px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
.ftr__brand img { width: 200px; margin-bottom: 20px; }
.ftr__brand p { max-width: 36ch; font-size: .93rem; }
.ftr h4 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr ul a { color: var(--on-dark-2); transition: color .25s; font-size: .93rem; }
.ftr ul a:hover { color: #fff; }
.ftr__slogan { color: var(--on-dark); font-weight: 500; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: .82rem; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 85; display: flex; align-items: center; gap: 12px; transition: opacity .3s; }
.wa-float__btn { width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float__btn:hover { transform: scale(1.06); }
.wa-float__btn svg { width: 31px; height: 31px; color: #fff; }
.wa-float__tip { font-size: .85rem; font-weight: 500; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--r); box-shadow: var(--shadow-h); opacity: 0; transform: translateX(8px); transition: opacity .35s var(--ease), transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }
.nav-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .wa-float__tip { display: none; } .wa-float__btn { width: 56px; height: 56px; } }

/* ---------- subpage hero ---------- */
.phero { position: relative; padding: clamp(140px, 15vw, 190px) 0 clamp(52px, 6vw, 84px); overflow: hidden; background: var(--graphite); color: var(--on-dark-2); }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,23,27,.95) 20%, rgba(20,23,27,.6) 75%, rgba(20,23,27,.45)); }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 18ch; }
.phero .lede { color: var(--on-dark-2); margin: 22px 0 0; }
.crumbs { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); display: flex; gap: 10px; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #ff4a52; }

/* ---------- services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); background: var(--white); transition: border-color .25s, color .25s, background .25s; }
.jump a b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--red); }
.jump a:hover, .jump a.is-active { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-of-type { border-top: 0; }
.svc:nth-of-type(even) .svc__media { order: 2; }
.svc__media { aspect-ratio: 4 / 3; }
.svc__no { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; color: var(--red); font-weight: 500; display: block; margin-bottom: 12px; }
.svc h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 16px; }
.svc__body > p { color: var(--ink-2); }
.scope { margin-top: 22px; }
.scope h4 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.items li { padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); font-size: .96rem; }
.items li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.items li small { display: block; color: var(--mute); font-size: .86rem; }
.items--one { grid-template-columns: 1fr; }
.norm { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.norm span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; padding: 6px 10px; border-radius: 4px; background: var(--red-soft); color: var(--red); font-weight: 500; }
.svc__actions { margin-top: 24px; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__media { order: 0; }
}
@media (max-width: 520px) { .items { grid-template-columns: 1fr; } }

/* ---------- techniques page ---------- */
.tgroup { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 28px; scroll-margin-top: 90px; }
.tgroup__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; }
.tgroup__head .svc__no { grid-column: 1 / -1; }
@media (max-width: 760px) { .tgroup__head { grid-template-columns: 1fr; } }
.tgroup:first-of-type { border-top: 0; padding-top: 0; }
.tgroup__head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 10px; }
.tgroup__head p { color: var(--mute); font-size: .95rem; margin: 0; }
.tgroup__head .svc__no { margin-bottom: 10px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; scroll-margin-top: 100px; transition: box-shadow .35s var(--ease), border-color .3s; }
.tcard:hover, .tcard:target { box-shadow: var(--shadow-h); border-color: var(--line-2); }
.tcard:target { border-color: var(--red); }
.tcard__code { display: inline-block; align-self: flex-start; font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em; color: var(--red); background: var(--red-soft); padding: 5px 9px; border-radius: 4px; margin-bottom: 18px; }
.tcard h3 { font-size: 1.15rem; margin-bottom: 10px; }
.tcard p { font-size: .93rem; color: var(--mute); }
.tcard dl { margin: auto 0 0; padding-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; border-top: 1px solid var(--line); font-size: .86rem; }
.tcard dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.tcard dd { margin: 0; color: var(--ink); }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3.4vw, 44px); border-top: 3px solid var(--red); }
.mv h3 { font-size: 1.5rem; margin-bottom: 14px; }
.mv p { margin: 0; color: var(--ink-2); }
.mv p + p { margin-top: 14px; }
.mv .eyebrow { margin-bottom: 18px; }
.mv .mv__lead { font-size: 1.1rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.value svg { width: 36px; height: 36px; color: var(--red); margin-bottom: 22px; }
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: .94rem; color: var(--mute); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.values--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .values--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .values--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values--5 { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g2 { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.channels { display: grid; gap: 12px; }
.channel { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .3s var(--ease); }
.channel:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.channel__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.channel__ic svg { width: 21px; height: 21px; }
.channel .mono { display: block; color: var(--mute); font-size: .64rem; margin-bottom: 2px; }
.channel strong { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink); word-break: break-word; }
.channel > svg { width: 18px; height: 18px; color: var(--mute); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.2vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 8px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); padding: 13px 14px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23646c75' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1a9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,18,27,.12); }
.field.err input, .field.err select { border-color: var(--red); background: #fff7f7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; font-size: .88rem; font-weight: 500; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); transition: all .25s; }
.chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form__foot small { color: var(--mute); font-size: .84rem; max-width: 34ch; }
.map { position: relative; aspect-ratio: 21 / 8; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.map__pin { position: absolute; left: 16px; top: 16px; background: var(--white); border-left: 3px solid var(--red); padding: 14px 18px; border-radius: 4px; box-shadow: var(--shadow); }
.map__pin b { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.1rem; }
.map__pin span { font-size: .85rem; color: var(--mute); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--f-display); font-weight: 650; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--red); color: #fff; border-color: var(--red); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 0 22px; margin: 0; max-width: 72ch; color: var(--ink-2); }

.mt-l { margin-top: clamp(36px, 4.5vw, 64px); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .split .ln > span { opacity: 1 !important; transform: none !important; }
}
