/* =====================================================================
   TechCorp B2B — PortalGT CMS
   Diseño corporativo B2B: azul marino, azul de acento y superficies limpias.
   Sin dependencias externas. Todo el contenido visual es local.
   ===================================================================== */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #e9f1fa;
  --surface: #ffffff;
  --surface-soft: #f7fafe;
  --navy: #0a2a66;
  --navy-2: #123a82;
  --navy-3: #1a4a8a;
  --navy-soft: #e6eefb;
  --accent: #00abe4;
  --accent-dark: #008fbe;
  --accent-soft: #e0f7ff;
  --text: #13213b;
  --muted: #52627a;
  --muted-2: #6f7e94;
  --line: #d6e3f1;
  --line-strong: #bdcee2;
  --success: #087f5b;
  --danger: #b42318;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 3px 12px rgba(10, 42, 102, 0.06);
  --shadow: 0 14px 40px rgba(10, 42, 102, 0.1);
  --container: 1200px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-head);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p {
  margin: 0 0 1rem;
}

a {
  color: var(--navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(0, 171, 228, 0.55);
  outline-offset: 3px;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tc-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.16em;
  fill: none;
  stroke: currentColor;
}

.text-accent {
  color: var(--accent-dark);
}

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8ee6ff;
}

.eyebrow__line {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
}

.badge--soft {
  color: var(--navy-2);
  background: var(--navy-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-2);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
}

.text-link .tc-icon {
  transition: transform 0.2s ease;
}

.text-link:hover .tc-icon {
  transform: translateX(4px);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn .tc-icon {
  width: 1.05em;
  height: 1.05em;
}

.btn--primary {
  color: #04283b;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 171, 228, 0.22);
}

.btn--primary:hover {
  color: #04283b;
  background: #25bce9;
  box-shadow: 0 8px 20px rgba(0, 171, 228, 0.3);
}

.btn--ghost {
  color: var(--navy);
  border-color: var(--line-strong);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--navy);
  border-color: var(--navy-3);
  background: #fff;
}

.btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
}

.btn--ghost-light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--small {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(214, 227, 241, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 42, 102, 0.08);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #fff;
  background: var(--navy);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: inset -8px -8px 18px rgba(0, 171, 228, 0.25);
}

.brand__logo {
  width: auto;
  max-width: 170px;
  height: 42px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__text small {
  color: var(--muted-2);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.site-nav__link {
  position: relative;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--navy);
  text-decoration: none;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: #fff;
}

.nav-toggle .tc-icon {
  width: 1.4em;
  height: 1.4em;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) + 0.42)) 0%,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) + 0.18)) 58%,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) * 0.55)) 100%
    ),
    var(--hero-background-image) center / cover no-repeat,
    radial-gradient(circle at 87% 16%, rgba(0, 171, 228, 0.13), transparent 28%),
    radial-gradient(circle at 7% 15%, rgba(18, 58, 130, 0.07), transparent 25%);
}

.hero::after {
  position: absolute;
  top: 30px;
  right: -180px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(0, 171, 228, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 64px;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 2.2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__proof li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero__proof strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__proof span {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero__image-wrap img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.hero__image-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.hero__image-badge-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-dark);
}

.hero__image-badge-icon .tc-icon {
  width: 1em;
  height: 1em;
}

.hero__image-badge span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero__image-badge strong {
  font-size: 0.74rem;
}

.hero__image-badge small {
  color: var(--muted);
  font-size: 0.66rem;
}

.hero__floating-card {
  position: absolute;
  bottom: -26px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 215px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

.floating-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.hero__floating-card > div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero__floating-card strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1rem;
}

.hero__floating-card span:last-child {
  color: var(--muted);
  font-size: 0.68rem;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 23px 0;
  border-top: 1px solid rgba(214, 227, 241, 0.65);
  border-bottom: 1px solid rgba(214, 227, 241, 0.65);
  background: rgba(255, 255, 255, 0.42);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.trust-strip__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip__logos {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.trust-strip__logos span {
  color: #71829a;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0.92;
}

/* ---------- Secciones ---------- */
.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--benefits {
  padding-bottom: 100px;
}

.section-head {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.section-head--split > div {
  max-width: 700px;
}

.section-head h2 {
  margin-bottom: 0.55rem;
}

.section-head > p:last-child,
.section-head > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- Beneficios ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  position: relative;
  padding: 25px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.benefit-card__icon,
.service-card__icon,
.value-card__icon,
.industry-card__icon,
.process-step > span:first-child {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.benefit-card__icon .tc-icon,
.service-card__icon .tc-icon,
.value-card__icon .tc-icon,
.industry-card__icon .tc-icon {
  width: 1.3em;
  height: 1.3em;
}

.benefit-card h3 {
  margin-bottom: 0.45rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- Servicios ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px 22px 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card__number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #c1d7e9;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 0.45rem;
}

.service-card p {
  flex: 1;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.service-card > a:hover {
  color: var(--accent-dark);
}

/* ---------- Estadísticas ---------- */
.stats-band {
  padding: 70px 0;
  color: #fff;
  background:
    radial-gradient(circle at 86% 15%, rgba(0, 171, 228, 0.3), transparent 28%),
    linear-gradient(135deg, #081f4d 0%, var(--navy) 50%, #123b7e 100%);
}

.stats-band__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 35px;
}

.stats-band h2 {
  max-width: 540px;
  margin: 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  color: #8ee6ff;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
  line-height: 1.35;
}

/* ---------- Industrias ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.industry-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industry-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.industry-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.industry-card h2,
.industry-card h3 {
  margin: 0;
  font-size: 1rem;
}

.industry-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.industry-card--large {
  padding: 26px;
}

.industry-card--large h2 {
  font-size: 1.15rem;
}

/* ---------- Testimonios ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__quote {
  display: inline-flex;
  margin-bottom: 12px;
  color: #9dddf1;
}

.testimonial-card__quote .tc-icon {
  width: 1.7em;
  height: 1.7em;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 19px;
  color: #2d3c55;
  font-size: 0.9rem;
  line-height: 1.65;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.testimonial-card figcaption img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card figcaption span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.testimonial-card figcaption strong {
  color: var(--navy);
  font-size: 0.78rem;
}

.testimonial-card figcaption small {
  color: var(--muted);
  font-size: 0.68rem;
}

/* ---------- Blog cards ---------- */
.post-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.post-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  background: var(--navy-soft);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.035);
}

.post-card__body {
  padding: 18px 18px 20px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 600;
}

.post-card__meta span {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--accent-dark);
}

.post-card h2 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.post-card h2 a {
  color: var(--navy);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--accent-dark);
}

.post-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.post-card__author {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 600;
}

/* ---------- CTA ---------- */
.cta-band {
  padding: 66px 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(0, 171, 228, 0.28), transparent 26%),
    linear-gradient(120deg, #081f4d 0%, var(--navy) 58%, #123b7e 100%);
}

.cta-band--compact {
  padding: 48px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.cta-band h2 {
  max-width: 680px;
  margin-bottom: 0.4rem;
  color: #fff;
}

.cta-band p:last-child {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 64px;
  color: rgba(255, 255, 255, 0.72);
  background: #071b43;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(115px, 0.7fr)) minmax(240px, 1.2fr);
  gap: 34px;
  padding-bottom: 44px;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__mark {
  color: #04283b;
  background: var(--accent);
  box-shadow: none;
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand > p {
  max-width: 315px;
  margin: 17px 0 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: #04283b;
  background: var(--accent);
}

.footer-social .tc-icon {
  width: 1.05em;
  height: 1.05em;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-newsletter {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.footer-newsletter .eyebrow {
  margin-bottom: 0.5rem;
  color: #8ee6ff;
}

.footer-newsletter h2 {
  margin-bottom: 0.4rem;
  color: #fff;
  font-size: 1.08rem;
}

.footer-newsletter > p {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.73rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-form input {
  width: 100%;
  min-height: 41px;
  padding: 0.56rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.newsletter-form .btn {
  min-height: 38px;
  font-size: 0.75rem;
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: #8ee6ff;
  font-size: 0.7rem;
}

.form-status.is-error {
  color: #ffb4ab;
}

.footer-newsletter__note {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.63rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.footer-bottom__links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.footer-bottom__links a:hover {
  color: #fff;
}

/* ---------- Hero interno ---------- */
.page-hero {
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) + 0.42)) 0%,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) + 0.18)) 62%,
      rgba(248, 251, 255, calc(var(--hero-overlay-opacity) * 0.55)) 100%
    ),
    var(--hero-background-image) center / cover no-repeat,
    radial-gradient(circle at 84% 20%, rgba(0, 171, 228, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

.page-hero--short {
  padding-bottom: 42px;
}

.page-hero--post {
  padding-bottom: 30px;
  background: var(--bg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-dark);
}

.breadcrumb span[aria-hidden="true"] {
  color: #9cacc0;
}

.page-hero__content {
  max-width: 850px;
}

.page-hero__content h1 {
  margin-bottom: 1rem;
}

.page-hero__content > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-hero__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.page-hero__icon .tc-icon {
  width: 1.4em;
  height: 1.4em;
}

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split__badge {
  position: absolute;
  right: 20px;
  bottom: -17px;
  display: flex;
  flex-direction: column;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  line-height: 1.1;
}

.split__badge strong {
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-size: 1.45rem;
}

.split__badge span {
  color: var(--muted);
  font-size: 0.68rem;
}

.split__body h2 {
  margin-bottom: 1rem;
}

.split__body > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.89rem;
}

.prose {
  color: #34435b;
}

.prose h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose p,
.prose li {
  color: #45556b;
  font-size: 0.9rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  color: var(--navy);
  background: var(--accent-soft);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mission-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mission-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border-radius: 12px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.mission-card h2 {
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
}

.mission-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.mission-card--navy {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 85% 18%, rgba(0, 171, 228, 0.28), transparent 30%),
    var(--navy);
}

.mission-card--navy h2 {
  color: #fff;
}

.mission-card--navy > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.mission-card--navy .mission-card__icon {
  color: #8ee6ff;
  background: rgba(255, 255, 255, 0.1);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.value-card {
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  margin-bottom: 13px;
}

.value-card h3 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.person-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.person-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.person-card__photo {
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
  background: var(--navy-soft);
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.person-card__body {
  position: relative;
  padding: 17px 18px 18px;
}

.person-card__body h3 {
  margin-bottom: 0.1rem;
  font-size: 0.98rem;
}

.person-card__role {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.person-card__body > p:not(.person-card__role) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.person-card__social {
  position: absolute;
  top: 17px;
  right: 18px;
  color: var(--muted-2);
}

.person-card__social:hover {
  color: var(--accent-dark);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 88px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.timeline__year {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: flex-end;
  padding-top: 4px;
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline__year::after {
  position: absolute;
  top: 10px;
  right: -12px;
  width: 8px;
  height: 8px;
  content: "";
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.timeline__card {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.timeline__card h3 {
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.timeline__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Servicios: índice y filas ---------- */
.service-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-index-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-3px);
}

.service-index-card__number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #c1d7e9;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-index-card__icon {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 20px;
  border-radius: 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.service-index-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.service-index-card p {
  flex: 1;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.service-index-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.service-rows {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
}

.service-row--reverse .service-row__media {
  order: 2;
}

.service-row__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-row__media img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.service-row__icon {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 15px;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.service-row__body h2 {
  margin-bottom: 0.6rem;
}

.service-row__body > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.87rem;
}

.check-list {
  padding: 0;
  margin: 17px 0 21px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  color: #34435b;
  font-size: 0.82rem;
}

.check-list .tc-icon {
  width: 1.1em;
  height: 1.1em;
  margin-top: 3px;
  color: var(--accent-dark);
}

/* ---------- Proceso ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.process-step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-step > span:first-child {
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 9px;
  color: var(--navy-2);
  background: var(--navy-soft);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Contacto ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.contact-form-card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form-card__head {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.contact-form-card__head h2 {
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
}

.contact-form-card__head > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form {
  padding-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text);
  background: #fbfdff;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #9cb9d2;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 171, 228, 0.12);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aabba;
}

.field--check {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0;
}

.field--check input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent-dark);
}

.field--check label {
  flex: 1;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
}

.field--check a {
  color: var(--accent-dark);
}

.field__error {
  min-height: 1.1em;
  margin: 0;
  color: var(--danger);
  font-size: 0.7rem;
}

.form-alert {
  padding: 11px 13px;
  margin-bottom: 16px;
  border: 1px solid #f3b7b1;
  border-radius: 7px;
  color: var(--danger);
  background: #fff5f4;
  font-size: 0.8rem;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted-2);
  font-size: 0.68rem;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  padding: 34px 12px 12px;
  text-align: center;
}

.form-success__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
}

.form-success h2 {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.form-success p {
  max-width: 390px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.contact-info-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.contact-list {
  padding: 0;
  margin: 0 0 19px;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #edf3f9;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.contact-list li > span .tc-icon {
  width: 1.05em;
  height: 1.05em;
}

.contact-list strong {
  display: block;
  margin-bottom: 1px;
  color: var(--navy);
  font-size: 0.72rem;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-list a {
  color: var(--muted);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent-dark);
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #fff;
  background: #0e7a5f;
  text-decoration: none;
}

.contact-whatsapp:hover {
  color: #fff;
  text-decoration: none;
  background: #0a674f;
}

.contact-whatsapp > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.25;
}

.contact-whatsapp strong {
  font-size: 0.74rem;
}

.contact-whatsapp small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
}

.map-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #dceaf5;
}

.map-card__grid {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-image:
    linear-gradient(rgba(10, 42, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 102, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 65% 40%, rgba(0, 171, 228, 0.25), transparent 25%);
  background-size: 28px 28px, 28px 28px, auto;
}

.map-card__marker {
  position: absolute;
  top: 36%;
  left: 52%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 0 0 7px rgba(0, 171, 228, 0.15);
}

.map-card__marker .tc-icon {
  width: 1.1em;
  height: 1.1em;
}

.map-card__label {
  position: absolute;
  right: 13px;
  bottom: 35px;
  left: 13px;
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-sm);
}

.map-card__label strong {
  color: var(--navy);
  font-size: 0.75rem;
}

.map-card__label span {
  color: var(--muted);
  font-size: 0.67rem;
}

.map-card__note {
  position: absolute;
  right: 13px;
  bottom: 9px;
  left: 13px;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.6rem;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover {
  border-color: #b8d5e6;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-3px);
}

.channel-card > span {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  margin-bottom: 13px;
  border-radius: 9px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.channel-card h3 {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.channel-card p {
  margin: 0;
  color: var(--navy-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.channel-card small {
  color: var(--muted-2);
  font-size: 0.68rem;
}

/* ---------- Blog / post ---------- */
.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.featured-post__media {
  display: block;
  min-height: 320px;
  overflow: hidden;
}

.featured-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.featured-post__body h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.featured-post__body h2 a {
  color: var(--navy);
  text-decoration: none;
}

.featured-post__body h2 a:hover {
  color: var(--accent-dark);
}

.featured-post__body > p {
  color: var(--muted);
  font-size: 0.87rem;
}

.featured-post__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.featured-post__author small {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 400;
}

.post-hero {
  max-width: 900px;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.post-hero h1 {
  margin-bottom: 1rem;
}

.post-hero > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.post-media {
  margin-top: 28px;
  margin-bottom: 38px;
}

.post-media img {
  width: 100%;
  max-height: 560px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section--post {
  padding-top: 0;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 54px;
}

.post-content {
  max-width: 760px;
}

.post-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.author-card,
.aside-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.author-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.author-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card .eyebrow {
  margin-bottom: 0.3rem;
}

.author-card h2 {
  margin-bottom: 0.1rem;
  font-size: 0.94rem;
}

.author-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.aside-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.14rem;
}

.aside-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Legal ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  align-items: start;
  gap: 66px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 100px;
}

.legal-nav .eyebrow {
  margin-bottom: 5px;
}

.legal-nav a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  color: var(--navy);
  font-weight: 700;
}

.legal-nav a.is-active {
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.legal-nav__updated {
  margin-top: 15px;
  color: var(--muted-2);
  font-size: 0.65rem;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content__contact {
  padding-top: 22px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* ---------- 404 ---------- */
.error-page {
  padding: 100px 0 120px;
  text-align: center;
}

.error-page__inner {
  max-width: 680px;
}

.error-page__code {
  margin-bottom: 10px;
  color: #c4ddef;
  font-family: var(--font-head);
  font-size: clamp(6rem, 20vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-page h1 {
  margin-bottom: 0.8rem;
}

.error-page__inner > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 0.92rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 19px;
  margin-top: 28px;
}

.error-page__links a {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.error-page__links a:hover {
  color: var(--accent-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid {
    gap: 40px;
  }

  .benefit-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(130px, 0.7fr));
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    padding: 13px 10px;
    border-radius: 6px;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link:hover,
  .site-nav__link.is-active {
    background: var(--surface-soft);
  }

  .site-nav__cta {
    margin: 8px 0 0;
  }

  .hero {
    padding-top: 52px;
  }

  .hero__grid,
  .split,
  .service-row,
  .contact-layout,
  .post-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 620px;
  }

  .hero__floating-card {
    bottom: -18px;
    left: 16px;
  }

  .stats-band__intro,
  .section-head--split,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head--split {
    gap: 14px;
  }

  .stats-grid,
  .service-grid,
  .service-grid--three,
  .industry-grid,
  .testimonial-grid,
  .post-grid,
  .blog-grid,
  .service-index-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row--reverse .service-row__media {
    order: 0;
  }

  .service-row {
    gap: 28px;
  }

  .service-row__media img {
    aspect-ratio: 1.55 / 1;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-aside,
  .legal-nav {
    position: static;
  }

  .post-layout,
  .legal-layout {
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .cta-band__actions {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .section--benefits {
    padding-bottom: 76px;
  }

  .trust-strip .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .trust-strip__logos {
    justify-content: flex-start;
  }

  .trust-strip__logos span {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }

  .hero__proof {
    gap: 19px;
  }

  .hero__image-wrap {
    border-width: 6px;
  }

  .service-grid,
  .service-grid--three,
  .industry-grid,
  .testimonial-grid,
  .post-grid,
  .blog-grid,
  .service-index-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .value-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post__media {
    min-height: 240px;
  }

  .featured-post__body {
    padding: 24px;
  }

  .timeline::before {
    left: 68px;
  }

  .timeline__item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 28px;
  }

  .timeline__year::after {
    right: -17px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero {
    padding: 40px 0 46px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .hero__floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 14px;
    transform: none;
  }

  .hero__image-wrap {
    transform: none;
  }

  .stats-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 44px 0 38px;
  }

  .breadcrumb {
    margin-bottom: 21px;
  }

  .btn {
    width: 100%;
  }

  .section-head--split .text-link {
    margin-top: 3px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: auto;
  }

  .footer-column h2 {
    margin-bottom: 8px;
  }

  .timeline::before {
    left: 1px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline__year {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .timeline__year::after {
    top: 11px;
    right: auto;
    left: 0;
  }
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: #062b1b;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(6, 43, 27, 0.22);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wa-float:hover {
  color: #062b1b;
  background: #43e27d;
  box-shadow: 0 13px 32px rgba(6, 43, 27, 0.28);
  text-decoration: none;
  transform: translateY(-2px);
}

.wa-float .tc-icon {
  width: 1.45em;
  height: 1.45em;
}

.wa-float__label {
  line-height: 1;
}

@media (max-width: 480px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 14px;
  }

  .wa-float__label {
    display: none;
  }
}

@media print {
  .wa-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
