:root {
  /* Background & Surface */
  --bg: #fafbfc;
  --surface: #f5f7fa;
  --surface-strong: #eff2f7;
  --surface-card: #ffffff;
  
  /* Text */
  --text: #0d1117;
  --text-secondary: #57606a;
  --muted: #5a626e;
  
  /* Borders & Lines */
  --line: #d0d7de;
  --line-subtle: #eaeef2;
  
  /* Brand */
  --brand: #0969da;
  --brand-light: #54a3ff;
  --brand-dark: #0860ca;
  --brand-2: #8957e5;
  --brand-soft: rgba(9, 105, 218, 0.08);
  
  /* Shadows - más definidas, menos azuladas */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.12);
  
  /* Design System */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --transition: 200ms ease;
}

.dark {
  /* Background & Surface */
  --bg: #0d1117;
  --surface: #161b22;
  --surface-strong: #21262d;
  --surface-card: #1c2128;
  
  /* Text */
  --text: #f0f6fc;
  --text-secondary: #b1bac4;
  --muted: #8b949e;
  
  /* Borders & Lines */
  --line: #30363d;
  --line-subtle: #21262d;
  
  /* Brand - menos saturado en dark */
  --brand: #58a6ff;
  --brand-light: #79c0ff;
  --brand-dark: #3b82f6;
  --brand-2: #a371f7;
  --brand-soft: rgba(88, 166, 255, 0.12);
  
  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

/* THEME TOGGLE */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle i {
  font-size: 1.2rem;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

/* MENU TOGGLE */
#menu-toggle {
  display: none;
}

/* SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Segoe UI", "SF Pro Display", "Helvetica Neue", sans-serif;
  background: var(--bg);
}

#lienzo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Se coloca por encima del ::before pero por debajo del texto */
  pointer-events: auto;
}

.hero-copy, .container {
  position: relative;
  z-index: 2; /* Aumentamos ligeramente para asegurar que supere al canvas */
}

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

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

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

.page {
  position: relative;
  overflow-x: hidden;
}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.page::before {
  background:
    linear-gradient(rgba(15, 20, 25, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 20, 25, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
}

.page::after {
  background:
    radial-gradient(circle at 20% 25%, rgba(9, 105, 218, 0.08), transparent 40%),
    radial-gradient(circle at 75% 15%, rgba(137, 87, 229, 0.06), transparent 35%);
  opacity: 1;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.header-left,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-right {
  justify-content: flex-end;
  gap: 12px;
}

.header-toggles {
  display: flex;
  gap: 8px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
}

/* .logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgb(22, 2, 2), var(--muted));
  box-shadow: 0 16px 32px rgba(28, 31, 34, 0.28);
} */

.logo-img {
  width: 38px;  /* Mismo tamaño que tenía el logo-mark */
  height: 38px;
  object-fit: contain; /* Evita que la imagen se deforme */
  border-radius: 8px;  /* Opcional: si quieres mantener bordes redondeados */
}

/* Opcional: Ajustar el espaciado si la imagen queda muy pegada al texto */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.nav-open .site-header {
  z-index: 1100;
}

/* VISIBILITY CLASSES */
.mobile-only {
  display: none !important;
}

@media (max-width: 991px) {
  .mobile-only {
    display: flex !important;
  }
  .desktop-only {
    display: none !important;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a:not(.nav-cta),
.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition), background-color var(--transition);
}

.site-nav a:not(.nav-cta) {
  padding: 10px 14px;
  border-radius: 999px;
}

body.home .site-nav a[href="index.html"]:not(.nav-cta),
body.services .site-nav a[href="servicios.html"]:not(.nav-cta),
body.about .site-nav a[href="nosotros.html"]:not(.nav-cta),
body.success .site-nav a[href="success.html"]:not(.nav-cta),
body.contact .site-nav a[href="contacto.html"]:not(.nav-cta) {
  color: var(--text);
  background: var(--surface-strong);
}

.nav-cta,
.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
}

.nav-cta,
.button {
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover,
.button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button-outline {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface-card);
}

.button-outline:hover {
  background: var(--surface-strong);
  border-color: var(--muted);
  transform: translateY(-2px);
}

.hero,
.subhero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 88px 0;
}

.home .hero {
  isolation: isolate;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: -3;
  overflow: hidden;
}

.hero-background iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 20%, rgba(9, 105, 218, 0.08), transparent 35%),
    linear-gradient(180deg, transparent 0%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.home .hero .eyebrow,
.home .hero .lead {
  color: var(--muted);
}

.home .hero .eyebrow {
  background: var(--surface);
  border-color: var(--line);
}

.home .hero h1 {
  color: var(--text);
  text-shadow: none;
}

.home .hero .button-outline {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface);
}

.home .hero .button-outline:hover {
  background: var(--surface-strong);
}

.subhero {
  padding: 82px 0 34px;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.subhero::before,
.cta-panel::before,
.founders-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(9, 105, 218, 0.04), transparent 50%);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(45, 124, 255, 0.8);
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.gradient-text {
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 36px 0;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand);
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

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

.section-head {
  max-width: 720px;
}

.section-kicker {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cards-4,
.cards-3,
.cards-2,
.contact-grid,
.footer-grid,
.showcase-grid {
  display: grid;
  gap: 24px;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
}

.cards-2,
.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
}

.card,
.cardxx,
.feature-box,
.contact-card,
.form-panel,
.founder-card,
.founders-note,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.card,
.cardxx,
.feature-box,
.founder-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-box {
  padding: 22px 24px;
}

.card,
.cardxx {
  transition: all var(--transition);
}

/* .card-index,
.pill-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(45, 124, 255, 0.22);
} */

.card p,
.cardxx p,
.feature-box p,
.founder-card p,
.service-copy,
.body-copy,
.check-list li,
.feature-list li {
  color: var(--muted);
  line-height: 1.7;
}

.card h3,
.cardxx h3,
.feature-box h3,
.founder-card h3 {
  margin-top: 18px;
}

.card p,
.cardxx p,
.founder-card p {
  margin-top: 12px;
}

.showcase-grid {
  align-items: center;
}

.showcase-copy p {
  margin-top: 18px;
}

.showcase-visual {
  position: relative;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(45, 124, 255, 0.24), rgba(116, 92, 255, 0.12));
  filter: blur(36px);
  z-index: -1;
}

.showcase-visual img {
  width: 100%;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}

.check-list,
.feature-list,
.footer-links,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.check-list li,
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-mark,
.feature-dot {
  flex: 0 0 auto;
}

.check-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 2px;
  color: #fff;
  font-size: 0.82rem;
  background: var(--brand);
}

.founders-note,
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.founders-note {
  padding: 46px;
}

.founders-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.avatar-stack {
  display: flex;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-right: -12px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
}

.process-step {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.cta-panel {
  padding: 56px 42px;
  text-align: center;
}

.cta-panel p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel .button {
  margin-top: 32px;
}

.body-copy {
  margin-top: 14px;
  font-size: 1.03rem;
}

.contact-grid {
  grid-template-columns: 2fr 3fr;
  align-items: start;
}

.contact-column {
  display: grid;
  gap: 18px;
}

.contact-card,
.form-panel {
  border-radius: 26px;
}

.contact-card {
  padding: 24px;
}

.contact-label {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-value {
  margin-top: 8px;
  font-size: 1.1rem;
}

.contact-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-panel {
  padding: 30px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.linkedin-brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;

  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-text {
  color: #0A66C2;
  letter-spacing: -1px;
}

.linkedin-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  border-radius: 6px;

  background: #0A66C2;
  color: white;

  font-size: 1rem;
  line-height: 1;
}

.linkedin-brand:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.instagram-brand {
  display: inline-flex;
  align-items: center;

  text-decoration: none;

  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;

  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );

  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.instagram-brand:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.instagram-text {
  letter-spacing: -1px;
}


.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

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

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  background: var(--surface);
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
  padding: 64px 0 28px;
}

.footer-copy {
  max-width: 360px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  user-select: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
}

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

.center-cta {
  margin-top: 54px;
  text-align: center;
}

.about-hero {
  padding-bottom: 56px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: end;
}

.about-hero-copy {
  max-width: 820px;
}

.about-hero-copy .lead {
  max-width: 740px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-fact,
.about-principle,
.about-signal {
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.about-fact {
  padding: 22px 20px;
  border-radius: var(--radius);
}

.about-principle {
  border-radius: var(--radius);
  padding: 28px;
}

.about-fact-label,
.about-signal-label {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-fact strong,
.about-signal strong {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.1;
}

.about-founders-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.about-founder {
  padding: 38px;
  display: flex;
  flex-direction: column;
}

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

.about-founder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.about-founder-badge {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.about-status {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-founder h2 {
  margin-top: 30px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.about-founder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
}

.about-founder-heading h2 {
  margin-top: 0;
}

.about-founder-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.about-founder-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all var(--transition);
}

.about-founder-links a i {
  font-size: 1.25rem;
}

.about-founder-links a:hover {
  transform: translateY(-2px);
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.about-founder-role {
  margin-top: 10px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-founder-copy {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-tags li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.about-principle {
  border-radius: var(--radius);
  padding: 28px;
}

.about-principle-index {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-principle h3 {
  margin-top: 22px;
  font-size: 1.55rem;
}

.about-principle p,
.about-signal p,
.about-process-row p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.about-process {
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.about-process-row {
  display: grid;
  grid-template-columns: 130px minmax(220px, 0.95fr) minmax(0, 1.7fr) 40px;
  gap: 28px;
  align-items: center;
  min-height: 132px;
  padding: 24px 30px;
}

.about-process-row + .about-process-row {
  border-top: 1px solid var(--line);
}

.about-process-step {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-process-row h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.about-process-arrow {
  justify-self: end;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform var(--transition), color var(--transition), opacity var(--transition);
}

.about-process-row:hover .about-process-arrow {
  transform: translateX(3px);
  color: var(--brand);
  opacity: 1;
}

.about-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.about-signal {
  border-radius: 0;
  padding: 28px 24px;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}

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

.about-signal strong {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.success-card-actions {
  margin-top: 28px;
}

.success-card-link {
  width: 100%;
}

@media (max-width: 1080px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .showcase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid,
  .about-founders-panel,
  .about-principles,
  .about-signals,
  .about-process-row {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 1024px) {
  .hero-copy,
  .about-hero-copy,
  .subhero .container,
  .cta-panel,
  .footer-grid {
    text-align: center;
  }

  .hero-actions,
  .founders-meta,
  .footer-bottom {
    justify-content: center;
  }

  .footer-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-copy {
    margin: 16px auto 0;
  }

  .about-facts {
    margin: 0 auto;
    max-width: 500px;
  }
}

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

  .header-inner {
    justify-content: space-between;
    padding: 0;
  }

  .header-left,
  .header-right {
    flex: 0 1 auto;
    width: auto;
  }

  .header-right {
    gap: 8px;
  }

  #menu-toggle {
    display: flex;
    z-index: 1100;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 8px;
    box-shadow: var(--shadow-strong);
    transition: right 0.3s ease;
    z-index: 1050;
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }

  body.nav-open .site-nav {
    right: 0;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    color: var(--text);
  }

  /* Re-show elements inside site-nav on mobile */
  .site-nav .nav-cta,
  .site-nav .header-toggles {
    display: flex !important;
    margin-top: 24px;
    width: 100%;
  }

  .site-nav .header-toggles {
    padding: 0 16px;
    justify-content: flex-start;
    gap: 12px;
  }

  .site-nav .nav-cta {
    margin-top: 16px;
    justify-content: center;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 64px;
  }

  .subhero,
  .section {
    padding: 72px 0;
  }

  .stats-grid,
  .cards-4,
  .cards-3,
  .cards-2,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .founders-note,
  .cta-panel,
  .form-panel {
    padding: 28px;
  }

  .about-founder,
  .about-principle,
  .about-signal,
  .about-process-row {
    padding: 24px;
  }

  .about-founder-heading {
    align-items: center;
    flex-direction: column;
  }

  .footer-bottom,
  .founders-meta,
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy,
  .cta-panel {
    text-align: center;
  }

  .cta-panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-founder h2,
  .about-process-row h3 {
    font-size: 1.8rem;
  }

  .about-process-row {
    min-height: auto;
  }

  .about-process-arrow {
    justify-self: center;
  }
}

/* =========================================
   CARD BASE - Servicios
   ========================================= */
/* =========================================
   CARDS - Base unified style
   ========================================= */
article.card,
article.cardxx {
  transition: all var(--transition);
}

article.card .card-header,
article.cardxx .card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.2rem;
}

article.card .card-index,
article.cardxx .card-index {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  box-shadow: none;
}

article.card .card-index i,
article.cardxx .card-index i {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

article.card h3,
article.cardxx h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

article.card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

article.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}

article.card:hover h3::after {
  transform: scaleX(1);
}

article.cardxx:hover {
  background: var(--surface-strong);
}

/* =========================================
   SWEETALERT2 CUSTOM STYLES
   ========================================= */

.rydcer-popup {
  border-radius: 16px !important;
  padding: 2.5rem 2rem !important;
  background-color: var(--surface-strong) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow-strong) !important;
  font-family: inherit !important;
}

.rydcer-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  color: var(--text) !important;
}

.rydcer-text {
  font-size: 1.1rem !important;
  color: var(--muted) !important;
  margin-bottom: 1.5rem !important;
}

.rydcer-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}

.rydcer-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(45, 124, 255, 0.3) !important;
}
