/* =============================================
   ANGELA CONTADORA · style.css
   Paleta: Azul marino #1B1F8A · Lila #C5C8F0
   Tipografía: Poppins (títulos) · Inter (cuerpo)
============================================= */

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

:root {
  --azul:      #1B1F8A;
  --azul-dark: #12156A;
  --azul-mid:  #2E33B0;
  --lila:      #C5C8F0;
  --lila-soft: #ECEDF9;
  --lila-pale: #F5F5FD;
  --white:     #FFFFFF;
  --gray-text: #2D2D2D;
  --gray-mid:  #5C5C7A;
  --gray-light:#F8F8FF;
  --border:    #E0E1F5;
  --success:   #1A8A4A;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(27,31,138,0.10);
  --shadow-sm: 0 2px 10px rgba(27,31,138,0.07);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--azul);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---- BOTONES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul);
  color: var(--white);
  border-color: var(--azul);
}
.btn-primary:hover { background: var(--azul-dark); border-color: var(--azul-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,31,138,0.25); }

.btn-secondary {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn-secondary:hover { background: var(--lila-soft); transform: translateY(-2px); }

.btn-service {
  background: var(--lila-soft);
  color: var(--azul);
  border-color: var(--lila);
  font-size: 14px;
  padding: 9px 20px;
  margin-top: auto;
}
.btn-service:hover { background: var(--azul); color: white; border-color: var(--azul); }

.btn-nav {
  background: var(--azul);
  color: white;
  font-size: 14px;
  padding: 9px 20px;
}
.btn-nav:hover { background: var(--azul-dark); }

.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-full { width: 100%; justify-content: center; }

.btn-outline-sm {
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--lila);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-sm:hover { background: var(--lila-soft); }

/* ---- SECCIÓN HEADER ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.section-desc { color: var(--gray-mid); font-size: 16px; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-mid);
  margin-bottom: 12px;
  display: block;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}
.logo-link { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 96px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--azul);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--azul); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO (fondo completo con foto + velo de color) ---- */
.hero-fullbleed {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(18,21,106,0.93) 0%, rgba(27,31,138,0.86) 40%, rgba(46,51,176,0.55) 75%, rgba(197,200,240,0.25) 100%);
}
.hero-inner-full {
  position: relative;
  z-index: 1;
  padding: 168px 24px 96px;
}
.hero-inner-full .hero-text { max-width: 620px; }
.hero-inner-full .hero-eyebrow { color: var(--lila); }
.hero-inner-full .hero-title { color: white; }
.hero-inner-full .hero-title .accent {
  background: linear-gradient(120deg, var(--lila) 0%, white 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-inner-full .hero-subtitle { color: rgba(255,255,255,0.88); }
.hero-inner-full .hero-coverage { color: white; }
.hero-inner-full .hero-coverage svg { color: var(--lila); }

.btn-secondary-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary-light:hover { background: rgba(255,255,255,0.12); border-color: white; }

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-mid);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--azul);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title .accent {
  color: var(--azul-mid);
  background: linear-gradient(120deg, var(--azul) 0%, var(--azul-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--gray-mid);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.icon-wa { width: 20px; height: 20px; flex-shrink: 0; }
.icon-lock { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- BARRA DE INDICADORES ECONÓMICOS ---- */
.indicators-bar {
  background: var(--azul-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  position: relative;
  z-index: 1000;
}
.indicators-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 32px;
  flex-wrap: wrap;
}
.indicator-item { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; }
.indicator-label { color: var(--lila); font-weight: 600; }
.indicator-note { margin-left: auto; color: rgba(255,255,255,0.45); font-size: 11px; }

/* ---- HERO: cobertura y foto ---- */
.hero-coverage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-mid);
  margin-bottom: 28px;
}
.hero-coverage svg { flex-shrink: 0; color: var(--azul-mid); }

/* ---- WHY SECTION ---- */
.why-section {
  background: var(--gray-light);
  padding: 56px 0 96px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lila); }
.why-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lila-soft);
  border-radius: 12px;
  color: var(--azul);
  margin-bottom: 16px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 17px; color: var(--azul); margin-bottom: 10px; }
.why-card p { color: var(--gray-mid); font-size: 14px; line-height: 1.65; }

/* ---- SERVICES ---- */
.services-section {
  padding: 96px 0;
  background: white;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--lila-pale);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--azul); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: white;
  border-radius: 12px;
  color: var(--azul);
  border: 1px solid var(--border);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 18px; color: var(--azul); }
.service-price {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--azul);
  background: var(--lila-soft);
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
}
.service-problem { font-size: 14px; }
.service-card p { color: var(--gray-mid); font-size: 14px; line-height: 1.65; }
.service-card .btn-service { margin-top: auto; align-self: flex-start; }

/* ---- CHATBOT ---- */
.chatbot-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-mid) 100%);
}
.chatbot-section .section-header h2,
.chatbot-section .eyebrow,
.chatbot-section .section-desc { color: white; }
.chatbot-section .eyebrow { color: var(--lila); }
.chatbot-section .section-desc { color: rgba(255,255,255,0.75); }

.chat-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.chat-header {
  background: var(--azul);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.chat-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--lila);
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 14px;
  flex-shrink: 0;
}
.chat-header strong { font-family: var(--font-head); font-size: 15px; display: block; }
.chat-online { font-size: 12px; color: #4ade80; }

.chat-body {
  padding: 24px 20px;
  min-height: 180px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F9F9FF;
}
.chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  animation: bubbleIn 0.3s ease;
}
.chat-bubble.bot {
  background: white;
  color: var(--gray-text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--azul);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--lila);
  border-radius: 50%;
  animation: dot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot {
  0%,80%,100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-options {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: white;
}
.chat-opt-btn {
  background: var(--lila-soft);
  border: 1.5px solid var(--lila);
  color: var(--azul);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.chat-opt-btn:hover { background: var(--azul); color: white; border-color: var(--azul); }
.chat-restart {
  padding: 12px 20px;
  background: white;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ---- PRODUCTS ---- */
.products-section {
  padding: 96px 0;
  background: var(--gray-light);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--lila); }
.product-card.coming-soon { opacity: 0.85; }
.product-img {
  display: flex; align-items: center; justify-content: center;
  color: var(--azul);
}
.product-img svg { width: 40px; height: 40px; }
.product-info h3 { font-size: 18px; color: var(--azul); margin-bottom: 8px; }
.product-info p { color: var(--gray-mid); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.product-benefits { display: flex; flex-direction: column; gap: 6px; }
.product-benefits li { font-size: 13px; color: var(--gray-text); }
.badge-coming {
  display: inline-block;
  background: var(--lila-soft);
  color: var(--azul-mid);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--lila);
  margin-bottom: 8px;
}

/* ---- TOOLS ---- */
.tools-section {
  padding: 96px 0;
  background: white;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  background: var(--lila-pale);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.tool-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: white;
  border-radius: 12px;
  color: var(--azul);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.tool-icon svg { width: 22px; height: 22px; }
.tool-card h3 { font-size: 17px; color: var(--azul); margin-bottom: 8px; }
.tool-card > p { color: var(--gray-mid); font-size: 14px; margin-bottom: 18px; }
.tool-body { display: flex; flex-direction: column; gap: 12px; }

/* Calculadora IVA */
.calc-tabs { display: flex; gap: 6px; margin-bottom: 4px; }
.calc-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.calc-tab.active { background: var(--azul); color: white; border-color: var(--azul); }
.calc-row label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-mid); margin-bottom: 6px; }
.calc-row input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-text);
  outline: none;
  transition: border-color var(--transition);
}
.calc-row input:focus { border-color: var(--azul); }
.calc-result { background: white; border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); }
.calc-item { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.calc-item span { color: var(--gray-mid); }
.calc-item strong { color: var(--azul); font-size: 15px; }
.calc-item.total { border-top: 1px solid var(--border); padding-top: 8px; }
.calc-item.total strong { font-size: 18px; }

/* Calculadora de Honorarios */
.honorarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.honorarios-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.honorarios-col-title {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--azul-mid);
}
.honorarios-grid .calc-item { font-size: 12.5px; }
.honorarios-grid .calc-item.total strong { font-size: 15px; }
.tool-footnote { font-size: 11px; color: var(--gray-mid); margin-top: 4px; }

/* Botón "Ver artículos" debajo de las herramientas */
.recursos-blog-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.recursos-blog-cta p { color: var(--gray-mid); font-size: 15px; margin-bottom: 16px; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist li label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-text);
  cursor: pointer;
}
.checklist input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--azul); cursor: pointer; flex-shrink: 0; }
.checklist-result { font-size: 13px; font-weight: 600; color: var(--success); margin-top: 4px; min-height: 20px; }

/* Diagnóstico */
.diag-question { font-size: 15px; font-weight: 600; color: var(--azul); margin-bottom: 14px; }
.diag-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.btn-diag {
  flex: 1;
  padding: 10px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: white;
}
.btn-si:hover, .btn-si.active { background: var(--azul); color: white; border-color: var(--azul); }
.btn-no:hover, .btn-no.active { background: #dc2626; color: white; border-color: #dc2626; }
.diag-progress { height: 5px; background: var(--border); border-radius: 5px; overflow: hidden; }
.diag-bar { height: 100%; background: var(--azul); border-radius: 5px; transition: width 0.4s ease; }
.diag-result {
  font-size: 13px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.55;
}
.diag-result.ok { background: #dcfce7; color: #166534; }
.diag-result.warn { background: #fef9c3; color: #854d0e; }
.diag-result.alert { background: #fee2e2; color: #991b1b; }

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 96px 0;
  background: var(--lila-pale);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; }
.testimonial-card p { color: var(--gray-mid); font-size: 14px; line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--lila);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--azul); }
.testimonial-author span { font-size: 12px; color: var(--gray-mid); }

/* ---- CONTACT ---- */
.contact-section {
  padding: 96px 0;
  background: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 32px; margin-bottom: 14px; }
.contact-info p { color: var(--gray-mid); font-size: 15px; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-text);
  transition: color var(--transition);
}
.contact-item:hover { color: var(--azul); }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; flex-shrink: 0;
  color: var(--azul);
}
.contact-sla { font-size: 13px; color: var(--gray-mid); margin-top: 4px; font-style: italic; }

.contact-form-wrap {
  background: var(--lila-pale);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-text);
  background: white;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--azul); }
.form-note { font-size: 12px; color: var(--gray-mid); text-align: center; margin-top: -8px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--azul);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 50px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: white; font-size: 14px; font-family: var(--font-head); margin-bottom: 4px; }
.footer-links a,
.footer-contact a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--lila); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact strong { color: white; font-size: 14px; font-family: var(--font-head); margin-bottom: 4px; }

/* ---- BOTONES FLOTANTES (WhatsApp + Chat) ---- */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wa-float {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }

.chat-float {
  width: 58px;
  height: 58px;
  background: var(--azul);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(27,31,138,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.chat-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(27,31,138,0.5); }

/* Ventana flotante del chatbot */
.chat-float-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 360px;
  max-height: 70vh;
  z-index: 1000;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-radius: 20px;
  overflow: hidden;
}
.chat-float-window.open { display: block; animation: floatIn 0.25s ease; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-float-window .chat-wrapper { max-height: 70vh; display: flex; flex-direction: column; }
.chat-float-window .chat-header { position: relative; }
.chat-float-close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.chat-float-close:hover { background: rgba(255,255,255,0.3); }
.chat-float-window .chat-body { flex: 1; max-height: none; }

.nav-links a.active-link { color: var(--azul); }
.nav-links a.active-link::after { transform: scaleX(1); }


@media (max-width: 1024px) {
  .why-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 64px; }
  .nav-inner { height: 76px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 108px; left: 0; right: 0;
    background: white;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 998;
  }
  .nav-links.open a { font-size: 16px; }

  .indicators-inner { font-size: 11px; gap: 14px; height: auto; padding: 6px 24px; flex-wrap: wrap; }
  .indicator-note { display: none; }
  .navbar { top: 0; }

  .hero-fullbleed { min-height: 620px; }
  .hero-inner-full { padding: 108px 20px 80px; text-align: center; }
  .hero-inner-full .hero-text { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-coverage { justify-content: center; }

  .why-grid,
  .services-grid,
  .products-grid,
  .tools-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .section-header { margin-bottom: 40px; }
  .why-section, .services-section, .chatbot-section,
  .products-section, .tools-section, .testimonials-section,
  .contact-section { padding: 64px 0; }

  .chat-float-window { width: calc(100vw - 32px); right: 16px; bottom: 92px; }
  .float-buttons { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .btn { font-size: 14px; padding: 11px 20px; }
  .wa-float, .chat-float { width: 50px; height: 50px; }
}
