:root {
  --ink: #1F2937;
  --body: #5B6472;
  --paper: #FFFFFF;
  --paper-soft: #F7F8FA;
  --line: #E7E9EC;
  --blue: #3B72AA;
  --blue-dark: #2C5A88;
  --orange: #F4A227;
  --purple: #A555A6;
  --red: #E0503F;
  --green: #4FA657;
  --radius: 10px;
  --soft-blue: #F4F7FB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

ul {
  margin: 0;
  padding: 0;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -24px) scale(1.06); }
  66% { transform: translate(-14px, 14px) scale(0.96); }
}

@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: .55; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes underlineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes grainDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-26px, -26px); }
}

@keyframes accentShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes introGlowPulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes introLogoIn {
  0% { opacity: 0; transform: scale(.3) rotate(-20deg); }
  55% { opacity: 1; transform: scale(1.14) rotate(4deg); }
  75% { transform: scale(.96) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes introLetterIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introUnderline {
  to { width: 44px; }
}

@keyframes introTextIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.show > * {
  animation: fadeUp .6s cubic-bezier(.2, .7, .3, 1) both;
}

.reveal-stagger.show > *:nth-child(1) { animation-delay: .02s; }
.reveal-stagger.show > *:nth-child(2) { animation-delay: .08s; }
.reveal-stagger.show > *:nth-child(3) { animation-delay: .14s; }
.reveal-stagger.show > *:nth-child(4) { animation-delay: .20s; }
.reveal-stagger.show > *:nth-child(5) { animation-delay: .26s; }
.reveal-stagger.show > *:nth-child(6) { animation-delay: .32s; }
.reveal-stagger.show > *:nth-child(7) { animation-delay: .38s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .blob, .hero-mark img, .brand-mark img, .hero-grain, .hero-glow, .ring, .hero h1 .accent {
    animation: none !important;
  }
  #introSplash {
    display: none !important;
  }
}

/* ==========================================
   MARCA / LOGO (PETALS)
   ========================================== */
.petals { display: inline-flex; }
.petals svg { display: block; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .35s ease;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}

/* ==========================================
   INTRO SPLASH
   ========================================== */
#introSplash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #fbfaf7 55%, #f6f5f1 100%);
  overflow: hidden;
  clip-path: circle(150% at 50% 50%);
  -webkit-clip-path: circle(150% at 50% 50%);
  transition: clip-path .9s cubic-bezier(.65, 0, .35, 1), -webkit-clip-path .9s cubic-bezier(.65, 0, .35, 1);
}
#introSplash.hide {
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
}
.intro-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.intro-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .4;
  animation: blobMove 13s ease-in-out infinite;
}
.intro-orb.o1 { width: 300px; height: 300px; background: var(--orange); top: -70px; left: -60px; }
.intro-orb.o2 { width: 260px; height: 260px; background: var(--purple); bottom: -70px; right: -40px; animation-delay: 2.2s; animation-duration: 16s; }
.intro-orb.o3 { width: 230px; height: 230px; background: var(--blue); top: 56%; right: 6%; animation-delay: 4.4s; animation-duration: 19s; opacity: .28; }
.intro-orb.o4 { width: 180px; height: 180px; background: var(--green); bottom: 10%; left: 8%; animation-delay: 1.1s; animation-duration: 17s; opacity: .22; }

.intro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .45s ease, transform .45s ease;
}
.intro-inner.closing { opacity: 0; transform: scale(.9) translateY(6px); }

.intro-ring-wrap {
  position: relative;
  width: 156px;
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,39,.32), transparent 70%);
  filter: blur(12px);
  animation: introGlowPulse 2.3s ease-in-out infinite;
  z-index: 0;
}
.intro-progress { position: absolute; inset: 0; width: 156px; height: 156px; transform: rotate(-90deg); z-index: 1; }
.intro-progress-track { fill: none; stroke: var(--line); stroke-width: 2; }
.intro-progress-bar {
  fill: none;
  stroke: url(#introGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 389.6;
  stroke-dashoffset: 389.6;
  transition: stroke-dashoffset .08s linear;
}
.intro-orbit { position: absolute; width: 156px; height: 156px; z-index: 1; animation: spinSlow 5.5s linear infinite; }
.intro-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.intro-dot.d1 { top: 0; left: 50%; margin-left: -3px; background: var(--orange); color: var(--orange); }
.intro-dot.d2 { bottom: 20px; right: 6px; background: var(--purple); color: var(--purple); }
.intro-dot.d3 { bottom: 20px; left: 6px; background: var(--blue); color: var(--blue); }

.intro-logo {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow: 0 20px 40px rgba(31,41,55,0.18), 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0;
  transform: scale(.3) rotate(-20deg);
  animation: introLogoIn .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: .2s;
}
.intro-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-text { margin-top: 26px; text-align: center; position: relative; z-index: 1; }
.intro-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; color: var(--blue-dark); letter-spacing: .04em; }
.intro-title span { display: inline-block; opacity: 0; transform: translateY(14px); animation: introLetterIn .55s cubic-bezier(.2,.7,.3,1) forwards; }
.intro-title span:nth-child(1) { animation-delay: .42s; }
.intro-title span:nth-child(2) { animation-delay: .47s; }
.intro-title span:nth-child(3) { animation-delay: .52s; }
.intro-title span:nth-child(4) { animation-delay: .57s; }
.intro-title span:nth-child(5) { animation-delay: .62s; }
.intro-title span:nth-child(6) { animation-delay: .67s; }
.intro-title span:nth-child(7) { animation-delay: .72s; }
.intro-underline {
  width: 0;
  height: 2px;
  margin: 9px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue));
  animation: introUnderline .5s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: .86s;
}
.intro-sub {
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  color: #9AA1AC;
  opacity: 0;
  transform: translateY(6px);
  animation: introTextIn .6s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: .95s;
}
.intro-percent {
  margin-top: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  color: #9AA1AC;
  opacity: 0;
  font-variant-numeric: tabular-nums;
  animation: introTextIn .5s ease forwards;
  animation-delay: .3s;
}

/* ==========================================
   NAVEGACIÓN
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--blue-dark); }
.brand-text span { display: block; font-family: 'Inter', sans-serif; font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; color: #9AA1AC; margin-top: 1px; }

.navlinks { display: flex; gap: 34px; align-items: center; }
.navlinks a { font-size: 14.5px; font-weight: 500; color: var(--body); transition: color .2s ease; position: relative; }
.navlinks a:not(.cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navlinks a:not(.cta):hover::after, .navlinks a.active::after { transform: scaleX(1); }
.navlinks a:hover, .navlinks a.active { color: var(--blue-dark); }
.navlinks .cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.navlinks .cta:hover {
  background: #e2941f;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(244, 162, 39, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width: 820px) {
  .nav-toggle { display: flex; }
  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .35s ease, opacity .3s ease;
    box-shadow: 0 14px 24px rgba(31, 41, 55, 0.08);
  }
  .navlinks.open { max-height: 420px; opacity: 1; visibility: visible; }
  .navlinks a:not(.cta) { display: block; padding: 14px 32px; width: 100%; }
  .navlinks a:not(.cta)::after { display: none; }
  .navlinks .cta { margin: 10px 32px 6px; text-align: center; }
}

/* ==========================================
   HERO
   ========================================== */
.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero-decor { position: absolute; inset: 0; pointer-events: none; transition: transform .35s ease-out; will-change: transform; }
.hero-decor.far { z-index: 0; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  animation: blobMove 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob.b1 { width: 280px; height: 280px; background: var(--orange); top: -60px; right: 120px; }
.blob.b2 { width: 220px; height: 220px; background: var(--purple); bottom: -40px; right: -40px; animation-delay: 2s; }
.blob.b3 { width: 200px; height: 200px; background: var(--green); top: 40px; left: -60px; animation-delay: 4s; }
.blob.b4 { width: 180px; height: 180px; background: var(--blue); top: 200px; right: -70px; animation-delay: 1.2s; animation-duration: 18s; }
.blob.b5 { width: 150px; height: 150px; background: var(--red); bottom: 60px; left: 120px; animation-delay: 3.4s; animation-duration: 16s; opacity: .24; }

.hero-grain {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31,41,55,0.09) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: .5;
  animation: grainDrift 26s linear infinite;
  mask-image: radial-gradient(circle at 60% 30%, rgba(0,0,0,.9), transparent 72%);
}

.hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; color: var(--ink); }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--blue-dark) 0%, var(--purple) 45%, var(--orange) 75%, var(--blue-dark) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accentShine 7s linear infinite;
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media(max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--body); margin-bottom: 18px; }
.hero p.lead { margin-top: 20px; font-size: 16.5px; line-height: 1.65; color: var(--body); max-width: 480px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  display: inline-block;
}
.btn-primary:hover {
  background: #e2941f;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 162, 39, 0.35);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.stat-row { display: flex; gap: 36px; margin-top: 44px; }
.stat b { display: block; font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--body); }

.hero-mark { display: flex; justify-content: center; position: relative; z-index: 1; perspective: 900px; }
.hero-mark-inner { position: relative; transition: transform .25s ease-out; will-change: transform; }
.hero-glow {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244,162,39,0.38), rgba(165,85,166,0.18) 55%, transparent 72%);
  filter: blur(22px);
  animation: glowPulse 4.2s ease-in-out infinite;
}
.hero-mark .ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  animation: pulseRing 3.2s ease-out infinite;
}
.hero-mark .ring.r2 { animation-delay: 1.1s; border-color: var(--purple); }
.hero-mark .ring.r3 {
  width: 264px;
  height: 264px;
  top: -22px;
  left: -22px;
  border: 1.5px dashed rgba(44,90,136,0.4);
  animation: spinSlow 20s linear infinite;
}
.hero-mark img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  animation: floatY 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 34px rgba(31, 41, 55, 0.18));
  background: #fff;
  padding: 18px;
}

/* ==========================================
   CODE MOCK (Programación)
   ========================================== */
.code-mock {
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(31,41,55,0.22);
  max-width: 380px;
  width: 100%;
}
.code-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #171d27; border-bottom: 1px solid #2a3140; }
.code-mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.code-mock-bar .d1 { background: #F4A227; }
.code-mock-bar .d2 { background: #4FA657; }
.code-mock-bar .d3 { background: #E0503F; }
.code-mock-title { margin-left: 8px; font-size: 12px; color: #8992A0; font-family: 'Inter', sans-serif; }
.code-mock-body { padding: 22px 18px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; line-height: 1.9; color: #D7DDE5; }
.code-mock-body p { margin: 0; white-space: pre; }
.tk-key { color: #F4A227; }
.tk-fn { color: #7FB3E0; }
.tk-arg { color: #C9A6D6; }
.tk-str { color: #8FCB93; }
.code-mock-footer { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid #2a3140; }
.cm-chip { font-size: 11px; font-weight: 600; color: #B7C0CC; background: rgba(255,255,255,0.06); padding: 5px 10px; border-radius: 12px; }

/* ==========================================
   SECCIONES Y SERVICIOS
   ========================================== */
section { padding: 76px 0; }
.section-head { max-width: 600px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(24px, 2.8vw, 32px); }
.section-head p { margin-top: 14px; font-size: 15px; color: var(--body); line-height: 1.6; }

.services { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(31, 41, 55, 0.08); border-color: transparent; }
.svc .dot {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform .35s ease;
}
.svc:hover .dot { transform: scale(1.12) rotate(-6deg); }
.svc .dot svg { width: 17px; height: 17px; }
.svc h3 { font-size: 16.5px; margin-bottom: 8px; }
.svc p { font-size: 13.8px; color: var(--body); line-height: 1.55; margin: 0; }
.svc.wide { grid-column: 1 / -1; }

/* ==========================================
   STRIP
   ========================================== */
.strip { padding: 40px 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; text-align: center; }
.strip-label { font-size: 12.5px; font-weight: 600; color: var(--body); width: 100%; text-align: center; margin-bottom: 6px; }
.strip-items { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.strip-items span { font-size: 13.5px; font-weight: 500; color: var(--ink); transition: color .2s ease; }
.strip-items span:hover { color: var(--orange); }

/* ==========================================
   NOSOTROS + CONTACTO
   ========================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media(max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { font-size: 15px; color: var(--body); line-height: 1.7; margin-bottom: 14px; }

.contact-card { background: var(--paper-soft); border: 1px solid var(--line); padding: 32px; border-radius: 16px; transition: box-shadow .3s ease; }
.contact-card:hover { box-shadow: 0 20px 40px rgba(31, 41, 55, 0.07); }
.contact-card h3 { font-size: 19px; margin-bottom: 6px; }
.contact-card p.sub { color: var(--body); font-size: 13.5px; margin-bottom: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--body); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 114, 170, 0.15); }
.field textarea { resize: vertical; min-height: 76px; }

.contact-card button { width: 100%; margin-top: 4px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.contact-card button:disabled { opacity: .45; cursor: not-allowed; }
.contact-card button:disabled:hover { transform: none; box-shadow: none; background: var(--orange); }
.contact-meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--body); line-height: 1.8; }

/* CAPTCHA */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.captcha-box.verified { border-color: #BFE0C4; background: #F5FBF6; }
.captcha-checkbox {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 2px solid #C7CBD1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: border-color .2s ease, background .2s ease;
  position: relative;
}
.captcha-checkbox:hover { border-color: var(--blue); }
.captcha-box.verified .captcha-checkbox { border-color: var(--green); background: var(--green); }
.captcha-checkbox svg { width: 16px; height: 16px; stroke: #fff; opacity: 0; transform: scale(0.4); transition: opacity .2s ease, transform .2s ease; }
.captcha-box.verified .captcha-checkbox svg { opacity: 1; transform: scale(1); }
.captcha-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #D7DAE0;
  border-top-color: var(--blue);
  display: none;
  animation: spinSlow .7s linear infinite;
}
.captcha-box.checking .captcha-checkbox svg { display: none; }
.captcha-box.checking .captcha-spinner { display: block; }
.captcha-box.checking .captcha-checkbox { border-color: #D7DAE0; }
.captcha-label { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink); user-select: none; cursor: pointer; }
.captcha-brand { display: flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid var(--line); }
.captcha-brand svg { width: 26px; height: 26px; color: var(--body); flex-shrink: 0; }
.captcha-brand span { font-size: 9.5px; line-height: 1.3; color: #9AA1AC; }

/* CONTACT INFO */
.contact-info-stack { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(31, 41, 55, 0.06); }
.info-card .dot { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .dot svg { width: 17px; height: 17px; }
.info-card h4 { font-size: 13.5px; margin-bottom: 2px; }
.info-card p { margin: 0; font-size: 13px; color: var(--body); line-height: 1.5; }

/* ==========================================
   SERVICE PICKER (HOME)
   ========================================== */
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media(max-width: 800px) { .picker-grid { grid-template-columns: 1fr; } }

.picker-card {
  border-radius: 20px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.picker-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(31, 41, 55, 0.16); }
.picker-card.prog { background: var(--ink); color: #fff; }
.picker-card.gorse { background: #D8C46C; color: #3B3416; }

.picker-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }
.picker-card h3 { font-size: 24px; margin-bottom: 12px; }
.picker-card.prog h3 { color: #fff; }
.picker-card p { font-size: 14.5px; line-height: 1.6; opacity: .88; margin: 0 0 24px; max-width: 380px; }

.picker-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.picker-tags span { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); }
.picker-card.gorse .picker-tags span { background: rgba(59, 52, 22, 0.12); }

.picker-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.picker-card.prog .picker-link { color: #fff; }
.picker-card.gorse .picker-link { color: #3B3416; }
.picker-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.picker-card:hover .picker-link svg { transform: translateX(4px); }

.picker-mark { position: absolute; right: -26px; bottom: -26px; width: 150px; opacity: .55; filter: grayscale(1) brightness(2); pointer-events: none; }
.picker-card.gorse .picker-mark { opacity: .18; filter: none; }

/* ==========================================
   WHY US
   ========================================== */
.why-us { background: var(--soft-blue); padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
@media(max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card { background: #fff; border-radius: 16px; padding: 26px 22px; border: 1px solid var(--line); }
.why-card .why-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #FDF0DA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-card .why-ico svg { width: 20px; height: 20px; stroke: var(--orange); }
.why-card h4 { font-size: 15px; margin-bottom: 6px; color: var(--blue-dark); }
.why-card p { font-size: 13.5px; color: var(--body); margin: 0; line-height: 1.55; }

/* ==========================================
   CATÁLOGO DE APIs Y MODAL
   ========================================== */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(max-width: 700px) { .catalog-grid { grid-template-columns: 1fr; } }

.catalog-module { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px; transition: box-shadow .3s ease; }
.catalog-module:hover { box-shadow: 0 12px 24px rgba(31, 41, 55, 0.06); }
.catalog-module summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}
.catalog-module summary::-webkit-details-marker { display: none; }
.catalog-module summary .catalog-toggle { font-size: 18px; color: #2C5A88; transition: transform .25s ease; }
.catalog-module[open] summary .catalog-toggle { transform: rotate(45deg); }
.catalog-count { background: rgba(43, 114, 194, 0.12); color: #2C5A88; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-left: 10px; }
.catalog-module ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.catalog-module li { font-size: 13.5px; color: var(--body); line-height: 1.5; }
.catalog-module code {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 12.5px;
  color: #2C5A88;
  font-family: monospace;
  margin-right: 4px;
}
.catalog-note { font-size: 13.5px; color: var(--body); margin: 0 0 18px; line-height: 1.55; }
.catalog-footnote { text-align: center; margin-top: 24px; font-size: 13px; color: var(--body); }
.catalog-footnote a { color: #2C5A88; font-weight: 600; text-decoration: underline; }

/* MODAL OVERLAY & BOX */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 20px;
  background: rgba(31, 41, 55, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
  overflow-y: auto;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 60px rgba(31, 41, 55, 0.28);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), opacity .3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--paper-soft);
  color: var(--body);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.modal-close:hover { background: #EDEFF2; color: var(--ink); transform: rotate(90deg); }
@media(max-width: 640px) { .modal-box { padding: 32px 20px 24px; } }

/* ==========================================
   GORSE THEME (AMARILLO CÁLIDO)
   ========================================== */
.gorse-hero { background: #D8C46C; color: #2A2510; padding: 76px 0 64px; position: relative; overflow: hidden; }
.gorse-hero .eyebrow { color: #5c5325; }
.gorse-hero h1 { color: #201C0B; }
.gorse-hero p.lead { color: #4a4322; }

.gorse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.4);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: #2A2510;
  margin-bottom: 18px;
}

.gorse-logo-card {
  background: #D8C46C;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gorse-logo-card img { width: 100%; max-width: 300px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.15)); display: block; }

.btn-gorse {
  background: #2A2510;
  color: #F3E9BE;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
  display: inline-block;
}
.btn-gorse:hover { background: #171407; transform: translateY(-2px); }

.btn-gorse-ghost {
  border: 1.5px solid rgba(42, 37, 16, 0.3);
  color: #2A2510;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  transition: border-color .2s ease, transform .2s ease;
  display: inline-block;
}
button.btn-gorse-ghost { background: none; font-family: 'Inter', sans-serif; cursor: pointer; }
.btn-gorse-ghost:hover { border-color: #2A2510; transform: translateY(-2px); }

.gorse-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width: 900px) { .gorse-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .gorse-feat-grid { grid-template-columns: 1fr; } }

.gorse-feat {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gorse-feat:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(31, 41, 55, 0.07); }
.gorse-feat .dot {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #F3E9BE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.gorse-feat .dot svg { width: 17px; height: 17px; color: #8a7a1f; }
.gorse-feat h3 { font-size: 15.5px; margin-bottom: 6px; }
.gorse-feat p { font-size: 13.5px; color: var(--body); line-height: 1.55; margin: 0; }

.gorse-cta {
  background: #2A2510;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  color: #F3E9BE;
}
.gorse-cta h2 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.gorse-cta p { color: #C9BE93; font-size: 14.5px; margin-bottom: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }

.gorse-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media(max-width: 900px) { .gorse-templates { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .gorse-templates { grid-template-columns: 1fr; } }

.tpl-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.tpl-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(31, 41, 55, 0.08); }
.tpl-swatch { height: 96px; background: #D8C46C; display: flex; align-items: center; justify-content: center; }
.tpl-swatch svg { width: 34px; height: 34px; color: #2A2510; opacity: .7; }
.tpl-body { padding: 16px 18px; }
.tpl-body h4 { font-size: 14px; margin-bottom: 4px; }
.tpl-body p { margin: 0; font-size: 12.5px; color: var(--body); line-height: 1.5; }

/* ==========================================
   GORSE THEME VARIANT (AZUL - OPCIONAL)
   Descomentar para habilitar variante azul
   ========================================== */
/*
body.gorse-blue .gorse-hero { background: #EAF3FC; color: #1B3A57; }
body.gorse-blue .gorse-hero .eyebrow { color: #2C5A88; }
body.gorse-blue .gorse-hero h1 { color: #17324A; }
body.gorse-blue .gorse-hero p.lead { color: #3B5570; }
body.gorse-blue .gorse-badge { background: rgba(43,114,194,0.14); color: #2C5A88; }
body.gorse-blue .gorse-logo-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 34px rgba(31,41,55,0.08); }
body.gorse-blue .btn-gorse { background: #3B72AA; color: #fff; }
body.gorse-blue .btn-gorse:hover { background: #2C5A88; }
body.gorse-blue .btn-gorse-ghost { border-color: rgba(43,114,194,0.35); color: #2C5A88; }
body.gorse-blue .gorse-feat .dot { background: #E2F1E3; }
body.gorse-blue .gorse-feat .dot svg { color: #2E8B4F; }
body.gorse-blue .gorse-cta { background: #2C5A88; color: #E4EEF8; }
body.gorse-blue .gorse-cta p { color: #BBD3EA; }
*/

/* ==========================================
   FOOTER
   ========================================== */
footer { background: var(--ink); color: #A6ACB6; padding: 40px 0 24px; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #313A48; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; transition: color .2s ease; }
.foot-links a:hover { color: #fff; }

.foot-bottom { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.foot-social { display: flex; gap: 12px; align-items: center; }
.foot-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #242C39;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.foot-social a:hover { background: var(--orange); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; fill: #D7DDE5; }