/* ==========================================================================
   Francisco Nasich — Base: Variables, Reset & Utilidades
   ========================================================================== */

/* ==========================================================================
   Francisco Nasich — Landing
   Paleta: naranja #ff6e2f · rosa #fe426a · light premium · Inter
   ========================================================================== */

/* Animated border — @property para interpolar el ángulo del conic-gradient */
@property --btn-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes btn-border-spin {
  to { --btn-border-angle: 360deg; }
}

/* --- Inter self-hosted (Latin, 400/500/600) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Variables (branding) --- */
:root {
  /* Brand */
  --orange: #ff6e2f;
  --orange-600: #ef5a1a;
  --pink: #fe426a;
  --pink-600: #e8305a;
  --grad: linear-gradient(135deg, #ff6e2f 0%, #fe426a 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 110, 47, 0.10) 0%, rgba(254, 66, 106, 0.10) 100%);
  --grad-wash: linear-gradient(180deg, rgba(255, 110, 47, 0.05) 0%, rgba(254, 66, 106, 0.00) 100%);

  /* Neutrals (light premium) */
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #f5f5f7;
  --text: #0a0a0a;
  --text-2: #374151;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;
  --border: #ececef;
  --border-strong: #d8d8de;
  --border-soft: #f1f1f3;

  /* Legacy aliases (mantienen retro-compat con selectores existentes) */
  --gold: var(--orange);
  --gold-dim: rgba(255, 110, 47, 0.08);
  --gold-border: var(--border);
  --gold-glow: rgba(255, 110, 47, 0.10);
  --white: #ffffff;
  --off: var(--text);
  --gray: var(--text-muted);
  --gray2: var(--border-strong);
  --black: #0a0a0a;
  --card: var(--surface);
  --card2: var(--surface-2);

  /* Tipografía */
  --ft: 'Inter', system-ui, -apple-system, sans-serif;
  --fb: 'Inter', system-ui, -apple-system, sans-serif;
  --fbt: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 112px;

  /* Layout */
  --container: 1180px;
  --nav-h: 68px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Transiciones */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease);
  --transition-base: 0.3s var(--ease);
  --transition-slow: 0.7s var(--ease-out-expo);

  /* Sombras premium (light) */
  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 2px 8px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 10, 10, 0.05), 0 10px 28px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 8px 24px rgba(10, 10, 10, 0.06), 0 20px 60px rgba(10, 10, 10, 0.10);
  --shadow-glow: 0 8px 28px rgba(255, 110, 47, 0.22), 0 2px 6px rgba(254, 66, 106, 0.16);
  --shadow-glow-lg: 0 16px 48px rgba(255, 110, 47, 0.28), 0 4px 12px rgba(254, 66, 106, 0.18);
  --shadow-gold: var(--shadow-glow); /* alias legacy */
  --shadow-card: var(--shadow-sm); /* alias legacy */
  --ring: 0 0 0 4px rgba(255, 110, 47, 0.16);
}

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

h1, h2, h3 {
  font-family: var(--ft);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

::selection {
  background: rgba(255, 110, 47, 0.22);
  color: var(--text);
}

/* Utilidad: gradient text */
.gold,
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

section {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.is-hidden {
  display: none !important;
}

