/* ============================================================
   SISTEMA DE DISEÑO — percivalmonge.com
   Paleta: #0A0F1F · #2563FF · #7C3AED · #00D4BA · #D4AF37
   Fuentes: Sora (main) + Manrope (secondary)
   Mobile-first: base → 768px → 1024px → 1280px
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  /* Colores — sistema oficial */
  --color-bg-deep:       #0A0F1F;
  --color-surface:       #111827;
  --color-blue-electric: #2563FF;
  --color-purple:        #7C3AED;
  --color-teal:          #00D4BA;
  --color-gold:          #D4AF37;
  --color-gray:          #A1A1AA;
  --color-white:         #F9FAFB;
  --color-muted-soft:    #6B7280;
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-hover:  rgba(255, 255, 255, 0.18);

  /* Fuentes */
  --font-main:      'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, var(--color-blue-electric), var(--color-purple));
  --grad-teal:    linear-gradient(135deg, var(--color-teal), var(--color-blue-electric));
  --grad-hero:    linear-gradient(135deg, var(--color-teal) 0%, var(--color-blue-electric) 50%, var(--color-purple) 100%);

  /* Escala tipográfica fluida */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.2vw,  0.8rem);
  --text-sm:   clamp(0.85rem, 0.8rem  + 0.25vw, 0.95rem);
  --text-base: clamp(1rem,    0.95rem + 0.25vw, 1.1rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.25rem);
  --text-xl:   clamp(1.25rem, 1.1rem  + 0.75vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,  1.3rem  + 1vw,    2rem);
  --text-3xl:  clamp(2rem,    1.6rem  + 2vw,    3rem);
  --text-4xl:  clamp(2.5rem,  1.8rem  + 3.5vw,  4.5rem);
  --text-hero: clamp(2.6rem,  2rem    + 4vw,    5.2rem);

  /* Espaciado */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Sombras con color */
  --glow-blue:   0 0 40px rgba(37, 99, 255, 0.25);
  --glow-teal:   0 0 40px rgba(0, 212, 186, 0.2);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.2);

  /* Transiciones */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   0.2s;
  --t-med:    0.4s;
  --t-slow:   0.7s;

  /* Layout */
  --container: 1200px;
  --nav-h:     68px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background-color: var(--color-bg-deep);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   3. ACCESIBILIDAD
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-blue-electric);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: var(--text-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   4. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 255, 0.4);
  border-radius: 3px;
}

/* ============================================================
   5. UTILIDADES GLOBALES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--sp-4);
}

.gradient-text {
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   6. BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8rem 1.8rem;
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--t-fast) ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-primary);
  color: var(--color-white);
  border: 1px solid transparent;
  box-shadow: 0 2px 16px rgba(37, 99, 255, 0.3);
}
.btn--primary:hover {
  box-shadow: 0 4px 28px rgba(37, 99, 255, 0.5);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.btn--outline-gold:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}
.btn--outline-gold svg {
  color: var(--color-gold);
}

.btn--lg {
  padding: 1rem 2.2rem;
  font-size: var(--text-base);
}

/* ============================================================
   7. NAVEGACIÓN
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-med) ease, backdrop-filter var(--t-med) ease,
              border-bottom var(--t-med) ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(10, 15, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-6);
}

/* Logo — monograma PM + wordmark */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-teal);
  border-radius: 50%;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: -0.02em;
  color: var(--color-teal);
  flex-shrink: 0;
  transition: border-color var(--t-fast) ease, color var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
}
.nav__logo:hover .logo-mark {
  border-color: var(--color-blue-electric);
  color: var(--color-blue-electric);
  box-shadow: 0 0 16px rgba(37, 99, 255, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  user-select: none;
}

.logo-text__name {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  display: block;
  padding-bottom: 3px;
}

.logo-text__surname {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-teal);
  display: block;
}

/* Footer logo — versión más grande */
.footer__logo .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 0.72rem;
}
.footer__logo .logo-text__name {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}
.footer__logo .logo-text__surname {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
.nav__links a {
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray);
  transition: color var(--t-fast) ease;
}
.nav__links a:hover {
  color: var(--color-white);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__cta {
  display: none;
  padding: 0.5rem 1.2rem;
  font-size: var(--text-sm);
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--t-fast) ease, opacity var(--t-fast) ease;
}
.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-med) ease, transform var(--t-med) ease;
  z-index: 999;
  border-top: 1px solid var(--color-border);
}
.nav__mobile[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__mobile a {
  font-family: var(--font-main);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gray);
  letter-spacing: -0.02em;
  transition: color var(--t-fast) ease;
}
.nav__mobile a:hover {
  color: var(--color-white);
}
.nav__mobile .btn {
  margin-top: var(--sp-4);
}

/* ============================================================
   8. SECCIONES — BASE
   ============================================================ */
.section {
  padding: var(--sp-24) 0;
}

.section-header {
  margin-bottom: var(--sp-16);
}

.section-header--narrow {
  max-width: 560px;
}

.section-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-top: var(--sp-2);
}

.section-title--md {
  font-size: var(--text-2xl);
}

.section-desc {
  color: var(--color-gray);
  font-size: var(--text-base);
  margin-top: var(--sp-4);
  max-width: 540px;
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.16) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  filter: blur(60px);
}
.hero__orb--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  bottom: 60px;
  left: -60px;
  filter: blur(70px);
}
.hero__orb--3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 212, 186, 0.1) 0%, transparent 70%);
  top: 45%;
  left: 35%;
  filter: blur(50px);
}

.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__label {
  margin-bottom: var(--sp-6);
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: var(--sp-8);
}
.hero__title em {
  font-style: normal;
}

.hero__desc {
  color: var(--color-gray);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.hero__trust {
  font-size: var(--text-sm);
  color: var(--color-muted-soft);
  font-weight: 400;
}
.hero__trust a {
  color: var(--color-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.hero__trust a:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.hero__visual {
  display: none;
  align-items: center;
  justify-content: center;
}
.hero__symbol {
  width: 340px;
  height: 340px;
  color: rgba(0, 212, 186, 0.1);
  transform: rotate(-15deg);
}

/* ============================================================
   10. QUIÉN SOY
   ============================================================ */
.quien__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
}

.quien__text p {
  color: var(--color-gray);
  margin-bottom: var(--sp-6);
  line-height: 1.8;
  font-weight: 400;
}
.quien__text p:last-child {
  margin-bottom: 0;
}

.quien__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8) var(--sp-6);
}

.stat {
  padding: var(--sp-6);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 10px;
}

.stat__num-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--sp-2);
}

.stat__number {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat__suffix {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-teal);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-muted-soft);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ============================================================
   11. STATEMENT
   ============================================================ */
.section--statement {
  padding: var(--sp-24) 0;
  position: relative;
}
.section--statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}
.section--statement::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}

.statement {
  max-width: 800px;
}

.statement__quote {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: var(--sp-8);
  margin-top: var(--sp-4);
  font-style: normal;
  border: none;
  quotes: none;
}
.statement__quote em {
  font-style: normal;
}

.statement__body {
  color: var(--color-gray);
  font-size: var(--text-lg);
  line-height: 1.75;
  max-width: 620px;
  font-weight: 400;
}

/* ============================================================
   12. PROYECTOS
   ============================================================ */
.proyectos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.proyecto-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--sp-8);
  overflow: hidden;
  transition: border-color var(--t-med) ease, transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) ease;
}
.proyecto-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
}

.proyecto-card--blue:hover   { box-shadow: 0 8px 32px rgba(37, 99, 255, 0.15); }
.proyecto-card--cyan:hover   { box-shadow: 0 8px 32px rgba(0, 212, 186, 0.12); }
.proyecto-card--violet:hover { box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15); }
.proyecto-card--gold:hover   { box-shadow: 0 8px 32px rgba(212, 175, 55, 0.12); }

.proyecto-card__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.proyecto-card--blue   .proyecto-card__line { background: var(--color-blue-electric); }
.proyecto-card--cyan   .proyecto-card__line { background: var(--color-teal); }
.proyecto-card--violet .proyecto-card__line { background: var(--color-purple); }
.proyecto-card--gold   .proyecto-card__line { background: var(--color-gold); }

.proyecto-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-soft);
  margin-bottom: var(--sp-4);
  margin-top: var(--sp-2);
}

.proyecto-card__name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}

.proyecto-card__desc {
  color: var(--color-gray);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  font-weight: 400;
}

.proyecto-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
  transition: color var(--t-fast) ease;
}
.proyecto-card__link:hover {
  color: var(--color-white);
}
.proyecto-card--gold .proyecto-card__link {
  color: var(--color-gold);
}
.proyecto-card__link--muted {
  color: var(--color-muted-soft);
  font-size: var(--text-xs);
  font-style: italic;
}

/* ============================================================
   13. EXPERIENCIA
   ============================================================ */
.experiencia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.area-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: var(--sp-6);
  transition: border-color var(--t-med) ease, background var(--t-med) ease,
              box-shadow var(--t-med) ease;
}
.area-card:hover {
  border-color: rgba(0, 212, 186, 0.2);
  box-shadow: 0 4px 20px rgba(0, 212, 186, 0.07);
}

.area-card__icon {
  color: var(--color-teal);
  margin-bottom: var(--sp-4);
  opacity: 0.9;
}

.area-card__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-white);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.area-card__desc {
  color: var(--color-gray);
  font-size: var(--text-xs);
  line-height: 1.65;
  font-weight: 400;
}

/* ============================================================
   14. FILOSOFÍA
   ============================================================ */
.filosofia__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.principio {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--color-border);
}
.principio:last-child {
  border-bottom: 1px solid var(--color-border);
}

.principio__num {
  display: block;
  font-family: var(--font-main);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-4);
}

.principio__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.principio__desc {
  color: var(--color-gray);
  font-size: var(--text-sm);
  line-height: 1.75;
  max-width: 540px;
  font-weight: 400;
}

/* ============================================================
   15. TRAYECTORIA
   ============================================================ */
.trayectoria__list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.trayectoria__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--sp-6);
  position: relative;
  padding-bottom: var(--sp-8);
}

.trayectoria__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-top: 6px;
  flex-shrink: 0;
  position: relative;
}
.trayectoria__item:not(:last-child) .trayectoria__dot::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 3px;
  width: 1px;
  height: calc(100% + var(--sp-8) + 2px);
  background: rgba(212, 175, 55, 0.18);
}

.trayectoria__content h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-white);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.trayectoria__content p {
  color: var(--color-gray);
  font-size: var(--text-sm);
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================================
   16. CTAs ESPECIALES (LinkedIn + Contacto)
   ============================================================ */
.section--linkedin {
  position: relative;
}
.section--linkedin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.section--contacto {
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 255, 0.07) 0%, transparent 65%);
}

.cta-block {
  max-width: 640px;
}
.cta-block--center {
  margin: 0 auto;
  text-align: center;
}
.cta-block--center .label {
  display: block;
}
.cta-block--center .section-title {
  margin: 0 auto var(--sp-6);
}
.cta-block--center p {
  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

.contacto__desc {
  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.contacto__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.footer__tagline {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-muted-soft);
  margin-top: var(--sp-2);
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-8);
}
.footer__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted-soft);
  transition: color var(--t-fast) ease;
}
.footer__nav a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-muted-soft);
  font-weight: 400;
}
.footer__bottom a {
  color: var(--color-gray);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.footer__bottom a:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   18. WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
  z-index: 9999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   19. ANIMACIONES DE ENTRADA
   ============================================================ */
[data-animate-item] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
[data-animate-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   20. ORB FLOAT
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero__orb--1 {
    animation: orb-float 9s ease-in-out infinite;
  }
  .hero__orb--2 {
    animation: orb-float 12s ease-in-out infinite reverse;
  }
  .hero__orb--3 {
    animation: orb-float 7s ease-in-out infinite;
    animation-delay: -3s;
  }
  @keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(20px, -15px); }
    66%       { transform: translate(-15px, 10px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   21. RESPONSIVE — TABLET 768px
   ============================================================ */
@media (min-width: 768px) {

  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__hamburger { display: none; }

  .hero__wrapper {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--nav-h));
  }
  .hero__visual {
    display: flex;
  }

  .quien__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .proyectos__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .filosofia__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
  }
  .principio {
    padding: 0;
    border-top: none;
    border-left: 1px solid var(--color-border);
    padding-left: var(--sp-8);
  }
  .principio:last-child {
    border-bottom: none;
  }
  .principio:first-child {
    border-left: none;
    padding-left: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
  }
  .footer__bottom {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   22. RESPONSIVE — DESKTOP 1024px
   ============================================================ */
@media (min-width: 1024px) {

  :root {
    --nav-h: 72px;
  }

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

  .section {
    padding: var(--sp-32) 0;
  }
  .section--statement {
    padding: var(--sp-24) 0;
  }

  .quien__stats {
    gap: var(--sp-6);
  }

  .footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer__bottom {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   23. RESPONSIVE — WIDE 1280px
   ============================================================ */
@media (min-width: 1280px) {

  .hero__symbol {
    width: 420px;
    height: 420px;
  }

  .statement__quote {
    font-size: clamp(2.5rem, 3.5vw, 4rem);
  }
}

/* ============================================================
   24. RESPONSIVE — PEQUEÑO 375px
   ============================================================ */
@media (max-width: 479px) {

  .container {
    padding: 0 var(--sp-4);
  }

  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .quien__stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

  .experiencia__grid {
    grid-template-columns: 1fr;
  }

  .contacto__buttons {
    flex-direction: column;
    align-items: center;
  }
  .contacto__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
