/* ================================================================
   LABA Studio — DEV (Design System implementation)
   Tokens from: LABA Studio Design System/colors_and_type.css
   Layout/components from: LABA Studio Design System/redesign/
   ================================================================ */

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Latin.woff2') format('woff2-variations'),
       url('./fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Latin-Italic.woff2') format('woff2-variations'),
       url('./fonts/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  /* Brand palette */
  --color-azul:        #0079BF;
  --color-navy:        #093574;
  --color-azul-claro:  #4290E2;
  --color-cyan:        #54E1F8;
  --color-celeste:     #45D4F2;
  --color-white:       #FFFFFF;
  --color-ice:         #E6F2F9;
  --color-ice-mid:     #CFE5F3;
  --color-gray-light:  #E8EDF2;
  --color-gray:        #4A5866;   /* WCAG AA+ on --ice (5.8 ratio) */
  --color-gray-soft:   #9FC5E8;   /* WCAG AA on --navy (5.2 ratio) */

  /* Semantic shortcuts */
  --navy:    var(--color-navy);
  --azul:    var(--color-azul);
  --ice:     var(--color-ice);
  --ice2:    var(--color-ice-mid);
  --white:   var(--color-white);
  --gray:    var(--color-gray);
  --gray-lt: var(--color-gray-light);
  --cyan:    var(--color-cyan);

  /* Layout */
  --max:    1160px;
  --radius: 10px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 30px 15px rgba(51, 51, 51, 0.10);
  --shadow-btn:  0 10px 10px 0 rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 2px 16px rgba(9, 53, 116, 0.07);

  /* Type */
  --font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* =========================================
   DARK MODE TOKENS
   ========================================= */
:root[data-theme="dark"] {
  --color-white:       #0B1A33;
  --color-ice:         #152547;
  --color-ice-mid:     #1E3360;
  --color-gray-light:  #24365C;
  --color-gray:        #B3C2D6;
  --color-gray-soft:   #C9DFF0;
  --color-navy:        #E8EDF2;
  --navy:              #E8EDF2;
  --ice:               #152547;
  --ice2:              #1E3360;
  --white:             #0B1A33;
  --gray:              #B3C2D6;
  --gray-lt:           #24365C;
}
:root[data-theme="dark"] .svc-block.navy,
:root[data-theme="dark"] section.bg-navy,
:root[data-theme="dark"] footer {
  background: #050E1F;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: var(--azul); text-decoration: none; }
a:hover { opacity: 0.85; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
   A11Y — skip link + global focus-visible
   ========================================= */
.skip-link {
  position: absolute;
  top: 0; left: 0;
  padding: 10px 18px;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 6px 0;
  transform: translateY(-120%);
  transition: transform 0.18s ease;
  z-index: 2000;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  opacity: 1;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.form-submit:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--navy);
}

/* =========================================
   AUTH GATE (preserved + restyled w/ DS)
   ========================================= */
#auth-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--ice) 0%, #ffffff 100%);
  padding: 1.5rem;
}
#auth-gate[hidden] { display: none; }

.auth-box {
  width: 100%;
  max-width: 22rem;
  text-align: center;
  background: #fff;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-lt);
  box-shadow: 0 12px 40px rgba(9, 53, 116, 0.10);
}
.auth-box img { margin: 0 auto 16px; height: 48px; width: auto; }
.auth-box h2 {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-box > p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
#auth-form { display: grid; gap: 0.75rem; }
#auth-form input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--gray-lt);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s;
}
#auth-form input:focus { border-color: var(--azul); }
#auth-form .btn {
  margin-top: 4px;
  justify-content: center;
}
#auth-error {
  color: #c0392b;
  font-size: 0.8125rem;
  margin: 4px 0 0;
}

/* =========================================
   NAV
   ========================================= */
#nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-lt);
  transition: box-shadow 0.2s;
}
#nav.scrolled { box-shadow: var(--shadow-soft); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 19px; letter-spacing: 0.04em; color: var(--navy);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { line-height: 1; }
.nav-logo small {
  display: block; font-size: 8px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy);
}

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--navy); transition: color 0.15s;
}
.nav-links a:hover { color: var(--azul); opacity: 1; }

.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 700 !important; font-size: 14px !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85 !important; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.2s;
}

/* Theme toggle */
.theme-toggle {
  background: none; border: 1px solid var(--gray-lt);
  border-radius: 50%; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy);
  margin-left: 12px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.theme-toggle:hover { border-color: var(--azul); color: var(--azul); }
.theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun  { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: inline-block; }

/* Active section marker */
.nav-links a[aria-current="page"] {
  color: var(--azul);
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--azul); border-radius: 1px;
}

.nav-mobile {
  display: none; background: #fff; border-top: 1px solid var(--gray-lt);
  padding: 20px 32px 24px;
}
.nav-mobile a {
  display: block; padding: 10px 0; font-size: 17px; font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--gray-lt);
}
.nav-mobile a:last-child { border-bottom: none; }

/* =========================================
   SECTIONS / TYPE
   ========================================= */
section { padding: 96px 0; }
section.bg-ice  { background: var(--ice); }
section.bg-navy { background: var(--navy); }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--azul); margin-bottom: 16px;
}
.section-label.light { color: var(--cyan); }

h1 {
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.025em; color: var(--navy);
}
h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em; color: var(--navy);
}
h2.light { color: #fff; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }

p.lead { font-size: 18px; line-height: 1.65; color: var(--gray); }
p.lead.light { color: #9FC5E8; }

.divider {
  width: 48px; height: 3px; background: var(--azul);
  border-radius: 2px; margin: 20px 0 32px;
}
.divider.white { background: var(--cyan); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-family);
  font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { opacity: 0.87; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--azul);  color: #fff; }
.btn-navy    { background: var(--navy);  color: #fff; }
.btn-ghost   { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-white   { background: #fff; color: var(--navy); }
.btn-wa      { background: #25D366; color: #fff; }
.btn-full    { width: 100%; }

/* =========================================
   HERO
   ========================================= */
#hero {
  padding: 100px 0 96px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-isotipo {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  height: 520px; opacity: 0.07; pointer-events: none; user-select: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ice); border-radius: var(--radius-pill);
  padding: 6px 16px; font-size: 13px; font-weight: 700; color: var(--azul);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: ''; display: block; width: 7px; height: 7px;
  background: var(--azul); border-radius: 50%;
}
.hero-desc {
  font-size: 18px; color: var(--gray); line-height: 1.65;
  margin: 24px 0 36px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px 0 0;
  font-size: 13px; font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.01em;
}
.hero-chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip-dot { animation: none; }
}

/* =========================================
   STACKS SECTION (logo-wall as text chips)
   ========================================= */
.stacks-section {
  padding: 56px 0 64px;
  border-top: 1px solid var(--gray-lt);
  border-bottom: 1px solid var(--gray-lt);
  background: var(--white);
}
.stacks-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
  text-align: center; margin-bottom: 32px;
}
.stacks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
}
.stack-chip {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px;
  padding: 18px 14px;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.stack-chip:hover {
  border-color: var(--azul);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(9, 53, 116, 0.06);
}
.stack-name {
  font-size: 14px; font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em;
}
.stack-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--azul);
}
.stacks-note {
  font-size: 12px; color: var(--gray);
  text-align: center; margin-top: 24px; font-style: italic;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

.hero-cards { display: flex; flex-direction: column; gap: 16px; }
.hcard {
  display: block; text-decoration: none;
  background: var(--ice); border-radius: var(--radius);
  padding: 24px 28px; border-left: 3px solid var(--azul);
  color: var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hcard:hover {
  opacity: 1;
  transform: translateX(4px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 53, 116, 0.08);
}
.hcard:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
}
.hcard h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.hcard p  { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 10px; }
.hcard-cta {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--azul);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--gray-lt);
  border-radius: var(--radius); overflow: hidden;
  margin-top: 16px;
}
.hstat { background: #fff; padding: 20px; text-align: center; }
.hstat-n { font-size: 26px; font-weight: 900; color: var(--azul); line-height: 1; }
.hstat-l { font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.3; }

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--gray-lt); border-radius: var(--radius); overflow: hidden;
  margin-top: 56px;
}
.svc-block { background: #fff; padding: 48px 40px; }
.svc-block.navy { background: var(--navy); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc-icon img { width: 24px; height: 24px; }
.svc-icon.ice  { background: var(--ice); }
.svc-icon.dark { background: #2C5288; }
.svc-block h3 { font-size: 22px; margin-bottom: 10px; }
.svc-block h3.light { color: #fff; }
.svc-block p { color: var(--gray); font-size: 15px; line-height: 1.65; margin: 10px 0 20px; }
.svc-block p.light { color: #9FC5E8; }
.svc-features {
  list-style: none; margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--gray);
}
.svc-features li.light { color: #9FC5E8; }
.svc-features li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--azul); margin-top: 8px;
}
.svc-features li.light::before { background: var(--cyan); }

/* =========================================
   SVC SECTIONS (Tiendas / Landings — dev2 split)
   ========================================= */
.svc-section-head { max-width: 720px; margin-bottom: 40px; }
.svc-section-head .svc-icon.svc-icon-lg {
  width: 68px; height: 68px; border-radius: 18px;
  margin-bottom: 20px;
}

.svc-detail-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 24px; align-items: start;
}
.svc-detail-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 36px; border: 1px solid var(--gray-lt);
}
.svc-detail-card h3 {
  font-size: 17px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--gray-lt);
}
.svc-detail-card h3.light { color: #fff; border-bottom-color: rgba(255,255,255,0.12); }
.svc-detail-card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.svc-detail-meta { display: flex; flex-direction: column; }
.svc-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dashed var(--gray-lt);
  gap: 16px;
}
.svc-meta-row:first-child { padding-top: 0; }
.svc-meta-row.light { border-bottom-color: rgba(255, 255, 255, 0.10); }
.svc-meta-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray);
}
.svc-meta-row.light .svc-meta-label { color: var(--color-gray-soft); }
.svc-meta-value {
  font-size: 15px; font-weight: 700; color: var(--navy);
  text-align: right;
}
.svc-meta-row.light .svc-meta-value { color: #fff; }

/* =========================================
   WHY US
   ========================================= */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.why-card {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--gray-lt); background: #fff;
}
.why-card h3 {
  font-size: 17px; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-lt);
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why-list li {
  font-size: 14px; color: var(--gray);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.4;
}
.why-list li::before {
  content: '✓'; color: var(--azul); font-weight: 900;
  flex-shrink: 0; font-size: 13px; margin-top: 1px;
}

/* =========================================
   PROCESS
   ========================================= */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  overflow: hidden; margin-top: 56px;
}
.pstep { background: var(--navy); padding: 36px 28px; position: relative; }
.pstep-num {
  font-size: 56px; font-weight: 900;
  color: rgba(255, 255, 255, 0.08); line-height: 1; margin-bottom: 16px;
}
.pstep h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.pstep p  { font-size: 14px; color: var(--color-gray-soft); line-height: 1.55; }
.pstep-accent {
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--azul);
}
.pstep:nth-child(even) .pstep-accent { background: var(--cyan); }

/* =========================================
   SUPPORT
   ========================================= */
.support-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px;
}
.support-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-lt); background: #fff;
}
.support-head {
  padding: 28px 32px; background: var(--ice);
  border-bottom: 1px solid var(--gray-lt);
}
.support-head h3 { font-size: 20px; margin-bottom: 4px; }
.support-head p  { font-size: 14px; color: var(--gray); }
.support-body { padding: 28px 32px; }
.support-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.support-list li {
  font-size: 14px; color: var(--gray);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.4;
}
.support-list li::before {
  content: ''; flex-shrink: 0; width: 5px; height: 5px;
  border-radius: 50%; background: var(--azul); margin-top: 8px;
}
.support-note {
  font-size: 13px; color: #888; line-height: 1.5;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--gray-lt); font-style: italic;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  margin-top: 56px; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); overflow: hidden; background: #fff;
}
.faq-item { border-bottom: 1px solid var(--gray-lt); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-family);
  font-size: 16px; font-weight: 700; color: var(--navy);
  line-height: 1.4; transition: background 0.15s;
}
.faq-q:hover { background: var(--ice); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ice);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.15s;
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--azul); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--azul); }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  display: none; padding: 0 28px 22px;
  font-size: 15px; color: var(--gray); line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* =========================================
   CONTACT
   ========================================= */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-left h2 { margin-bottom: 8px; }
.contact-left p {
  color: var(--gray); font-size: 16px; line-height: 1.65; margin: 20px 0 32px;
}
.contact-wa {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--navy); font-weight: 700; font-size: 16px;
  border: 1px solid var(--gray-lt);
  transition: border-color 0.15s;
}
.contact-wa:hover { border-color: #25D366; opacity: 1; }
.contact-wa-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-wa-icon svg { width: 22px; height: 22px; fill: #fff; }
.contact-wa small {
  display: block; font-weight: 400; font-size: 13px; color: var(--gray);
}
.contact-alt { margin-top: 24px; font-size: 14px; color: var(--gray); }

.contact-form {
  background: #fff; border: 1px solid var(--gray-lt);
  border-radius: var(--radius); padding: 36px;
}
.contact-form h3 { margin-bottom: 4px; }
.contact-form .form-intro {
  font-size: 14px; color: var(--gray); margin-bottom: 24px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--gray-lt); border-radius: 8px;
  font-family: var(--font-family); font-size: 15px; color: var(--navy);
  background: #fff; outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--azul); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; background: var(--azul); color: #fff; border: none;
  border-radius: var(--radius-pill); padding: 15px;
  font-family: var(--font-family); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s; margin-top: 4px;
}
.form-submit:hover { opacity: 0.87; }
.form-success { text-align: center; padding: 40px 20px; display: none; }
.form-success-mark {
  font-size: 40px; margin-bottom: 16px; color: var(--azul);
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p  { color: var(--gray); font-size: 15px; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: var(--navy); padding: 64px 0 32px; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; color: #fff; font-weight: 900; font-size: 18px;
}
.footer-logo img { height: 28px; }
.footer-desc {
  font-size: 14px; color: var(--color-gray-soft);
  line-height: 1.65; max-width: 260px; margin-bottom: 24px;
}
.footer-social a { font-size: 13px; color: var(--cyan); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--color-gray-soft);
  margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap; gap: 12px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.35); margin-left: 16px;
  background: none; border: none; cursor: pointer; font: inherit; padding: 0;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.6); opacity: 1; }

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  opacity: 1;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================
   LEGAL MODALS
   ========================================= */
.legal-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  background: rgba(9, 53, 116, 0.55);
  padding: 20px;
}
.legal-modal[aria-hidden="false"] { display: flex; }
.legal-modal-content {
  background: #fff; border-radius: 12px;
  max-width: 640px; width: 100%; max-height: 85vh;
  overflow-y: auto; padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(9, 53, 116, 0.25);
}
.legal-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ice); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--navy); line-height: 1;
}
.legal-modal-close:hover { background: var(--ice2); }
.legal-modal-title {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-right: 32px;
}
.legal-modal-body { font-size: 15px; color: var(--gray); line-height: 1.65; }
.legal-modal-body p { margin-bottom: 12px; }
.legal-modal-footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--gray-lt);
  font-size: 13px; color: #888;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float, #nav { transition: none; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-isotipo { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 900px) {
  .stacks-grid { grid-template-columns: repeat(3, 1fr); }
  .theme-toggle { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .why-grid { gap: 16px; }
  .wa-float { bottom: 20px; right: 20px; }
  .svc-block { padding: 36px 28px; }
  .legal-modal-content { padding: 28px 24px; }
  .stacks-grid { grid-template-columns: repeat(2, 1fr); }
}
