@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #101112;
  --ink-2: #2f3032;
  --muted: #696a6d;
  --teal: #24c7bb;
  --teal-dark: #087f77;
  --teal-pale: #edf9f7;
  --ivory: #ffffff;
  --sand: #f2f2f0;
  --white: #ffffff;
  --line: #dedfdd;
  --shadow: 0 22px 60px rgba(16, 17, 18, 0.09);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 10px;
  --max: 1180px;
  --font-title: "DM Sans", "Segoe UI", sans-serif;
  --font-ui: "DM Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(33, 184, 166, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

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

.section-pale {
  background: var(--teal-pale);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.65rem, 6.5vw, 5.7rem);
  font-weight: 600;
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
}

.title-accent {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.title-accent::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.08em;
  left: -0.04em;
  height: 0.18em;
  background: var(--teal);
  content: "";
  opacity: 0.75;
}

p {
  margin: 0 0 1.25rem;
}

.lead {
  max-width: 760px;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.section-intro {
  display: grid;
  gap: 22px;
  margin-bottom: 52px;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(36, 199, 187, 0.2);
}

.btn-primary:hover {
  background: #3bd2c7;
}

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

.btn-secondary:hover {
  background: var(--white);
}

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

.diagnostic-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: var(--teal);
  color: var(--ink);
  background: var(--teal);
  box-shadow:
    0 0 0 0 rgba(36, 199, 187, 0.42),
    0 12px 34px rgba(36, 199, 187, 0.3);
  animation: diagnostic-heartbeat 3.2s ease-in-out infinite;
}

.diagnostic-cta::before {
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(36, 199, 187, 0.55);
  border-radius: calc(var(--radius-sm) + 6px);
  content: "";
  opacity: 0;
  animation: diagnostic-halo 3.2s ease-out infinite;
  pointer-events: none;
}

.diagnostic-cta:hover {
  color: var(--ink);
  border-color: #60ddd4;
  background: #60ddd4;
  box-shadow:
    0 0 0 5px rgba(36, 199, 187, 0.16),
    0 16px 38px rgba(36, 199, 187, 0.38);
  animation-play-state: paused;
}

.diagnostic-cta-light {
  color: var(--ink);
  background: var(--teal);
}

@keyframes diagnostic-heartbeat {
  0%,
  72%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(36, 199, 187, 0.36),
      0 12px 34px rgba(36, 199, 187, 0.3);
  }
  78% {
    transform: scale(1.045);
  }
  83% {
    transform: scale(1);
  }
  88% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 10px rgba(36, 199, 187, 0),
      0 16px 40px rgba(36, 199, 187, 0.4);
  }
  93% {
    transform: scale(1);
  }
}

@keyframes diagnostic-halo {
  0%,
  70% {
    transform: scale(0.96);
    opacity: 0;
  }
  78% {
    opacity: 0.72;
  }
  96% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostic-cta,
  .diagnostic-cta::before,
  .earth-aura,
  .earth-route path,
  .spain-target,
  .hero-visual::after,
  .hero-compass-3d,
  .mapping-ring,
  .silk-trail,
  .silk-filament,
  .silk-node-a {
    animation: none;
  }

  .silk-traveller {
    display: none;
  }
}

.resource-band .btn-light,
.cta-band .btn-light {
  color: var(--ink);
  background: var(--teal);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(16, 17, 18, 0.09);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img,
.brand-compass {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 58px;
}

.brand-compass {
  overflow: visible;
  filter: drop-shadow(0 0 7px rgba(36, 199, 187, 0.34));
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-role {
  margin-top: 7px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-family: var(--font-ui);
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--teal);
  content: "";
  transition: transform 180ms ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav .btn {
  color: var(--ink);
  padding: 10px 17px;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

body[data-page="inicio"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 11, 12, 0.96);
}

body[data-page="inicio"] .brand-name,
body[data-page="inicio"] .main-nav a:not(.btn) {
  color: #f5f6f4;
}

body[data-page="inicio"] .brand-role {
  color: var(--teal);
}

body[data-page="inicio"] .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f6f4;
  background: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
}

.hero-dark {
  min-height: 760px;
  color: #f5f6f4;
  background:
    radial-gradient(circle at 72% 58%, rgba(36, 199, 187, 0.08), transparent 32%),
    linear-gradient(128deg, #080b0c 0%, #0d1112 55%, #06090a 100%);
}

.hero-dark::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
}

.hero h1 {
  max-width: 700px;
  color: #f8f8f6;
  font-size: clamp(3rem, 5.8vw, 5.5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
}

.hero .lead {
  max-width: 650px;
  margin-top: 26px;
  color: rgba(248, 248, 246, 0.78);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.65;
}

.hero-dark .eyebrow {
  color: var(--teal);
}

.hero-dark .title-accent::after {
  background: var(--teal);
  opacity: 1;
}

.hero-dark .btn-primary {
  box-shadow: 0 16px 38px rgba(36, 199, 187, 0.16);
}

.btn-ghost {
  color: var(--teal);
  background: transparent;
}

.btn-ghost:hover {
  color: #66e3da;
}

.hero-dark .diagnostic-cta,
.hero-dark .diagnostic-cta:hover {
  color: var(--ink);
  border-color: var(--teal);
  background: var(--teal);
}

.hero-dark .diagnostic-cta:hover {
  border-color: #60ddd4;
  background: #60ddd4;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  inset: -16% -38% -18% -24%;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 70% 47%, rgba(67, 227, 214, 0.18) 0%, rgba(36, 199, 187, 0.07) 30%, transparent 67%),
    radial-gradient(ellipse at 76% 55%, rgba(137, 255, 247, 0.08), transparent 46%);
  content: "";
  filter: blur(12px);
  pointer-events: none;
  transform: rotate(-8deg) translateZ(-80px);
}

.hero-visual::after {
  position: absolute;
  z-index: 5;
  inset: -8% -26% -6% -18%;
  background: linear-gradient(112deg, transparent 35%, rgba(110, 255, 244, 0.055) 50%, transparent 64%);
  content: "";
  pointer-events: none;
  transform: translateX(-90%);
  animation: heroSweep 8s ease-in-out infinite;
}

.data-sky span {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8cfff6;
  box-shadow: 0 0 12px #43e3d6;
}

.data-sky span:nth-child(1) { top: 14%; right: 19%; }
.data-sky span:nth-child(2) { top: 29%; right: 8%; width: 2px; height: 2px; }
.data-sky span:nth-child(3) { top: 47%; left: 34%; width: 3px; height: 3px; }
.data-sky span:nth-child(4) { top: 25%; left: 49%; width: 2px; height: 2px; }
.data-sky span:nth-child(5) { bottom: 23%; left: 19%; width: 3px; height: 3px; }
.data-sky span:nth-child(6) { top: 10%; left: 21%; width: 2px; height: 2px; opacity: .6; }
.data-sky span:nth-child(7) { top: 63%; right: 12%; width: 3px; height: 3px; opacity: .5; }
.data-sky span:nth-child(8) { bottom: 8%; right: 38%; width: 2px; height: 2px; opacity: .65; }
.data-sky span:nth-child(9) { top: 39%; left: 8%; width: 2px; height: 2px; opacity: .5; }

.compass-depth-scene {
  position: absolute;
  z-index: 2;
  inset: -8% -34% -12% -25%;
  perspective: 1500px;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-compass-3d {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 72% 50%;
  filter:
    drop-shadow(0 36px 55px rgba(0, 0, 0, .6))
    drop-shadow(0 0 34px rgba(49, 226, 213, .22));
  mix-blend-mode: lighten;
  opacity: .96;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 13%, #000 31%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 17%, #000 83%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .25) 13%, #000 31%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 17%, #000 83%, transparent 100%);
  mask-composite: intersect;
  transform-origin: 70% 55%;
  animation: compassDepthFloat 10s ease-in-out infinite;
}

.mapping-ring {
  position: absolute;
  z-index: 3;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(119, 255, 246, .32);
  border-radius: 50%;
  box-shadow:
    inset 0 0 26px rgba(49, 226, 213, .08),
    0 0 24px rgba(49, 226, 213, .08);
  opacity: .46;
  transform: rotateX(68deg) rotateZ(-16deg);
  animation: mappingRing 9s linear infinite;
}

.mapping-ring-one {
  top: 25%;
  right: 15%;
}

.mapping-ring-two {
  right: 8%;
  bottom: 16%;
  width: 31%;
  opacity: .24;
  animation-direction: reverse;
  animation-duration: 13s;
}

.hero-route-copy {
  position: absolute;
  z-index: 2;
  top: 20%;
  left: 9%;
  width: 155px;
  color: rgba(248, 248, 246, 0.76);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-route-copy::after {
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 16px;
  background: var(--teal);
  content: "";
}

.silk-map-trails {
  position: absolute;
  z-index: 4;
  inset: -2% -27% -9% -26%;
  width: 134%;
  height: 111%;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(76, 234, 222, .22));
  pointer-events: none;
  transform: rotateY(-12deg) rotateX(7deg) translateZ(30px);
  transform-origin: 50% 90%;
}

.silk-aura,
.silk-trail,
.silk-filament {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.silk-aura {
  stroke: #54eee2;
  stroke-width: 30;
  opacity: .13;
  filter: url(#silkBlur);
}

.silk-trail {
  stroke: url(#silkGlow);
  stroke-width: 3.2;
  stroke-dasharray: 1 8;
  animation: silkFlow 14s linear infinite;
}

.silk-trail-two {
  stroke-width: 1.7;
  opacity: .62;
  animation-duration: 19s;
  animation-direction: reverse;
}

.silk-trail-three {
  stroke-width: 1.15;
  opacity: .38;
  animation-duration: 23s;
}

.silk-filament {
  stroke: rgba(157, 255, 248, .28);
  stroke-width: .8;
  stroke-dasharray: 2 13;
  animation: silkFlow 26s linear infinite reverse;
}

.silk-node {
  fill: #7ff7ee;
  stroke: #0b1213;
  stroke-width: 4;
  filter: drop-shadow(0 0 7px #38ded2);
}

.silk-node-a {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeBreathe 2.8s ease-in-out infinite;
}

.silk-node-soft {
  opacity: .7;
}

.silk-traveller {
  fill: #d8fffc;
  stroke: #24c7bb;
  stroke-width: 3;
  filter: drop-shadow(0 0 12px #6ff5ea);
}

@keyframes earthPulse {
  0%, 100% { opacity: .14; transform: scale(.99); }
  50% { opacity: .32; transform: scale(1.025); }
}

@keyframes earthRoute {
  to { stroke-dashoffset: -102px; }
}

@keyframes compassDepthFloat {
  0%, 100% { transform: perspective(1500px) translate3d(0, 0, 0) rotateY(-1deg) scale(1); }
  50% { transform: perspective(1500px) translate3d(-8px, -10px, 38px) rotateY(1deg) scale(1.012); }
}

@keyframes mappingRing {
  from { transform: rotateX(68deg) rotateZ(-16deg); }
  to { transform: rotateX(68deg) rotateZ(344deg); }
}

@keyframes heroSweep {
  0%, 20% { transform: translateX(-90%); }
  55%, 100% { transform: translateX(110%); }
}

@keyframes silkFlow {
  to { stroke-dashoffset: -180px; }
}

@keyframes nodeBreathe {
  0%, 100% { transform: scale(.82); opacity: .7; }
  50% { transform: scale(1.25); opacity: 1; }
}

.hero-duration {
  position: absolute;
  z-index: 4;
  bottom: 11%;
  left: 2%;
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.hero-duration p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.duration-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--teal);
  color: transparent;
}

.duration-icon::before,
.duration-icon::after {
  position: absolute;
  content: "";
}

.duration-icon::before {
  width: 22px;
  height: 2px;
  background: var(--teal);
  transform: translateY(-8px);
}

.duration-icon::after {
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-top: 0;
  transform: translateY(5px);
}

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

.position-list {
  display: grid;
  padding: 20px 0;
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  letter-spacing: 0.03em;
  text-align: center;
}

.position-list span + span {
  border-left: 1px solid var(--line);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 800;
}

.card h3 + p {
  margin-top: 15px;
}

.card p:last-child {
  margin-bottom: 0;
}

.problem-card {
  position: relative;
  padding-top: 58px;
}

.problem-card::before {
  position: absolute;
  top: 28px;
  left: 30px;
  width: 18px;
  height: 3px;
  background: var(--teal);
  content: "";
}

.three-pillars {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 34px 32px;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.pillar h3 {
  color: var(--teal-dark);
}

.pillar p {
  margin: 12px 0 0;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.service-card .service-index {
  margin-bottom: 48px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card p {
  color: var(--muted);
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
}

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

.split-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.portrait-bw img {
  object-position: 50% 35%;
}

.portrait-strategy img {
  object-position: 55% 40%;
}

.process {
  display: grid;
  margin-top: 48px;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
}

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

.process-step {
  position: relative;
  padding: 30px 28px;
  border-top: 2px solid var(--line);
}

.process-step::before {
  position: absolute;
  top: -7px;
  left: 28px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
  content: "";
}

.process-step .step {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.resource-band {
  display: grid;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--teal-pale);
  gap: 38px;
  grid-template-columns: 1fr auto;
}

.resource-band h2,
.resource-band p,
.cta-band h2,
.cta-band p {
  color: var(--ink);
}

.resource-band .eyebrow,
.cta-band .eyebrow {
  color: var(--teal-dark);
}

.resource-band p {
  max-width: 730px;
}

.page-hero {
  padding: 86px 0 74px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-hero .lead {
  margin-top: 26px;
}

.story-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.story-block h2 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.story-block p {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 1.07rem;
}

.quote {
  margin: 70px 0;
  padding: 38px 0 38px 38px;
  border-left: 5px solid var(--teal);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.35;
}

.detail-list {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
}

.detail-list li::before {
  position: absolute;
  top: 0.74em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.service-detail {
  display: grid;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: 0.6fr 1.4fr;
}

.service-title .service-index {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-content {
  display: grid;
  gap: 32px;
}

.outcome {
  padding: 24px 26px;
  border-left: 4px solid var(--teal);
  background: var(--teal-pale);
}

.outcome p {
  margin: 0;
}

.method-stage {
  display: grid;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  gap: 44px;
  grid-template-columns: 0.5fr 1.5fr;
}

.stage-number {
  color: var(--teal);
  font-family: var(--font-title);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.88;
  opacity: 0.55;
}

.stage-result {
  margin-top: 25px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.values {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.value {
  padding: 30px;
  border-top: 3px solid var(--teal);
  background: var(--white);
}

.value p {
  margin: 12px 0 0;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  font-family: var(--font-ui);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  color: var(--teal-dark);
  content: "+";
  font-size: 1.45rem;
  font-weight: 500;
}

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

.faq details p {
  margin: 0;
  padding: 0 26px 26px;
  color: var(--ink-2);
}

.cta-band {
  padding: 72px 0;
  color: var(--ink);
  background: var(--teal-pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: 1fr auto;
}

.cta-band p {
  max-width: 720px;
}

.form-shell {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
}

.form-copy {
  display: grid;
  align-content: start;
  gap: 30px;
}

.booking-portrait {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.booking-portrait img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 53% 50%;
}

.booking-copy .detail-list {
  margin-top: 28px;
}

.form-card {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: grid;
  margin-bottom: 20px;
  gap: 8px;
}

.field label,
.question legend {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bac5c4;
  border-radius: 10px;
  color: var(--ink);
  background: #fdfdfc;
}

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

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal-dark);
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  background: var(--teal-pale);
}

.form-status.is-visible {
  display: block;
}

.diagnostic {
  display: grid;
  gap: 24px;
}

.lead-capture {
  margin-top: 30px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius-lg);
  background: var(--teal-pale);
  box-shadow: 10px 10px 0 rgba(28, 180, 165, 0.16);
}

.lead-capture h2 {
  margin-bottom: 12px;
}

.lead-capture > p:not(.eyebrow, .form-note, .form-status) {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--ink-2);
}

.lead-capture .field input {
  background: var(--white);
}

.lead-capture .btn {
  margin-top: 8px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-error {
  color: #7a1f1f;
  background: #fff0ef;
}

.form-status a {
  color: inherit;
  font-weight: 700;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
}

.question {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.question legend {
  padding: 0 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.options {
  display: grid;
  margin-top: 16px;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.option {
  position: relative;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option label {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-2);
  background: var(--ivory);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
}

.option input:checked + label {
  border-color: var(--teal-dark);
  color: var(--ink);
  background: var(--teal-pale);
  box-shadow: inset 0 0 0 1px var(--teal-dark);
}

.result-panel {
  display: none;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}

.result-panel.is-visible {
  display: block;
}

.result-panel h2,
.result-panel h3,
.result-panel p {
  color: var(--white);
}

.result-score {
  color: #7ee1d6;
  font-family: var(--font-title);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.score-grid {
  display: grid;
  margin: 30px 0;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.score-row {
  display: grid;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.score-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  grid-column: 1 / -1;
}

.score-bar span {
  display: block;
  height: 100%;
  background: #7ee1d6;
}

.legal {
  padding: 90px 0;
}

.legal h1 {
  margin-bottom: 36px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.legal h2 {
  margin: 42px 0 16px;
  font-size: 1.55rem;
}

.legal p,
.legal li {
  max-width: 850px;
  color: var(--ink-2);
}

.pending-box {
  margin: 30px 0;
  padding: 22px;
  border: 1px solid #c99f45;
  border-radius: var(--radius-sm);
  color: #5f4715;
  background: #fff6dc;
}

.site-footer {
  color: #dfe1e1;
  background: #101112;
}

.footer-grid {
  display: grid;
  padding: 66px 0 46px;
  gap: 48px;
  grid-template-columns: 1.35fr 0.65fr 0.8fr;
}

.footer-brand .brand {
  display: inline-flex;
  color: var(--white);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  max-width: 470px;
  margin-top: 22px;
  color: #b9c9d1;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #c6d4da;
  text-decoration: none;
}

.footer-links a:hover {
  color: #7ee1d6;
}

.footer-bottom {
  display: flex;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #9db0ba;
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  text-decoration: none;
}

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

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

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 24px 20px 30px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    background: var(--ivory);
    box-shadow: 0 18px 30px rgba(36, 54, 70, 0.12);
    flex-direction: column;
    gap: 19px;
  }

  body[data-page="inicio"] .main-nav {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: #0b0e0f;
  }

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

  .main-nav .btn {
    width: 100%;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .form-shell {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

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

@media (max-width: 800px) {
  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 56px 0;
  }

  .hero {
    padding: 54px 0 68px;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .form-shell,
  .service-detail,
  .method-stage {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    min-height: 500px;
    order: 2;
  }

  .hero-dark {
    min-height: auto;
  }

  .hero-duration {
    left: 5%;
  }

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

  .position-list span + span {
    border-left: 0;
  }

  .position-list span:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .card-grid,
  .process,
  .values,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .three-pillars {
    grid-template-columns: 1fr;
  }

  .pillar + .pillar {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-step {
    border-top: 0;
    border-left: 2px solid var(--line);
  }

  .process-step::before {
    top: 34px;
    left: -7px;
  }

  .resource-band,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .resource-band,
  .result-panel {
    padding: 34px 26px;
  }

  .split-image img {
    height: min(130vw, 650px);
  }

  .service-detail {
    gap: 30px;
  }

  .method-stage {
    gap: 22px;
  }

  .stage-number {
    font-size: 4rem;
  }

  .form-copy {
    padding-top: 0;
  }

  .footer-grid {
    gap: 32px;
  }

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

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand img,
  .brand-compass {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-role {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .hero-visual {
    min-height: 410px;
  }

  .compass-depth-scene {
    inset: -4% -43% -9% -38%;
  }

  .hero-route-copy {
    top: 12%;
    left: 10%;
    width: 145px;
    font-size: 0.82rem;
  }

  .hero-duration {
    bottom: 5%;
    left: 4%;
    min-width: 220px;
    padding: 14px 16px;
  }

  .silk-map-trails {
    inset: 3% -36% -5% -35%;
    width: 145%;
    height: 103%;
  }

  .booking-portrait img {
    height: 380px;
  }

  .title-accent {
    white-space: normal;
  }

  .position-list,
  .card-grid.four,
  .field-grid,
  .options,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .position-list span:nth-child(even) {
    border-left: 0;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card,
  .service-card {
    padding: 26px 22px;
  }

  .resource-band {
    padding: 30px 22px;
  }

  .quote {
    padding-left: 22px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .result-panel {
    display: block;
    color: #111;
    background: #fff;
    border: 1px solid #999;
  }

  .result-panel h2,
  .result-panel h3,
  .result-panel p {
    color: #111;
  }

  .result-score {
    color: #087d72;
  }
}
