/* ==========================================================================
   AGC – Sitio
   Paleta "Naranjo AGC", modo claro.
   ========================================================================== */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #111722;
  --muted: #485366;
  --line: #dde1e8;
  --accent: oklch(0.64 0.19 45);
  --accentOnBand: oklch(0.72 0.18 50);
  --band: #1d1f22;
  --bandInk: #ffffff;
  --bandMuted: #c6cdd8;
  --bandLine: rgba(255, 255, 255, .16);
  --btn: oklch(0.64 0.19 45);
  --btnInk: #111111;
  --logoBlend: multiply;
  --logoTile: transparent;

  --serif: 'Source Serif 4', 'Source Serif 4 Fallback', Georgia, serif;
  --sans: 'IBM Plex Sans', sans-serif;
  /* Margen lateral: contenido de 1168px centrado, mínimo 24px */
  --gutter: max(24px, calc((100% - 1168px) / 2));
  --header-h: 76px;
}

/* Respaldo con métricas ajustadas a Source Serif 4 (aprox.): reduce el salto al cargar la fuente web.
   Georgia es más ancha y con menos ascenso: size-adjust 96%; ascent 918/1000/.96 ≈ 95%; descent 335/1000/.96 ≈ 35%. */
@font-face {
  font-family: 'Source Serif 4 Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 96%;
  ascent-override: 95%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* Base ---------------------------------------------------------------------- */

html { scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
a, .btn, .offer, .contact__submit, .field { transition: opacity .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
a:hover { opacity: .72; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .contact__submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible { outline-color: var(--accentOnBand); }
input, textarea, button, select { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted); }
strong { color: var(--ink); }
.section--band strong { color: var(--bandInk); }

/* Utilidades ------------------------------------------------------------------ */

.self-start { align-self: flex-start; }
.span-2 { grid-column: 1 / 3; }
.eyebrow { font-size: 13px; letter-spacing: .12em; color: var(--accent); font-weight: 500; }
.h2-xl { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.1; }
.h2-lg { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; }
.text-lg { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.lead-serif { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.45; }

.btn {
  background: var(--btn);
  color: var(--btnInk);
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.btn--outline { background: none; color: inherit; border: 1px solid var(--ink); }
.btn--sm { padding: 14px 24px; font-size: 13px; letter-spacing: .06em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-accent { font-size: 15px; font-weight: 500; color: var(--accent); border-bottom: 1px solid; }
/* Flechas SVG junto a texto (no caracteres ↗ →: en celular se ven como emoji) */
.icon-inline { display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.link-inline { color: var(--accent); border-bottom: 1px solid; font-weight: 500; }

/* Secciones ------------------------------------------------------------------- */

.section { padding: 96px var(--gutter); }
.section--surface { background: var(--surface); border-bottom: 1px solid var(--line); }
.section--band { background: var(--band); color: var(--bandInk); }

.split { display: flex; flex-wrap: wrap; gap: 24px 72px; }
.split__label {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--accent);
  padding-top: 24px;
}
.split__body { flex: 1.6 1 460px; display: flex; flex-direction: column; gap: 28px; padding-top: 27px; }

/* Header ---------------------------------------------------------------------- */

.site-header {
  background: var(--band);
  color: var(--bandInk);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  border-bottom: 1px solid var(--bandLine);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header__logo { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.site-header__logo img { height: 44px; width: auto; display: block; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; font-size: 13px; color: var(--bandMuted); }
.site-nav__link { position: relative; height: 56px; display: flex; align-items: center; }
/* La raya de la pestaña actual es un elemento propio (no ::after) para que el
   navegador pueda deslizarla de una pestaña a otra al cambiar de página. */
.site-nav__bar {
  view-transition-name: nav-bar;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
}
.site-nav__cta { font-weight: 500; color: var(--accentOnBand); border: 1px solid var(--accentOnBand); padding: 7px 12px; }

/* Botón hamburguesa: solo se muestra en celular (ver "Celular" al final) */
.nav-toggle { display: none; }

/* Hero de páginas interiores -------------------------------------------------- */

.page-hero {
  background: var(--band);
  color: var(--bandInk);
  padding: 88px var(--gutter) 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.breadcrumb { display: flex; gap: 10px; font-size: 13px; letter-spacing: .08em; color: var(--bandMuted); }
.breadcrumb__current { color: var(--accentOnBand); }
.page-hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero__lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--bandMuted); max-width: 640px; text-wrap: pretty; }

/* Home: hero ------------------------------------------------------------------ */

.home-hero {
  padding: 104px var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.home-hero__main { flex: 1.5 1 480px; display: flex; flex-direction: column; gap: 28px; }
.home-hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.home-hero__aside { flex: 1 1 340px; display: flex; flex-direction: column; gap: 28px; }
.home-hero__lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Home: servicios ------------------------------------------------------------- */

.offers { display: flex; flex-direction: column; gap: 48px; }
.offers__eyebrow { margin-bottom: -16px; }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.offer {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offer:hover { background: var(--bg); }
.offer__top { display: flex; justify-content: space-between; align-items: center; color: var(--accent); }
/* Íconos: SVG inline (Material Symbols Outlined, wght 200, opsz 48), heredan el color */
.offer__icon { display: block; width: 36px; height: 36px; flex-shrink: 0; }
.offer__num { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.offer__title { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-top: 20px; }
.offer__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.offer__cta { font-size: 14px; font-weight: 500; color: var(--accent); margin-top: 6px; }

/* Home: equipo ---------------------------------------------------------------- */

.team { display: flex; flex-direction: column; gap: 56px; }
.team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
.member {
  flex: 0 1 calc((100% - 96px) / 4);
  min-width: 210px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.member__name { font-size: 16px; font-weight: 600; }
.member__role { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Home: fundador y cifras ----------------------------------------------------- */

.founder { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.founder__text { flex: 1.6 1 460px; display: flex; flex-direction: column; gap: 22px; }
.founder__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--bandMuted); }
.founder__title { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; }
.founder__signature { font-family: var(--serif); font-size: 18px; font-style: italic; margin-top: 6px; }

.stats { flex: 1 1 300px; display: flex; flex-direction: column; border-top: 1px solid var(--bandLine); }
.stat { display: flex; align-items: baseline; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--bandLine); }
.stat__value {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  min-width: 110px;
  color: var(--accentOnBand);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 13px; letter-spacing: .08em; color: var(--bandMuted); }

/* Home: CISO Virtual ---------------------------------------------------------- */

.ciso { padding-block: 88px; display: flex; flex-wrap: wrap; gap: 40px 72px; }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* Home: LinkedIn -------------------------------------------------------------- */

.linkedin { display: flex; flex-direction: column; gap: 40px; border-bottom: 1px solid var(--line); }
.linkedin__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.linkedin__heading { display: flex; flex-direction: column; gap: 14px; }
.linkedin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.linkedin__post { background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; }
.linkedin__post iframe { display: block; border: 0; }

/* Home: partners -------------------------------------------------------------- */

.partners { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.partners__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.partners__sub { font-size: 14px; color: var(--muted); }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: agcMarquee 26s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
@keyframes agcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.partner {
  width: 220px;
  margin-right: 40px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}
/* Logo en un color común: la imagen se usa como máscara sobre un fondo de color */
.partner__logo {
  display: block;
  width: 150px;
  height: 44px;
  margin-bottom: 8px;
  background-color: var(--muted);
  -webkit-mask: var(--logo) left center / contain no-repeat;
  mask: var(--logo) left center / contain no-repeat;
  opacity: .75;
  transition: opacity .2s, background-color .2s;
}
.partner:hover .partner__logo { opacity: 1; background-color: var(--ink); }
.partner__desc { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Páginas interiores: introducción -------------------------------------------- */

.intro { padding: 96px var(--gutter); display: flex; flex-wrap: wrap; gap: 24px 72px; }
.intro--tight { padding-bottom: 40px; }
.intro--vpro { padding-bottom: 72px; gap: 40px 72px; }
.intro__title { flex: 1 1 320px; margin: 0; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; }
.intro__lead { flex: 1.6 1 460px; margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); padding-top: 6px; }
.intro__body {
  flex: 1.6 1 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.intro__body--loose { gap: 28px; }
.intro__body p { margin: 0; }

/* Servicios ------------------------------------------------------------------- */

.service-list { padding: 0 var(--gutter) 96px; display: flex; flex-direction: column; }
.service { display: flex; flex-wrap: wrap; gap: 24px 72px; padding: 48px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.service__num { font-family: var(--serif); font-size: 15px; color: var(--accent); }
.service__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.service__body { flex: 1.6 1 460px; display: flex; flex-direction: column; gap: 24px; }
.service__body p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Contabilidad ---------------------------------------------------------------- */

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.callout__label { font-size: 12px; letter-spacing: .12em; color: var(--accent); font-weight: 500; }

/* Activación vPro ------------------------------------------------------------- */

.vpro__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 28px; }
.vpro__aside .intro__title { flex: none; }
.vpro__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vpro__logo {
  aspect-ratio: 1 / 1;
  background: var(--logoTile);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vpro__logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--logoBlend); }

.pricing { padding: 0 var(--gutter) 24px; }
.pricing__box { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.pricing__row { display: flex; flex-wrap: wrap; }
.pricing__cell { flex: 1 1 340px; padding: 48px; display: flex; flex-direction: column; gap: 10px; }
.pricing__cell--cta { border-left: 1px solid var(--line); justify-content: space-between; gap: 28px; }
.pricing__from { font-size: 14px; color: var(--muted); }
.pricing__price { font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1; }
.pricing__tax { font-size: 28px; color: var(--muted); }
.pricing__unit { font-size: 15px; color: var(--muted); }
.pricing__pitch { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.4; }
.pricing__notes {
  border-top: 1px solid var(--line);
  padding: 20px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* Tarjetas numeradas (páginas interiores) ------------------------------------- */

.cards { padding: 72px var(--gutter) 96px; display: flex; flex-direction: column; gap: 40px; }
.cards__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.cards__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 36px; }
.cards__sub { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); row-gap: 40px; }
.card { border-left: 1px solid var(--line); padding: 8px 32px; display: flex; flex-direction: column; gap: 14px; }
.card__num { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--accent); font-weight: 400; margin-bottom: 12px; }
.card__title { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Formularios de contacto y postulación --------------------------------------- */

.contact {
  padding: 96px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.contact__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.contact__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.1; }
.contact__sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.contact__form { flex: 1.2 1 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.contact__label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.field {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 15px;
  font-size: 15px;
  outline: none;
  color: var(--ink);
  letter-spacing: 0;
}
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
textarea.field { resize: none; }
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  background: var(--bg);
}
.form-status--sent { border-left-color: #2e7d4f; }
.form-status--invalid,
.form-status--error { border-left-color: #c0392b; }
/* Campo trampa antispam: fuera de pantalla, no display:none (algunos bots lo detectan). */
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-captcha { grid-column: 1 / -1; min-height: 65px; }
.contact__submit {
  grid-column: 1 / 3;
  justify-self: start;
  background: var(--btn);
  color: var(--btnInk);
  border: 0;
  padding: 15px 34px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .15s ease, background-color .15s ease, transform .15s ease;
}
.contact__submit:hover { opacity: .85; }
.contact__submit:active { opacity: 1; transform: translateY(1px); filter: brightness(.92); }

/* Footer ---------------------------------------------------------------------- */

.site-footer {
  background: var(--band);
  color: var(--bandMuted);
  padding: 64px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-size: 14px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 64px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.site-footer__logo { height: 52px; width: auto; display: block; align-self: flex-start; }
.site-footer__tagline { margin: 0; line-height: 1.6; }
.site-footer__title {
  margin: 0 0 20px;
  color: var(--bandInk);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; line-height: 1.5; }
.site-footer__contact span {
  display: block;
  color: var(--accentOnBand);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-footer__contact a,
.site-footer__nav a { color: var(--bandMuted); text-decoration: none; }
.site-footer__contact a:hover,
.site-footer__nav a:hover { color: var(--bandInk); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 12px 32px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 13px;
  border-top: 1px solid var(--bandLine);
  padding-top: 24px;
}

.social { display: flex; gap: 10px; }
.social__link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--bandLine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bandInk);
}
.social__link:hover { border-color: var(--accentOnBand); color: var(--accentOnBand); }

/* ==========================================================================
   Celular (hasta 760px)
   ========================================================================== */

@media (max-width: 760px) {

  /* Header: logo + botón hamburguesa; el menú se despliega bajo la barra */
  .site-header { flex-wrap: nowrap; gap: 16px; }
  .site-header__logo img { height: 38px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--bandInk);
    transition: transform .2s, opacity .2s;
  }
  .is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--band);
    border-bottom: 1px solid var(--bandLine);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    font-size: 16px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__link { height: auto; padding: 14px 0; border-bottom: 1px solid var(--bandLine); }
  .site-nav__link.is-active { color: var(--accentOnBand); }
  .site-nav__bar { display: none; }
  .site-nav__cta { margin-top: 20px; padding: 14px; text-align: center; }

  /* Botones: uno bajo el otro, a todo el ancho */
  .btn-row { flex-direction: column; }
  .btn-row .btn { text-align: center; }

  /* Home: tarjetas de servicios más compactas */
  .offers { gap: 32px; }
  .offers__grid { grid-template-columns: 1fr; }
  .offer { padding: 24px 20px 28px; gap: 10px; }
  .offer__icon { width: 30px; height: 30px; }
  .offer__title { font-size: 23px; margin-top: 6px; }

  /* Home: equipo en dos columnas alineadas al margen */
  .team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .member { min-width: 0; padding-top: 12px; }
  .member__name { font-size: 15px; }
  .member__role { font-size: 13px; }

  /* Home: LinkedIn como carrusel horizontal deslizable */
  .linkedin__grid {
    display: flex;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .linkedin__grid::-webkit-scrollbar { display: none; }
  .linkedin__post { flex: 0 0 85%; scroll-snap-align: start; position: relative; }
  .linkedin__post::before {
    content: 'Cargando publicación…';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted);
  }
  .linkedin__post iframe { position: relative; height: 560px; }

  /* Formularios: una sola columna, sin desbordar la pantalla */
  .contact__form { flex-basis: 100%; grid-template-columns: minmax(0, 1fr); }
  .contact__form .span-2,
  .contact__submit { grid-column: 1 / -1; }
  .field { width: 100%; min-width: 0; box-sizing: border-box; }
  .contact__submit { justify-self: stretch; }

  /* Footer: navegación en columnas ordenadas de arriba hacia abajo, CISO Virtual al final */
  .site-footer__nav { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .site-footer__nav a[target="_blank"] { order: 1; }
}

/* Movimiento reducido ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  a, .btn, .offer, .contact__submit, .field, .site-nav, .nav-toggle__bar { transition: none; }
}

/* ── Cambio de página: la raya naranja se desliza a la pestaña nueva ──────────
   Solo se anima la raya; el resto de la página cambia al instante como siempre.
   Donde el navegador no soporta transiciones entre páginas, nada cambia. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
  ::view-transition-group(nav-bar) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
}
