/* TalentBank — Consultoría de Capital Humano
   Paleta: navy corporativo + teal de crecimiento + neutros fríos */

:root {
  --navy-950: #06101c;
  --navy-900: #0a1628;
  --navy-800: #12233a;
  --navy-700: #1a3350;
  --teal-600: #0e7c7b;
  --teal-500: #14919b;
  --teal-400: #2bb0ba;
  --teal-100: #e6f5f6;
  --sand-50: #f3f6f8;
  --sand-100: #e8eef3;
  --ink: #0f1c2b;
  --ink-muted: #4a5b6d;
  --ink-soft: #6b7c8f;
  --line: rgba(15, 28, 43, 0.1);
  --line-strong: rgba(15, 28, 43, 0.16);
  --white: #ffffff;
  --radius: 4px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2rem);
  --container: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 0 rgba(15, 28, 43, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-600);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container.narrow {
  width: min(100% - 2.5rem, 720px);
}

.container.narrow-md {
  width: min(100% - 2.5rem, 760px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 16, 28, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled .logo-text,
.site-header.is-scrolled .nav > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.is-scrolled .nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.header-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  z-index: 2;
}

.logo:hover {
  color: var(--white);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 8%;
  background:
    linear-gradient(135deg, var(--teal-400) 0%, var(--teal-600) 55%, var(--navy-700) 100%);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav > a {
  font-size: 0.9rem;
  font-weight: 450;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.nav > a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white) !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  margin: 6px auto;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  color: inherit;
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-500);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 16, 28, 0.92) 0%, rgba(10, 22, 40, 0.78) 40%, rgba(10, 22, 40, 0.42) 68%, rgba(14, 124, 123, 0.28) 100%),
    linear-gradient(180deg, transparent 45%, rgba(6, 16, 28, 0.8) 100%),
    url("../assets/img/hero.jpg") center / cover no-repeat;
  animation: heroShift 18s ease-in-out infinite alternate;
}

@keyframes heroShift {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -10%;
  top: 10%;
  background: radial-gradient(circle, rgba(43, 176, 186, 0.22) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-18px); }
}

.hero-content {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  max-width: min(100%, var(--container));
  animation: heroIn 1s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 46rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head.light .section-title,
.section-head.light .eyebrow {
  color: var(--white);
}

.section-head.light .eyebrow {
  color: var(--teal-400);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.section-lead,
.section-text {
  color: var(--ink-muted);
  max-width: 46rem;
  text-wrap: pretty;
}

.section-text + .section-text {
  margin-top: 1rem;
}

.section-propuesta {
  background:
    linear-gradient(180deg, var(--white), var(--sand-50));
}

/* Photography layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.split-layout.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-layout.split-reverse .split-copy {
  order: 2;
}

.split-layout.split-reverse .media-frame {
  order: 1;
}

.split-copy .section-title {
  margin-bottom: 1rem;
  max-width: none;
}

.split-copy .section-lead,
.split-copy .section-text {
  max-width: none;
  margin-bottom: 0;
}

.split-copy .section-text + .section-text {
  margin-top: 1rem;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
}

.media-frame img,
.media-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img,
.media-banner:hover img {
  transform: scale(1.03);
}

.media-banner {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--navy-800);
}

.media-banner-sm {
  aspect-ratio: 2.4 / 1;
}

.media-frame-contact {
  aspect-ratio: 16 / 11;
  margin: 0 0 1.75rem;
}

#proceso .process {
  margin-top: clamp(1rem, 3vw, 1.5rem);
}

#sectores .sectors {
  margin-top: 0.25rem;
}

/* Stats */
.stats {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value,
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--navy-900);
}

.stat-suffix {
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 16ch;
  line-height: 1.4;
}

/* Services — interaction surfaces, not decorative cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service {
  padding: 1.75rem 1.5rem 1.6rem;
  border-top: 2px solid var(--navy-900);
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service:hover,
.service:focus-within {
  background: var(--white);
  border-color: var(--teal-600);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.service h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service > p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin-bottom: 1.15rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.service-tags li {
  font-size: 0.8rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 0.7rem;
}

.service-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--teal-500);
  border-radius: 50%;
}

.service-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 1.75rem;
  border-top: 2px solid var(--navy-900);
  background:
    linear-gradient(90deg, rgba(14, 124, 123, 0.06), transparent 55%);
}

.service-wide-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-wide-body > p {
  color: var(--ink-muted);
  margin-bottom: 1.15rem;
  max-width: 70ch;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.process-step {
  padding: 0 1.25rem 0 0;
  position: relative;
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.process-step p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 24ch;
}

/* Why */
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.why-intro .section-text {
  margin-bottom: 1.75rem;
}

.why-list {
  display: grid;
  gap: 0;
}

.why-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.why-item:last-child {
  border-bottom: 1px solid var(--line);
}

.why-item h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.why-item p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Benefits */
.section-benefits {
  background:
    linear-gradient(135deg, rgba(6, 16, 28, 0.92) 0%, rgba(10, 22, 40, 0.88) 45%, rgba(12, 74, 77, 0.85) 100%),
    url("../assets/img/beneficios.jpg") center / cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-benefits::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(43, 176, 186, 0.25), transparent 70%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  position: relative;
  z-index: 1;
}

.benefits-grid li {
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}

.benefits-grid li::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal-400);
  margin-bottom: 0.85rem;
}

/* Sectors */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sectors li {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--navy-800);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.sectors li:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
  background: var(--teal-100);
}

/* Purpose */
.purpose {
  padding: clamp(5.5rem, 11vw, 8.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.purpose-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 16, 28, 0.82), rgba(10, 22, 40, 0.78)),
    url("../assets/img/proposito.jpg") center 30% / cover no-repeat;
}

.purpose-content {
  position: relative;
}

.purpose-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  color: var(--white);
}

.purpose-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 42rem;
  margin-inline: auto;
  text-wrap: pretty;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-weight: 550;
  font-size: 1.05rem;
  color: var(--navy-900);
  position: relative;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--teal-600);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--teal-600);
}

.faq-item p {
  padding: 0 0 1.4rem;
  color: var(--ink-muted);
  max-width: 58ch;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy .section-text {
  margin-bottom: 1.5rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--navy-800);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--sand-50);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20, 145, 155, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--teal-600);
  margin-top: 0.25rem;
}

.form-note.is-error {
  color: #b42318;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.captcha-controls {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.65rem;
  align-items: center;
}

.captcha-controls img {
  width: 160px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--sand-50);
}

.btn-captcha-refresh {
  width: 44px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--sand-50);
  color: var(--navy-800);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-captcha-refresh:hover {
  background: var(--white);
  border-color: var(--teal-500);
  color: var(--teal-600);
}

.captcha-controls input {
  min-width: 0;
}

@media (max-width: 480px) {
  .captcha-controls {
    grid-template-columns: 1fr auto;
  }

  .captcha-controls img {
    grid-column: 1 / 2;
  }

  .btn-captcha-refresh {
    grid-column: 2 / 3;
  }

  .captcha-controls input {
    grid-column: 1 / -1;
  }
}

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

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-copy {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .process::before {
    display: none;
  }

  .why-layout,
  .contact-layout,
  .split-layout,
  .split-layout.split-reverse {
    grid-template-columns: 1fr;
  }

  .split-layout.split-reverse .split-copy,
  .split-layout.split-reverse .media-frame {
    order: initial;
  }

  .media-banner,
  .media-banner-sm {
    aspect-ratio: 16 / 9;
  }

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

  .service-wide {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 16, 28, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .hero {
    align-items: center;
    padding-bottom: 6rem;
  }

  .hero-brand {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

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

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

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

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

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

  .reveal,
  .hero-content,
  .hero-photo,
  .hero-glow,
  .hero-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
