@import url('https://fonts.googleapis.com/css2?family=Chivo+Mono:wght@400;500;700&family=Outfit:wght@500;600;700;800&family=Roboto:wght@400;500;700;900&display=swap');

:root {
  /* Fuentes: Outfit para títulos (h1-h6) y etiquetas técnicas limpias; Roboto para lectura de cuerpo */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Paleta de Colores Corporativos (Ajustados para web) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;    /* Gris pizarra oscuro (muy legible) */
  --text-secondary: #475569;  /* Gris medio para lectura prolongada */
  --text-muted: #94a3b8;     /* Gris claro para detalles y fechas */
  
  --accent-blue: #1e3a8a;          /* Azul Marino Principal (Ingeniería/Confianza) */
  --accent-blue-hover: #1e40af;
  --accent-blue-light: #eff6ff;
  
  --accent-orange: #ea580c;        /* Naranja Isotipo Ajustado (Acentos Visuales/Acción) */
  --accent-orange-hover: #c2410c;
  --accent-orange-light: #fff7ed;
  
  --border-color: #e2e8f0;
  --success: #16a34a;
  --success-light: #d1fae5;
  
  /* Sombras y Bordes Bento (Estilo nexbu/framer soft shadows) */
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 8px 16px -8px rgba(15, 23, 42, 0.02);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  /* Configuración Global */
  --header-height: 76px;
  --max-width: 1240px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* 2. RESET & ESTILOS BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id],
div[id],
article[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}
h2 { font-size: 1.85rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.25em;
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.25em;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5em;
}

/* 3. ESTRUCTURA & CONTENEDORES */
.container {
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  width: 100%;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .logo-img {
    height: 34px;
    max-height: 36px;
  }
  .footer-logo-img {
    height: 38px;
    max-height: 40px;
  }
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* 4. HEADER & NAVEGACIÓN (Efecto Vidrio Modulor) */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s, border-color 0.3s;
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  border-bottom: none !important;
}

.logo-img {
  height: 42px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 42px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin-bottom: 0;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  display: block;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-orange);
}

/* Menú Móvil Trigger */
.menu-trigger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Iconos de Header (Carrito/Buscador) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-primary);
}

/* 5. BOTONES & LLAMADAS A LA ACCIÓN */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline:hover {
  background-color: var(--accent-blue-light);
  border-color: var(--accent-blue-hover);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* 6. PÁGINA DE INICIO (HERO EJECUTIVO DE INGENIERÍA SANITARIA) */
.hero {
  position: relative;
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 65% 55% at 85% 35%, rgba(9, 40, 71, 0.05) 0%, transparent 75%),
    radial-gradient(ellipse 50% 45% at 12% 85%, rgba(234, 88, 12, 0.04) 0%, transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 3.25rem;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  background-color: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.16);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  max-width: 100%;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
  flex-shrink: 0;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #092847;
  margin-bottom: 1.15rem;
}

.hero-text h1 span {
  color: #092847;
}

.hero-text p {
  font-size: 1.08rem;
  line-height: 1.68;
  color: #334155;
  margin-bottom: 1.85rem;
  max-width: 56ch;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Botón Ejecutivo Secundario de WhatsApp (Evita choque cromático naranjo+verde) */
.btn-whatsapp-exec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: #ffffff;
  color: #092847;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.btn-whatsapp-exec:hover {
  border-color: #16a34a;
  background-color: #f0fdf4;
  color: #092847;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.1);
}

/* Credencial Directa de Dirección y 22 Años debajo de los botones */
.hero-director-card {
  margin-top: 1.85rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid #092847;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.hero-director-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
  flex-shrink: 0;
}

.hero-director-content {
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-director-title {
  font-weight: 700;
  color: #092847;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.hero-minvu-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(30, 58, 138, 0.15);
}

.hero-exp-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background-color: #fff7ed;
  color: #c2410c;
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

/* Panel Técnico de Ruta de Aprobación y Métricas (Lado Derecho) */
.hero-showcase-panel {
  background: linear-gradient(155deg, #09192f 0%, #0f2544 100%);
  border-radius: 20px;
  padding: 1.65rem 1.75rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(9, 40, 71, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
}

.hero-showcase-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.24) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
}

.showcase-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.showcase-exp-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.showcase-Stepper {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.showcase-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.showcase-step:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(234, 88, 12, 0.55);
  transform: translateX(3px);
}

.showcase-step.primary-step {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(234, 88, 12, 0.5);
}

.showcase-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #93c5fd;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
}

.showcase-step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #ffffff;
  border: 1.5px solid #09192f;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.showcase-step.primary-step .showcase-step-badge {
  background: #ffffff;
  color: var(--accent-orange);
}

.showcase-item-body {
  flex: 1;
}

.showcase-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.showcase-item-head h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  white-space: nowrap;
}

.showcase-item-body p {
  color: #cbd5e1;
  font-size: 0.83rem;
  line-height: 1.45;
  margin: 0;
}

/* Barra de Métricas Cuantitativas en la Base del Panel Derecho */
.showcase-metrics-bar {
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.showcase-metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.showcase-metric span {
  display: block;
  font-size: 0.64rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

@media (max-width: 992px) {
  .hero {
    padding: 3.5rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-text h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 540px) {
  .showcase-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* Grilla de Logos de Clientes (Confianza) */
.clients-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.clients-title {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 700;
}

.clients-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.client-logo {
  max-height: 48px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Tarjetas de Servicios */
.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
  border-color: rgba(30, 58, 138, 0.12);
}

.service-icon {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}


.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-blue);
}

.service-card:hover .read-more {
  color: var(--accent-orange);
}

/* 7. DETALLE DEL CERTIFICADO DE DOTACIÓN (SEO PAGE) */
.page-hero {
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
  max-width: 75ch;
}

.seo-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start; /* CRUCIAL para que el sticky sidebar funcione con el scroll */
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-body p, .article-body ul {
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-box {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--accent-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 10;
}

/* FAQ Accordion Moderno (Estilo Modulor) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

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

.faq-question svg, .faq-question i {
  color: var(--accent-orange);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-question svg, .faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cta-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.cta-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.cta-widget p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .seo-content-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sidebar-sticky {
    position: static;
  }
}

/* 8. CATÁLOGO & TIENDA */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
  border-color: rgba(30, 58, 138, 0.12);
}

.product-badge-sale {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--accent-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  z-index: 10;
}

.product-badge-outofstock {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--text-muted);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  z-index: 10;
}

.product-img-wrapper {
  background-color: var(--bg-secondary);
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  flex-grow: 1;
}

.product-title a {
  color: var(--text-primary);
}

.product-title a:hover {
  color: var(--accent-orange);
}

.product-price-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price-original {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* 9. CARRITO DE COMPRAS & CHECKOUT */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
}

.checkout-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart-table th, .cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.cart-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.cart-item-title {
  font-weight: 600;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--text-primary);
}

.qty-btn:hover {
  background-color: var(--bg-tertiary);
}

.qty-val {
  width: 36px;
  text-align: center;
  font-weight: 600;
  border: none;
  background: none;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--accent-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.btn-remove:hover {
  color: var(--accent-orange-hover);
}

.cart-summary {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: start;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 10. FORMULARIO DE CONTACTO & INPUTS */
.form-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-orange);
  background-color: var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent-orange-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* Alert Notification styles */
.alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
}

.alert-success {
  background-color: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.alert-error {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
}

/* 11. GOOGLE REVIEWS SLIDER VERIFICADO (ESTILO TRUSTINDEX / GOOGLE OFICIAL) */
.reviews-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.ti-carousel-outer {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.ti-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0 1rem 0;
}

.ti-carousel-track {
  display: flex;
  align-items: flex-start; /* Permite que solo la tarjeta expandida crezca en alto */
  gap: 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ti-review-card {
  flex: 0 0 calc((100% - (3 * 18px)) / 4);
  min-width: calc((100% - (3 * 18px)) / 4);
  background-color: #f4f5f7;
  border-radius: 12px;
  padding: 1.35rem 1.2rem 1.15rem 1.2rem;
  min-height: 256px;
  height: 256px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.ti-review-card:hover {
  background-color: #eff1f5;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ti-review-card.is-expanded {
  height: auto;
}

.ti-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  position: relative;
  padding-right: 26px;
}

.ti-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #e2e8f0;
}

.ti-author-info {
  min-width: 0;
  flex: 1;
}

.ti-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-bottom: 2px;
}

.ti-review-date {
  font-size: 0.76rem;
  color: #6b7280;
  line-height: 1.2;
}

.ti-google-icon {
  position: absolute;
  top: 2px;
  right: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ti-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0.85rem 0 0.75rem 0;
}

.ti-star-svg {
  width: 17px;
  height: 17px;
  color: #fbbc04;
  flex-shrink: 0;
}

.ti-verified-badge {
  width: 16px;
  height: 16px;
  margin-left: 3px;
  flex-shrink: 0;
}

.ti-review-text {
  font-size: 0.88rem;
  line-height: 1.48;
  color: #1f2937;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ti-review-text.ti-empty-text {
  color: #374151;
}

.ti-review-card.is-expanded .ti-review-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.ti-read-more-btn {
  margin-top: auto;
  padding-top: 0.65rem;
  background: none;
  border: none;
  color: #6b7280;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  align-self: center;
  transition: color 0.2s ease;
}

.ti-read-more-btn:hover {
  color: #111827;
  text-decoration: underline;
}

.ti-nav-arrow {
  position: absolute;
  top: 128px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.ti-nav-arrow:hover {
  background-color: #ffffff;
  color: #111827;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transform: translateY(-50%) scale(1.06);
}

.ti-nav-prev {
  left: 4px;
}

.ti-nav-next {
  right: 4px;
}

@media (max-width: 1080px) {
  .ti-review-card {
    flex: 0 0 calc((100% - (2 * 18px)) / 3);
    min-width: calc((100% - (2 * 18px)) / 3);
  }
}

@media (max-width: 820px) {
  .ti-review-card {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 560px) {
  .ti-review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

/* 12. WHATSAPP WIDGET & FOOTER */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-widget:hover {
  transform: scale(1.1);
}

.whatsapp-widget::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 600px) {
  .whatsapp-widget {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  color: var(--text-secondary);
  transition: background-color 0.3s;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-contact-info {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}

.footer-contact-info a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-contact-info a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   13. COMPONENTES ESTRATÉGICOS (DIAGNÓSTICO, MATRIZ, PERFIL ARQUITECTO & B2B)
   ========================================================================== */

/* Dropdown menus en Header */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0.5rem;
  min-width: 280px;
  z-index: 1000;
  list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-tertiary);
  color: var(--accent-orange);
  padding-left: 1.1rem;
}

/* Tarjetas de Diagnóstico Rápido ("¿Qué necesitas resolver hoy?") */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.diagnostic-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.diagnostic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.diagnostic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(234, 88, 12, 0.4);
}

.diagnostic-card:hover::before {
  background: var(--accent-orange);
}

.diagnostic-card.featured {
  border-color: rgba(234, 88, 12, 0.4);
  background: linear-gradient(180deg, rgba(234, 88, 12, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.diagnostic-card.featured::before {
  background: var(--accent-orange);
}

.diagnostic-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  width: fit-content;
  white-space: nowrap;
  line-height: 1;
  min-height: 26px;
}

.diagnostic-badge.orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
}

.diagnostic-badge.blue {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
}

.diagnostic-badge.green {
  background-color: #ecfdf5;
  color: #059669;
}

.diagnostic-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
  min-height: 3.4rem;
  display: flex;
  align-items: flex-start;
}

.diagnostic-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.diagnostic-card .btn-link {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.diagnostic-card .btn-link:hover {
  gap: 0.75rem;
}

/* Matriz Comparativa de Certificados */
.matrix-wrapper {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.matrix-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.matrix-table th {
  background-color: var(--bg-secondary);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.matrix-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table tr:hover td {
  background-color: rgba(234, 88, 12, 0.015);
}

/* Cinta de Logos de Clientes e Instituciones en Monocolor */
.institutional-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0;
}

/* Cinta de Confianza Empresarial e Institucional (Galería Editorial Sin Recuadros) */
.institutional-strip {
  background-color: var(--bg-primary);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.institutional-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 2rem;
  align-items: center;
}

.institutional-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  min-height: 60px;
  background-color: transparent;
  border: none;
  box-shadow: none;
  user-select: none;
}

.institutional-logo-card img,
.institutional-logo-card svg {
  max-width: 145px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.institutional-logo-card:hover img,
.institutional-logo-card:hover svg {
  filter: grayscale(100%) contrast(1.35) brightness(0.82);
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .institutional-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .institutional-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .institutional-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Perfil Profesional de José Andrade (Nosotros) */
.profile-bio-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .profile-bio-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
    text-align: center;
  }
}

.profile-avatar-wrap {
  position: relative;
  text-align: center;
}

.profile-avatar-box {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-blue-light) 0%, rgba(234, 88, 12, 0.15) 100%);
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--accent-blue);
}

.profile-minvu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}

.profile-info h3 {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.profile-role-tag {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: block;
}

.profile-bio-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.profile-stat-box h4 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.2rem;
}

.profile-stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Bloque Especial B2B para Arquitectos y Constructoras */
#arquitectos {
  padding-top: 1.5rem;
  scroll-margin-top: 84px;
}

.b2b-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin: 2rem auto 4rem auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.b2b-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.b2b-banner h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.b2b-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 2rem;
}

.b2b-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.b2b-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.b2b-feature-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Tarjeta Oficial Google Business */
.google-profile-header {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.google-rating-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

/* ==========================================================================
   14. COMPONENTES EJECUTIVOS DE CONVERSIÓN Y CLARIDAD TÉCNICA
   ========================================================================== */

/* Breadcrumbs SEO */
.breadcrumb-bar {
  background-color: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.breadcrumb-bar a {
  color: #ffffff;
  font-weight: 500;
  opacity: 0.85;
}

.breadcrumb-bar a:hover {
  opacity: 1;
  color: var(--accent-orange);
}

/* Resumen Ejecutivo Rápido (Lectura en 15 segundos) */
.exec-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem 0;
}

.exec-summary-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-blue);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.exec-summary-card.highlight {
  border-top-color: var(--accent-orange);
  background-color: var(--accent-orange-light);
}

.exec-summary-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.exec-summary-card.highlight .exec-summary-label {
  color: var(--accent-orange);
}

.exec-summary-value {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Tarjetas de Perfiles / Casos de Uso (Patentes Comerciales, Arquitectos, Viviendas) */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem 0;
}

.use-cases-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem 0;
}

@media (max-width: 768px) {
  .use-cases-grid-2col {
    grid-template-columns: 1fr;
  }
}

.use-case-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.use-case-card.use-case-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid var(--accent-blue);
}

.use-case-card:hover {
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.use-case-card h4 {
  font-size: 1.08rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.use-case-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Checklist de Antecedentes para Cotización Rápida */
.checklist-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
}

.checklist-panel h3 {
  margin-top: 0 !important;
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  list-style: none !important;
  margin-bottom: 0 !important;
}

.checklist-items li {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0 !important;
}

.checklist-items li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Etapas Numeradas Concisas */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem 0;
}

.step-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-row.final .step-number {
  background-color: var(--accent-orange);
}

.step-content h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   CASOS DE ESTUDIO TÉCNICOS (PROYECTOS E INSTALACIONES DESARROLLADAS)
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.case-study-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.18);
}

.case-study-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: var(--shadow-md);
}

.case-study-img-wrap {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  aspect-ratio: 16 / 10;
}

.case-study-featured .case-study-img-wrap {
  aspect-ratio: auto;
  min-height: 100%;
}

.case-study-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.case-study-card:hover .case-study-img-wrap img {
  transform: scale(1.03);
}

.case-study-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background-color: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.case-study-tag.accent {
  background-color: var(--accent-orange);
}

.case-study-body {
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  flex: 1;
}

.case-study-featured .case-study-body {
  padding: 2rem 2.25rem;
}

.case-study-body h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
}

.case-study-featured .case-study-body h3 {
  font-size: 1.5rem;
}

.case-study-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 0;
}

.case-study-specs {
  list-style: none !important;
  margin: 0.9rem 0 0 0 !important;
  padding: 0.9rem 0 0 0 !important;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.case-study-specs li {
  margin: 0 !important;
  padding-left: 0.9rem;
  position: relative;
}

.case-study-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-orange);
}

.case-study-health-note {
  background-color: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-left: 4px solid var(--accent-orange);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 1rem;
}

.case-study-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

/* Lista vertical de casos dentro de página interna */
.case-studies-prose-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

.case-studies-prose-list .case-study-card {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.case-studies-prose-list .case-study-img-wrap {
  aspect-ratio: auto;
  min-height: 220px;
}

.case-study-card[id] {
  scroll-margin-top: 90px;
}

.case-studies-prose-list .case-study-body h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.case-studies-prose-list .case-study-body p,
.case-studies-prose-list .case-study-specs {
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .case-study-featured {
    grid-template-columns: 1fr;
  }
  .case-study-featured .case-study-img-wrap {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .case-studies-prose-list .case-study-card {
    grid-template-columns: 1fr;
  }
  .case-studies-prose-list .case-study-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }
}

/* ==========================================================================
   GALERÍAS DE OBRAS EJECUTADAS Y LIGHTBOX INTERACTIVO
   ========================================================================== */
.project-thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.project-thumb-btn {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-thumb-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
}

.project-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-full-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.project-full-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.project-full-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #eff6ff;
  color: var(--accent-blue);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

.project-full-badge.accent {
  background-color: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.project-full-header h3 {
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.project-detail-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.25rem 0;
}

.project-detail-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.project-detail-box h4 {
  font-size: 0.92rem;
  color: var(--accent-blue);
  margin-top: 0 !important;
  margin-bottom: 0.45rem !important;
}

.project-detail-box p,
.project-detail-box ul {
  font-size: 0.88rem !important;
  line-height: 1.52 !important;
  margin-bottom: 0 !important;
}

.project-detail-box ul {
  padding-left: 1rem;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.project-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  background-color: #0f172a;
  cursor: zoom-in;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.ps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ps-lightbox.open {
  display: flex;
}

.ps-lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.ps-lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

.ps-lightbox-caption {
  color: #e2e8f0;
  font-size: 0.92rem;
  text-align: center;
  max-width: 70ch;
}

.ps-lightbox-close,
.ps-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.ps-lightbox-close:hover,
.ps-lightbox-nav:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.ps-lightbox-close {
  top: -12px;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 1.35rem;
}

.ps-lightbox-nav {
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}

.ps-lightbox-prev {
  left: 12px;
}

.ps-lightbox-next {
  right: 12px;
}

@media (max-width: 720px) {
  .project-detail-split {
    grid-template-columns: 1fr;
  }
  .project-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   14. UPLOADER MÚLTIPLE CON PREVISUALIZACIÓN Y BANNER DE PAGO
   ========================================================================== */
.file-upload-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-group label.file-dropzone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-group label.file-dropzone:hover,
.file-input-hidden:focus-visible + label.file-dropzone,
.form-group label.file-dropzone.dragover {
  border-color: var(--accent-orange);
  background-color: #fff7ed;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.file-dropzone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-dropzone-text {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.4;
}

.file-dropzone-text strong {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

.file-dropzone-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.file-dropzone-btn {
  flex-shrink: 0;
  pointer-events: none;
}

.file-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.file-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.file-preview-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.file-preview-stats strong {
  color: var(--text-primary);
}

.file-size-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: var(--text-secondary);
}

.file-clear-all-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.file-clear-all-btn:hover {
  background-color: #fee2e2;
}

.file-preview-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.file-preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.file-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  background-color: #ffffff;
}

.file-badge {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  background-color: #e2e8f0;
  color: #334155;
}

.file-badge.is-cad {
  background-color: #dbeafe;
  color: #1e40af;
}

.file-badge.is-pdf {
  background-color: #fee2e2;
  color: #b91c1c;
}

.file-badge.is-zip {
  background-color: #fef3c7;
  color: #b45309;
}

.file-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.file-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.file-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.file-remove-btn:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.file-preview-warning {
  font-size: 0.8rem;
  color: #b45309;
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}

.payment-status-banner {
  margin: 0 auto 2rem auto;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-status-banner.is-success {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.payment-status-banner.is-pending {
  background-color: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.payment-status-banner.is-failure {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.payment-status-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.35rem 0;
  color: inherit;
}

.payment-status-banner p {
  font-size: 0.92rem;
  margin: 0;
  color: inherit;
}
