/* ==========================================================================
   Alpha Borealis Distribución — Design tokens
   ========================================================================== */

:root {
  --ink: #0d1220;
  --ink-soft: #3a4254;
  --paper: #f6f7f9;
  --paper-alt: #eceff4;
  --line: rgba(13, 18, 32, 0.12);

  --primary: #0b2a6b;
  --primary-2: #1e5fd9;
  --primary-3: #5fa8ff;
  --accent: #f4a300;
  --accent-ink: #2b1a00;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --radius-img: 10px;
  --radius-pill: 999px;

  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f8;
    --ink-soft: #b7c0d4;
    --paper: #0a0e18;
    --paper-alt: #111729;
    --line: rgba(238, 241, 248, 0.14);
    --primary: #5fa8ff;
    --primary-2: #3d7ae8;
    --primary-3: #a9cdff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

body a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

:focus-visible {
  outline: 2px solid var(--primary-3);
  outline-offset: 3px;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.btn-accent:hover {
  box-shadow: 0 10px 28px rgba(244, 163, 0, 0.35);
  transform: translateY(-1px);
}

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

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

.btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn.btn-outline:hover {
  border-color: var(--primary-2);
  color: var(--primary-2);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 11, 28, 0.55), rgba(5, 11, 28, 0.25));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav.is-solid {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(8, 14, 32, 0.08);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
  transition: filter 0.35s var(--ease-out);
}

.site-nav.is-solid .brand-mark {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cta-mobile {
  display: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s var(--ease-out);
}

.site-nav.is-solid .nav-links a {
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--primary-3);
}

.site-nav.is-solid .nav-links a:hover {
  color: var(--primary-2);
}

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

.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.4rem;
}

.site-nav.is-solid .nav-toggle {
  color: var(--ink);
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--ink) !important;
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta-desktop {
    display: none;
  }

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

  .nav-cta-mobile a {
    display: inline-flex;
    border-bottom: none !important;
  }

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

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 12, 32, 0.55) 0%, rgba(6, 15, 40, 0.55) 45%, rgba(6, 15, 40, 0.92) 100%),
    linear-gradient(100deg, rgba(11, 42, 107, 0.65) 0%, rgba(11, 42, 107, 0.15) 55%);
}

.hero-content {
  width: 100%;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  color: #fff;
}

.hero-content .inner {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 600;
  color: #fff;
}

.hero p.lede {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 54ch;
}

/* ==========================================================================
   Bento — líneas de negocio
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 280px 280px 220px;
  gap: 1.1rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(28px);
}

.bento-card.featured {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.bento-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.bento-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.bento-card:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.bento-card:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  z-index: -2;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 14, 32, 0.05) 0%, rgba(6, 12, 28, 0.85) 100%);
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-card .card-copy {
  padding: 1.6rem;
}

.bento-card h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 600;
}

.bento-card.featured h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.bento-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34ch;
}

.card-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-3);
}

.card-link .icon {
  width: 0.95em;
  height: 0.95em;
  transition: transform 0.25s var(--ease-out);
}

.bento-card:hover .card-link .icon {
  transform: translateX(3px);
}

@media (max-width: 920px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .bento-card,
  .bento-card.featured,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
    min-height: 280px;
  }
}

/* ==========================================================================
   Gallery — masonry
   ========================================================================== */

.gallery {
  background: var(--paper-alt);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1px;
  grid-auto-flow: dense;
  column-gap: 1rem;
  row-gap: 0;
}

.masonry-item {
  grid-row: span var(--span, 260);
  opacity: 0;
  transform: translateY(24px);
}

.masonry-item .tile {
  position: relative;
  height: calc(100% - 1rem);
  border-radius: var(--radius-img);
  overflow: hidden;
  isolation: isolate;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.masonry-item .tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 18, 36, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.masonry-item .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 32, 0) 55%, rgba(6, 12, 28, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-item:hover .tile::after,
.masonry-item:hover .tag {
  opacity: 1;
}

@media (max-width: 760px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Economía circular — split
   ========================================================================== */

.circular {
  overflow: hidden;
}

.circular-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.circular-media {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.circular-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.circular-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 42, 107, 0.75), rgba(30, 95, 217, 0.35) 60%, rgba(95, 168, 255, 0.25));
  mix-blend-mode: multiply;
}

.circular-text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
}

.circular-text p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 50ch;
}

.circular-highlight {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
}

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

/* ==========================================================================
   Confianza / empresa — full band
   ========================================================================== */

.trust {
  position: relative;
  color: #fff;
  isolation: isolate;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(95, 168, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(30, 95, 217, 0.28), transparent 65%),
    linear-gradient(160deg, #0b1733 0%, #0b2a6b 55%, #0a1a46 100%);
}

.trust h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  max-width: 20ch;
}

.trust-facts {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-facts dl {
  margin: 0;
  padding: 0 clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-facts div:first-child dl {
  border-left: none;
  padding-left: 0;
}

.trust-facts dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-facts dd {
  margin: 0.6rem 0 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .trust-facts {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .trust-facts dl {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 1.25rem;
  }
  .trust-facts div:first-child dl {
    border-top: none;
    padding-top: 0;
  }
}

/* ==========================================================================
   CTA / contacto
   ========================================================================== */

.contact {
  background: var(--paper-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
}

.contact-text p {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.contact-meta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-meta .row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-meta .icon {
  margin-top: 0.15rem;
  color: var(--primary-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form .field input,
.contact-form .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  width: 100%;
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.75;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(30, 95, 217, 0.18);
}

.field .help {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(30, 95, 217, 0.08);
  border: 1px solid rgba(30, 95, 217, 0.25);
  color: var(--primary);
  font-weight: 600;
}

.form-success.is-visible {
  display: flex;
}

.contact-form.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

@media (prefers-color-scheme: dark) {
  .site-footer {
    background: #050810;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-mark img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease-out);
}

.footer-col a:hover {
  color: var(--primary-3);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* ==========================================================================
   CTA band (home + category pages)
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-inner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 600;
  max-width: 24ch;
}

.cta-band-inner p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

/* ==========================================================================
   Category pages — breadcrumb, sub-hero, features
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.hero.hero-sub {
  min-height: 56vh;
}

.hero.hero-gradient {
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(95, 168, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(30, 95, 217, 0.28), transparent 65%),
    linear-gradient(160deg, #0b1733 0%, #0b2a6b 55%, #0a1a46 100%);
}

.hero.hero-sub .hero-content {
  padding-top: calc(var(--nav-h) + 1rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero.hero-sub h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  padding: 1.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Select field (contact form)
   ========================================================================== */

.contact-form .field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 2.4rem 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background-color: var(--paper);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4254' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1em;
  width: 100%;
}

.contact-form .field select:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(30, 95, 217, 0.18);
}

/* ==========================================================================
   Legal pages — long-form prose
   ========================================================================== */

.legal-content {
  max-width: 76ch;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.legal-content ul {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--primary-2);
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
