/*
Theme Name: Ismael Torres - Dual-Web & Tech Theme
Theme URI: https://ismaeltorres.es
Author: Ismael Torres | Tu Socio Tecnológico
Author URI: https://ismaeltorres.es
Description: Tema ultraligero a medida con arquitectura Dual-Web (Capa Humana + Capa Agéntica WebMCP). Estética Clean Light & High Trust para negocios deportivos.
Version: 1.4.2
License: GNU General Public License v2 or later
Text Domain: ismael-tech-theme
*/

/* Tipografía Local de Alto Rendimiento (Zero RTT Latency) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/plus-jakarta-sans-latin-variable.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --it-bg: #f8fafc;
  --it-surface: #ffffff;
  --it-surface-card: #ffffff;
  --it-surface-hover: #f1f5f9;
  --it-border: #e2e8f0;
  --it-border-hover: #cbd5e1;
  --it-border-focus: #4f46e5;
  --it-text-main: #0f172a;
  --it-text-muted: #475569;
  --it-accent-blue: #0284c7;
  --it-accent-indigo: #4f46e5;
  --it-accent-emerald: #059669;
  --it-card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --it-card-hover-shadow: 0 20px 35px -4px rgba(15, 23, 42, 0.1), 0 8px 16px -2px rgba(15, 23, 42, 0.06);
  --it-glow: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.06), transparent 70%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
}

body {
  background-color: var(--it-bg);
  color: var(--it-text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

#main-content {
  width: 100%;
  overflow-x: clip;
}

* {
  box-sizing: border-box;
}

.it-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR LIMPIA LIGHT */
.it-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--it-border);
  padding: 14px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.it-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom-color: #cbd5e1;
}

.it-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.it-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.it-badge-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.it-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.it-nav-links a {
  color: var(--it-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s, background-color 0.2s;
  position: relative;
  padding: 4px 0;
}

.it-nav-links a:hover {
  color: var(--it-accent-indigo);
}

.it-nav-links a.is-active {
  color: var(--it-accent-indigo) !important;
  font-weight: 700;
}

.it-nav-cta {
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: background-color 0.2s, transform 0.2s !important;
}

.it-nav-cta:hover {
  background: #334155 !important;
  transform: translateY(-1px);
}

.it-nav-agent-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 9999px !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.2s ease !important;
}

.it-nav-agent-btn:hover {
  background: #1e293b !important;
  border-color: #60a5fa !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3) !important;
  transform: translateY(-1px);
}

.it-drawer-agent-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.it-drawer-agent-btn:hover {
  background: #1e293b !important;
  border-color: #60a5fa !important;
}

/* HERO SECTION */
.it-hero {
  position: relative;
  padding: 105px 0 40px 0;
  text-align: center;
  background: var(--it-glow);
}

.it-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4338ca;
  margin-bottom: 18px;
}

.it-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.it-hero-title {
  font-size: clamp(1.5rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 auto 20px auto;
  max-width: 1020px;
  color: #0f172a;
}

.it-gradient-text {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  text-rendering: optimizeLegibility;
}

.it-hero-eyebrow {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--it-accent-indigo);
  margin-bottom: 8px;
}

.it-hero-main {
  display: block;
  font-size: clamp(1.48rem, 4.2vw, 3.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
}

.it-hero-bottom {
  display: block;
  font-size: clamp(1.48rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.26;
  margin-top: 4px;
  overflow: visible;
}

.it-hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--it-text-muted);
  max-width: 760px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.it-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.it-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  border: none;
  cursor: pointer;
}

.it-btn-primary:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.it-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #ffffff;
  color: #0f172a !important;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 12px;
  text-decoration: none !important;
  border: 1px solid var(--it-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.it-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--it-accent-indigo) !important;
}

/* COMPROMISOS OPERATIVOS / BARRA DE CONFIANZA */
.it-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 16px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--it-card-shadow);
}

.it-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

/* SECCION SOBRE MI / SOCIO TECNOLOGICO (CON FOTO) */
.it-about-section {
  padding: 10px 0 0 0;
}

.it-about-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 24px;
  padding: 44px;
  position: relative;
  box-shadow: var(--it-card-shadow);
}

.it-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #4f46e5);
}

@media (max-width: 860px) {
  .it-about-card {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }
}

.it-profile-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.it-profile-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.it-profile-badge-float {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: #ffffff;
  border: 1px solid #10b981;
  color: #059669;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* COMPARATIVA VISUAL: OBSTACULOS VS SOLUCION */
.it-compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 90px;
}

@media (max-width: 820px) {
  .it-compare-cards-grid { grid-template-columns: 1fr; }
}

.it-compare-card {
  border-radius: 22px;
  padding: 36px 32px;
  background: #ffffff;
  border: 1px solid var(--it-border);
  box-shadow: var(--it-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.it-card-pain {
  border-top: 4px solid #ef4444;
  background: #ffffff;
}

.it-card-sol {
  border-top: 4px solid #10b981;
  background: #ffffff;
}

.it-compare-header {
  margin-bottom: 24px;
}

.it-compare-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.it-badge-red {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.it-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.it-compare-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.it-compare-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.it-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.it-item-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.it-icon-red {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.it-icon-green {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.it-item-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.it-item-desc {
  font-size: 0.9rem;
  color: var(--it-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* CARDS DE SERVICIOS Y ECOSISTEMA */
.it-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.it-section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--it-accent-indigo);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

.it-section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  color: #0f172a;
}

.it-section-subtitle {
  font-size: 1.15rem;
  color: var(--it-text-muted);
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .it-sub-br { display: inline; }
}

.it-pricing-grid,
.it-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 90px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .it-pricing-grid,
  .it-ecosystem-grid { grid-template-columns: 1fr; }
}

.it-pricing-card {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 22px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--it-card-shadow);
  transition: all 0.3s ease;
}

.it-card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.it-pricing-card:hover .it-card-icon-box {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.05);
}

/* CARDS DE ECOSISTEMA CON THUMBNAIL FOTOGRÁFICO DEPORTIVO */
.it-eco-card {
  padding: 0;
  overflow: hidden;
}

.it-eco-thumb {
  position: relative;
  height: 140px;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.it-eco-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.88;
}

.it-pricing-card:hover .it-eco-thumb img {
  transform: scale(1.08);
  opacity: 1;
}

.it-eco-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.it-eco-icon-badge {
  position: absolute;
  bottom: 12px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  z-index: 2;
  transition: all 0.25s ease;
}

.it-pricing-card:hover .it-eco-icon-badge {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

.it-eco-body {
  padding: 24px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* SECCIÓN CÓMO TRABAJO (EQUIPO AGÉNTICO) */
.it-team-box {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--it-card-shadow);
  margin-bottom: 90px;
}

.it-team-headline {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 36px auto;
}

.it-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .it-team-grid { grid-template-columns: 1fr; }
  .it-team-box { padding: 26px 20px; }
}

.it-team-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.it-team-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: var(--it-card-hover-shadow);
}

.it-team-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.it-team-card-desc {
  font-size: 0.93rem;
  color: var(--it-text-muted);
  line-height: 1.6;
  margin: 0;
}

.it-card-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.it-pricing-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--it-card-hover-shadow);
}

.it-card-featured {
  border: 2px solid var(--it-accent-indigo);
  background: #ffffff;
  box-shadow: 0 10px 30px -4px rgba(79, 70, 229, 0.12);
}

.it-pricing-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.it-card-featured .it-pricing-badge {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.it-pack-agentic .it-pricing-badge {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.it-pack-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.it-pack-desc {
  font-size: 0.95rem;
  color: var(--it-text-muted);
  margin-bottom: 24px;
  min-height: 48px;
}

.it-pack-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.it-pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
}

.it-pack-subtext {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--it-text-muted);
  margin-top: 2px;
}

.it-check-icon {
  color: #059669;
  font-weight: 800;
}

.it-pack-features li.it-feature-highlight {
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* CASOS DE USO / 4 SECTORES */
.it-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 90px;
}

@media (max-width: 1100px) {
  .it-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .it-cases-grid { grid-template-columns: 1fr; }
}

.it-case-card {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--it-card-shadow);
  transition: all 0.3s ease;
}

.it-case-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--it-card-hover-shadow);
}

.it-case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.it-case-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.it-case-card:hover .it-case-icon {
  background: var(--it-accent-indigo);
  color: #ffffff;
  border-color: var(--it-accent-indigo);
}

.it-case-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.it-case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--it-accent-indigo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.it-case-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.it-case-desc {
  font-size: 0.92rem;
  color: var(--it-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.it-case-stack {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--it-border);
  padding-top: 16px;
}

.it-case-stack li {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.it-case-stack li span {
  color: #059669;
}

/* FAQ ACORDEON LIGHT */
.it-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.it-faq-item {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--it-card-shadow);
  transition: border-color 0.25s ease;
}

.it-faq-item[open] {
  border-color: #cbd5e1;
}

.it-faq-summary {
  padding: 22px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.it-faq-summary::-webkit-details-marker {
  display: none;
}

.it-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.it-faq-item[open] .it-faq-icon {
  transform: rotate(45deg);
  background: #eef2ff;
  color: var(--it-accent-indigo);
}

.it-faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--it-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FORMULARIO CONTACTO LIGHT */
.it-form-section {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 26px;
  padding: 50px;
  margin-bottom: 90px;
  position: relative;
  box-shadow: var(--it-card-shadow);
}

.it-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .it-form-section { padding: 30px 20px; }
  .it-form-grid { grid-template-columns: 1fr; }
}

.it-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.it-field-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.it-field-group input, .it-field-group select, .it-field-group textarea {
  background: #f8fafc;
  border: 1px solid var(--it-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.it-field-group input:focus, .it-field-group select:focus, .it-field-group textarea:focus {
  border-color: var(--it-accent-indigo);
  background: #ffffff;
}

/* FOOTER LIGHT */
.it-footer {
  border-top: 1px solid var(--it-border);
  background: #ffffff;
  padding: 50px 0 30px 0;
  margin-top: 60px;
}

.it-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.it-agentic-footer-banner {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* SISTEMA DE COOKIES */
.it-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99998;
  max-width: 460px;
  width: calc(100% - 48px);
  animation: itSlideUp 0.4s ease-out;
}

@keyframes itSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.it-cookie-card {
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--it-border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.it-cookie-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.it-cookie-icon-wrapper {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 8px;
  border-radius: 10px;
  color: var(--it-accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.it-cookie-btn {
  flex: 1;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--it-border);
  border-radius: 10px;
  color: var(--it-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
  text-align: center;
}

.it-cookie-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.it-cookie-btn-primary {
  background: #0f172a;
  color: #ffffff !important;
  border: none;
}

.it-cookie-btn-primary:hover {
  background: #334155;
  transform: translateY(-1px);
}

/* MODAL LEGAL LIGHT */
.it-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: itFadeIn 0.25s ease-out;
}

@keyframes itFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.it-modal-card {
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.it-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--it-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.it-modal-close {
  background: none;
  border: none;
  color: var(--it-text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.it-modal-close:hover { color: #0f172a; }

.it-modal-body {
  padding: 24px;
  overflow-y: auto;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.65;
}

.it-modal-body h4 {
  color: #0f172a;
  margin: 16px 0 6px 0;
  font-size: 1.05rem;
}

.it-modal-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.it-modal-body li { margin-bottom: 6px; }

.it-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--it-border);
  display: flex;
  justify-content: flex-end;
}

/* NAVEGACIÓN MÓVIL (HAMBURGUESA + DRAWER LIGHT) */
.it-mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--it-border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.it-mobile-toggle:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.it-toggle-bar {
  width: 22px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.it-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.it-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.it-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--it-border);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  overflow-y: auto;
  padding: 24px 20px;
}

.it-mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* Ocultar / enviar al fondo la pestaña del Agente IA al abrir el menú móvil */
body.has-drawer-open #it-agent-container,
body.has-drawer-open .it-agent-floating {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.it-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--it-border);
  margin-bottom: 20px;
}

.it-drawer-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #4338ca;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #c7d2fe;
}

.it-drawer-close {
  background: none;
  border: none;
  color: var(--it-text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.it-drawer-close:hover { color: #0f172a; }

.it-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.it-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none !important;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.2s ease;
  background: transparent !important;
  border-radius: 0;
}

.it-drawer-link:hover,
.it-drawer-link.is-active {
  color: var(--it-accent-indigo) !important;
  font-weight: 700;
  padding-left: 8px;
  border-bottom-color: var(--it-accent-indigo);
}

.it-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--it-border);
}

.it-drawer-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 14px 18px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .it-nav-links { display: none !important; }
  .it-mobile-toggle { display: flex !important; }
}

/* BOTÓN FLOTANTE DE WHATSAPP DIRECTO */
.it-whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.it-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
  background: #20ba59;
}

@media (max-width: 600px) {
  .it-whatsapp-float {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

