/* Variables y basicos */
:root {
  --brown: #2f6eb8;
  --brown-dark: #1b2f42;
  --brown-soft: #2bb7bf;
  --cream: #f1f6f9;
  --light: #f6f7fb;
  --gray: #e9eaef;
  --text: #1f1b19;
  --muted: #5e5a57;
  --border: #e3e3e8;
  --shadow: 0 16px 40px rgba(15, 25, 36, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1280px;
  --transition: 0.35s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f2f8fb 0%, #ffffff 35%, #ffffff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 110, 184, 0.08), transparent 42%),
    radial-gradient(circle at 90% 88%, rgba(27, 47, 66, 0.06), transparent 44%),
    radial-gradient(circle at 20% 70%, rgba(47, 110, 184, 0.05), transparent 48%),
    linear-gradient(120deg, rgba(47, 110, 184, 0.05), rgba(255, 255, 255, 0)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23c89a7a' stroke-width='0.8' stroke-opacity='0.12'%3E%3Ccircle cx='70' cy='70' r='18'/%3E%3Ccircle cx='70' cy='70' r='48'/%3E%3Ccircle cx='70' cy='70' r='68'/%3E%3C/ g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-position: 0 0, 100% 100%, 20% 70%, 0 0, 0 0;
  background-size: 60% 60%, 60% 60%, 45% 45%, 100% 100%, auto;
  opacity: 0.9;
}

body::after {
  background:
    radial-gradient(circle at 50% 30%, rgba(47, 110, 184, 0.1), transparent 58%),
    radial-gradient(circle at 80% 20%, rgba(27, 47, 66, 0.1), transparent 52%),
    repeating-linear-gradient(45deg, rgba(27, 47, 66, 0.03) 0, rgba(27, 47, 66, 0.03) 1px, transparent 1px, transparent 24px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23c89a7a' stroke-opacity='0.24' stroke-width='1.6'%3E%3Ccircle cx='42' cy='58' r='12'/%3E%3Ccircle cx='180' cy='120' r='10'/%3E%3Ccircle cx='210' cy='44' r='14'/%3E%3Ccircle cx='90' cy='190' r='11'/%3E%3Ccircle cx='28' cy='170' r='9'/%3E%3Ccircle cx='190' cy='200' r='12'/%3E%3Ccircle cx='120' cy='32' r='11'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, auto, 240px 240px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  opacity: 0.85;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}

body::before {
  top: -120px;
  left: -180px;
  background:
    radial-gradient(circle, rgba(47, 110, 184, 0.35), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(47, 110, 184, 0.02) 0, rgba(47, 110, 184, 0.02) 2px, transparent 2px, transparent 6px),
    linear-gradient(90deg, rgba(47, 110, 184, 0.04) 0, rgba(47, 110, 184, 0.04) 1px, transparent 1px, transparent 18px);
}

body::after {
  bottom: -160px;
  right: -140px;
  background:
    radial-gradient(circle, rgba(27, 47, 66, 0.28), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(45deg, rgba(27, 47, 66, 0.02) 0, rgba(27, 47, 66, 0.02) 2px, transparent 2px, transparent 8px),
    linear-gradient(90deg, transparent 0, transparent 12%, rgba(27, 47, 66, 0.045) 12%, rgba(27, 47, 66, 0.045) 13%, transparent 13%, transparent 87%, rgba(27, 47, 66, 0.045) 87%, rgba(27, 47, 66, 0.045) 88%, transparent 88%, transparent 100%);
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
  padding: 1rem 0;
}

.site-header.shrink {
  padding: 0.4rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}

.brand-name {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-sub {
  color: var(--brown);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
}

.main-nav a {
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: #fff;
  box-shadow: 0 16px 24px rgba(47, 110, 184, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(47, 110, 184, 0.35);
}

.btn.ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.btn.sent {
  background: var(--brown-soft);
  box-shadow: none;
}

.nav-cta {
  padding: 0.75rem 1.3rem;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 2.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 1rem 0 0.8rem;
}

.hero-copy p {
  max-width: 540px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brown-dark);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
  align-items: stretch;
}

.meta-item {
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafe 100%);
  border-radius: 14px;
  border: 1px solid rgba(47, 110, 184, 0.16);
  box-shadow: 0 14px 30px rgba(15, 25, 36, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.meta-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(47, 110, 184, 0.08), rgba(47, 110, 184, 0));
  opacity: 0.55;
  pointer-events: none;
}

.meta-item::after {
  content: '';
  position: absolute;
  inset: 12px 14px auto 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 110, 184, 0.2), rgba(255, 255, 255, 0));
  opacity: 0.65;
}

.meta-item strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
  color: var(--brown-dark);
  z-index: 1;
}

.meta-item span {
  color: #4f4b48;
  line-height: 1.5;
  z-index: 1;
}

.hero-visual {
  position: relative;
}

.hero-image {
  position: relative;
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease;
  will-change: transform;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 10% 20%, rgba(47, 110, 184, 0.08), transparent 35%),
    radial-gradient(circle at 90% 30%, rgba(27, 47, 66, 0.08), transparent 32%);
  z-index: 0;
}

.hero::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  opacity: 0.35;
  z-index: 0;
}

.servicios::before,
.planes::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 5% 30%, rgba(47, 110, 184, 0.06), transparent 50%),
    radial-gradient(circle at 95% 70%, rgba(27, 47, 66, 0.06), transparent 45%);
  opacity: 0.9;
}

.servicios,
.proceso,
.planes,
.cta,
.testimonios {
  position: relative;
  overflow: hidden;
}

.hero-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.beneficios {
  background:
    linear-gradient(180deg, #1b2f42 0%, #2f6eb8 55%, #2bb7bf 100%);
  padding: 90px 0 110px;
  scroll-margin-top: 260px;
  position: relative;
  overflow: hidden;
}

.beneficios::before,
.beneficios::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.beneficios::before {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 32px);
  opacity: 0.35;
}

.beneficios::after {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06), transparent 50%);
  opacity: 0.4;
}

.beneficios-header {
  text-align: center;
  color: #fff;
  max-width: 760px;
  margin: 0 auto 1.7rem;
}

.beneficios-header h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.3px;
}

.beneficios-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.beneficios-header p:empty {
  display: none;
}

.beneficios .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
  justify-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card {
  background: linear-gradient(180deg, #f1faff 0%, #e6f4fb 100%);
  color: #2f2622;
  padding: 1.8rem 1.9rem 1.7rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 26px 56px rgba(15, 25, 36, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  display: grid;
  align-content: start;
  position: relative;
  isolation: isolate;
}

.benefit-card::before {
  content: '';
  position: absolute;
  left: 1.6rem;
  top: 1.7rem;
  width: 3px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 110, 184, 0.6), rgba(47, 110, 184, 0));
  opacity: 0.7;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 14px 14px auto 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  opacity: 0.6;
}

.benefit-card h3 {
  margin: 1.6rem 0 0.6rem;
  color: #3a2f2a;
  letter-spacing: 0.35px;
  font-size: 1.2rem;
}

.benefit-card p {
  margin: 0;
  color: #5a4f48;
  line-height: 1.7;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 25, 36, 0.18);
}

/* Servicios */
.servicios {
  padding: 110px 0;
  background: radial-gradient(circle at 20% 20%, rgba(47, 110, 184, 0.07), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(27, 47, 66, 0.06), transparent 34%),
    linear-gradient(180deg, #f0f8fb 0%, #ffffff 22%, #ffffff 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  position: relative;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.8rem;
  justify-content: center;
  justify-items: center;
}

.service-card {
  width: 100%;
  max-width: 320px;
  position: relative;
  padding: 2rem 2rem 1.85rem;
  border-radius: 24px;
  border: 1px solid rgba(47, 110, 184, 0.16);
  background:
    radial-gradient(circle at 20% 15%, rgba(47, 110, 184, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #eaf5fb 100%);
  box-shadow: 0 24px 52px rgba(15, 25, 36, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
  }
  .services-grid > :nth-child(5) {
    grid-column: 2;
  }
  .services-grid > :nth-child(6) {
    grid-column: 3;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 25, 36, 0.16);
  border-color: rgba(47, 110, 184, 0.24);
  background:
    radial-gradient(circle at 20% 15%, rgba(47, 110, 184, 0.1), transparent 35%),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 60%);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  opacity: 0.35;
  pointer-events: none;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.service-chip {
  display: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 0.9rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(47, 110, 184, 0.2), rgba(27, 47, 66, 0.18));
  color: var(--brown-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1rem;
  box-shadow:
    inset 0 0 0 1px rgba(47, 110, 184, 0.26),
    0 12px 20px rgba(15, 25, 36, 0.1);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 110, 184, 0.2), rgba(27, 47, 66, 0.24));
  color: var(--brown-dark);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 1px rgba(47, 110, 184, 0.26),
    inset 0 12px 18px rgba(255, 255, 255, 0.18),
    0 18px 28px rgba(47, 110, 184, 0.16);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(47, 110, 184, 0.2), rgba(27, 47, 66, 0.32));
  box-shadow: inset 0 0 0 1px rgba(47, 110, 184, 0.2), 0 18px 36px rgba(27, 47, 66, 0.18);
  transform: translateY(-4px);
}

.service-body {
  position: relative;
  z-index: 1;
}

.service-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.service-body p {
  margin: 0;
  color: #4a443f;
  line-height: 1.65;
}

/* Metodo */
.metodo {
  padding: 110px 0;
  background: radial-gradient(circle at 12% 20%, rgba(47, 110, 184, 0.06), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(27, 47, 66, 0.04), transparent 24%),
    #fff;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.8rem;
  align-items: stretch;
}

.metodo-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 25, 36, 0.16);
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fb 100%);
}

.metodo-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 10, 0) 0%, rgba(15, 12, 10, 0.12) 100%);
  pointer-events: none;
}

.metodo-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: center;
  will-change: transform;
}

.metodo-visual:hover img {
  transform: scale(1.01);
}

.metodo-copy {
  background: linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(47, 110, 184, 0.12);
  box-shadow: 0 18px 44px rgba(15, 25, 36, 0.12);
}

.metodo-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.metodo-copy p {
  margin-bottom: 1.2rem;
  color: #4f4b48;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(47, 110, 184, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 25, 36, 0.08);
}

.check-marker {
  width: 10px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 110, 184, 0.65), rgba(47, 110, 184, 0.08));
  box-shadow: 0 6px 14px rgba(15, 25, 36, 0.08);
  flex-shrink: 0;
}

.check-list span {
  color: #322b28;
  line-height: 1.6;
  font-weight: 600;
}

.metodo .btn.primary {
  padding: 0.95rem 1.5rem;
  box-shadow: 0 16px 28px rgba(47, 110, 184, 0.28);
}

.metodo .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(27, 47, 66, 0.32);
}

/* Proceso */
.proceso {
  padding: 100px 0;
  background: radial-gradient(circle at 12% 20%, rgba(47, 110, 184, 0.05), transparent 32%),
    radial-gradient(circle at 88% 80%, rgba(27, 47, 66, 0.045), transparent 30%),
    linear-gradient(180deg, #fefefe 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.step {
  text-align: center;
  padding: 1.6rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(47, 110, 184, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
  box-shadow: 0 18px 40px rgba(15, 25, 36, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 25, 36, 0.12);
  border-color: rgba(47, 110, 184, 0.2);
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 110, 184, 0.18), rgba(27, 47, 66, 0.26));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 0 auto 1rem;
  box-shadow: 0 12px 24px rgba(27, 47, 66, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* Nosotros */
.nosotros {
  padding: 80px 0;
  background: linear-gradient(180deg, #f2f8fb 0%, #ffffff 40%, #ffffff 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.3rem;
  margin: 1.4rem 0;
}

.stat {
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(47, 110, 184, 0.12);
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 110, 184, 0.07), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(27, 47, 66, 0.06), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #fbf6ef 100%);
  text-align: left;
  box-shadow: 0 18px 38px rgba(15, 25, 36, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brown-dark);
  display: block;
  letter-spacing: 0.2px;
  margin-bottom: 0.2rem;
}

.stat-number::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.stat::after {
  content: '';
  position: absolute;
  inset: auto 10% 12% 10%;
  height: 36%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 65%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.stat-title {
  position: relative;
  z-index: 1;
  display: block;
  color: #3c3530;
  font-weight: 650;
  line-height: 1.5;
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 25, 36, 0.15);
  border-color: rgba(47, 110, 184, 0.2);
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 110, 184, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(27, 47, 66, 0.08), transparent 38%),
    linear-gradient(180deg, #fffaf7 0%, #fbf3e9 100%);
}

.about-image {
  position: relative;
}

.about-image img {
  transition: transform 0.5s ease;
  will-change: transform;
}

.about-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

/* Testimonios */
.testimonios {
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #f1f6f9 0%, #ffffff 16%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.testimonios::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12%;
  width: 45%;
  height: 65%;
  background: radial-gradient(circle at 0% 20%, rgba(47, 110, 184, 0.08), transparent 60%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 25, 36, 0.1);
  padding: 1.2rem;
}

.testimonios-cta {
  text-align: center;
  margin-top: 1.8rem;
}

.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.6s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 280px;
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(47, 110, 184, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf7 100%);
  box-shadow: 0 18px 42px rgba(15, 25, 36, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity 0.45s cubic-bezier(0.25, 0.1, 0.25, 1), translate 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 52px rgba(15, 25, 36, 0.14);
  border-color: rgba(47, 110, 184, 0.22);
}

.testimonial-exit {
  opacity: 0;
  translate: 0 -12px;
}

.testimonial-enter {
  opacity: 0;
  translate: 0 18px;
}

.testimonial-enter.in {
  opacity: 1;
  translate: 0 0;
}

.stars {
  color: #e5a100;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
}

.author {
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-text {
  color: #3c3734;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 110, 184, 0.3), rgba(27, 47, 66, 0.6));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 22px rgba(15, 25, 36, 0.18);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-role {
  color: #6a6663;
  font-weight: 600;
}

/* Planes */
.planes {
  padding: 110px 0;
  background: radial-gradient(circle at 18% 18%, rgba(47, 110, 184, 0.06), transparent 32%),
    radial-gradient(circle at 82% 6%, rgba(27, 47, 66, 0.05), transparent 26%),
    #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(47, 110, 184, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf7 100%);
  box-shadow: 0 18px 40px rgba(15, 25, 36, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.plan-card.featured {
  border-color: rgba(47, 110, 184, 0.24);
  box-shadow: 0 24px 52px rgba(27, 47, 66, 0.2);
}

.plan-card.featured::after {
  background: radial-gradient(circle at 50% 40%, rgba(47, 110, 184, 0.2), transparent 70%),
    radial-gradient(circle at 20% 10%, rgba(47, 110, 184, 0.08), transparent 32%);
  opacity: 0.9;
}

.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(47, 110, 184, 0.08), transparent 32%);
  opacity: 0.7;
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 25, 36, 0.12);
  border-color: rgba(47, 110, 184, 0.26);
}

.plan-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(47, 110, 184, 0.1);
  color: var(--brown-dark);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(47, 110, 184, 0.16);
}

.plan-accent {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(47, 110, 184, 0.4), rgba(27, 47, 66, 0.6));
    box-shadow: 0 6px 10px rgba(15, 25, 36, 0.16);
}

.plan-headings {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.plan-name {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.plan-sub {
  margin: 0;
  color: #4c4441;
  font-weight: 600;
  font-size: 0.98rem;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plan-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  color: #352f2c;
  line-height: 1.45;
}

.plan-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--brown-dark);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(47, 110, 184, 0.18), 0 6px 12px rgba(15, 25, 36, 0.08);
}

.plan-check svg {
  width: 10px;
  height: 10px;
}

.plan-actions {
  margin-top: auto;
}

.plan-card .btn {
  width: 100%;
  padding: 0.9rem 1.1rem;
}

.plan-card .btn.ghost {
  background: #fff;
  border-color: rgba(47, 110, 184, 0.24);
  color: var(--text);
}

.plan-card .btn.ghost:hover {
  box-shadow: 0 14px 32px rgba(15, 25, 36, 0.1);
}

.featured {
  background: linear-gradient(180deg, #f6e9df 0%, #ffffff 45%);
  border: 1px solid #d8c4b8;
  box-shadow: 0 30px 60px rgba(27, 47, 66, 0.16);
}

.featured .plan-badge {
  background: linear-gradient(135deg, #2f6eb8, #1b2f42);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 12px 26px rgba(27, 47, 66, 0.24);
}

.featured .plan-check {
  background: linear-gradient(135deg, rgba(47, 110, 184, 0.16), rgba(27, 47, 66, 0.28));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 22px rgba(27, 47, 66, 0.16);
}

.featured .plan-accent {
  background: linear-gradient(135deg, #1b2f42, #2f6eb8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 16px 30px rgba(15, 25, 36, 0.18);
}

/* CTA */
.cta {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #522d1b, #2f6eb8);
  color: #fff;
  text-align: center;
  margin: 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.cta-content h2 {
  margin-bottom: 0.4rem;
}

.cta-content p {
  margin: 0;
  color: #f3e5db;
}

.cta-content .hero-actions {
  margin: 0;
  flex-shrink: 0;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #f3e5db;
}

.cta .btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-cta {
  background: linear-gradient(135deg, #1b2f42, #2f6eb8);
  margin-bottom: 0;
}

.contact-cta .btn.ghost {
  background: #fff;
  color: var(--brown-dark);
  border: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-content .hero-actions {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Contacto */
.contacto {
  padding: 90px 0;
  background: #fff;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card,
.contact-info {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(47, 110, 184, 0.15);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-list li {
  display: flex;
  gap: 0.9rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--brown);
  font-weight: 700;
}

.map-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8f8fb;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.map-pin {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1c1a1a;
  color: var(--brown-soft);
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: #fdfcfb;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  color: var(--muted);
  transition: max-height var(--transition), padding var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.2rem 1rem;
}

/* Equipo */
.equipo {
  padding: 80px 0 60px;
  background: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.team-card {
  text-align: center;
  padding: 1rem;
  background: #f7f7fa;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

/* Footer */
.site-footer {
  background: #0f0f11;
  color: #ececf1;
  padding: 40px 0 30px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand p {
  margin: 0.8rem 0;
  color: #cfcfd6;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
}

.footer-col a {
  display: block;
  color: #cfcfd6;
  margin-bottom: 0.45rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.newsletter input {
  flex: 1;
  background: #16161a;
  color: #fff;
  border-color: #24242a;
}

.newsletter .btn.primary {
  padding: 0.8rem 1rem;
  box-shadow: none;
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b1b20;
  color: #fff;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}

.social a:hover {
  transform: translateY(-3px);
  background: var(--brown);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #202027;
  color: #9d9dac;
}

.footer-bottom-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #cfcfd6;
}

/* Animaciones de entrada */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-left"].in-view {
  transform: translateX(0);
}

[data-animate="slide-left"] {
  transform: translateX(30px);
}

[data-animate="slide-right"] {
  transform: translateX(-30px);
}

[data-animate="slide-right"].in-view {
  transform: translateX(0);
}

/* Responsividad */
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }

  .brand, .nav-cta {
    margin-bottom: 0.5rem;
  }

  .site-header {
    padding: 0.8rem 0;
  }

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

  .hero-image {
    height: 340px;
  }

  /* Make lists scroll horizontally on mobile to break monotony */
  .beneficios-grid,
  .services-grid,
  .steps,
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.2rem;
    padding-bottom: 2rem;
    margin-bottom: -1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }

  .beneficios-grid::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar WebKit */
  }

  .beneficios-grid > *,
  .services-grid > *,
  .steps > *,
  .pricing-grid > * {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
  }

  /* Adjust spacing to fit horizontal layout nicely */
  .plan-card {
    height: auto;
  }

  .testimonial-card {
    flex: 0 0 calc(85% - 0.75rem);
    scroll-snap-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 120px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .metodo-grid,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .check-list {
    text-align: left;
    margin: 1.5rem auto;
    display: inline-block;
  }

  .form-footer {
    align-items: flex-start;
  }

  .testimonial-card {
    flex: 0 0 90%;
  }

  .slider-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 1rem;
  }

  .slider-track::-webkit-scrollbar {
    display: none;
  }
}


