/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #252644;
  --navy-card: #2d2f56;
  --gold:      #9a7d3a;
  --gold-light:#b8964a;
  --white:     #ffffff;
  --off-white: #f7f7f5;
  --gray-bg:   #f0f0ee;
  --gray-mid:  #e3e3e3;
  --gray-text: #6b6b6b;
  --input-bg:  #f0f0f0;
  --font:      'Satoshi', sans-serif;
  --nav-h:     80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-h);
  box-shadow: 0 1px 0 var(--gray-mid);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 52px; width: auto; }

.nav-links { display: flex; gap: 40px; align-items: center; }

.nav-links a {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   BOTONES HERO
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: none;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover {
  background: #7a6028;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154,125,58,0.45);
}
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 75vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.65;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 60px) 40px 80px 0px;
  max-width: 480px;
  margin-left: -48px;
}
.hero-content h1 {
  font-size: clamp(100px, 6vw, 82px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.hero-content p {
  font-size: clamp(14px, 1.5vw, 20px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.section-header p { margin-top: 12px; font-size: 25px; color: var(--gray-text); }

.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.7); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.cards-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.cards-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 66.66%;
  margin: 0 auto;
}

.card {
  background: linear-gradient(145deg, #353768 0%, #1a1c3e 100%);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.card img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.card h6 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.card p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 40px 0;
}
.process-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  justify-items: center;
}
.process-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/4;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-self: stretch;
  height: 100%;
}

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 72px;
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  padding-top: 60px;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}
.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.30s; }

/* Línea punteada azul entre pasos */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 0;
  width: 1px;
  border-left: 2px dashed #252644;
}

.step img {
  width: 36px; height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}
.step h6 { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p  { font-size: 16px; color: var(--gray-text); line-height: 1.6; }

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, #353768 0%, #1a1c3e 100%);
  border-radius: 20px;
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-label-pill {
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 24px;
  display: inline-block;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--white);
}
.pricing-price .dollar {
  font-size: 45px;
  font-weight: 700;
  margin-top: 10px;
  margin-right: 4px;
}
.pricing-price .amount {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
}

.pricing-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--white);
}

.pricing-card li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252644' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.pricing-card li img { display: none; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  padding: 36px 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}

.footer-links a {
  font-size: 17px;
  color: var(--navy);
  opacity: 1;
  transition: opacity 0.2s;
  padding: 0 18px;
  position: relative;
}

.footer-links a:hover { opacity: 1; }

.footer-links a:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -6px;
  font-size: 16px;
  color: var(--navy);
  opacity: 1;
  line-height: 1;
  vertical-align: middle;
  top: 50%;
  transform: translateY(-50%);
}

.footer p {
  font-size: 15px;
  color: var(--navy);
  opacity: 0.6;
}

/* =============================================
   CONTACT — HERO
   ============================================= */
.contact-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.contact-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  line-height: 1.2;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
  text-align: left;
}

.contact-phones span {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  font-variant-numeric: tabular-nums;
}

.contact-phones-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

/* =============================================
   CONTACT — FORMULARIO
   ============================================= */
.contact-section {
  padding: 72px 0 80px;
  background: var(--white);
}
.contact-section .container { max-width: 600px; }

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--input-bg);
  color: var(--navy);
}
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder { color: #aaa; }
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus { border-color: var(--navy); }
.contact-form-wrapper textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  margin-top: 8px;
}
.btn-submit:hover {
  background: #1a1b46;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,38,68,0.35);
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: 80px 0 100px;
  background: var(--navy);
}

.faq-section .section-header h2 { color: var(--white); }

.faq-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* Animación scroll */
.step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.visible {
  opacity: 1;
  transform: translateY(0);
}
.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.30s; }

/* =============================================
   LEGAL PAGES — Hero
   ============================================= */
.legal-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.legal-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

/* =============================================
   LEGAL PAGES — Content
   ============================================= */
.legal-content {
  padding: 80px 0 100px;
  background: var(--white);
}
.legal-content .container { max-width: 780px; }

.legal-block { margin-bottom: 48px; }

.legal-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
}
.legal-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 16px 0 8px;
}
.legal-block p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul {
  padding-left: 20px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-block ul li {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
}
.legal-block a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-block a:hover { opacity: 0.7; }
.legal-block strong { color: var(--navy); font-weight: 700; }

/* =============================================
   THANK YOU PAGE
   ============================================= */
.thankyou-section {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 24px 60px;
}

.thankyou-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.thankyou-content h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.thankyou-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .cards-row-top    { grid-template-columns: repeat(3, 1fr); }
  .cards-row-bottom { max-width: 75%; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--gray-mid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 28px; border-bottom: 1px solid var(--gray-mid); width: 100%; }
  .hamburger { display: flex; }
  .hero-content { padding-left: 28px; padding-right: 28px; }
  .cards-row-top    { grid-template-columns: 1fr; }
  .cards-row-bottom { grid-template-columns: 1fr; max-width: 100%; }
  .process-wrapper  { grid-template-columns: 1fr; gap: 48px; }
  .process-image    { order: -1; }
  .pricing-card     { padding: 40px 28px; }
  .contact-hero h1  { letter-spacing: -1px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn       { width: 100%; text-align: center; }
  .cards-row-bottom { grid-template-columns: 1fr; }
}