/* =========================================================
   Sistemas P&P — versión enterprise
   Sobria: blanco + azul marino, acentos azul y dorado del logo
   ========================================================= */
:root {
  --navy: #0a1f5c;
  --navy-2: #071640;
  --navy-3: #050f2e;
  --ink: #0e1a33;
  --body: #46536e;
  --muted: #6b7792;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --blue: #1458e6;
  --blue-2: #0f47c2;
  --cyan: #2ec5ff;
  --gold: #e8a900;
  --radius: 10px;
  --wrap: 1200px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Texto pendiente de completar: resaltado para que sea fácil de encontrar.
   Cuando reemplaces todo el texto entre corchetes, puedes borrar estas reglas. */
.ph { background: rgba(232, 169, 0, .18); outline: 1px dashed rgba(232, 169, 0, .8); border-radius: 3px; padding: 0 3px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 6px; border: 1px solid transparent; font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--navy-3); color: #a9b6d6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar-links { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 31, 92, .35); }
.header-inner { display: flex; align-items: center; gap: 30px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: auto; }
.wordmark { font: 800 18px/1 var(--font-head); color: var(--navy); letter-spacing: -0.01em; }
.wordmark b { color: var(--blue); }
.wordmark-light { color: #fff; }
.wordmark-light b { color: var(--cyan); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--navy); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 90px 0 80px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(900px 500px at 85% 20%, rgba(20, 88, 230, .35), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-3));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.overline { font: 500 12.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.overline::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.hero .overline, .overline-light { color: #9fc2ff; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.lead { color: #c3cde6; font-size: clamp(16px, 1.3vw, 18.5px); margin-top: 24px; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-media { position: relative; padding-bottom: 60px; }
.hero-img-main { width: 88%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-img-sub { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 5px solid var(--navy-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 70px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.kpis div { padding: 28px 24px 34px 0; }
.kpis div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.kpis dt { font: 800 clamp(28px, 3vw, 38px)/1 var(--font-head); color: #fff; }
.kpis dd { margin: 8px 0 0; color: #a9b6d6; font-size: 14.5px; }
.hero .ph { background: rgba(232,169,0,.22); }

/* ---------- Clientes ---------- */
.clients { padding: 34px 0; border-bottom: 1px solid var(--line); }
.assurance { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.assurance li { padding: 4px 20px; border-left: 1px solid var(--line); }
.assurance li:first-child { border-left: 0; padding-left: 0; }
.assurance b { display: block; font: 700 15.5px/1.3 var(--font-head); color: var(--navy); }
.assurance span { font-size: 13.5px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #c3cde6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.section-sub { font-size: 17px; margin-top: 18px; max-width: 640px; }
.section-navy .section-sub { color: #c3cde6; }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.pillar:hover { box-shadow: 0 24px 50px -28px rgba(10, 31, 92, .45); transform: translateY(-3px); }
.pillar-img { aspect-ratio: 16/10; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.04); }
.pillar-body { padding: 28px; }
.pillar-n { font: 500 13px/1 var(--font-mono); color: var(--gold); }
.pillar h3 { font-size: 21px; margin: 10px 0 16px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.pillar li { padding-left: 22px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--blue); }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector { background: #fff; padding: 30px; transition: background .25s; }
.sector:hover { background: #fafbff; }
.sector h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sector h3::before { content: ""; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.sector p { font-size: 15px; }

/* Casos */
.cases { display: grid; gap: 24px; }
.case { display: grid; grid-template-columns: 380px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.case > img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.case-body { padding: 32px 36px; }
.case-tag { font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.case h3 { font-size: 22px; margin: 12px 0 16px; }
.case p { font-size: 15px; margin-top: 6px; }
.case p b { color: var(--ink); }
.case-metrics { list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 44px; }
.case-metrics strong { display: block; font: 800 24px/1.1 var(--font-head); color: var(--navy); }
.case-metrics span { font-size: 13.5px; color: var(--muted); }

/* Metodología */
.method { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.method li { padding: 28px 22px 0 0; position: relative; }
.method li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.method li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 3px; background: var(--gold); }
.method li + li::before { left: 22px; }
.method span { font: 500 13px/1 var(--font-mono); color: #9fc2ff; }
.method h3 { font-size: 18px; margin: 12px 0 10px; }
.method p { font-size: 14.5px; color: #b5c1df; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.plan h3 { font-size: 22px; }
.plan-for { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; }
.plan li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.plan li b { color: var(--ink); font-weight: 600; text-align: right; }
.plan-featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -36px rgba(20, 88, 230, .6); }
.plan-badge { position: absolute; top: -12px; left: 32px; background: var(--blue); color: #fff; font: 600 12px/1 var(--font-body); padding: 6px 10px; border-radius: 4px; }
.plans-note { margin-top: 26px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* Tecnología */
.certs { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 26px 30px; margin-bottom: 24px; }
.certs h3 { font-size: 17px; margin-bottom: 16px; }
.certs ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cert-ph { border: 1px dashed rgba(232,169,0,.8); background: rgba(232,169,0,.08); border-radius: 6px; padding: 16px; font-size: 14px; color: #7a5a00; text-align: center; }
.tech-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tech { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 26px 30px; }
.tech h3 { font: 500 12.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 20px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.logos img, .logo-word {
  height: 72px; width: 100%; padding: 16px 20px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.logos img:hover, .logo-word:hover { border-color: #bfcdee; box-shadow: 0 10px 24px -16px rgba(10,31,92,.45); transform: translateY(-2px); }
.logos img[src*="ubiquiti"], .logos img[src*="huawei"], .logos img[src*="hp.png"], .logos img[src*="jbl"], .logos img[src*="dell"] { padding: 10px 20px; }
.logo-word { display: grid; place-items: center; font: 800 20px/1 var(--font-head); color: #1d3f8f; }
.tm-note { margin-top: 22px; font-size: 12.5px; color: var(--muted); }

/* Galería */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 14px/1 var(--font-body); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--blue); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.shot { margin: 0; position: relative; overflow: hidden; border-radius: 6px; cursor: zoom-in; background: var(--bg-alt); }
.shot.tall { grid-row: span 2; }
.shot.w2 { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; color: #fff; font-size: 13.5px; font-weight: 600; background: linear-gradient(transparent, rgba(5, 15, 46, .85)); opacity: 0; transition: opacity .3s; }
.shot:hover figcaption, .shot:focus-within figcaption { opacity: 1; }
.shot.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 15, 46, .95); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 6px; }
.lightbox figcaption { color: #c3cde6; font-size: 15px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 24px; line-height: 1; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Empresa */
.company { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.company-copy > p { margin-top: 20px; font-size: 16.5px; }
.company-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0 0; }
.company-facts div { background: #fff; padding: 16px 20px; }
.company-facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.company-facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; display: inline-block; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.principles h3 { font-size: 16px; margin-bottom: 6px; padding-top: 14px; border-top: 2px solid var(--blue); }
.principles p { font-size: 14.5px; }
.company-media { display: grid; gap: 20px; }
.company-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 40px; width: 100%; }
.company-photo { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; }
.contact-list li > span:first-child { color: #9fc2ff; font-size: 13.5px; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 34px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { width: 100%; padding: 12px 13px; border-radius: 6px; border: 1px solid #cfd7e6; background: #fff; color: var(--ink); font: 400 15px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,88,230,.15); }
.contact-form .is-invalid { border-color: #d93636 !important; }
.contact-form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--body); }
.contact-form .check a { color: var(--blue); text-decoration: underline; }
.contact-form .check.is-invalid { color: #d93636; }
.contact-form .btn-outline-light { color: var(--navy); border-color: #cfd7e6; }
.contact-form .btn-outline-light:hover { border-color: var(--navy); background: var(--bg-alt); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--blue); min-height: 1em; }

/* Footer */
.site-footer { background: var(--navy-3); color: #a9b6d6; padding: 64px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 10px; align-content: start; }
.footer-grid a:hover { color: #fff; }
.tagline { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
.footer-legal { margin-top: 16px; font-size: 13px; }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Reveal sutil */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* Videoconferencia */
.vc { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.vc-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 15.5px; }
.vc-list li { padding-left: 28px; position: relative; }
.vc-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.vc-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 724/424; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(10, 31, 92, .55); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-img { height: 220px; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.product-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-body { padding: 24px 26px 28px; }
.product h3 { font-size: 19px; margin: 10px 0 8px; }
.product p { font-size: 15px; }
.product-cta { background: linear-gradient(160deg, var(--navy), var(--navy-3)); border: 0; justify-content: center; }
.product-cta h3 { color: #fff; margin-top: 0; font-size: 22px; }
.product-cta p { color: #c3cde6; margin-bottom: 22px; }
@media (max-width: 960px) {
  .vc { grid-template-columns: 1fr; gap: 36px; }
  .products { grid-template-columns: 1fr; max-width: 620px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .method li:nth-child(4) { padding-left: 0; border-left: 0; }
  .method li:nth-child(4)::before { left: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .certs ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); gap: 0; box-shadow: 0 20px 30px -20px rgba(10,31,92,.3); }
  .menu-open .nav a { font-size: 17px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hero-grid, .company, .contact { grid-template-columns: 1fr; gap: 44px; }
  .pillars, .plans { grid-template-columns: 1fr; max-width: 620px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case > img { aspect-ratio: 16/9; min-height: 0; }
  .tech-groups { grid-template-columns: 1fr; }
  .assurance { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .assurance li:nth-child(4) { border-left: 0; padding-left: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpis div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-inner > span:first-child { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; }
  .hero { padding-top: 56px; }
  .hero-ctas .btn { width: 100%; }
  .kpis div, .kpis div + div { padding: 22px 12px 24px 0; }
  .kpis div:nth-child(even) { padding-left: 14px; }
  .sectors { grid-template-columns: 1fr; }
  .assurance { grid-template-columns: 1fr 1fr; }
  .assurance li, .assurance li:nth-child(4) { border-left: 0; padding: 0; }
  .case-body { padding: 24px; }
  .method { grid-template-columns: 1fr; }
  .method li, .method li + li { padding: 24px 0 0; border-left: 0; }
  .method li + li::before { left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .company-facts, .principles { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-list li { grid-template-columns: 90px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos img, .logo-word { height: 64px; padding: 12px 14px; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}
