* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* PALETA DE COLORES REFACTORIZADA */
  --color-primary: #6d798e;       /* Azul marino oscuro / Pizarra */
  --color-text-body: #6d798e;     /* Gris oscuro azuleado legibilidad alta */
  --color-bg-page: #FBFBF9;       /* Fondo suave de contraste */
  --color-card-bg: #FFFFFF;       /* Blanco puro exclusivo para tarjetas */
  --color-brand-blue: #288CCB;    /* Azul de marca */
  --color-btn-gray: #FBFBF9;     
  --color-btn-hover: #1FB0ED;
  --color-gold: #C5A059;

  /* FUENTES GOOGLE FONTS */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-page);
  color: var(--color-text-body);
  line-height: 1.7;
}

/* REGLAS TIPOGRÁFICAS ELEGANTES Y LIMPIAS */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600; /* Delgada y elegante */
  letter-spacing: 0.03em;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
  line-height: 1.3;
}

h2 {
  font-size: 2rem;
  line-height: 1.35;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p, span, li {
  font-family: var(--font-body);
  color: var(--color-text-body);
  font-size: 1.3rem;
  font-weight: 400;
}

/* HEADER Y LOGO */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--color-card-bg);
  position: relative;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* 1. BOTONES DE LAS TARJETAS DE PRECIOS */
.btn-primary {
  background-color: var(--color-btn-gray);
  color: #6d798e;
  border: 1px solid #6d798e !important;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  text-align: center;
  margin: 15px auto 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-2px);
}

/* NAVEGACIÓN Y MENÚ MÓVIL */
.hamburger-btn {
  display: block;
  background: none;
  border: none;
  outline: none;
  color: var(--color-primary);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1001;
}

.nav-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-card-bg);
  justify-content: center;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.nav-link {
  color: var(--color-text-body);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-brand-blue);
}

/* CONTENIDO PRINCIPAL */
.main-content {
  padding: 2rem 5% 0 5%;
}

/* SECCIONES ZIG-ZAG */
.section-zigzag {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 0;
  align-items: flex-start;
}

.zigzag-img img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.zigzag-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* BANNERS FULL WIDTH */
.banner-box-full {
  background-color: var(--color-bg-page);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 6rem 2rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.banner-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.subtitle-banner {
  letter-spacing: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  text-transform: uppercase;
}

.banner-description {
  font-size: 1.3rem;
  color: var(--color-text-body);
}

.banner-upsell-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

/* PRECIOS Y TARJETAS */
.pricing-section {
  padding-top: 4rem;
  padding-bottom: 0 !important;
}

.pricing-header {
  margin-bottom: 4rem;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  border: 1px solid #E2E8F0;
  background: var(--color-card-bg);
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
  border: 2px solid var(--color-brand-blue);
}

.badge-popular {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.card-header {
  background-color: var(--color-brand-blue);
  color: #FFFFFF;
  padding: 2rem 1rem;
  text-align: center;
}

.card-header h3 {
  color: #FFFFFF;
  font-weight: 400;
}

.card-header span {
  color: #FFFFFF;
  font-size: 0.9rem;
  opacity: 0.9;
}

.card-body {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
}

.price {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-primary);
}

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

.price-renewal {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  width: 100%;
  margin-bottom: 1.5rem;
}

.features-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #F1F5F9;
  text-align: center;
  font-size: 1.2rem;
}

/* DESGLOSE Y CONDICIONES */
.pricing-footer-notes {
  padding: 3rem 1.5rem 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.deliverables-title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.5rem;
}

.deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0;
}

/* 2. RECUADRO 'CONDICIONES DEL SERVICIO' */
.conditions-card {
  background-color: #F1F5F9;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.conditions-text {
  font-size: 0.85rem;
  margin: 0;
  color: #475569;
  text-align: center;
}

/* FRANJA DE ORILLA A ORILLA DE CONDICIONES DEL SERVICIO */
.conditions-banner-full {
  background-color: #F1F5F9;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2.5rem 1.5rem;
  border: none;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
}

/* CONTENEDOR INTERNO CENTRADO */
.conditions-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.conditions-text {
  font-size: 0.85rem;
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  padding: 4rem 5%;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  background-color: var(--color-primary);
}

.footer p {
  color: #F8FAFC;
  font-size: 0.95rem;
  margin: 0;
}

/* MEDIA QUERIES ESCRITORIO */
@media (min-width: 768px) {
  .hamburger-btn { display: none; }

  .nav-menu {
    display: flex !important;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
  }

  .nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .section-zigzag {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem; 
    padding: 6rem 0;
  }

  .section-zigzag.reverse {
    flex-direction: row-reverse;
  }

  .zigzag-text { flex: 1; }
  .zigzag-img { flex: 1; display: flex; justify-content: center; }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-box-full {
    padding: 8rem 2rem;
  }
}

@media (max-width: 767px) {
  /* CORRECCIÓN PARA BOTONES LARGOS EN MÓVIL */
  .btn-primary {
    white-space: normal;
    font-size: 0.85rem;
    padding: 12px 16px;
    width: auto;
    max-width: 100%;
    line-height: 1.3;
  }
}