/* ============================================================
   FIM SL — styles.css
   minformatica.es · Sergio Galiano · Coín, Málaga
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:        #0d1117;
  --dark2:       #161b22;
  --cyan:        #00b4d8;
  --cyan2:       #0077b6;
  --green:       #00c896;
  --amber:       #f59e0b;
  --red:         #ef4444;
  --text-dark:   #1a1a2e;
  --text-light:  #e8f4f8;
  --text-muted:  #8b949e;
  --bg-light:    #f8fafc;
  --border:      rgba(255,255,255,0.08);
  --border-light: #e2e8f0;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); overflow-x: hidden; line-height: 1.5; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }

/* ── TYPOGRAPHY UTILS ── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 42px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: #64748b; line-height: 1.65; max-width: 580px;
}
.grad-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1140px; margin: 0 auto; }
section    { padding: 90px 48px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--dark); font-weight: 700; font-size: 15px;
  padding: 16px 30px; border-radius: var(--radius-sm);
  text-decoration: none; box-shadow: 0 8px 25px rgba(0,200,150,0.4);
  transition: transform 0.25s, box-shadow 0.25s; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,200,150,0.55); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.18);
  color: white; font-weight: 600; font-size: 15px;
  padding: 16px 30px; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.25s; backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.35); }

.btn-submit {
  width: 100%; padding: 14px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--dark); font-weight: 700; font-size: 15px;
  border-radius: var(--radius-sm); transition: all 0.25s; font-family: inherit;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,180,216,0.4); }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

/* LOGO — solución para logo azul/negro sobre fondo oscuro */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-wrapper {
  /* Contenedor blanco para hacer visible el logo sobre fondo oscuro */
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px;
}
.logo-wrapper img { height: 28px; width: auto; object-fit: contain; }
/* Fallback si no hay imagen: inicial FIM */
.logo-fallback {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: white; font-size: 15px;
}
.logo-text-block { display: flex; flex-direction: column; }
.logo-name { color: white; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.logo-name span { color: var(--cyan); }
.logo-tagline { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.4px; }

nav { display: flex; gap: 4px; align-items: center; }
nav a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover { color: white; background: rgba(255,255,255,0.07); }
nav a.active { color: var(--cyan); }

.btn-soporte-header {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--dark) !important; font-weight: 700 !important; font-size: 13px !important;
  padding: 9px 18px !important; border-radius: 8px !important;
  text-decoration: none !important; transition: all 0.2s !important;
  box-shadow: 0 4px 15px rgba(0,180,216,0.35);
}
.btn-soporte-header:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,180,216,0.55); }

/* ── HERO (index) ── */
.hero {
  min-height: 100vh; background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 48px 80px; position: relative; overflow: hidden; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(0,180,216,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,119,182,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(0,200,150,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(0,180,216,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.3);
  color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: 0.8px;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-badge .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero-ia-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(0,200,150,0.15), rgba(0,180,216,0.1));
  border: 1px solid rgba(0,200,150,0.3);
  border-radius: 30px; padding: 10px 22px; margin-bottom: 32px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9);
}
.hero-ia-pill .ia-icon { font-size: 20px; }
.hero-ia-pill .ia-cta {
  background: var(--green); color: var(--dark);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 20px; text-decoration: none;
  transition: background 0.2s;
}
.hero-ia-pill .ia-cta:hover { background: var(--cyan); }

.hero h1 {
  font-size: clamp(34px, 5.5vw, 68px); font-weight: 900; line-height: 1.06;
  color: white; letter-spacing: -2px; margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.72;
  max-width: 640px; margin: 0 auto 44px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.trust-bar {
  display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.42); font-size: 12.5px; font-weight: 500; }
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,0.1); }

/* ── STATS ── */
.stats {
  background: var(--dark2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 48px;
  display: flex; justify-content: center; gap: 80px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 42px; font-weight: 900; color: var(--cyan); line-height: 1; }
.stat-label { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── WHY US ── */
.why-us { background: var(--bg-light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; margin-top: 48px; }
.why-card {
  background: white; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border-light); transition: all 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--cyan); }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,200,150,0.1));
}
.why-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.why-card p  { font-size: 13.5px; color: #64748b; line-height: 1.65; }

/* ── SERVICES ── */
.services { background: var(--dark); }
.services .section-title { color: white; }
.services .section-sub   { color: rgba(255,255,255,0.42); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px,1fr)); gap: 18px; margin-top: 48px; }

.service-card {
  border-radius: var(--radius); padding: 32px 28px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.07), rgba(0,200,150,0.04));
  transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(0,180,216,0.4); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(0,180,216,0.35); background: rgba(0,180,216,0.05); }

.service-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--dark); background: var(--green);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}
.service-icon { font-size: 30px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.service-card p  { font-size: 13.5px; color: rgba(255,255,255,0.46); line-height: 1.65; }
.service-tags    { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.service-tag {
  font-size: 11px; font-weight: 500; color: rgba(0,180,216,0.8);
  background: rgba(0,180,216,0.08); border: 1px solid rgba(0,180,216,0.14);
  padding: 3px 9px; border-radius: 20px;
}
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cyan); font-size: 13px; font-weight: 600; margin-top: 16px;
  text-decoration: none; transition: gap 0.2s;
}
.service-card:hover .service-arrow { gap: 10px; }

/* ── IA BANNER (en home) ── */
.ia-banner {
  background: linear-gradient(135deg, #0d1117 0%, #0a1f2e 50%, #061a1a 100%);
  padding: 80px 48px; position: relative; overflow: hidden;
  border-top: 1px solid rgba(0,200,150,0.15);
  border-bottom: 1px solid rgba(0,200,150,0.15);
}
.ia-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0,200,150,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(0,180,216,0.08) 0%, transparent 60%);
}
.ia-banner-inner {
  max-width: 1140px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.ia-banner-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.ia-banner h2 { font-size: clamp(26px,3.5vw,44px); font-weight: 900; color: white; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.ia-banner p  { font-size: 16px; color: rgba(255,255,255,0.52); line-height: 1.7; margin-bottom: 28px; }

.ia-quick-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px;
}
.ia-quick-list li,
.ia-quick-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500;
}
.ia-quick-list li::before,
.ia-quick-item::before { content: '→'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.btn-ia {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--dark); font-weight: 700; font-size: 14px;
  padding: 14px 26px; border-radius: var(--radius-sm); text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,200,150,0.4); transition: all 0.25s;
}
.btn-ia:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,200,150,0.55); }

.ia-cards-mini { display: flex; flex-direction: column; gap: 12px; }
.ia-mini-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,200,150,0.12);
  border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.3s;
}
.ia-mini-card:hover { border-color: rgba(0,200,150,0.3); background: rgba(0,200,150,0.06); }
.ia-mini-icon { font-size: 22px; flex-shrink: 0; }
.ia-mini-text h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 3px; }
.ia-mini-text p  { font-size: 12.5px; color: rgba(255,255,255,0.45); }

/* ── SOPORTE BANNER ── */
.soporte-banner {
  background: linear-gradient(135deg, #003554, #005f73, #0077b6);
  padding: 70px 48px; text-align: center; position: relative; overflow: hidden;
}
.soporte-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,200,150,0.15) 0%, transparent 70%);
}
.soporte-banner .container { position: relative; z-index: 1; }
.soporte-banner h2 { font-size: clamp(24px,3.5vw,44px); font-weight: 900; color: white; letter-spacing: -1px; margin-bottom: 12px; }
.soporte-banner p  { font-size: 17px; color: rgba(255,255,255,0.62); margin: 0 auto 32px; max-width: 540px; }
.soporte-dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--dark); font-weight: 800; font-size: 16px;
  padding: 17px 34px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,200,150,0.45); transition: all 0.25s;
}
.soporte-dl-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 36px rgba(0,200,150,0.6); }
.soporte-note { font-size: 12px; color: rgba(255,255,255,0.32); margin-top: 16px; }

/* ── PARTNERS / CERTIFICACIONES ── */
.partners { background: var(--bg-light); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 20px; margin-top: 48px; }
.partner-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border-light); text-align: center; transition: all 0.3s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.partner-logo-box {
  width: 70px; height: 70px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}
.partner-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.partner-type  { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; display: block; }
.partner-card p { font-size: 13.5px; color: #64748b; line-height: 1.65; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,200,150,0.08); border: 1px solid rgba(0,200,150,0.22);
  color: #059669; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; margin-top: 12px;
}

/* ── PROCESS ── */
.process { background: white; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 0; margin-top: 48px; }
.process-step { padding: 36px 30px; text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -8px; top: 42px; font-size: 22px; color: #cbd5e1;
}
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--dark); font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p  { font-size: 13.5px; color: #64748b; line-height: 1.65; }

/* ── PERITO JUDICIAL ── */
.perito {
  background: linear-gradient(135deg, #0d0d1a 0%, #0d1a2e 50%, #0a1628 100%);
  padding: 90px 48px; position: relative; overflow: hidden;
}
.perito::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(239,68,68,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(245,158,11,0.05) 0%, transparent 60%);
}
.perito-inner {
  max-width: 1140px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.perito-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.perito-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.perito-badge.red   { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.perito-badge.amber { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }

.perito h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 900; color: white; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.perito-desc { font-size: 15.5px; color: rgba(255,255,255,0.52); line-height: 1.72; margin-bottom: 26px; }
.perito-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.perito-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.5; }
.perito-list li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 14px; margin-top: 1px; flex-shrink: 0; }

.btn-perito {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: var(--radius-sm); text-decoration: none;
  box-shadow: 0 6px 20px rgba(220,38,38,0.4); transition: all 0.25s;
}
.btn-perito:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(220,38,38,0.55); }

.perito-card-visual {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(239,68,68,0.18);
  border-radius: 20px; padding: 38px; position: relative; overflow: hidden;
}
.perito-credential { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(239,68,68,0.65); margin-bottom: 6px; }
.perito-name  { font-size: 22px; font-weight: 900; color: white; margin-bottom: 4px; }
.perito-title { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 24px; line-height: 1.5; }
.perito-specialties { display: flex; flex-direction: column; gap: 10px; }
.specialty {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.05);
}
.specialty-icon { font-size: 18px; flex-shrink: 0; }
.specialty-text { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 500; }
.perito-url {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12.5px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 8px;
}
.perito-url a { color: rgba(239,68,68,0.65); text-decoration: none; font-weight: 600; }
.perito-url a:hover { color: #fca5a5; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--dark2); padding: 90px 48px; }
.testimonials .section-title { color: white; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-top: 48px; }
.testi-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color 0.3s;
}
.testi-card:hover { border-color: rgba(0,180,216,0.3); }
.stars { color: var(--amber); font-size: 14px; margin-bottom: 12px; }
.testi-card blockquote { font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.72; font-style: italic; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--dark); font-size: 12px;
}
.testi-name    { font-size: 13px; font-weight: 600; color: white; }
.testi-company { font-size: 11.5px; color: var(--text-muted); }

/* ── CONTACT ── */
.contacto { background: var(--dark); padding: 90px 48px; }
.contacto-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.contact-info h2 { font-size: clamp(24px,3vw,38px); font-weight: 900; color: white; letter-spacing: -1px; margin-bottom: 12px; }
.contact-info > p { font-size: 15.5px; color: rgba(255,255,255,0.47); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 13px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.contact-row-label { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.28); }
.contact-row-val   { font-size: 14px; color: rgba(255,255,255,0.75); font-weight: 500; line-height: 1.55; }
.contact-row-val a { color: var(--cyan); text-decoration: none; }
.contact-row-val a:hover { text-decoration: underline; }

.contact-webs { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.web-link {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--cyan); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.web-link:hover { color: var(--green); }
.web-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.2);
  color: var(--cyan); padding: 2px 8px; border-radius: 20px;
}
.web-link.perito-web { color: #fca5a5; }
.web-link.perito-web .web-badge { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: #fca5a5; }

.contact-form-box {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.contact-form-box h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.form-group label { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.4); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 11px 13px; color: white;
  font-family: inherit; font-size: 14px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--cyan); }
.form-group textarea { min-height: 88px; resize: vertical; }
.form-group select option { background: var(--dark2); }

/* ── FOOTER ── */
footer { background: #080d13; border-top: 1px solid var(--border); padding: 44px 48px; }
.footer-top {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-partners-row { display: flex; gap: 9px; flex-wrap: wrap; }
.fp-badge {
  font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.07); padding: 4px 12px; border-radius: 20px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy {
  max-width: 1140px; margin: 22px auto 0;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 11px; color: rgba(255,255,255,0.15); text-align: center;
}

/* ── IA PAGE SPECIFIC ── */
.ia-hero {
  min-height: 80vh; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px; position: relative; overflow: hidden; text-align: center;
}
.ia-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%,  rgba(0,200,150,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,180,216,0.1) 0%, transparent 60%);
}

.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; margin-top: 52px; }
.advantage-card {
  background: white; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--border-light); border-top: 3px solid var(--cyan);
  transition: all 0.3s;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-top-color: var(--green); }
.advantage-num { font-size: 36px; font-weight: 900; color: rgba(0,180,216,0.2); line-height: 1; margin-bottom: 12px; }
.advantage-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.advantage-card p  { font-size: 13.5px; color: #64748b; line-height: 1.65; }

.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; margin-top: 48px; }
.use-case {
  background: var(--dark2); border-radius: 14px; padding: 24px 20px;
  border: 1px solid var(--border); text-align: center; transition: all 0.3s;
}
.use-case:hover { border-color: rgba(0,200,150,0.3); transform: translateY(-3px); }
.use-case-icon { font-size: 32px; margin-bottom: 12px; }
.use-case h3 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 7px; }
.use-case p  { font-size: 12.5px; color: rgba(255,255,255,0.42); line-height: 1.55; }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; max-width: 760px; }
.faq-item {
  background: white; border-radius: 12px; border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 22px; text-align: left; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(0,180,216,0.04); }
.faq-q .faq-arrow { color: var(--cyan); font-size: 18px; transition: transform 0.3s; flex-shrink: 0; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  font-size: 14px; color: #64748b; line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-a.open { max-height: 300px; padding: 0 22px 18px; }

/* ── HAMBURGUESA Y MENÚ MÓVIL ── */
#menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 38px; height: 38px; padding: 0; background: none; border: none; cursor: pointer;
  border-radius: 8px; transition: background 0.2s;
}
#menu-toggle:hover { background: rgba(255,255,255,0.08); }
#menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: rgba(13,17,23,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 16px 20px 20px;
  gap: 4px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 11px 14px; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
#mobile-menu a:hover,
#mobile-menu a.active { background: rgba(255,255,255,0.07); color: white; }
#mobile-menu .mobile-soporte {
  display: flex; align-items: center; gap: 9px; margin-top: 10px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--dark) !important; font-weight: 700 !important;
  justify-content: center; border-radius: 10px; padding: 13px 14px;
}
#mobile-menu .mobile-soporte:hover { opacity: 0.9; }

/* ── PROTO BAR ── */
.proto-bar {
  background: rgba(0,200,150,0.1); border-bottom: 1px solid rgba(0,200,150,0.22);
  padding: 8px 48px; text-align: center;
  font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 0.5px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .perito-inner  { grid-template-columns: 1fr; gap: 40px; }
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
  .ia-banner-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav a:not(.btn-soporte-header) { display: none; }
  #menu-toggle { display: flex; }
  section { padding: 60px 20px; }
  .hero, .ia-hero { padding: 100px 20px 60px; }
  .stats { padding: 36px 20px; gap: 36px; }
  .process-step:not(:last-child)::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 36px 20px; }
  .soporte-banner, .perito, .ia-banner { padding: 60px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .proto-bar { padding: 8px 20px; }
}
