/* ===================================================
   Aurobox.com - Sitio Estático 2026
   Sistema de diseño: consultoría IT, tono claro
   Tipografía: Exo Medium (h1-h3), Orbitron Medium (h4/subtítulos), Lucida Sans Unicode (body)
=================================================== */

/* ---- Fuentes locales ---- */
@font-face {
  font-family: "Beware";
  src: url("../fonts/Beware.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ExoMedium";
  src: url("../fonts/Exo-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OrbitronMedium";
  src: url("../fonts/OrbitronMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- Variables ---- */
:root {
  --color-primary:    #1a5276;
  --color-secondary:  #2e86c1;
  --color-accent:     #17a589;
  --color-bg:         #ffffff;
  --color-surface:    #f4f6f7;
  --color-text:       #1c2833;
  --color-muted:      #717d7e;
  --color-border:     #d5d8dc;
  --color-white:      #ffffff;
  --color-dark:       #1a252f;
  --font-body:        "Lucida Sans Unicode", "Lucida Grande", Helvetica, Arial, sans-serif;
  --font-heading:     "ExoMedium", Georgia, serif;
  --font-subheading:  "OrbitronMedium", "Lucida Sans Unicode", Helvetica, sans-serif;
  --radius:           6px;
  --shadow:           0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:        0 4px 24px rgba(0,0,0,0.12);
  --transition:       0.25s ease;
  --max-width:        1140px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul { list-style: disc; padding-left: 1.5rem; }
ol { padding-left: 1.5rem; }
p { margin-bottom: 1rem; }
blockquote {
  border-left: 4px solid var(--color-secondary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--color-surface);
  color: var(--color-muted);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- Tipografía ---- */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
h4, h5, h6 {
  font-family: var(--font-subheading);
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
h1 { font-size: 3.3rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2.0rem; }
h4 { font-size: 1.65rem; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Secciones ---- */
section { padding: 3.5rem 0; }
.section-alt { background: var(--color-surface); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subtitle {
  font-family: var(--font-subheading);
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.section-title-left { text-align: left; }
.section-subtitle-left { text-align: left; }

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.navbar-brand img {
  height: 42px;
  width: auto;
}
.navbar-brand-text {
  font-family: var(--font-heading);
  font-size: 2.0rem;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.15;
}
.navbar-brand-sub {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  display: block;
  font-weight: normal;
  letter-spacing: 0.02em;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar-nav > li {
  position: relative;
}
.navbar-nav > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a.active {
  background: var(--color-surface);
  color: var(--color-primary);
}
/* Dropdown */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0;
  list-style: none;
  z-index: 999;
}
.navbar-nav .dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: background var(--transition);
}
.navbar-nav .dropdown-menu li a:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}
.navbar-nav li:hover > .dropdown-menu,
.navbar-nav li.open > .dropdown-menu {
  display: block;
}
/* Flecha dropdown */
.navbar-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* CTA en navbar */
.navbar-cta {
  background: linear-gradient(to top, #c94f00, #ff7300, #ffb347) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius) !important;
  padding: 0.45rem 1.1rem !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  font-weight: 600 !important;
}
.navbar-cta:hover {
  background: linear-gradient(to top, #a03c00, #e05d00, #ff9614) !important;
  color: #fff !important;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #050d1a 0%, #091a2e 55%, #0a1428 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0.72;
  filter: saturate(1.2) brightness(0.88);
}

/* ---- Título aurora (solo hero portada) ---- */
@keyframes aurora-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-title-aurora {
  font-family: "Beware", Georgia, serif !important;
  font-size: 5.5rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  background: linear-gradient(
    270deg,
    #a8ffdb,
    #00e5c8,
    #4db8ff,
    #a78bfa,
    #f472b6,
    #34d399,
    #67e8f9,
    #a8ffdb
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aurora-shift 9s ease infinite;
  filter:
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 28px rgba(100, 220, 200, 0.35));
  margin-bottom: 1.2rem;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.hero-content h1 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 3.6rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.hero-content h1.hero-title-aurora {
  color: transparent;
  font-size: 5.5rem;
  margin-bottom: 1.2rem;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  text-align: justify;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn {
  min-width: 220px;
  text-align: center;
}

/* ---- Page Header (páginas interiores) ---- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 2.5rem 0;
  color: var(--color-white);
}
.page-header h1 {
  color: var(--color-white);
  font-size: 2.85rem;
  margin-bottom: 0.35rem;
}
.page-header .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.page-header .breadcrumb a {
  color: rgba(255,255,255,0.85);
}
.page-header .breadcrumb a:hover { color: #fff; }

/* ---- Botones ---- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #148f77;
  border-color: #148f77;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-fire {
  background: linear-gradient(to top, #c94f00, #ff7300, #ffb347);
  color: #fff;
  border-color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.btn-fire:hover {
  background: linear-gradient(to top, #a03c00, #e05d00, #ff9614);
  color: #fff;
  border-color: transparent;
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ---- Cards ---- */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.cards-grid > * {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 270px;
  max-width: 380px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-img-contain {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 1rem;
  background: var(--color-surface);
}
.card-body {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-family: var(--font-subheading);
  font-size: 1.55rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.card-text {
  color: var(--color-muted);
  font-size: 0.93rem;
  flex: 1;
  margin-bottom: 1rem;
}
.card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.card-footer-link::after { content: " →"; }
.card-footer-link:hover { color: var(--color-primary); }

/* Card icono (servicios overview) */
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

/* ---- Destacados Home ---- */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.highlights > * {
  flex: 0 1 calc(25% - 1.15rem);
  min-width: 250px;
  max-width: 320px;
}
.highlight-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.highlight-item:hover { box-shadow: var(--shadow-md); }
.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}
.highlight-title {
  font-family: var(--font-subheading);
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.highlight-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* ---- Contenido interior de páginas ---- */
.page-content {
  padding: 2.5rem 0 3rem;
}
.page-content h1,
.page-content h2 { color: var(--color-primary); margin-top: 1.75rem; margin-bottom: 0.6rem; }
.page-content h1:first-child,
.page-content h2:first-child { margin-top: 0; }
.page-content ul, .page-content ol {
  margin-bottom: 1rem;
}
.page-content ul li, .page-content ol li {
  margin-bottom: 0.3rem;
}
.page-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.25rem auto;
}
.page-content .img-center { display: block; margin: 1.5rem auto; }

/* Sidebar layout para páginas con menu lateral */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.sidebar-nav {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
}
.sidebar-nav h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav ul li a {
  display: block;
  padding: 0.45rem 0.6rem;
  font-size: 0.88rem;
  color: var(--color-text);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ---- Formulario de contacto ---- */
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.form-label .required { color: var(--color-accent); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
}
.alert-success {
  background: #d5f5e3;
  color: #1e8449;
  border: 1px solid #a9dfbf;
}
.alert-error {
  background: #fadbd8;
  color: #922b21;
  border: 1px solid #f1948a;
}

/* ---- Carrusel de clientes ---- */
.clients-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
}
.clients-carousel {
  overflow: hidden;
  flex: 1;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex-shrink: 0;
  padding: 0 0.6rem;
  box-sizing: border-box;
}
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow var(--transition), transform var(--transition);
  height: 100%;
  box-sizing: border-box;
}
.client-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--color-secondary);
}
.client-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}
.client-card-logo img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}
.client-card:hover .client-card-logo img { filter: grayscale(0%); }
.client-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.3;
}
.carousel-btn {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.carousel-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* ---- Logos alianzas / clientes ---- */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  align-items: center;
}
.logo-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
}
.logo-card:hover { box-shadow: var(--shadow-md); }
.logo-card img {
  max-height: 70px;
  width: auto;
  filter: grayscale(40%);
  transition: filter var(--transition);
}
.logo-card:hover img { filter: grayscale(0%); }

/* ---- Callout integración producto ---- */
.callout-integration {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #eef6ff 0%, #e8f4fd 100%);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.callout-integration-icon {
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 0.15rem;
}
.callout-integration strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.callout-integration p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.65;
}
.callout-integration a { color: var(--color-secondary); }
.callout-integration a:hover { color: var(--color-primary); }

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 36px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-brand .tagline { font-style: italic; color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer h4 {
  font-family: var(--font-subheading);
  color: var(--color-white);
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.87rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--color-secondary); color: #fff; }

/* ---- Divider ---- */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 0 0 2rem;
}

/* ---- Caja de CTA ---- */
.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--color-white);
  margin: 2rem 0;
}
.cta-box h2 {
  color: var(--color-white);
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}
.cta-box p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; }

/* ---- Utilidades ---- */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.fw-bold { font-weight: bold; }

/* ---- Two-col content ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.two-col.img-right .col-img img,
.two-col.img-left .col-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--color-white); border-top: 1px solid var(--color-border); box-shadow: var(--shadow); padding: 0.75rem 1rem 1rem; gap: 0; }
  .navbar-nav.open { display: flex; }
  .navbar-nav > li > a { padding: 0.65rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--color-border); }
  .navbar-nav .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; background: var(--color-surface); }
  .navbar-toggle { display: flex; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-content h1.hero-title-aurora { font-size: 3.5rem; }
  .section-title { font-size: 2.25rem; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.65rem; }
  h4 { font-size: 1.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  section { padding: 2.5rem 0; }
  .hero { min-height: 320px; }
  .hero-content { padding: 2rem 1rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { min-width: 180px; }
  .cards-grid > *, .highlights > * { flex: 0 1 100%; max-width: 100%; }
}

/* ---- CAPTCHA ---- */
.captcha-group { margin-bottom: 1.25rem; }
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.captcha-question {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--color-primary);
  min-width: 80px;
  text-align: center;
}
.captcha-eq { font-weight: bold; font-size: 1.2rem; color: var(--color-muted); }
.captcha-input { width: 90px !important; text-align: center; }
.btn-captcha-reload {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem;
  color: var(--color-secondary);
  line-height: 1;
  transition: background var(--transition);
}
.btn-captcha-reload:hover { background: var(--color-surface); }
