:root {
  --paper:#fafbf8;
  --white:#fff;
  --ink:#202b27;
  --muted:#5e6a63;
  --green:#194b38;
  --green-hover:#103b2a;
  --sage:#edf1eb;
  --line:#dce2d9;
  --font:'Satoshi',Arial,sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

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

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

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

button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

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

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-weight:500
}

em {
  font-style:normal;
  color:var(--green)
}

button {
  color:inherit
}

::selection {
  background:#d6e4d5;
  color:var(--green)
}

:focus-visible {
  outline:3px solid #438360;
  outline-offset:5px
}

[hidden] {
  display:none!important
}

.container {
  width:min(1280px,calc(100% - 112px));
  margin-inline:auto
}

.section-pad {
  padding-block:90px
}

.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2.1px;
  line-height:1.7;
  color:var(--muted);
  margin-bottom:22px
}

h2 {
  font-size:clamp(32px,3.05vw,43px);
  line-height:1.17;
  letter-spacing:-1.55px
}

.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#52816a;
  border-radius:50%;
  flex:none
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:49px;
  padding:12px 24px;
  background:var(--green);
  color:#fff;
  border:1px solid var(--green);
  border-radius:30px;
  font-size:14px;
  font-weight:500;
  transition:background .2s,transform .2s
}

.button:hover {
  background:var(--green-hover);
  transform:translateY(-2px)
}

.button span {
  font-size:22px;
  font-weight:400;
  line-height:1
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  font-size:14px;
  font-weight:500;
  min-height:44px
}

.text-link span {
  font-size:21px;
  transition:transform .2s
}

.text-link:hover {
  color:var(--green)
}

.text-link:hover span {
  transform:translate(3px,-2px)
}

.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  background:var(--green);
  color:white;
  padding:12px;
  z-index:100
}

.skip-link:focus {
  top:10px
}

.site-header {
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(250,251,248,.58);
  -webkit-backdrop-filter:saturate(150%) blur(20px);
  backdrop-filter:saturate(150%) blur(20px);
  border-bottom:1px solid rgba(255,255,255,.65);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
  transition:background-color .3s ease,border-color .3s ease,box-shadow .3s ease
}

.site-header.is-scrolled {
  background:rgba(250,251,248,.72);
  border-bottom-color:rgba(212,224,214,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 4px 24px -12px rgba(25,55,39,.22)
}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .site-header,.site-header.is-scrolled {
    background:rgba(250,251,248,.97)
  }
}

.reading-progress {
  position:absolute;
  inset-inline:0;
  bottom:-1px;
  height:2px;
  background:var(--green);
  transform:scaleX(0);
  transform-origin:left center;
  pointer-events:none
}

.nav-row {
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:14px;
  flex-shrink:0
}

.brand-mark {
  display:block;
  width:44px;
  height:44px;
  background:var(--green);
  mask:url('crocode-scales.svg') center/contain no-repeat;
  -webkit-mask:url('crocode-scales.svg') center/contain no-repeat
}

.brand-type {
  font-size:23px;
  letter-spacing:5px;
  line-height:1.1;
  font-weight:500
}

.brand-type small {
  display:block;
  margin-top:9px;
  font-size:8px;
  letter-spacing:5.3px;
  color:var(--muted)
}

.nav-links {
  display:flex;
  align-items:center;
  gap:31px
}

.nav-links a {
  font-size:13px;
  padding-block:12px
}

.nav-links a:hover,.nav-links a[aria-current=page] {
  color:var(--green);
  text-decoration:underline;
  text-underline-offset:7px
}

.nav-cta {
  min-height:43px;
  padding:9px 22px;
  gap:22px
}

.menu-toggle {
  display:none;
  width:44px;
  height:44px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:50%;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px
}

.menu-toggle span {
  height:1px;
  width:18px;
  background:var(--green)
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#f5f6f2
}

.hero-photo {
  position:absolute;
  right:0;
  top:0;
  width:72%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
  z-index:-3
}

.hero-wash {
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(90deg,#fafbf8 0%,#fafbf8 26%,rgba(250,251,248,.96) 35%,rgba(250,251,248,.78) 44%,rgba(250,251,248,.14) 64%,transparent 82%)
}

.hero-inner {
  min-height:568px;
  display:flex;
  align-items:center;
  position:relative
}

.hero-copy {
  width:590px;
  padding:56px 0 52px
}

.hero-copy .eyebrow {
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:24px
}

.hero h1 {
  font-size:clamp(52px,4.65vw,68px);
  line-height:1.04;
  letter-spacing:-2.9px
}

.hero-description {
  font-size:17px;
  line-height:1.6;
  color:#5a655f;
  max-width:435px;
  margin-top:24px
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:30px
}

.hero-note {
  font-size:11px;
  color:var(--muted);
  margin-top:15px
}

.hero-caption {
  position:absolute;
  right:0;
  bottom:32px;
  padding-left:16px;
  border-left:1px solid #fff;
  color:#fff;
  text-shadow:0 1px 2px #0f1a17d9,0 1px 3px #0f1a17b3,0 2px 14px #1f302c8c
}

.hero-caption span {
  display:block;
  font-size:13px
}

.hero-caption span:first-child {
  font-size:8px;
  letter-spacing:2px;
  margin-bottom:6px
}

.hero-scales {
  position:absolute;
  left:0;
  top:0;
  width:min(65vw,900px);
  height:100%;
  z-index:-1;
  opacity:.8;
  pointer-events:none;
  background:url('hero-scales.svg') left bottom / cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,#000 50%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 50%,transparent 100%)
}

@media(max-width:800px) {
  .hero-scales {
    width:85%;
    opacity:.65
  }
}

@media(max-width:560px) {
  .hero-scales {
    top:0;
    width:100%;
    height:480px;
    opacity:.6;
    background-size:580px auto;
    background-position:-65px bottom;
    -webkit-mask-image:linear-gradient(180deg,#000 65%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 65%,transparent 100%)
  }
}

.logo-strip {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#f2f5ef;
  border-block:1px solid var(--line)
}

.logo-strip-scales {
  position:absolute;
  inset:0 0 0 auto;
  width:min(45%,560px);
  z-index:-1;
  pointer-events:none;
  background:url('band-scales.svg') left center / cover no-repeat;
  transform:scaleX(-1);
  opacity:.8;
  -webkit-mask-image:linear-gradient(90deg,#000,transparent 100%);
  mask-image:linear-gradient(90deg,#000,transparent 100%)
}

.logo-strip-inner {
  display:grid;
  grid-template-columns:240px minmax(0,1fr) 36px;
  align-items:center;
  gap:32px;
  padding-block:30px
}

.logo-strip-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px;
  margin-bottom:8px
}

.logo-strip-heading h2 {
  font-size:19px;
  line-height:1.35;
  letter-spacing:-.4px
}

.logo-marquee {
  min-width:0;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:#b4c4b3 transparent;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)
}

.logo-strip.is-animated .logo-marquee {
  overflow-x:hidden
}

.logo-track {
  display:flex;
  width:max-content
}

.logo-list {
  display:flex;
  align-items:center;
  flex-shrink:0;
  gap:46px;
  list-style:none;
  margin:0;
  padding:12px 46px 12px 0
}

.logo-list li {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-width:132px;
  min-height:48px;
  white-space:nowrap;
  color:var(--ink);
  font-size:21px;
  font-weight:500;
  letter-spacing:-.6px
}

.logo-list img {
  flex-shrink:0;
  object-fit:contain
}

.logo-list .logo-openai {
  background:#111;
  border-radius:50%
}

.logo-motion-toggle {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid #cdd9ca;
  border-radius:50%;
  background:rgba(255,255,255,.6);
  color:var(--green)
}

.logo-motion-toggle:hover {
  background:#fff
}

.logo-play-icon,.is-paused .logo-pause-icon {
  display:none
}

.is-paused .logo-play-icon {
  display:block
}

@keyframes logo-drift {
  to { transform:translateX(-50%) }
}

.logo-strip.is-animated .logo-track {
  animation:logo-drift 42s linear infinite
}

.logo-strip.is-paused .logo-track,
.logo-strip:has(.logo-marquee:focus-visible) .logo-track {
  animation-play-state:paused
}

@media(max-width:1100px) {
  .logo-strip-inner { grid-template-columns:205px minmax(0,1fr) 36px;gap:22px }
}

@media(max-width:800px) {
  .logo-strip-inner { grid-template-columns:minmax(0,1fr) 36px;gap:18px;padding-block:24px }
  .logo-strip-heading { grid-column:1;grid-row:1 }
  .logo-strip-heading h2 { font-size:18px }
  .logo-strip-heading h2 br { display:none }
  .logo-marquee { grid-column:1/-1;grid-row:2 }
  .logo-motion-toggle { grid-column:2;grid-row:1 }
  .logo-strip-scales { width:90% }
  .logo-list { gap:32px;padding-right:32px }
  .logo-list li { min-width:125px;font-size:20px }
}

/* The opening screen ends at the bottom of the tools strip. Content can
   still grow naturally on unusually short screens or with enlarged text. */
.intro-viewport {
  min-height:calc(100svh - 89px);
  display:flex;
  flex-direction:column
}

.intro-viewport .hero {
  flex:1;
  display:flex
}

.intro-viewport .hero-inner {
  min-height:0
}

.intro-viewport .hero-copy {
  padding-block:clamp(24px,5svh,56px)
}

.intro-viewport .hero h1 {
  font-size:clamp(44px,4.4vw,64px)
}

.intro-viewport .logo-strip {
  flex-shrink:0
}

@media(max-width:800px) {
  .intro-viewport { min-height:calc(100svh - 77px) }
}

@media(min-width:561px) and (max-height:800px) {
  .intro-viewport .hero h1 { font-size:clamp(46px,7.5svh,60px) }
  .intro-viewport .hero-copy .eyebrow { margin-bottom:18px }
  .intro-viewport .hero-description { margin-top:18px }
  .intro-viewport .hero-actions { margin-top:22px }
}

@media(max-width:560px) {
  /* Keep the photo in normal flow, below every word and action. */
  .intro-viewport .hero {
    --mobile-hero-photo-height:clamp(160px,48vw,240px);
    flex-direction:column;
    background:var(--paper)
  }
  .intro-viewport .hero-inner { flex:1 }
  .intro-viewport .hero-copy { padding:28px 0 20px }
  .intro-viewport .hero h1 { font-size:clamp(36px,9.7vw,48px);letter-spacing:-1.7px }
  .intro-viewport .hero-photo {
    position:relative;
    order:1;
    flex:none;
    height:var(--mobile-hero-photo-height)
  }
  .intro-viewport .hero-wash {
    top:auto;
    height:var(--mobile-hero-photo-height);
    background:linear-gradient(180deg,#fafbf8 0,rgba(250,251,248,0) 64px);
    pointer-events:none
  }
  .intro-viewport .hero-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:4px;
    margin-top:22px
  }
  .intro-viewport .hero-actions .button {
    justify-content:center;
    min-height:48px;
    font-size:13px
  }
  .intro-viewport .hero-actions .text-link {
    justify-self:center;
    min-height:44px;
    font-size:13px
  }
  .intro-viewport .hero-actions a span { font-size:20px }
  .intro-viewport .hero-note {
    margin-top:8px;
    font-size:11px;
    text-align:center
  }
  .intro-viewport .logo-strip-inner { padding-block:18px;gap:12px }
}

@media(max-width:560px) and (max-height:740px) {
  .intro-viewport .hero-copy { padding-top:20px;padding-bottom:20px }
  .intro-viewport .hero h1 { font-size:clamp(36px,10.8vw,44px) }
  .intro-viewport .hero-copy .eyebrow { margin-bottom:14px }
  .intro-viewport .hero-description { margin-top:16px;font-size:14px }
  .intro-viewport .hero-actions { margin-top:18px }
  .intro-viewport .logo-strip-inner { padding-block:14px;gap:8px }
}

@media(prefers-reduced-motion:reduce) {
  .logo-strip .logo-track { animation:none }
  .logo-strip .logo-marquee { overflow-x:auto }
}

.solutions {
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:27px 0 38px
}

.section-kicker {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:28px
}

.section-kicker h2 {
  font-size:13px;
  letter-spacing:0;
  font-weight:500
}

.section-kicker>span {
  font-size:8px;
  letter-spacing:1.7px;
  color:var(--muted)
}

.services-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr)
}

.service-card {
  padding:0 28px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:flex-start
}

.service-card:first-child {
  padding-left:0
}

.service-card:last-child {
  border-right:0;
  padding-right:0
}

.service-icon {
  width:40px;
  height:40px;
  border-radius:8px;
  background:var(--sage);
  color:var(--green);
  display:grid;
  place-items:center;
  margin-bottom:16px;
  transition:background .2s
}

.service-icon svg {
  width:24px;
  height:24px;
  stroke:currentColor;
  stroke-width:1.25;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}

.service-card h3 {
  font-size:20px;
  letter-spacing:-.6px;
  line-height:1.23;
  margin-bottom:12px
}

.service-card p {
  font-size:13px;
  color:var(--muted);
  line-height:1.65;
  max-width:248px
}

.card-link {
  margin-top:auto;
  padding-top:20px;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:25px;
  color:var(--green)
}

.card-link span {
  font-size:19px;
  transition:transform .2s
}

.service-card:hover .service-icon {
  background:#dce8db
}

.service-card:hover .card-link span {
  transform:translate(3px,-3px)
}

.partnership {
  padding:88px 0 56px;
  background:var(--white)
}

.partnership-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:clamp(40px,6vw,96px)
}

.partnership-heading {max-width:530px}
.partnership-heading .eyebrow {margin-bottom:22px}
.partnership-heading h2 {font-size:clamp(28px,2.65vw,38px);line-height:1.23;letter-spacing:-1.1px;text-wrap:balance}
.partnership-copy {max-width:530px}
.partnership-copy p {font-size:14px;line-height:1.75;color:var(--muted);margin:0 0 16px}
.partnership-copy p:last-child {margin-bottom:0}
.partnership-copy .partnership-lead {font-size:19px;line-height:1.5;letter-spacing:-.3px;color:var(--ink);margin-bottom:20px;max-width:490px}

@media(max-width:800px) {
  .partnership {padding:58px 0 36px}
  .partnership-grid {grid-template-columns:1fr;gap:28px}
  .partnership-heading,.partnership-copy {max-width:580px}
}

@media(max-width:600px) {
  .partnership {padding:48px 0 32px}
  .partnership-heading h2 {font-size:28px}
  .partnership-heading .eyebrow {font-size:9px;margin-bottom:16px}
  .partnership-copy .partnership-lead {font-size:17px;margin-bottom:16px}
  .partnership-copy p {font-size:13px}
}

.comparison.section-pad {
  padding:0 0 40px;
  background:var(--white);
  border-bottom:1px solid var(--line)
}

.comparison>.container {
  display:grid;
  grid-template-columns:minmax(240px,.85fr) minmax(0,1.8fr);
  align-items:center;
  gap:12px 48px;
  border-top:1px solid var(--line);
  padding-top:32px
}

.comparison-heading .eyebrow {font-size:9px;margin-bottom:14px}
.comparison-heading h2 {font-size:25px;line-height:1.2;letter-spacing:-.7px}
.comparison-heading>p {font-size:14px;color:var(--muted);max-width:300px;margin:16px 0 0}
.comparison-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.comparison-card {min-width:0;padding:0 22px}
.comparison-automated {border-left:1px solid var(--line)}
.comparison-card-top {display:flex;align-items:center;margin-bottom:10px}
.comparison-label {display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500}
.comparison-label:before {content:'';width:5px;height:5px;border-radius:50%;background:#929b89}
.comparison-automated .comparison-label:before {background:var(--green)}
.comparison-scene>svg {display:block;width:100%;height:140px;overflow:visible}
.journey-guide {stroke:#e8ece6;stroke-width:1;stroke-dasharray:2 6}
.journey-route {stroke:#d7ded5;stroke-width:1.5;stroke-linecap:round}
.journey-progress {stroke:#929d94;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:1}
.comparison-automated .journey-progress {stroke:var(--green)}
.journey-point circle {stroke:#87938a;stroke-width:1.5;fill:var(--white)}
.journey-point text {fill:#5d6b62;font-size:16px;font-weight:500;text-anchor:middle;font-family:var(--font)}
.journey-point .journey-arrival-ring {stroke:#bacbbb;stroke-width:1;fill:none;opacity:0}
.is-arrived .journey-arrival-ring {opacity:1}
.is-arrived .journey-destination>circle:first-child {fill:var(--green);stroke:var(--green)}
.journey-vehicle {stroke:#65746a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:var(--white)}
.comparison-automated .journey-vehicle {stroke:var(--green)}
.journey-caption {min-height:16px;margin-top:4px;font-size:10px;color:var(--muted)}
[data-journey-status] {white-space:nowrap}
.is-arrived [data-journey-status] {color:var(--green)}
.comparison-card-copy {margin-top:8px}
.comparison-card-copy h3 {font-size:14px;line-height:1.4;font-weight:400;letter-spacing:-.1px;margin:0}
.comparison-footer {grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center}
.comparison-motion-toggle {flex-shrink:0;border:0;padding:8px 0 8px 12px;background:transparent;color:var(--muted);font:inherit;font-size:10px;cursor:pointer}
.comparison-motion-toggle span {margin-left:8px}

@media(max-width:1000px) {
  .comparison>.container {grid-template-columns:1fr;gap:24px}
  .comparison-heading {display:flex;justify-content:space-between;align-items:center;gap:32px}
  .comparison-heading>p {margin:0;max-width:280px}
  .comparison-card:first-child {padding-left:0}
}

@media(max-width:600px) {
  .comparison.section-pad {padding:0 0 30px}
  .comparison-heading {display:block}
  .comparison-heading h2 {font-size:23px}
  .comparison-heading h2 br {display:none}
  .comparison-heading h2 em:before {content:' '}
  .comparison-heading>p {margin-top:12px;max-width:330px;font-size:13px}
  .comparison-card {padding:0 14px}
  .comparison-card:last-child {padding-right:0}
  .comparison-scene>svg {height:100px}
  .comparison-card-copy h3 {font-size:12px}
  .journey-caption {font-size:9px}
  .comparison-motion-toggle {padding-left:0}
}

.approach {
  background:var(--sage);
  padding-block:65px
}

.approach-grid {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:80px;
  align-items:center
}

.approach h2 {
  font-size:34px
}

.approach .eyebrow {
  margin-bottom:17px
}

.approach-copy>p {
  font-size:15px;
  color:var(--muted);
  max-width:485px
}

.benefits {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:22px;
  font-size:10px;
  color:var(--green)
}

.benefits span:before {
  content:'✓';
  margin-right:6px
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:40px;
  margin-bottom:38px
}

.section-heading>p {
  font-size:15px;
  color:var(--muted)
}

.case-tabs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--line);
  gap:28px
}

.case-tabs button {
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  padding:18px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted)
}

.case-tabs button[aria-selected=true] {
  color:var(--green);
  border-bottom-color:var(--green)
}

.case-tabs button span {
  font-size:19px
}

.case-panel {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:80px;
  align-items:center;
  padding:46px 0 20px
}

.case-copy {
  max-width:410px
}

.case-copy .eyebrow {
  font-size:9px;
  margin-bottom:18px
}

.case-copy h3 {
  font-size:34px;
  line-height:1.17;
  letter-spacing:-1px;
  margin-bottom:18px
}

.case-copy>p:not(.eyebrow) {
  font-size:15px;
  color:var(--muted);
  line-height:1.7
}

.case-copy .text-link {
  margin-top:21px;
  color:var(--green)
}

.workflow {
  background:#eef2eb;
  border:1px solid #e2e7df;
  border-radius:5px;
  padding:30px 36px;
  position:relative
}

.workflow-label {
  font-size:8px;
  letter-spacing:2px;
  color:var(--muted)
}

.workflow ol {
  padding:0;
  margin:21px 0;
  list-style:none;
  display:grid;
  gap:19px
}

.workflow li {
  background:#fff;
  border:1px solid #e3e8de;
  border-radius:5px;
  padding:16px;
  display:flex;
  gap:16px;
  align-items:center;
  position:relative;
  box-shadow:0 3px 5px #203e2c03
}

.workflow li:not(:last-child):after {
  content:'';
  position:absolute;
  width:1px;
  height:20px;
  background:#afc0ad;
  left:35px;
  bottom:-20px
}

.flow-symbol {
  width:35px;
  height:35px;
  background:var(--sage);
  color:var(--green);
  display:grid;
  place-items:center;
  border-radius:5px;
  font-size:20px;
  flex:none
}

.workflow strong {
  display:block;
  font-weight:500;
  font-size:13px
}

.workflow li div>span {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}

.flow-check {
  margin-left:auto;
  color:#477052;
  font-size:12px
}

.flow-outcome {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  color:var(--green)
}

/* Pestaña de agentes: se prueba el agente real y se muestra una conversación. */
.case-copy .agent-try {
  margin-top:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px
}

.agent-try small {
  font-size:11px;
  color:var(--muted)
}

.workflow-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}

.chat-live {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:9px;
  letter-spacing:1.4px;
  color:var(--green)
}

.chat-demo ol {
  gap:10px
}

.chat-demo li {
  display:block;
  max-width:86%;
  padding:12px 15px;
  font-size:13px;
  line-height:1.5;
  color:var(--ink)
}

.chat-demo li:after {
  display:none
}

.chat-demo li.from-agent {
  margin-left:auto;
  background:var(--green);
  border-color:var(--green);
  color:#fff
}

.chat-demo li b {
  display:block;
  font-size:8px;
  letter-spacing:1.6px;
  font-weight:500;
  margin-bottom:4px;
  color:var(--muted)
}

.chat-demo li.from-agent b {
  color:#cfe0d5
}

@media(max-width:560px) {
  .chat-demo li {
    max-width:92%;
    font-size:12px
  }
}

.case-note {
  font-size:10px;
  color:var(--muted);
  text-align:right;
  margin-top:10px
}

.process {
  border-top:1px solid var(--line);
  background:var(--white)
}

.training-service {
  background:var(--sage);
  border-bottom:1px solid var(--line)
}

.training-service-inner {
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding-block:26px
}

.training-service .service-icon { margin:0;background:var(--white) }
.training-service h2 { font-size:20px;letter-spacing:-.4px;margin-bottom:8px }
.training-service p { max-width:680px;font-size:13px;line-height:1.65;color:var(--muted) }
.training-service .text-link { font-size:12px }

@media(max-width:800px) {
  .training-service-inner { grid-template-columns:40px minmax(0,1fr);gap:16px }
  .training-service .text-link { grid-column:2;justify-self:start }
  .training-service h2 { font-size:18px }
}

.process .section-heading {
  margin-bottom:24px
}

.process-intro {
  max-width:700px;
  font-size:16px;
  line-height:1.7;
  color:var(--muted)
}

.process-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
  padding:0;
  list-style:none;
  margin:48px 0 0
}

.process-grid li {
  border-top:1px solid var(--line);
  padding-top:22px
}

.step-number {
  color:#55705c;
  font-size:13px
}

.process-grid h3 {
  font-size:21px;
  letter-spacing:-.5px;
  margin:20px 0 12px
}

.process-grid p {
  font-size:14px;
  color:var(--muted);
  max-width:300px
}

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

.faq-grid {
  display:grid;
  grid-template-columns:.85fr 1.2fr;
  gap:70px
}

.faq-list details {
  border-bottom:1px solid var(--line)
}

.faq-list details:first-child {
  border-top:1px solid var(--line)
}

summary {
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:22px;
  cursor:pointer;
  font-size:15px;
  padding:21px 0
}

summary::-webkit-details-marker {
  display:none
}

summary:after {
  content:'+';
  color:var(--green);
  font-size:22px;
  line-height:1;
  flex-shrink:0
}

details[open] summary:after {
  content:'−'
}

.faq-list details p {
  font-size:14px;
  color:var(--muted);
  padding:0 32px 23px 0;
  line-height:1.7
}

.contact {
  background:#eaf0e7;
  border-top:1px solid #dce5d7
}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:center
}

.contact h2 {
  font-size:54px;
  letter-spacing:-2px
}

.contact-copy>p:not(.eyebrow) {
  max-width:370px;
  color:var(--muted);
  font-size:15px;
  margin:24px 0 17px
}

.contact-copy>.text-link {
  color:var(--green);
  font-size:12px
}

.contact-channels {
  display:flex;
  gap:25px;
  border-top:1px solid #d3dece;
  margin-top:35px;
  padding-top:22px;
  font-size:12px;
  color:var(--green);
  flex-wrap:wrap
}

.contact-channels a:hover {
  text-decoration:underline
}

.contact-form-card {
  padding:34px 36px;
  background:#fff;
  border:1px solid #e2e8de;
  border-radius:7px
}

.contact-form-card h3 {
  font-size:23px;
  letter-spacing:-.6px
}

.form-intro {
  font-size:12px;
  color:var(--muted);
  margin:5px 0 25px
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:17px
}

.field label {
  font-size:11px;
  font-weight:500
}

.field input,.field select,.field textarea {
  width:100%;
  min-width:0;
  padding:11px 12px;
  background:#fafbf9;
  border:1px solid #dce2d9;
  border-radius:4px;
  color:var(--ink);
  font-size:12px
}

.field input::placeholder,.field textarea::placeholder {
  color:#788179
}

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

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}

.consent {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:10px;
  color:var(--muted);
  margin:3px 0 20px;
  padding-block:5px;
  min-height:24px
}

.consent input {
  accent-color:var(--green);
  margin:0;
  flex:none;
  width:16px;
  height:16px
}

.consent a {
  text-decoration:underline;
  text-underline-offset:3px
}

.contact-form-card .button {
  width:100%;
  font-size:12px;
  min-height:46px
}

.honeypot {
  position:absolute!important;
  width:1px;
  height:1px;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap
}

.form-status {
  font-size:12px;
  line-height:1.6;
  color:#a33723
}

.form-status:not(:empty) {
  margin-top:15px
}

.button:disabled {
  cursor:wait;
  opacity:.65;
  transform:none
}

.form-success {
  text-align:center;
  padding:65px 0
}

.form-success p {
  font-size:14px;
  color:var(--muted);
  margin:20px 0 28px
}

.success-icon {
  display:grid;
  place-items:center;
  width:60px;
  height:60px;
  border-radius:50%;
  background:var(--sage);
  color:var(--green);
  font-size:27px;
  margin:0 auto 25px
}

.site-footer {
  background:var(--paper);
  padding:43px 0 20px
}

.footer-main {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:35px;
  padding-bottom:35px
}

.footer-main .brand-type {
  font-size:18px;
  letter-spacing:3.8px
}

.footer-main .brand-type small {
  font-size:7px;
  letter-spacing:3.7px
}

.footer-main .brand-mark {
  width:35px;
  height:35px
}

.footer-main>p {
  font-size:12px;
  color:var(--muted)
}

.footer-main nav {
  display:flex;
  gap:24px;
  font-size:12px
}

.footer-main nav a:hover,.footer-bottom a:hover {
  text-decoration:underline
}

.footer-location {
  font-size:10px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:7px
}

.footer-bottom {
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:9px;
  color:var(--muted)
}

.footer-bottom>div {
  display:flex;
  gap:20px
}

/* Green Web Foundation badge: a discreet line above the legal row. The badge is
   greyscale at rest (the Foundation allows resizing and greying only) and shows
   its colors on hover. */
.footer-green {
  display:flex;
  align-items:center;
  gap:20px;
  padding:18px 0;
  border-top:1px solid var(--line);
  font-size:12px;
  line-height:1.5;
  color:var(--muted)
}

.footer-green+.footer-bottom {
  border-top:0;
  padding-top:0
}

.footer-green-badge {
  flex:none;
  line-height:0
}

.footer-green-badge img {
  width:104px;
  height:auto;
  filter:grayscale(1);
  transition:filter .3s ease
}

.footer-green:hover .footer-green-badge img,
.footer-green:focus-within .footer-green-badge img {
  filter:none
}

.footer-green p {
  flex:1 1 auto
}

.footer-green strong {
  font-weight:700;
  color:var(--ink)
}

.footer-green-link {
  flex:none;
  font-weight:500;
  color:var(--ink)
}

.footer-green-link:hover {
  color:var(--green);
  text-decoration:underline
}

@media(prefers-reduced-motion:reduce) {
  .footer-green-badge img {
    transition:none
  }
}

@media(max-width:560px) {
  .footer-green {
    flex-wrap:wrap;
    gap:12px 16px
  }
  .footer-green p {
    flex-basis:calc(100% - 120px)
  }
  .footer-green-link {
    margin-left:120px
  }
}

.page-intro {
  padding:85px 0 65px;
  border-bottom:1px solid var(--line);
  background:var(--sage)
}

.page-intro h1 {
  font-size:64px;
  letter-spacing:-2.4px;
  line-height:1.08;
  max-width:840px
}

.page-intro p:not(.eyebrow) {
  max-width:620px;
  font-size:17px;
  color:var(--muted);
  margin-top:24px
}

.about-life {
  padding:64px 0 60px;
  background:var(--white)
}

.about-life-grid {
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);
  gap:44px;
  align-items:start
}

.about-life figure {margin:0;min-width:0}
.about-life img {display:block;width:100%;height:auto;object-fit:cover;border-radius:5px;background:var(--sage)}
.about-session img {aspect-ratio:1.6;object-position:50% 72%}
.about-life figcaption {font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px;max-width:560px}
.about-life-copy {margin-bottom:26px}
.about-life-copy .eyebrow {font-size:9px;margin-bottom:14px}
.about-life-copy h2 {font-size:27px;line-height:1.25;letter-spacing:-.65px}
.about-life-copy>p:last-child {font-size:14px;line-height:1.65;color:var(--muted);margin-top:14px;max-width:330px}
.about-terrace img {aspect-ratio:1.85;object-position:50% 60%}
.about-life+#equipo,.about-life+#team {padding-top:64px;border-top:1px solid var(--line)}

@media(max-width:1000px) {
  .about-life-grid {grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px}
  .about-session img {aspect-ratio:1.12;object-position:68% 65%}
  .about-life-copy h2 {font-size:24px}
}

@media(max-width:600px) {
  .about-life {padding:36px 0 40px}
  .about-life-grid {grid-template-columns:1fr;gap:32px}
  .about-session img {aspect-ratio:1.4;object-position:60% 70%}
  .about-life-aside {max-width:440px}
  .about-life-copy {margin-bottom:20px}
  .about-life-copy h2 {font-size:25px}
  .about-terrace img {aspect-ratio:1.85}
  .about-life+#equipo,.about-life+#team {padding-top:44px}
}

.team-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  max-width:836px;
  margin:45px auto 0
}

.team-card img {
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  object-position:top;
  border-radius:5px;
  background:var(--sage)
}

.team-card h3 {
  font-size:23px;
  margin-top:20px
}

.team-card .team-role {
  font-size:11px;
  color:var(--green);
  margin:4px 0 12px;
  letter-spacing:.7px
}

.team-card p {
  font-size:14px;
  color:var(--muted);
  max-width:350px
}

.team-card .text-link {
  font-size:12px;
  margin-top:8px
}

.award {
  background:var(--sage)
}

.award-grid {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:80px;
  align-items:center
}

.award-copy>p:not(.eyebrow) {
  color:var(--muted);
  font-size:15px;
  margin-top:20px;
  max-width:610px
}

.award-stats {
  padding:38px;
  border:1px solid #d5dfd0;
  border-radius:5px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

.award-stats strong {
  font-size:58px;
  line-height:1;
  font-weight:500;
  letter-spacing:-2px;
  color:var(--green)
}

.award-stats span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:14px
}

.about-cta {
  text-align:center
}

.about-cta p {
  margin:20px auto 26px;
  color:var(--muted);
  max-width:490px
}

.legal-content {
  max-width:820px
}

.legal-content section {
  padding-bottom:40px;
  margin-bottom:40px;
  border-bottom:1px solid var(--line)
}

.legal-content h2 {
  font-size:32px;
  margin-bottom:25px
}

.legal-content h3 {
  font-size:18px;
  margin:22px 0 10px
}

.legal-content p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8
}

.legal-content a {
  text-decoration:underline
}

.legal-nav {
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  margin-top:28px;
  font-size:13px
}

@media(min-width:1600px) {
  .hero-inner {
    min-height:640px
  }
  .hero-copy {
    padding-block:70px
  }
  .hero h1 {
    font-size:76px
  }
  .hero-description {
    font-size:18px
  }
  .hero-photo {
    width:75%
  }
}

@media(max-width:1100px) {
  .container {
    width:calc(100% - 64px)
  }
  .nav-links {
    gap:20px
  }
  .brand-type {
    font-size:20px;
    letter-spacing:4px
  }
  .brand-mark {
    width:38px;
    height:38px
  }
  .brand-type small {
    letter-spacing:4px
  }
  .nav-row {
    gap:18px
  }
  .nav-cta {
    padding:9px 16px;
    gap:15px
  }
  .hero-inner {
    min-height:540px
  }
  .hero-copy {
    width:520px
  }
  .hero h1 {
    font-size:60px
  }
  .hero-wash {
    background:linear-gradient(90deg,#fafbf8 0%,#fafbf8 23%,rgba(250,251,248,.92) 40%,rgba(250,251,248,.38) 63%,transparent 95%)
  }
  .service-card {
    padding-inline:20px
  }
  .service-card h3 {
    font-size:18px
  }
  .approach-grid,.case-panel {
    gap:40px
  }
  .approach h2 {
    font-size:30px
  }
  .benefits {
    gap:12px
  }
  .contact-grid {
    gap:50px
  }
  .contact h2 {
    font-size:48px
  }
  .contact-form-card {
    padding:28px
  }
  .footer-main {
    gap:25px
  }
  .footer-main nav {
    gap:16px
  }
  .footer-location {
    display:none
  }
}

@media(max-width:800px) {
  html {
    scroll-padding-top:88px
  }
  .container {
    width:calc(100% - 40px)
  }
  .section-pad {
    padding-block:60px
  }
  .nav-row {
    height:76px;
    gap:16px
  }
  .brand-type {
    font-size:20px
  }
  .nav-cta {
    margin-left:auto;
    font-size:12px;
    min-height:39px
  }
  .menu-toggle {
    display:flex;
    flex-shrink:0
  }
  .nav-links {
    display:none;
    position:absolute;
    top:75px;
    left:0;
    right:0;
    background:var(--paper);
    padding:15px 25px 25px;
    border-bottom:1px solid var(--line);
    box-shadow:0 12px 20px #203e2c0a
  }
  .nav-links.is-open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0
  }
  .nav-links a {
    font-size:16px;
    padding:14px 5px
  }
  .hero-copy {
    width:520px;
    padding:52px 0 55px
  }
  .hero h1 {
    font-size:58px
  }
  .hero-description {
    font-size:16px;
    max-width:390px
  }
  .hero-caption {
    display:none
  }
  .hero-photo {
    width:85%;
    opacity:.65
  }
  .hero-wash {
    background:linear-gradient(90deg,#fafbf8 5%,rgba(250,251,248,.97) 26%,rgba(250,251,248,.68) 58%,rgba(250,251,248,.15) 100%)
  }
  .section-kicker>span {
    display:none
  }
  .services-grid {
    grid-template-columns:1fr 1fr;
    gap:28px 0
  }
  .service-card {
    padding:0 25px
  }
  .service-card:nth-child(2) {
    border-right:0;
    padding-right:0
  }
  .service-card:nth-child(3) {
    padding-left:0
  }
  .service-card h3 {
    font-size:21px
  }
  .service-card p {
    max-width:270px
  }
  .solutions {
    padding-bottom:32px
  }
  .approach-grid {
    grid-template-columns:1fr;
    gap:25px
  }
  .approach h2 {
    font-size:33px
  }
  .approach-copy>p {
    max-width:580px
  }
  .benefits {
    font-size:11px;
    gap:22px
  }
  .section-heading {
    align-items:start;
    gap:20px
  }
  .section-heading>p {
    font-size:13px
  }
  .section-heading>.text-link {
    font-size:12px
  }
  .case-panel {
    gap:30px;
    grid-template-columns:1fr 1.1fr
  }
  .case-copy h3 {
    font-size:28px
  }
  .case-copy>p:not(.eyebrow) {
    font-size:13px
  }
  .workflow {
    padding:22px 18px
  }
  .workflow li {
    padding:12px;
    gap:10px
  }
  .workflow li:not(:last-child):after {
    left:28px
  }
  .workflow strong {
    font-size:11px
  }
  .workflow li div>span {
    font-size:9px
  }
  .flow-symbol {
    width:30px;
    height:30px
  }
  .process-grid {
    gap:25px
  }
  .process-grid h3 {
    font-size:19px
  }
  .process-grid p {
    font-size:13px
  }
  .faq-grid {
    gap:35px;
    grid-template-columns:.8fr 1.2fr
  }
  .contact-grid {
    gap:35px
  }
  .contact h2 {
    font-size:40px
  }
  .contact-form-card {
    padding:24px
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
  .footer-main {
    flex-wrap:wrap
  }
  .footer-main>p {
    margin-left:auto
  }
  .footer-main nav {
    width:100%;
    justify-content:flex-end
  }
  .page-intro h1 {
    font-size:52px
  }
  .team-card img {
    height:auto
  }
  .award-grid {
    gap:35px
  }
  .award-stats {
    padding:25px;
    gap:20px
  }
}

@media(max-width:560px) {
  .brand {
    gap:10px
  }
  .brand-mark {
    width:32px;
    height:32px
  }
  .brand-type {
    font-size:17px;
    letter-spacing:3px
  }
  .brand-type small {
    font-size:6px;
    letter-spacing:3.3px;
    margin-top:7px
  }
  .nav-cta {
    padding:8px 15px;
    gap:12px
  }
  .nav-cta span {
    font-size:18px
  }
  .nav-row {
    gap:10px
  }
  .menu-toggle {
    width:38px;
    height:38px
  }
  .hero-inner {
    min-height:660px;
    align-items:flex-start
  }
  .hero-copy {
    padding:40px 0 220px;
    width:100%
  }
  .hero h1 {
    font-size:clamp(46px,11.8vw,62px);
    letter-spacing:-2px
  }
  .hero-copy .eyebrow {
    font-size:8px;
    letter-spacing:1.4px;
    margin-bottom:20px
  }
  .hero-description {
    font-size:15px;
    max-width:360px;
    margin-top:20px
  }
  .hero-photo {
    width:100%;
    height:310px;
    top:auto;
    bottom:0;
    opacity:1;
    object-position:center 63%
  }
  .hero-wash {
    background:linear-gradient(180deg,#fafbf8 0%,#fafbf8 52%,rgba(250,251,248,.9) 62%,rgba(250,251,248,.04) 85%)
  }
  .hero-actions {
    gap:17px;
    flex-wrap:wrap;
    margin-top:24px
  }
  .hero-actions .button {
    font-size:12px;
    gap:15px;
    padding:12px 19px;
    min-height:46px
  }
  .hero-actions .text-link {
    font-size:12px;
    gap:9px
  }
  .hero-note {
    font-size:10px
  }
  .section-kicker {
    margin-bottom:26px
  }
  .section-kicker h2 {
    font-size:12px
  }
  .services-grid {
    gap:30px 0
  }
  .service-card {
    padding-inline:17px
  }
  .service-card h3 {
    font-size:18px;
    line-height:1.28;
    letter-spacing:-.5px
  }
  .service-card p {
    font-size:12px
  }
  .card-link {
    font-size:10px;
    gap:12px;
    padding-top:15px
  }
  .service-icon {
    width:35px;
    height:35px;
    margin-bottom:13px
  }
  .service-icon svg {
    width:22px;
    height:22px
  }
  .approach h2 {
    font-size:30px
  }
  .approach-copy>p {
    font-size:14px
  }
  .benefits {
    gap:10px 20px;
    font-size:10px
  }
  h2 {
    font-size:33px;
    letter-spacing:-1.2px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.6px;
    margin-bottom:16px
  }
  .section-heading {
    display:block;
    margin-bottom:26px
  }
  .section-heading>p {
    margin-top:20px
  }
  .section-heading>.text-link {
    margin-top:16px
  }
  .case-tabs {
    gap:14px
  }
  .case-tabs button {
    font-size:11px;
    gap:8px;
    text-align:left;
    padding:15px 0;
    line-height:1.45
  }
  .case-tabs button span {
    display:none
  }
  .case-panel {
    grid-template-columns:1fr;
    padding-top:30px;
    gap:26px
  }
  .case-copy {
    max-width:none
  }
  .case-copy h3 {
    font-size:30px
  }
  .case-copy>p:not(.eyebrow) {
    font-size:14px
  }
  .case-copy .text-link {
    margin-top:12px
  }
  .workflow {
    padding:24px
  }
  .workflow li {
    padding:14px;
    gap:14px
  }
  .workflow strong {
    font-size:12px
  }
  .workflow li div>span {
    font-size:10px
  }
  .workflow li:not(:last-child):after {
    left:29px
  }
  .case-note {
    text-align:left;
    line-height:1.6
  }
  .process-grid {
    grid-template-columns:1fr;
    gap:28px;
    margin-top:26px
  }
  .process-grid li {
    position:relative;
    padding-left:45px;
    padding-top:22px
  }
  .step-number {
    position:absolute;
    left:0;
    top:26px
  }
  .process-grid h3 {
    margin:0 0 10px;
    font-size:20px
  }
  .process-grid p {
    font-size:14px;
    max-width:none
  }
  .faq-grid {
    grid-template-columns:1fr;
    gap:28px
  }
  summary {
    font-size:14px;
    padding:20px 0
  }
  .contact-grid {
    grid-template-columns:1fr;
    gap:36px
  }
  .contact h2 {
    font-size:46px
  }
  .contact h2 br:last-child {
    display:none
  }
  .contact-copy>p:not(.eyebrow) {
    max-width:100%;
    font-size:14px
  }
  .contact-channels {
    margin-top:22px
  }
  .contact-form-card {
    padding:25px 22px
  }
  .field input,.field textarea,.field select {
    font-size:16px;
    padding:11px 10px
  }
  .field label {
    font-size:11px
  }
  .form-intro {
    font-size:11px
  }
  .consent {
    font-size:11px
  }
  .footer-main {
    gap:24px
  }
  .footer-main>p {
    font-size:10px
  }
  .footer-main nav {
    justify-content:flex-start;
    font-size:12px;
    gap:28px
  }
  .footer-bottom {
    flex-direction:column;
    font-size:9px;
    gap:15px
  }
  .page-intro {
    padding:55px 0
  }
  .page-intro h1 {
    font-size:44px;
    letter-spacing:-1.8px
  }
  .page-intro p:not(.eyebrow) {
    font-size:15px
  }
  .team-grid {
    grid-template-columns:1fr;
    max-width:370px;
    margin-top:30px;
    gap:40px
  }
  .team-card img {
    height:auto
  }
  .award-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .award-stats {
    max-width:370px
  }
  .legal-content h2 {
    font-size:27px
  }
  .legal-content h3 {
    font-size:17px
  }
}

@media(max-width:560px) {
  .contact h2 br:last-child {
    display:initial
  }
}

@media(max-width:360px) {
  .nav-cta {
    display:none
  }
  .menu-toggle {
    margin-left:auto
  }
  .service-card h3 {
    font-size:16px
  }
  .workflow {
    padding:18px
  }
  .workflow li {
    gap:10px;
    padding:12px
  }
  .flow-check {
    display:none
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }
}

/* Selector de idioma: lleva a la misma página en el otro idioma. */
.nav-links .lang-switch {
  padding-left:20px;
  border-left:1px solid var(--line);
  color:var(--muted)
}

.header-actions {
  display:flex;
  align-items:center;
  gap:28px
}

.header-actions .lang-switch {
  font-size:13px;
  padding-block:12px;
  color:var(--muted)
}

.lang-switch:hover {
  color:var(--green);
  text-decoration:underline;
  text-underline-offset:7px
}

/* Con el selector, el menú de escritorio queda justo entre 801 y 1100 px:
   los enlaces no se parten y el espaciado cede un poco. */
.nav-links a {
  white-space:nowrap
}

@media(min-width:801px) and (max-width:1100px) {
  .nav-row {
    gap:14px
  }
  .nav-links {
    gap:16px
  }
  .nav-links .lang-switch {
    padding-left:16px
  }
}

@media(max-width:800px) {
  .nav-links .lang-switch {
    margin-top:8px;
    padding:18px 5px 14px;
    border-left:0;
    border-top:1px solid var(--line)
  }
}

/* En Legal no caben los dos enlaces en móvil; el pie conserva el de idioma. */
@media(max-width:560px) {
  .header-actions .lang-switch {
    display:none
  }
}

/* Aviso de idioma: fijo abajo para no desplazar el contenido. */
.lang-hint {
  position:fixed;
  z-index:40;
  left:50%;
  bottom:calc(16px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  width:min(460px,calc(100% - 32px));
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  padding:12px 12px 12px 20px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 18px 40px -18px rgba(25,55,39,.4);
  font-size:14px;
  line-height:1.4
}

.lang-hint p {
  flex:1 1 180px;
  margin:0;
  color:var(--ink)
}

.lang-hint .button {
  min-height:44px;
  padding:10px 18px;
  font-size:13px
}

.lang-hint-close {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex-shrink:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:22px;
  line-height:1;
  cursor:pointer
}

.lang-hint-close:hover {
  background:var(--sage);
  color:var(--ink)
}
