/**
 * ============================================================================
 * AK MARKETING - LANDING PAGE BASE TEMPLATE CSS
 * Reusable layout stylesheet for Elementor HTML block pages
 * Version: 2.0.1 (2026)
 * ============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Urbanist:wght@400;500;600;700;800&display=swap');

:root {
  /* AK Core Brand Colors */
  --ak-navy: #273177;
  --ak-navy-dark: #1c2c6c;
  --ak-navy-light: #293779;
  --ak-blue: #33a5d2;
  --ak-blue-dark: #244a96;
  --ak-blue-hover: #2f599a;
  --ak-cyan: #32a6d3;
  --ak-purple: #7087ff;
  --ak-pink: #f68dff;
  --ak-peach: #ffb774;
  --ak-orange: #ffb774;
  --ak-ink: #19234b;
  --ak-dark: #151620;
  --ak-gray-bg: #f8f8f8;
  --ak-gray-light: #fbfbfb;
  --ak-gray-border: #e6e6e6;
  --ak-gray-text: #333335;
  --ak-gray-muted: #5e5e5e;
  --ak-line: #dce3ec;

  /* Typography */
  --ak-font-heading: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ak-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ak-font-hero: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --ak-container-max: 1280px;
  --ak-radius-sm: 8px;
  --ak-radius-md: 12px;
  --ak-radius-lg: 16px;
  --ak-radius-xl: 18px;
  --ak-shadow-card: 0 0 10px 0 rgba(0, 0, 0, 0.06);
  --ak-shadow-hover: 0 12px 28px rgba(39, 49, 119, 0.09);
  --ak-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets inside the template container */
.ak-landing {
  font-family: var(--ak-font-body);
  color: var(--ak-gray-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  overflow-x: hidden;
  box-sizing: border-box;
}

.ak-landing *,
.ak-landing *::before,
.ak-landing *::after {
  box-sizing: border-box;
}

.ak-container {
  width: min(100%, var(--ak-container-max));
  margin-inline: auto;
  padding-inline: 20px;
}

/* ============================================================================
   TYPOGRAPHY & UTILITIES
   ============================================================================ */

.ak-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}

.ak-section-header .ak-section-title {
  font-family: var(--ak-font-heading);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ak-navy);
  margin: 0 0 10px;
}

.ak-section-subtitle {
  font-family: var(--ak-font-body);
  font-size: clamp(15px, 1.1vw, 16px);
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

.ak-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--ak-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(180deg, #273177 0%, #2f599a 100%);
  border: none;
  border-radius: var(--ak-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--ak-transition);
  box-shadow: 0 4px 14px rgba(39, 49, 119, 0.2);
}

.ak-btn-primary:hover {
  background: linear-gradient(180deg, #1c2c6c 0%, #244a96 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 49, 119, 0.28);
}

.ak-btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.ak-btn-primary:hover svg {
  transform: translateX(4px);
}

/* ============================================================================
   SECTION 1: HERO
   ============================================================================ */

#ak-seo-hero {
  --ak-header-space: 120px;
  --ak-blue: #293b85;
  --ak-ink: #19234b;
  --ak-viewport: 100vw;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: var(--ak-viewport);
  max-width: none;
  margin-inline: calc((100% - var(--ak-viewport)) / 2);
  overflow: hidden;
  background: #f6f3fd;
  color: var(--ak-ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

#ak-seo-hero *,
#ak-seo-hero *::before,
#ak-seo-hero *::after {
  box-sizing: border-box;
}

#ak-seo-hero .ak-hero__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Velo localizado para legibilidad: conserva el portátil y el color del fondo. */
#ak-seo-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 247, 255, 0.96) 0%,
    rgba(249, 247, 255, 0.88) 27%,
    rgba(249, 247, 255, 0.62) 39%,
    rgba(249, 247, 255, 0) 58%
  );
  pointer-events: none;
}

#ak-seo-hero .ak-hero__inner {
  width: min(100%, 1480px);
  min-height: clamp(760px, 56.25vw, 960px);
  margin-inline: auto;
  padding: calc(var(--ak-header-space) + 48px) clamp(28px, 5vw, 80px) 88px;
  display: flex;
  align-items: center;
}

#ak-seo-hero .ak-hero__content {
  width: 45%;
  max-width: 590px;
}

#ak-seo-hero .ak-hero__h1 {
  margin: 0 0 23px;
  padding: 0;
  color: var(--ak-blue);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

#ak-seo-hero .ak-hero__h2 {
  margin: 0 0 27px;
  padding: 0;
  color: var(--ak-ink);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(35px, 3.15vw, 50px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.045em;
  text-transform: none;
  text-wrap: pretty;
}

#ak-seo-hero .ak-hero__h2 span {
  color: var(--ak-blue);
}

#ak-seo-hero .ak-hero__text {
  margin: 0 0 16px;
  padding: 0;
  max-width: 510px;
  color: #303957;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-wrap: pretty;
}

#ak-seo-hero .ak-hero__text--benefits {
  font-weight: 600;
}

#ak-seo-hero .ak-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 58px;
  max-width: 100%;
  margin-top: 18px;
  padding: 16px 25px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ak-blue);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

#ak-seo-hero .ak-hero__cta:visited {
  color: #fff;
}

#ak-seo-hero .ak-hero__cta:hover {
  background: #1c2c6c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(25, 35, 75, 0.16);
}

#ak-seo-hero .ak-hero__cta:focus-visible {
  outline: 3px solid #293b85;
  outline-offset: 5px;
}

#ak-seo-hero .ak-hero__cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

#ak-seo-hero .ak-hero__cta:hover svg {
  transform: translateX(3px);
}

@keyframes ak-hero-reveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* El contenido permanece visible aunque JavaScript no se ejecute. */
#ak-seo-hero.ak-hero--entered .ak-hero__content > * {
  animation: ak-hero-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#ak-seo-hero.ak-hero--entered .ak-hero__h2 {
  animation-delay: 80ms;
}

#ak-seo-hero.ak-hero--entered .ak-hero__text {
  animation-delay: 150ms;
}

#ak-seo-hero.ak-hero--entered .ak-hero__text--benefits {
  animation-delay: 210ms;
}

#ak-seo-hero.ak-hero--entered .ak-hero__cta {
  animation-delay: 270ms;
}

/* ============================================================================
   CLIENTS / SOCIAL PROOF BANNER
   ============================================================================ */

.ak-clients-banner {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ffb774 0%, var(--ak-pink) 100%);
  padding: 30px 0;
  overflow: hidden;
}

.ak-clients-banner .ak-clients-title {
  text-align: center;
  font-family: var(--ak-font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 22px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ak-clients-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.ak-clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: ak-marquee 30s linear infinite;
  width: max-content;
}

.ak-clients-marquee-track:hover {
  animation-play-state: paused;
}

.ak-clients-marquee-track img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.ak-clients-marquee-track img:hover {
  transform: scale(1.06);
}

@keyframes ak-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================================
   SECTION 2: PROBLEM & FEATURES
   ============================================================================ */

.ak-section-problem,
.ak-split-section {
  padding: 8px 10px 32px;
  background: #ffffff;
}

.ak-split-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 36px;
}

.ak-split-block:last-child {
  margin-bottom: 0;
}

.ak-split-block--reverse {
  flex-direction: row-reverse;
}

.ak-split-content {
  flex: 1;
  max-width: 600px;
}

.ak-split-block .ak-split-content h2,
.ak-split-block .ak-split-content h3 {
  font-family: var(--ak-font-heading);
  font-size: clamp(26px, 2.7vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ak-navy);
  margin: 0 0 18px;
}

.ak-split-block .ak-split-content h3.ak-cyan-heading {
  color: var(--ak-blue);
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 600;
}

.ak-split-content p {
  font-family: var(--ak-font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: #374151;
  margin: 0 0 16px;
}

.ak-split-content strong {
  color: #111827;
}

.ak-split-image,
.ak-split-media {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.ak-split-image img,
.ak-split-media img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: block;
}

.ak-split-image img:hover,
.ak-split-media img:hover {
  transform: translateY(-4px);
}

/* 8-Feature Grid - Exact production replica */
.ak-features-section {
  padding: 24px 0 32px;
}

.ak-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ak-features-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ak-feature-card {
  background-color: #f8f8f8;
  border: 1px solid var(--ak-gray-border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--ak-transition);
}

.ak-feature-card:hover {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
  border-color: var(--ak-gray-border);
  transform: translateY(-2px);
}

.ak-feature-icon {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ak-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--ak-purple);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ak-feature-card:hover .ak-feature-icon {
  border-color: var(--ak-peach);
  color: var(--ak-peach);
  transform: scale(1.05);
}

.ak-feature-icon svg {
  width: 26px;
  height: 26px;
}

.ak-feature-card .ak-feature-title {
  font-family: var(--ak-font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #111111;
  margin: 0 0 12px;
}

.ak-feature-desc {
  font-family: var(--ak-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: #333335;
  margin: 0;
}

/* ============================================================================
   SECTION 3: COMPARISON TABLE & TESTIMONIALS
   ============================================================================ */

.ak-section-comparison {
  padding: 36px 0 24px;
  background: #ffffff;
}

#ak-geo-comparativa {
  font-family: "Manrope", sans-serif;
  margin: 20px 0 28px;
}

.contenedor-tabla-responsive {
  overflow-x: auto;
}

.tabla-comparativa-seo {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.9em;
  font-family: "Inter", sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.tabla-comparativa-seo thead tr {
  background-color: #273177;
  color: #ffffff;
  text-align: left;
  font-weight: 700;
}

.tabla-comparativa-seo th,
.tabla-comparativa-seo td {
  padding: 14px 18px;
  border: 1px solid #ddd;
}

.tabla-comparativa-seo thead th {
  font-family: var(--ak-font-heading);
  font-size: 15px;
  border-color: #244a96;
}

.tabla-comparativa-seo tbody tr {
  border-bottom: 1px solid #ddd;
}

.tabla-comparativa-seo tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.tabla-comparativa-seo tbody tr:hover {
  background-color: #f1f4fb;
}

.tabla-comparativa-seo tbody th {
  font-weight: 700;
  color: var(--ak-navy);
  width: 25%;
  text-align: left;
}

.ak-celda-label {
  display: none;
}

.ak-celda-texto {
  line-height: 1.55;
  color: #333335;
}

/* Testimonials / Reviews Section */
.ak-reviews-section {
  padding: 24px 0 16px;
}

.ak-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.ak-review-card {
  background: #ffffff;
  border: 1px solid var(--ak-gray-border);
  border-radius: var(--ak-radius-md);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--ak-transition);
}

.ak-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--ak-purple);
}

.ak-review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ak-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #f3f4f6;
}

.ak-review-meta {
  flex: 1;
}

.ak-review-name {
  font-family: var(--ak-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #111827;
  margin: 0;
}

.ak-review-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.ak-review-platform img {
  width: 16px;
  height: 16px;
}

.ak-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.ak-review-stars svg,
.ak-review-stars img {
  width: 16px;
  height: 16px;
}

.ak-review-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
  font-style: normal;
}

/* ============================================================================
   SECTION 4: PRICING PLANS
   ============================================================================ */

#ak-geo-precios {
  --ak-navy: #293779;
  --ak-blue: #32a6d3;
  --ak-blue-dark: #244a96;
  --ak-ink: #17213a;
  --ak-line: #dce3ec;
  box-sizing: border-box;
  width: 100%;
  color: var(--ak-ink);
  font-family: Manrope, sans-serif;
  padding: 36px 0;
  background: #fbfbfb;
}

#ak-geo-precios *,
#ak-geo-precios *::before,
#ak-geo-precios *::after {
  box-sizing: inherit;
}

#ak-geo-precios .ak-precios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: stretch;
}

#ak-geo-precios .ak-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ak-line);
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#ak-geo-precios .ak-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(41, 55, 121, 0.1);
  border-color: var(--ak-blue);
}

#ak-geo-precios .ak-plan-cabecera {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: 18px 22px;
  background: var(--ak-navy);
  color: #fff;
  text-align: center;
}

#ak-geo-precios .ak-plan-titulo {
  margin: 0;
  color: inherit;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.2;
}

#ak-geo-precios .ak-plan-precio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 18px 12px 14px;
  text-align: center;
}

#ak-geo-precios .ak-plan-cifra {
  display: inline-flex;
  align-items: flex-start;
  color: var(--ak-blue);
  font-size: clamp(50px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

#ak-geo-precios .ak-plan-moneda {
  margin: 8px 5px 0 0;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
}

#ak-geo-precios .ak-plan-periodo {
  margin: 1px 0 0;
  color: #3a465e;
  font-size: 15px;
  line-height: 1.4;
}

#ak-geo-precios .ak-plan-lista {
  flex: 1;
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

#ak-geo-precios .ak-plan-lista li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 46px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ak-line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #333335;
}

#ak-geo-precios .ak-plan-lista li:last-child {
  border-bottom: 0;
}

#ak-geo-precios .ak-plan-lista li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--ak-blue-dark);
  border: 1.7px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

#ak-geo-precios .ak-plan-pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 94px;
  padding: 18px 22px 22px;
  text-align: center;
}

#ak-geo-precios .ak-plan-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--ak-navy);
  border-radius: 8px;
  background: var(--ak-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

#ak-geo-precios .ak-plan-boton:hover {
  border-color: var(--ak-blue-dark);
  background: var(--ak-blue-dark);
  color: #fff;
}

/* ============================================================================
   SECTION 5: FAQ ACCORDION
   ============================================================================ */

.ak-section-faq {
  padding: 36px 0 48px;
  background: #ffffff;
}

.ak-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.ak-faq-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ak-faq-item {
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ak-faq-item:hover {
  background: #f3f4f6;
  border-color: #e2e8f0;
}

.ak-faq-item.is-open {
  background: #ffffff;
  border-color: var(--ak-blue);
  box-shadow: 0 4px 14px rgba(50, 166, 211, 0.08);
}

.ak-section-faq .ak-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  font-family: var(--ak-font-heading);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ak-navy);
  cursor: pointer;
  gap: 16px;
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  transition: color 0.2s ease;
}

.ak-section-faq .ak-faq-question:hover,
.ak-section-faq .ak-faq-question:focus {
  background: none;
  color: var(--ak-blue-hover);
}

.ak-section-faq .ak-faq-question:focus-visible {
  outline: 2px solid var(--ak-blue-dark);
  outline-offset: -4px;
}

.ak-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ak-navy);
  transition: transform 0.25s ease, color 0.2s ease;
}

.ak-faq-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.ak-faq-item.is-open .ak-faq-icon {
  transform: rotate(180deg);
  color: var(--ak-blue);
}

.ak-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 20px;
}

.ak-faq-item.is-open .ak-faq-answer {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
  padding: 0 20px 18px;
}

.ak-faq-answer p {
  margin: 0;
  font-family: var(--ak-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* ============================================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================================ */

@media (max-width: 1024px) {
  .ak-features-grid,
  .ak-features-grid--3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ak-split-block {
    gap: 36px;
  }

  .ak-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ak-faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 1800px) {
  #ak-seo-hero .ak-hero__inner {
    width: min(100%, 1660px);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  #ak-seo-hero .ak-hero__content {
    width: 49%;
  }
  #ak-seo-hero::before {
    background: linear-gradient(
      90deg,
      rgba(249, 247, 255, 0.98) 0%,
      rgba(249, 247, 255, 0.92) 35%,
      rgba(249, 247, 255, 0) 68%
    );
  }
}

@media (max-width: 900px) {
  #ak-seo-hero {
    --ak-header-space: 100px;
  }

  #ak-seo-hero .ak-hero__inner {
    min-height: 0;
    padding: calc(var(--ak-header-space) + 32px) clamp(24px, 6vw, 64px) clamp(340px, 57vw, 510px);
    align-items: flex-start;
  }

  #ak-seo-hero .ak-hero__content {
    width: 100%;
    max-width: 630px;
  }

  #ak-seo-hero .ak-hero__h2 {
    max-width: 620px;
    font-size: clamp(34px, 5.3vw, 47px);
  }

  #ak-seo-hero .ak-hero__text {
    max-width: 560px;
    font-size: 17px;
  }

  #ak-seo-hero .ak-hero__background {
    object-position: 70% bottom;
  }

  #ak-seo-hero::before {
    background: linear-gradient(
      180deg,
      #f9f7ff 0%,
      rgba(249, 247, 255, 0.98) 48%,
      rgba(249, 247, 255, 0.94) 59%,
      rgba(249, 247, 255, 0.12) 82%,
      rgba(249, 247, 255, 0) 100%
    );
  }

  #ak-geo-precios .ak-precios-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .ak-split-block,
  .ak-split-block--reverse {
    flex-direction: column;
    text-align: left;
    gap: 30px;
    margin-bottom: 32px;
  }

  .ak-split-block:last-child {
    margin-bottom: 0;
  }

  .ak-split-content {
    max-width: 100%;
    width: 100%;
  }

  .ak-split-image,
  .ak-split-media {
    width: 100%;
    max-width: 100%;
  }

  .ak-split-image img,
  .ak-split-media img {
    max-width: 100%;
    height: auto;
  }

  .ak-features-grid,
  .ak-features-grid--3 {
    grid-template-columns: 1fr !important;
  }

  .ak-reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive comparison table */
  .tabla-comparativa-seo thead {
    display: none;
  }

  .tabla-comparativa-seo,
  .tabla-comparativa-seo tbody,
  .tabla-comparativa-seo tr,
  .tabla-comparativa-seo td,
  .tabla-comparativa-seo th {
    display: block;
    width: 100%;
  }

  .tabla-comparativa-seo tr {
    margin-bottom: 20px;
    border: 1px solid var(--ak-line);
    border-radius: var(--ak-radius-md);
    overflow: hidden;
  }

  .tabla-comparativa-seo tbody th {
    width: 100%;
    background-color: var(--ak-navy);
    color: #ffffff;
    font-size: 16px;
    padding: 12px 16px;
  }

  .tabla-comparativa-seo td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f2f5;
  }

  .tabla-comparativa-seo td:last-child {
    border-bottom: none;
  }

  .ak-celda-label {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    background: #e2e8f0;
    color: #1e293b;
  }

  td:nth-of-type(2) .ak-celda-label {
    background: #e0f2fe;
    color: #0369a1;
  }
}

@media (max-width: 540px) {
  #ak-seo-hero {
    --ak-header-space: 88px;
  }

  #ak-seo-hero .ak-hero__inner {
    padding-top: calc(var(--ak-header-space) + 28px);
    padding-bottom: 315px;
  }

  #ak-seo-hero .ak-hero__h1 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  #ak-seo-hero .ak-hero__h2 {
    font-size: clamp(30px, 8.1vw, 41px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
  }

  #ak-seo-hero .ak-hero__text {
    font-size: 16px;
    line-height: 1.6;
  }

  #ak-seo-hero .ak-hero__cta {
    width: 100%;
    margin-top: 15px;
    padding-inline: 18px;
  }

  #ak-geo-precios .ak-plan-lista {
    padding: 0 18px;
  }

  #ak-geo-precios .ak-plan-titulo {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ak-seo-hero.ak-hero--entered .ak-hero__content > * {
    animation: none;
  }
  #ak-seo-hero .ak-hero__cta,
  #ak-seo-hero .ak-hero__cta svg {
    transition: none;
  }
  #ak-seo-hero .ak-hero__cta:hover svg {
    transform: none;
  }
}

/* ============================================================================
   ADDITIONS: CHATGPT SEO LANDING EXTENSIONS
   ============================================================================ */

.ak-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eef2ff;
  color: var(--ak-navy);
  font-family: var(--ak-font-heading);
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.ak-contrast-box {
  background: #f8fafc;
  border-left: 4px solid var(--ak-blue);
  padding: 14px 18px;
  border-radius: 0 var(--ak-radius-sm) var(--ak-radius-sm) 0;
  margin: 18px 0;
}

.ak-contrast-box p {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--ak-navy) !important;
  font-weight: 600;
}

/* Visibility comparison (Prestada vs Ganada) */
.ak-visibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.ak-visibility-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--ak-gray-border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ak-visibility-card--borrowed {
  border-color: #fed7aa;
  background: #fffaf5;
}

.ak-visibility-card--earned {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.ak-visibility-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

.ak-visibility-tag--borrowed {
  background: #ffedd5;
  color: #9a3412;
}

.ak-visibility-tag--earned {
  background: #e0f2fe;
  color: #0369a1;
}

.ak-visibility-card .ak-visibility-title {
  font-family: var(--ak-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--ak-navy);
  margin: 0 0 8px;
}

.ak-visibility-desc {
  font-family: var(--ak-font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

/* Multi-Platform AI Grid */
.ak-platforms-section {
  padding: 36px 0 28px;
  background: #fbfbfb;
}

.ak-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.ak-platform-card {
  background: #ffffff;
  border: 1px solid var(--ak-gray-border);
  border-radius: 12px;
  padding: 24px;
  transition: var(--ak-transition);
  display: flex;
  flex-direction: column;
}

.ak-platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--ak-blue);
  box-shadow: 0 10px 24px rgba(41, 55, 121, 0.08);
}

.ak-platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ak-platform-card .ak-platform-name {
  font-family: var(--ak-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ak-navy);
  margin: 0;
}

.ak-platform-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
}

.ak-platform-desc {
  font-family: var(--ak-font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Pre-Form CTA Banner */
.ak-cta-banner-section {
  padding: 36px 0;
  background: #ffffff;
}

.ak-cta-banner {
  background: linear-gradient(135deg, #273177 0%, #1e295f 60%, #16204c 100%);
  border-radius: 16px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(39, 49, 119, 0.2);
}

.ak-cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(50, 166, 211, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ak-cta-banner .ak-cta-banner__title {
  font-family: var(--ak-font-heading);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px;
  position: relative;
}

.ak-cta-banner__desc {
  font-family: var(--ak-font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 28px;
  position: relative;
}

.ak-cta-banner .ak-btn-primary {
  background: #ffffff !important;
  background-image: none !important;
  color: var(--ak-navy, #273177) !important;
  font-weight: 800;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  padding: 15px 32px !important;
  position: relative;
}

.ak-cta-banner .ak-btn-primary:hover {
  background: #f0f4ff !important;
  color: var(--ak-blue, #1c2c6c) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .ak-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ak-visibility-grid {
    grid-template-columns: 1fr;
  }
  .ak-platforms-grid {
    grid-template-columns: 1fr;
  }
}



