/* Frío Sur Sevilla — Lead generation landing */

:root {
  --color-bg: #f0f7fc;
  --color-surface: #ffffff;
  --color-primary: #0a6ebd;
  --color-primary-dark: #085a9a;
  --color-accent: #00b4d8;
  --color-text: #1a2b3c;
  --color-text-muted: #5a6b7d;
  --color-border: #d4e4f0;
  --color-whatsapp: #25d366;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 60, 100, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 60, 100, 0.12);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  z-index: 9999;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.logo__img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(200px, 52vw);
}

.logo--footer .logo__img {
  height: 2rem;
  filter: brightness(0) invert(1);
}

.logo__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.logo strong {
  color: var(--color-primary);
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-primary);
}

/* CTA del menú: contorno legible, sin heredar estilos de enlace normal */
.nav li a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav li a.nav-cta:hover {
  color: white;
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(10, 110, 189, 0.3);
}

/* Compatibilidad: botón antiguo btn--primary dentro del menú (blog, zonas, servicios) */
.nav li a.btn--primary {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  white-space: nowrap;
}

.nav li a.btn--primary:hover {
  color: white;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(10, 110, 189, 0.3);
  transform: none;
}

.nav__cta-wrap {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: white;
  box-shadow: 0 4px 16px rgba(10, 110, 189, 0.35);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: white;
}

.btn--whatsapp:hover {
  background: #1fb855;
  color: white;
}

.btn--light {
  background: white;
  color: var(--color-primary);
}

.btn--light:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 180, 216, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(10, 110, 189, 0.1), transparent),
    linear-gradient(180deg, var(--color-bg) 0%, #e8f4fa 100%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(10, 110, 189, 0.1);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__cta--center {
  justify-content: center;
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Form card */
.hero__form-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero__form-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.hero__form-card > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.lead-form label {
  display: block;
  margin-bottom: 1rem;
}

.lead-form__hpot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.15);
}

.lead-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.lead-form .checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.form-note {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  min-height: 1.4em;
}

.form-note.success {
  color: #0d7a4a;
}

.form-note.error {
  color: #c0392b;
}

/* Stats */
.stats {
  background: var(--color-primary);
  color: white;
  padding: 2rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.stats span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--color-surface);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__header p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.card a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Split / process / why */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split--why {
  align-items: center;
}

.why-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 1.75rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.why-item:hover {
  border-color: rgba(10, 110, 189, 0.35);
  box-shadow: 0 4px 16px rgba(10, 110, 189, 0.08);
}

.why-item__icon {
  font-size: 1.35rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.why-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.why-more {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.why-more a {
  color: var(--color-primary);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.process {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d8ec4 100%);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.process h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.process__intro {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.process__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.process__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--color-primary);
}

.process ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process li:last-child {
  border-bottom: none;
}

.process li span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Zones */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.zones span,
.zones a {
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
}

.zones--linked a {
  text-decoration: none;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.zones--linked a:hover,
.zones--linked a:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(10, 110, 189, 0.35);
}

.zones--linked a[href*="zonas/index"] {
  font-weight: 700;
  background: rgba(10, 110, 189, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.zones--linked a[href*="zonas/index"]:hover {
  color: white;
}

/* Blog — listado compacto (miniatura + texto) */
.article-page--blog .page-hero {
  padding-bottom: 1.25rem;
}

.article-page--blog .page-hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2rem);
}

.article-page--blog .page-hero__lead {
  font-size: 1rem;
  margin-bottom: 0;
}

.blog-list {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.blog-list__title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-list__grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-color: rgba(10, 110, 189, 0.35);
  box-shadow: 0 2px 10px rgba(10, 110, 189, 0.07);
}

.blog-card__media {
  display: block;
  text-decoration: none;
  flex: 0 0 132px;
  width: 132px;
  border-right: 1px solid var(--color-border);
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 99px;
  object-fit: cover;
}

.blog-card__body {
  padding: 0.75rem 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.blog-card time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.blog-card h3 {
  font-family: var(--font-display);
  margin: 0.2rem 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.3;
}

.blog-card h3 a {
  text-decoration: none;
  color: var(--color-text);
}

.blog-card h3 a:hover {
  color: var(--color-primary);
}

.blog-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.prose--article {
  max-width: 720px;
  margin: 0 auto 4rem;
}

.article-figure {
  margin: 1.75rem 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.article-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.45;
}

.article-byline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.geo-summary {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: rgba(10, 110, 189, 0.06);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.geo-summary h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.geo-summary ul {
  margin: 0;
  padding-left: 1.25rem;
}

.geo-summary li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.geo-modules {
  margin: 2.5rem 0;
}

.geo-modules > h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.geo-modules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.geo-module {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.geo-module h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
  color: var(--color-primary);
}

.geo-module p,
.geo-module ul {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.geo-module ul {
  padding-left: 1.15rem;
}

.geo-module li {
  margin-bottom: 0.35rem;
}

.geo-official {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
}

.geo-official h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}

.geo-official ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.geo-official li {
  margin-bottom: 0.45rem;
}

.geo-official__source {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.districts-list {
  font-size: 0.92rem;
  line-height: 1.55;
}

.districts-list li {
  margin-bottom: 0.65rem;
}

.prose--compact p {
  font-size: 0.95rem;
}

.zone-block--reference {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.article-layout--single .article-main {
  max-width: 820px;
}

.page-hero__actions {
  margin-top: 1.25rem;
}

.nap-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nap-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.nap-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.nap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nap-card li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.brand-tag {
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.cert-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(10, 110, 189, 0.04);
  border-radius: var(--radius);
}

.cert-item__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.cert-item h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}

.cert-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.reviews-note {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .geo-modules__grid,
  .nap-block,
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.article-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(10, 110, 189, 0.08), rgba(0, 180, 216, 0.12));
  border-radius: var(--radius-lg);
  text-align: center;
}

.article-cta h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.article-cta .btn {
  margin: 0.25rem;
}

.ideas-box {
  border-radius: var(--radius-lg);
  padding: 2rem !important;
}

.ideas-intro {
  color: var(--color-text-muted);
  max-width: 60ch;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 1.5rem 0;
}

.ideas-grid h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.ideas-grid ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.ideas-grid li {
  margin-bottom: 0.35rem;
}

.ideas-tip {
  background: var(--color-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
  margin: 0;
}

.hub-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

/* Subpáginas: blog, zonas */
.zone-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.zone-block:last-of-type {
  border-bottom: none;
}

.zone-block__header {
  margin-bottom: 1.25rem;
}

.zone-block__header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.zone-block .section__eyebrow {
  margin-bottom: 0.35rem;
}

.subpage-cta {
  margin: 2rem 0 3rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 110, 189, 0.06), rgba(0, 180, 216, 0.1));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.subpage-cta h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.subpage-cta p {
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.subpage-cta .btn {
  margin: 0.25rem;
}

.blog-list__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

/* Sidebar unificada — páginas de zona */
.zone-sidebar__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.zone-sidebar__card h2,
.zone-sidebar__card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.zone-sidebar__card > p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.zone-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zone-sidebar__actions .btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.zone-sidebar__actions .btn--outline:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  transform: none;
}

.zone-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zone-services li {
  margin-bottom: 0.45rem;
}

.zone-services a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.zone-services a:hover {
  text-decoration: underline;
}

.page-hero .hero__cta {
  margin-top: 0.25rem;
}

.page-hero--compact {
  padding-bottom: 1.5rem;
}

.page-hero--compact .page-hero__lead {
  margin-bottom: 0;
  max-width: 65ch;
}

.article-page .prose > p:last-child {
  margin-bottom: 0;
}

.article-page .article-layout {
  padding-bottom: 1rem;
}

.article-page .section--alt.ideas-box {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
}

/* Sobre nosotros */
.article-page--about .page-hero--about {
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 1rem;
}

.article-page--about .page-hero__lead {
  max-width: none;
  margin-bottom: 0;
}

.prose--about {
  max-width: 720px;
  margin: 0 auto 4rem;
}

.about-intro-figure {
  margin: 1.5rem auto 2rem;
  max-width: 560px;
}

.about-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.about-intro-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.45;
}

.article-page--about .article-cta--about {
  text-align: center;
}

@media (max-width: 700px) {
  .hub-grid--2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* Banner de cookies (RGPD / LSSI) */
body.has-cookie-banner {
  padding-bottom: 7rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgba(10, 60, 100, 0.12);
  padding: 1rem;
}

.cookie-banner__inner {
  width: min(1140px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cookie-banner a {
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__reject {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.cookie-banner__reject:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: none;
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

.zones-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-muted);
}

/* CTA banner */
.section--cta {
  padding: 0;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin: 4rem auto;
}

.cta-banner h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.cta-banner p {
  margin: 0;
  opacity: 0.9;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq__item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 400;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--color-text-muted);
}

.faq-footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.faq-footer a {
  font-weight: 600;
}

/* Footer */
.footer {
  background: #0f2438;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 0;
}

.footer .logo {
  color: white;
  margin-bottom: 0.75rem;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 28ch;
}

.footer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
  color: white;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__grid--4 {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer__grid--5 {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}

/* SEO hub */
.hub-grid {
  display: grid;
  gap: 1.25rem;
}

.hub-grid--3x3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .hub-grid--3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hub-card {
  display: block;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.hub-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.hub-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.seo-content {
  padding-top: 0;
}

/* Article / landing pages */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0 1rem;
}

.breadcrumb a {
  text-decoration: none;
}

.page-hero {
  padding: 1rem 0 2.5rem;
  max-width: 720px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.page-hero__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.zone-sidebar,
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
}

.section--faq-embedded {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
}

.section--faq-embedded .section__header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section--faq-embedded .faq {
  max-width: none;
  margin: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose a {
  font-weight: 500;
}

.prose--centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.prose--centered p {
  text-align: left;
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.sidebar-card h2,
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}

.sidebar-links a {
  text-decoration: none;
  font-weight: 500;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.price-table th,
.price-table td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.price-table th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.price-table tr:nth-child(even) {
  background: var(--color-bg);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* WhatsApp float */
body.has-cookie-banner .whatsapp-float {
  bottom: 7.5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  color: white;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 190;
  transition: transform 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: white;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__form-card {
    order: -1;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .blog-card__media {
    flex-basis: 108px;
    width: 108px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer__grid,
  .footer__grid--4,
  .footer__grid--5 {
    grid-template-columns: 1fr;
  }

  .hub-grid,
  .hub-grid--3x3 {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar,
  .zone-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 150;
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1rem 1rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 32px rgba(10, 60, 100, 0.12);
  }

  .nav.is-open,
  .nav.nav--open {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav a:not(.nav-cta) {
    display: block;
    padding: 0.85rem 0;
  }

  .nav__cta-wrap {
    margin-left: 0;
    padding-top: 0.5rem;
  }

  .nav li a.nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
