/* ==========================================================================
   PIN FIBER - SISTEMA DE DISEÑO FLAT MODERN & TELECOM STYLE
   Inspirado en Tigo Colombia con Identidad Visual de PIN FIBER Ecuador
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
  /* Paleta Corporativa PIN FIBER */
  --pinfiber-cyan: #00A3FF;           /* Azul Cian de filamentos de luz */
  --pinfiber-cyan-glow: rgba(0, 163, 255, 0.35);
  --pinfiber-cyan-light: #52C4FF;
  --pinfiber-blue: #0037B3;           /* Azul Corporativo Tigo Style */
  --pinfiber-blue-dark: #002275;
  --pinfiber-blue-royal: #0D47A1;
  --pinfiber-night: #070F26;          /* Azul Noche Profundo Tecnológico */
  --pinfiber-night-surface: #0E1B38;
  --pinfiber-night-card: #13244D;
  --pinfiber-yellow: #FFC700;         /* Amarillo Promocional (Flyer Oficial) */
  --pinfiber-yellow-hover: #E0AE00;
  
  /* Escala de Grises y Superficies Clean */
  --color-white: #FFFFFF;
  --color-bg-light: #F4F7FB;
  --color-bg-card: #FFFFFF;
  --color-border-light: #E3EAF3;
  --color-border-glow: rgba(0, 163, 255, 0.25);
  --color-text-title: #0037B3;
  --color-text-body: #475569;
  --color-text-muted: #64748B;
  --color-text-light: #F8FAFC;

  /* Botones y Formas - Radio Requerido 100px */
  --radius-pill: 100px;
  --radius-card-xl: 32px;
  --radius-card: 24px;
  --radius-card-sm: 16px;
  --radius-sm: 8px;

  /* Sombras y Luces Flat Modern */
  --shadow-sm: 0 4px 12px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 55, 179, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 55, 179, 0.12);
  --shadow-glow: 0 12px 30px rgba(0, 163, 255, 0.35);
  --shadow-glow-yellow: 0 10px 25px rgba(255, 199, 0, 0.4);
  --shadow-glow-inset: inset 0 0 20px rgba(0, 163, 255, 0.2);

  /* Transiciones Suaves */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Tipografía */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-width: 85%;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-light);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Tipografía Flat Modern */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-title);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title {
  color: #FFFFFF !important;
}

.hero-title .text-cyan {
  color: #00D2FF !important;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Contenedores y Layout Estandarizado al 85% */
.container {
  width: 85%;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .container {
    width: 90%;
    max-width: 90%;
  }
}

.container-narrow {
  width: 85%;
  max-width: min(85%, 1100px);
}

.section-py {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.section-title-wrap {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 163, 255, 0.12);
  color: #0077E6;
  padding: 0.45rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0, 163, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 163, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-badge.badge-yellow {
  background: rgba(255, 199, 0, 0.16);
  color: #B28800;
  border-color: rgba(255, 199, 0, 0.4);
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.15);
}

.section-title {
  color: var(--pinfiber-blue) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  font-weight: 500;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Clases Utilitarias */
.text-cyan { color: var(--pinfiber-cyan) !important; }
.text-yellow { color: var(--pinfiber-yellow) !important; }
.text-white { color: var(--color-white) !important; }
.text-center { text-align: center !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }

.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-bg-light); }
.bg-night { background-color: var(--pinfiber-night); color: var(--color-white); }
.bg-blue { background-color: var(--pinfiber-blue); color: var(--color-white); }
