:root {
  /* Carbón y blanco de Grupo F; cada empresa aporta su color de acento. Layout: franjas oscuras/claras alternadas, columnas izquierda identidad / derecha servicios como en la presentación. */
  --ink: #2D2B2C;
  --ink-2: #3A3839;
  --paper: #FFFFFF;
  --mist: #F4F4F5;
  --line: #E3E1E2;
  --muted: #6E6C6D;
  --soft: #B9B7B8;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Lato", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid #8FC9F0; outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.01em; }
.eyebrow, .mini { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(36,34,35,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 600; letter-spacing: 0.18em; font-size: 15px; }
.brand img { height: 54px; width: auto; }
@media (max-width: 640px) { .brand img { height: 40px; } }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { text-decoration: none; color: #D9D8D8; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.nav ul a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E9E8E8; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
@media (max-width: 860px) { .nav ul { display: none; } }

/* hero */
.hero { padding-bottom: 0 !important; background: radial-gradient(900px 520px at 78% 30%, #4A4849 0%, rgba(74,72,73,0) 60%), linear-gradient(160deg, #3A3839 0%, #2D2B2C 45%, #1E1D1D 100%); color: #fff; padding: 88px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--soft); }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.06; margin: 18px 0 22px; max-width: 24ch; }
.hero h1 em { font-style: normal; color: var(--soft); }
.hero p.lead { font-size: 19px; color: #DAD9D9; max-width: 34em; }
.hero p.lead strong { color: #fff; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.stats span { color: var(--soft); font-size: 15px; }
.marquee { margin-top: 72px; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 30px 0; }
.track { display: flex; gap: 80px; width: max-content; animation: slide 38s linear infinite; }
.track span { flex: none; display: grid; place-items: center; height: 48px; }
.track img { opacity: .85; object-fit: contain; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
.hero-logos { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-logos li { height: 92px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); display: grid; place-items: center; padding: 20px 26px; }
.hero-logos li:last-child { grid-column: span 2; }
.hero-logos img { max-height: 46px; width: auto; object-fit: contain; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* sections */
section { padding: 96px 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; }
.sec-head p { color: var(--muted); font-size: 18px; }

/* nosotros */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .k { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--soft); }
.pillar h3 { font-size: 22px; font-weight: 700; margin: 10px 0 12px; }
.pillar p { color: #4F4D4E; max-width: 22em; }
.pillar strong { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* overview of companies */
.empresas { background: var(--mist); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 72px; }
.ov { position: relative; display: grid; gap: 14px; align-content: start; padding: 22px; background: #fff; border-radius: 16px; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ov:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); border-color: var(--acc); }
.ov-n { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .15em; color: var(--acc); }
.ov img { height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.ov-t { font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* compact company cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { display: grid; gap: 14px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--acc); box-shadow: 0 16px 34px -22px rgba(0,0,0,.4); }
.logo-box { height: 76px; display: flex; align-items: center; }
.card-logo { max-width: 100%; object-fit: contain; }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.badge { justify-self: start; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, #fff); padding: 5px 12px; border-radius: 999px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; color: #4F4D4E; background: var(--mist); border-radius: 999px; padding: 6px 12px; }
.card-certs { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-certs .mini { font-size: 10.5px; }
.cc-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cc-logos img { width: auto; }
.cc-mic { height: 30px; }
.cc-ias { height: 40px; }
.cc-mtess { height: 30px; }
details summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--acc); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: " +"; }
details[open] summary::after { content: " –"; }
details .chips { margin-top: 12px; }
.closing { background: var(--mist); padding: 80px 0; text-align: center; }
.closing h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 12px; }
.closing p { color: var(--muted); margin-bottom: 26px; }
/* company blocks (unused) */
.co { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); }
.co-id { display: grid; gap: 20px; align-content: start; }
.co .eyebrow .num { color: var(--acc); }
.co-logo { height: 86px; width: auto; max-width: 300px; object-fit: contain; object-position: left center; }
.co-desc { color: #4F4D4E; max-width: 32em; }
.co-desc strong { color: var(--ink); }
.co-svc h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.co-svc .mini { color: var(--acc); margin-bottom: 8px; }
.svcs { list-style: none; }
.svcs li { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svcs li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); margin-top: 9px; grid-row: span 2; }
.svc-t { font-family: var(--display); font-weight: 700; font-size: 16px; }
.svc-d { color: #5A5859; font-size: 16px; }
.pcsc { border-left: 3px solid var(--acc); padding: 4px 0 4px 16px; color: #4F4D4E; font-size: 15px; }
.pcsc-t { font-family: var(--display); font-weight: 700; color: var(--acc); }
.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.certs img { height: 40px; width: auto; }
.visit { justify-self: start; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--acc); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
@media (max-width: 860px) { .co { grid-template-columns: 1fr; gap: 32px; } }

/* partners & clientes */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partners .pt { position: relative; height: 150px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 28px 36px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.partners a.pt:hover { border-color: var(--ink); box-shadow: 0 16px 34px -22px rgba(0,0,0,.4); transform: translateY(-3px); }
.pt-go { position: absolute; top: 14px; right: 16px; font-size: 15px; color: var(--soft); transition: color .2s; }
.partners a.pt:hover .pt-go { color: var(--ink); }
.partners img { max-height: 64px; width: auto; object-fit: contain; }
@media (max-width: 700px) { .partners { grid-template-columns: 1fr; } }
.clientes { padding-top: 24px; overflow: hidden; }
.cl-rows { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cl-row { overflow: hidden; }
.cl-track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.cl-row.rev .cl-track { animation-direction: reverse; animation-duration: 80s; }
.cl-rows:hover .cl-track { animation-play-state: paused; }
.cl { flex: none; width: 190px; height: 104px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; }
.cl img { max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.cl:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cl-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 24px; } .cl-row:nth-child(n) .cl-track > .cl:nth-child(n+19) { display: none; } }
.wall { border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.wall img { width: 100%; height: auto; }

/* contacto */
.contacto { background: linear-gradient(160deg, #3A3839 0%, #2D2B2C 50%, #1E1D1D 100%); color: #fff; }
.contacto .sec-head p { color: #CFCECE; }
.contacto .eyebrow { color: var(--soft); }
.ct-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.ct-info h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; margin: 14px 0 16px; }
.ct-lead { color: #CFCECE; font-size: 18px; max-width: 28em; }
.ct-list { list-style: none; display: grid; gap: 22px; margin-top: 40px; }
.ct-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; color: #D9D8D8; font-size: 16px; }
.ct-list b { color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
.ct-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; }
.ic svg.fill { fill: #fff; stroke: none; }
.ic-wa { background: #25D366; border-color: #25D366; }
.ct-list a.map { display: inline-block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 13px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 20; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
fieldset { border: 0; display: grid; gap: 10px; }
legend { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #4F4D4E; margin-bottom: 10px; }
legend .opt { font-weight: 400; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { display: inline-flex; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-opt span { font-size: 14px; font-weight: 700; color: #4F4D4E; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: background .15s, color .15s, border-color .15s; }
.pill-opt:hover span { border-color: #A3A1A2; }
.pill-opt input:checked + span { background: var(--acc, var(--ink)); border-color: var(--acc, var(--ink)); color: #fff; }
.pill-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
input::placeholder, textarea::placeholder { color: #A3A1A2; }
input.err, textarea.err { border-color: #C0392B; background: #FDF3F2; }
.sede { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sede h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sede p { color: #D9D8D8; font-size: 16px; }
.sede a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
form { background: #fff; color: var(--ink); border-radius: 24px; padding: 40px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #4F4D4E; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); }
.form-msg { display: none; background: var(--mist); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.form-msg.show { display: block; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; } }

footer { background: #1E1D1D; color: #A3A1A2; font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer img { height: 34px; width: auto; }
