
:root {
  --color-brand-dark:    #2F009C;
  --color-brand-core:    #3E00CD;

  --color-accent:        #FF5630;
  --color-accent-hover:  #EA6A08;

  --color-white:    #FFFFFF;

  --font-display:  'Josefin Sans', sans-serif;
  --font-body:    'Josefin Sans', sans-serif;

  --section-padding:   2rem;

  --radius-button: 8px;

}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  background: var(--color-white);

}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }


.padding { padding: var(--section-padding) 0; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  height: 50px;
  width: 250px;
  text-align: center;
}
.btn-primary:hover    { background: var(--color-accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-button);
  border: solid 1px var(--color-accent);
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-decoration: none;
  height: 50px;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--color-accent-hover); }

.btn-secondary-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-button);
  border: solid 1px var(--color-white);
  cursor: pointer;
  text-decoration: none;
  height: 50px;
  white-space: nowrap;
}
.btn-secondary-white:hover { font-weight: 900; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-brand-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-decoration: none;
  height: 50px;
}

.btn-outline:focus,
.btn-outline:active {
  outline: none;
  box-shadow: none;
}
/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(33,2,105,0.06);
  display: flex;
  align-items: center;
  height: 10rem;
  width: 100%;
  justify-content: space-between;
  padding: 0 4rem;
}
.header-logo     { display: flex; align-items: center; }
.header-logo img { width: 235px; height: 70px; object-fit: contain; }
.header-actions  { display: flex; gap: 1rem; align-items: center; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  background: radial-gradient(
    106.45% 106.45% at 50% 106.45%,
    #210269 0%, #2F009C 29.33%, #3E00CE 75%, #4C00FF 100%
  );
  color: white;
  text-align: center;
  overflow: hidden;
}
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 920px;
  margin: 0 auto;
  padding: 100px 32px 130px;
  text-align: center;
}
.hero-title {
  font-size: 64px;
  color: var(--color-white);
  font-family: var(--font-body)
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}
.wave-bottom {
  line-height: 0;
  margin-bottom: -1px;
  width: 100%;
}

/* ============================================================
   FEATURES
============================================================ */
.section-features {
  padding: 5rem 1.5rem;
  background: #ffffff;
}
.section-features .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.feature-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;

}
.feature-image img {height: 100%; object-fit: cover; }
.feature-text h2 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-brand-dark);
}
.feature-text p {
  color: var(--color-brand-dark);
  font-size: 16px;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* ============================================================
   STEPS
============================================================ */
.section-steps {
  text-align: center;
  padding: 80px 24px;
}
.steps-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--color-brand-dark);
  text-align: center;
  margin-bottom: 2.5rem;
}
.steps-grid {
  display: flex;
  gap: 42px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 5rem 0;
}
.step-card {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: none;
  border-radius: 16px 16px 0 0;
  position: relative;
}
.step-body {
  background: linear-gradient(180deg, #2F009C 0%, #4C00FF 100%);
  border-radius: 16px 16px 0 0;
  padding: 32px 20px 100px;
  text-align: center;
  color: white;
}
.step-icon {
  margin: 0 auto 18px;
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon img { width: 74px; height: 74px; object-fit: contain; }
.step-number {
  font-size: 36px;
  font-weight: 700;
  color: white;
  padding: 0.5rem 0;
}
.step-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
}
.step-pie {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 86px;
  object-fit: fill;
  z-index: 10;
}

/* ============================================================
   PROMO (IMPULSA)
============================================================ */
.section-impulsa {
  position: relative;
  overflow: hidden;
  background: #2F009C;
  color: white;
  padding-bottom: 80px;
}
.impulsa-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
}
.impulsa-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 40px;
}
.impulsa-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin: 0;
}
.impulsa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.impulsa-list li {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.impulsa-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-white);
}
.impulsa-tagline {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-white);
  margin: 8px 0 0;
}
.impulsa-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.impulsa-footer img { object-fit: contain; }
.impulsa-ventas {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-white);
}
.impulsa-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  z-index: 10;
  padding-right: 3rem;
  margin-bottom: -4rem;
}
.impulsa-phone {
  object-fit: contain;
  max-width: 100%;
  height: auto;
  margin-bottom: -80px;
  width: 311px;
}
.impulsa-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
}
.impulsa-wave-svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ============================================================
   CONTACT
============================================================ */
#contacto {
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
  
}
.contact-wrapper {
  width: 60%;
  min-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.contact-card {
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #2F009C;
  margin-bottom: 50px;
  max-width: fit-content;
  justify-self: center;
}
.contact-header   { margin-bottom: 32px; }
.contact-title    { font-weight: 600; font-size: 32px; color: #210269; margin-bottom: 12px; }
.contact-subtitle { font-weight: 400; font-size: 16px; color: #2F009C; }
.contact-fields   { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-field    { position: relative; }

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  border-radius: 20px;
  border: 1.5px solid #E8E8E8;
  background: #F5F5F5;
  color: #18171D;
  outline: none;
  transition: all 0.2s;
}
.contact-textarea         { border-radius: 12px; resize: none; }
.contact-input:focus,
.contact-textarea:focus   { background: #ffffff; border-color: var(--color-brand-core); }
.contact-input:disabled,
.contact-textarea:disabled { opacity: 0.5; }

.status-msg {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}
.status-msg.visible { display: flex; }
.status-success {
  background: rgba(16,185,129,0.08);
  border: 1.5px solid rgba(16,185,129,0.2);
  color: #065f46;
}
.status-error {
  background: rgba(239,68,68,0.07);
  border: 1.5px solid rgba(239,68,68,0.2);
  color: #991b1b;
}
.container-contact-btn{
  justify-content: center;
  display: flex;
}
.contact-btn {
  padding: 14px 50px;
  border-radius: 6px;
  border: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-accent);
  cursor: pointer;
  transition: all 0.2s;
}
.contact-btn:hover    { opacity: 0.9; }
.contact-btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

.contact-phone-block {
  text-align: center;
  margin-top: 16px;
  color: #2F009C;
}
.contact-phone-block a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 20px;
  color: #7c3aed;
  transition: opacity 0.2s;
}
.contact-phone-block a:hover { opacity: 0.8; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  color: white;
  background: radial-gradient(106.45% 127.74% at 50% 0%, #4C00FF 0%, #3E00CE 25%, #2F009C 70%, #210269 100%);
}
.footer-peak {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.footer-inner {
  padding: 100px 80px 40px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 280px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  align-items: center;
  gap: 60px;
}
.footer-logo     { display: flex; align-items: center; }
.footer-logo img { width: 287px; height: 86px; object-fit: contain; }
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #CCC2FF;
}
.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CCC2FF;
  font-size: 16px;
  line-height: 1.5;
}
.footer-info-item img     { flex-shrink: 0; width: 20px; height: auto; }
.footer-info-item a       { color: #CCC2FF; transition: color 0.2s; }
.footer-info-item a:hover { color: #ffffff; }

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.footer-social-btn {
  width: 40px; height: 40px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.85); transform: translateY(-2px); }
.footer-social-btn svg   { width: 18px; height: 18px; fill: #3E00CE; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .header { padding: 0 3rem; }
}

@media (max-width: 900px) {
  .header {padding: 2rem 2rem 0 2rem;
        height: 17rem;  justify-content: center;}

  .hero-title { font-size: 40px; }
  .section-features .container { grid-template-columns: 1fr; }
  .impulsa-container { flex-direction: column; padding: 40px 24px; }
  .impulsa-right {  width: 100%; }

  .impulsa-phone { width: 200px; margin-bottom: -50px; }

  .step-body { padding: 24px 16px 80px; }
  .step-icon { width: 56px; height: 56px; }
  .step-icon img { width: 56px; height: 56px; }
  .step-number { font-size: 28px; }
  .step-title { font-size: 18px; }
  .step-pie { height: 66px; bottom: -38px; }
  .contact-wrapper { width: 90%; }
  .footer-inner { padding: 100px 24px 40px; }

  .footer-logo img { width: 180px; }
}

@media (max-width: 600px) {
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .header-logo {justify-content: center; margin-bottom: 1rem;}
  .btn-outline {margin: .75rem 0;};
  .hero-title        { font-size: 28px; }
  .hero-container    { padding: 40px 20px 30px;}
  .header-actions { display: block; text-align: center; }
  .header {display: block;}
  .section-impulsa{ padding-bottom: 60px;}
  .impulsa-title     { font-size: 32px; }
  .impulsa-tagline,
  .impulsa-ventas    { font-size: 22px; }

  .impulsa-phone     { width: 160px; margin-top: -50px; }
  .impulsa-right     {margin-top: 100px;  padding-left: 30px;}
  .steps-title,
  .feature-text h2   { font-size: 32px; }
  .contact-wrapper { min-width: 120px; }

  .step-body  { padding: 20px 12px 52px; }
  .step-title { font-size: 15px; }
  .steps-grid { gap: 56px; }
  .contact-title     { font-size: 24px; }
  .section-steps { padding: 0px 24px;}
  #contacto {padding: 56px 12px 16px 12px;}
  .contact-card {margin: 0px 0px 50px 0px; padding: 30px 20px;}
}
