/* --------------------------------------------------------
   RESET BÁSICO
-------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #111827;
}

/* --------------------------------------------------------
   VARIABLES (NARANJA + BLANCO)
-------------------------------------------------------- */
:root {
  --color-primary: #f97316;       /* naranja */
  --color-primary-dark: #ea580c;  /* naranja más oscuro */
  --color-dark: #111827;          /* texto principal */
  --color-bg: #f5f5f5;            /* fondo general */
  --color-card: #ffffff;          /* tarjetas */
  --color-border: #e5e7eb;        /* bordes suaves */
  --color-muted: #6b7280;         /* texto secundario */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------------------
   TOPBAR (CLARA)
-------------------------------------------------------- */
.topbar {
  background-color: #ffffff;
  color: #4b5563;
  font-size: 0.85rem;
  padding: 0.5rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-right a {
  color: #6b7280;
  text-decoration: none;
  opacity: 0.95;
}

.topbar-right a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------
   PAGE WRAPPER
-------------------------------------------------------- */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

/* --------------------------------------------------------
   HEADER
-------------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--color-dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-text span {
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-text small {
  font-size: 0.85rem;
  color: var(--color-primary);
}

/* Buscador */
.search {
  flex: 1;
  display: flex;
  max-width: 620px;
}

.search input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 999px 0 0 999px;
  border: 1px solid var(--color-border);
  border-right: none;
  font-size: 0.95rem;
  outline: none;
  background-color: #f9fafb;
}

.search input:focus {
  border-color: var(--color-primary);
}

.search button {
  padding: 0 1.05rem;
  border-radius: 0 999px 999px 0;
  border: 1px solid var(--color-border);
  border-left: none;
  background-color: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

.search button:hover {
  background-color: var(--color-primary-dark);
}

/* Acciones header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  border: none;
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.icon-btn:hover {
  background-color: #f9fafb;
}

.cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-amount {
  font-weight: 600;
  font-size: 0.95rem;
}

/* --------------------------------------------------------
   NAVEGACIÓN
-------------------------------------------------------- */
.nav {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.45rem 0 0.85rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.nav-link {
  text-decoration: none;
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: #f3f4f6;
}

.nav-link.active {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --------------------------------------------------------
   HERO (INDEX)
-------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: 1.7rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: url("images/negocio.jpg");
  background-size: cover;
  background-position: center;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), transparent);
}

.hero-content {
  position: relative;
  color: #f9fafb;
  padding: 1.9rem 2.1rem;
  max-width: 540px;
}

.breadcrumb {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: 1.9rem;
  margin-bottom: 0.7em;
}

.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.1rem;
}

/* --------------------------------------------------------
   BOTONES
-------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  margin-bottom: 2rem;
}

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

.btn-outline {
  background-color: transparent;
  color: #f9fafb;
  border-color: #e5e7eb;
  margin-bottom: 2rem;
}

.btn-outline:hover {
  background-color: rgba(249, 250, 251, 0.08);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------
   LAYOUT PRINCIPAL
-------------------------------------------------------- */
.main {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.8rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------
   SIDEBAR
-------------------------------------------------------- */
.sidebar {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.15rem;
  align-self: flex-start;
}

.sidebar-block + .sidebar-block {
  margin-top: 1.2rem;
}

.sidebar-block h3 {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.filter-list input[type="checkbox"] {
  accent-color: var(--color-primary);
}

/* Precio */
.filter-price input[type="range"] {
  width: 100%;
  margin-top: 0.6rem;
}

.filter-price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------
   PRODUCTOS
-------------------------------------------------------- */
.products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.products-header h2 {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.products-header p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.products-order {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.products-order select {
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
}

/* Grilla de productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.product-card {
  position: relative;
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.favorite-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  border: none;
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.25rem 0.45rem;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.favorite-btn:hover {
  background-color: #fffbeb;
}

.product-image {
  height: 150px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.45rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* Paginación */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.page-btn {
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.page-btn:hover {
  background-color: #f3f4f6;
}

.page-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.page-separator {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------
   BENEFICIOS
-------------------------------------------------------- */
.benefits {
  margin-top: 2.5rem;
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.3rem;
  padding: 1.45rem 1.6rem;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #fffbeb;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.benefit h3 {
  font-size: 0.95rem;
}

.benefit p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------
   MAPA / UBICACIÓN
-------------------------------------------------------- */
.map-section {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: stretch;
}

.map-info {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem;
}

.map-info h2 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.map-info p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.map-placeholder {
  background: radial-gradient(circle at top, #f3f4f6, #e5e7eb);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
.footer {
  margin-top: 3rem;
  padding-top: 1.9rem;
  border-top: 1px solid #e5e7eb;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-column h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-column p {
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-column a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1;
  min-width: 180px;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 1.5rem;
  padding-bottom: 0.4rem;
}

/* --------------------------------------------------------
   RESPONSIVE GENERAL
-------------------------------------------------------- */
@media (max-width: 992px) {
  .header {
    flex-wrap: wrap;
  }

  .search {
    order: 3;
    width: 100%;
  }

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

  .sidebar {
    order: -1;
  }

  .map-section {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page {
    padding: 0 1rem 1.8rem;
  }

  .hero-content {
    padding: 1.5rem 1.4rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .benefits {
    padding-inline: 1.15rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------
   BOTONES FLOTANTES
-------------------------------------------------------- */
.floating-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  z-index: 999;
}

.floating-top {
  bottom: 20px;
  left: 20px;
  background-color: #111827;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.floating-top.show {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
  z-index: 999;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background-color: #16a34a;
  transform: translateY(-1px);
}

/* ========================================================
   PÁGINA DE SERVICIOS (servicios.html)
======================================================== */

/* Contenedor */
.page-servicios {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 3rem;
}

/* HERO SERVICIOS: oscuro neutro + acento naranja */
.hero-servicios {
  border-radius: var(--radius-lg);
  /* Imagen de fondo + overlay oscuro para que el texto se lea bien */
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.45)),
    url("images/biblioteca.jpg");  
  min-height: 260px;
  margin-bottom: 3rem;
}

.hero-servicios .breadcrumb {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.hero-servicios h1 {
  font-size: 1.9rem;
  margin-bottom: 0.7rem;
}

.hero-servicios p {
  max-width: 640px;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.hero-tag {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(249, 250, 251, 0.4);
  background-color: rgba(15, 23, 42, 0.25);
}

/* Acciones */
.hero-servicios .hero-actions {
  margin-top:0rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0rem;
}

/* --------------------------------------------------------
   WORKFLOW (PROCESO)
-------------------------------------------------------- */
.workflow {
  margin: 3.3rem 0 3rem;
}

.workflow h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.workflow-intro {
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

/* Card estilo pago */
.workflow-steps .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.03);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.workflow-steps .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  border-color: rgba(249, 115, 22, 0.4);
}

/* Número */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  margin-bottom: 0.4rem;
}

/* Título con rayita */
.workflow-steps .step h3 {
  position: relative;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--color-dark);
}

.workflow-steps .step h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  opacity: 0.8;
}

.workflow-steps .step p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Colores MUY suaves por paso (coherentes con naranja + blanco) */
.workflow-steps .step:nth-child(1) {
  background: radial-gradient(circle at top left, #fffbeb 0, #ffffff 75%);
  border-color: rgba(249, 115, 22, 0.45);
}

.workflow-steps .step:nth-child(2) {
  background: radial-gradient(circle at top left, #eef2ff 0, #ffffff 75%);
  border-color: rgba(129, 140, 248, 0.35);
}

.workflow-steps .step:nth-child(3) {
  background: radial-gradient(circle at top left, #ecfdf3 0, #ffffff 75%);
  border-color: rgba(34, 197, 94, 0.35);
}

.workflow-steps .step:nth-child(4) {
  background: radial-gradient(circle at top left, #fef2ff 0, #ffffff 75%);
  border-color: rgba(217, 70, 239, 0.35);
}

/* --------------------------------------------------------
   PLANES / PRICING
-------------------------------------------------------- */
.pricing {
  margin: 3rem 0;
}

.pricing h2 {
  font-size: 1.5rem;
}

.pricing-subtitle {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  position: relative;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--color-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.pricing-card--highlight {
  border: 2px solid var(--color-primary);
}

.pricing-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: #ffffff;
}

.pricing-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.pricing-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.pricing-card ul li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1rem;
  color: var(--color-muted);
}

.pricing-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------
   BRIEF
-------------------------------------------------------- */
.brief {
  margin: 3rem 0;
  padding: 2.4rem 2.1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #fffbeb, #fef2f2);
  color: #1f2933;
}

.brief h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.brief p {
  font-size: 0.95rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.brief-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 1.4rem;
}

.brief-form .field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
}

.brief-form label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #111827;
  outline: none;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: #9ca3af;
}

.brief-form textarea {
  resize: vertical;
  min-height: 80px;
}

.brief-form button {
  margin-top: 0.5rem;
  max-width: 260px;
}

/* --------------------------------------------------------
   FAQ
-------------------------------------------------------- */
.faq {
  margin: 3rem 0 2rem;
}

.faq h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq details {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 0.75rem 0.9rem;
  background-color: var(--color-card);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
}

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

.faq details[open] summary {
  margin-bottom: 0.4rem;
}

.faq details p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0.15rem 0 0.35rem;
}

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: var(--color-primary);
}

.faq details[open] summary::after {
  content: "–";
}

.cta-final {
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background-color: #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--color-dark);
}

/* --------------------------------------------------------
   RESPONSIVE SERVICIOS
-------------------------------------------------------- */
@media (max-width: 640px) {
  .page-servicios {
    padding: 1.5rem 1rem 2.6rem;
  }

  .hero-servicios {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .hero-servicios h1 {
    font-size: 1.6rem;
  }

  .brief {
    padding: 2rem 1.5rem;
  }

  .workflow-steps .step {
    padding: 1.15rem 1.1rem 1.25rem;
  }
}
@media (max-width: 640px) {
  .hero-servicios {
    min-height: 0; /* que no obligue a ser tan alta */
  }

  .hero-servicios .hero-content {
    padding: 1.4rem 1.2rem 1.8rem;
  }

  .hero-servicios h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .hero-servicios .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-servicios .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-servicios .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-servicios .hero-tag {
    font-size: 0.78rem;
  }
}
