/* =========================================
   WELCOME PAGE — welcome.css
   ========================================= */

/* --- Base overrides for welcome page --- */
.welcome-page {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: #f8fafc;
  color: #1a202c;
}

/* =========================================
   NAV
   ========================================= */
.w-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.w-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.w-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.w-logo-img { height: 52px; width: auto; display: block; }

.w-nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.w-nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.w-nav-link:hover { background: #edf2f7; color: #0F2A44; }
.w-nav-link--subtle { color: #718096; font-size: 13px; }

.w-nav-actions { display: flex; gap: 10px; align-items: center; margin-left: 12px; }

.w-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.w-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2d3748;
  border-radius: 2px;
  transition: all .3s;
}

.w-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.w-mobile-menu.open { display: flex; }
.w-mobile-link {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #2d3748;
  text-decoration: none;
}
.w-mobile-link:hover { background: #edf2f7; }

@media (max-width: 768px) {
  .w-nav-links, .w-nav-actions { display: none; }
  .w-hamburger { display: flex; }
}

/* =========================================
   BUTTONS
   ========================================= */
.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.w-btn--primary {
  background: #2DBE60;
  color: #fff;
  box-shadow: 0 4px 16px rgba(45,190,96,.28);
}
.w-btn--primary:hover {
  background: #25a653;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,190,96,.36);
}
.w-btn--ghost {
  background: transparent;
  color: #0F2A44;
  border: 2px solid #0F2A44;
}
.w-btn--ghost:hover {
  background: #0F2A44;
  color: #fff;
  transform: translateY(-2px);
}
.w-btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.w-btn--ghost-light:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.w-btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.w-btn--whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.w-btn--lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }
.w-btn--product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0F2A44;
  background: #edf2f7;
  text-decoration: none;
  transition: all .2s;
}
.w-btn--product:hover { background: #0F2A44; color: #fff; transform: translateX(4px); }

/* =========================================
   HERO
   ========================================= */
.w-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0F2A44 0%, #1a3f6b 50%, #0d1f35 100%);
  padding: 80px 24px 60px;
}

.w-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(45,190,96,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(31,78,121,.4) 0%, transparent 50%);
  pointer-events: none;
}

.w-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.w-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(45,190,96,.15);
  border: 1px solid rgba(45,190,96,.3);
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 20px;
}

.w-hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
}
.w-hero-highlight {
  background: linear-gradient(90deg, #4ade80, #2DBE60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.w-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 480px;
}

.w-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.w-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.w-trust-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
}

/* Hero visual */
.w-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.w-hero-shield {
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(45,190,96,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-shield 3s ease-in-out infinite;
}
.w-shield-inner { text-align: center; }
.w-shield-icon { font-size: 64px; display: block; margin-bottom: 8px; }
.w-shield-text { color: rgba(255,255,255,.9); font-weight: 700; font-size: 16px; line-height: 1.3; }

@keyframes pulse-shield {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,190,96,.2); }
  50% { box-shadow: 0 0 0 24px rgba(45,190,96,.0); }
}

.w-hero-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.w-hero-card--float { top: 30px; right: 0; animation: float-a 4s ease-in-out infinite; }
.w-hero-card--float2 { bottom: 40px; left: 0; animation: float-b 4s ease-in-out infinite 1s; }

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.w-stat-icon { font-size: 28px; }
.w-stat-num { font-size: 22px; font-weight: 900; color: #fff; }
.w-stat-label { font-size: 12px; color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .w-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .w-hero-visual { height: 260px; }
  .w-hero-shield { width: 160px; height: 160px; }
  .w-shield-icon { font-size: 48px; }
}

/* =========================================
   CARRIER BAR
   ========================================= */
.w-carrier-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 28px 24px;
  text-align: center;
}
.w-carrier-label {
  font-size: 13px;
  font-weight: 600;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px;
}
.w-carrier-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.w-carrier-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: all .4s ease;
}
.w-carrier-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.08); }

/* =========================================
   SECTIONS
   ========================================= */
.w-section { padding: 88px 24px; }
.w-section--alt { background: #fff; }
.w-section--cta {
  background: linear-gradient(135deg, #0F2A44 0%, #1a3f6b 100%);
  padding: 80px 24px;
}

.w-container { max-width: 1100px; margin: 0 auto; }

.w-section-header { text-align: center; margin-bottom: 56px; }
.w-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(15,42,68,.07);
  border: 1px solid rgba(15,42,68,.12);
  color: #0F2A44;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 16px;
}
.w-section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #0F2A44;
  line-height: 1.2;
  margin: 0 0 16px;
}
.w-section-title em { font-style: normal; color: #2DBE60; }
.w-section-sub {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================================
   VALUES GRID
   ========================================= */
.w-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .w-values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .w-values-grid { grid-template-columns: 1fr; } }

.w-value-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s;
}
.w-value-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.w-value-icon { font-size: 40px; margin-bottom: 14px; }
.w-value-title { font-size: 16px; font-weight: 700; color: #0F2A44; margin: 0 0 10px; }
.w-value-desc { font-size: 14px; color: #4a5568; line-height: 1.6; margin: 0; }

/* =========================================
   PRODUCTS GRID
   ========================================= */
.w-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .w-products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .w-products-grid { grid-template-columns: 1fr; } }

.w-product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.w-product-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.w-product-card--wide { grid-column: span 1; }
@media (min-width: 900px) { .w-product-card--wide { grid-column: span 1; } }

.w-product-header {
  position: relative;
  padding: 36px 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 110px;
}
.w-product-icon { font-size: 48px; line-height: 1; }
.w-product-badge {
  padding: 5px 12px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.w-product-badge--green { background: rgba(45,190,96,.25); border-color: rgba(45,190,96,.4); }

.w-product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.w-product-title { font-size: 18px; font-weight: 800; color: #0F2A44; margin: 0 0 4px; }
.w-product-sub { font-size: 12px; color: #a0aec0; font-weight: 600; letter-spacing: .5px; margin: 0 0 14px; }
.w-product-desc { font-size: 14px; color: #4a5568; line-height: 1.65; margin: 0 0 16px; flex: 1; }

.w-product-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.w-product-features li { font-size: 13px; color: #2d3748; font-weight: 500; }

.w-products-cta {
  text-align: center;
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(15,42,68,.04), rgba(15,42,68,.08));
  border-radius: 20px;
  border: 1px dashed #cbd5e0;
}
.w-products-cta p { font-size: 18px; font-weight: 600; color: #0F2A44; margin: 0 0 20px; }

/* =========================================
   PROCESS / ACOMPAÑAMIENTO
   ========================================= */
.w-process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}
.w-process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.w-process-connector {
  flex: 0 0 auto;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #2DBE60, #0F2A44);
  margin-top: 28px;
  opacity: .4;
}
.w-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F2A44, #1F4E79);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(15,42,68,.25);
}
.w-step-content h3 { font-size: 16px; font-weight: 700; color: #0F2A44; margin: 0 0 8px; }
.w-step-content p { font-size: 14px; color: #4a5568; line-height: 1.6; margin: 0; }

@media (max-width: 700px) {
  .w-process { flex-direction: column; align-items: center; gap: 24px; }
  .w-process-connector { width: 2px; height: 32px; margin: 0; }
}

/* Trust grid */
.w-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 600px) { .w-trust-grid { grid-template-columns: 1fr; } }

.w-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .2s;
}
.w-trust-item:hover { transform: translateY(-3px); }
.w-trust-icon { font-size: 32px; flex-shrink: 0; }
.w-trust-item strong { display: block; font-size: 15px; color: #0F2A44; margin-bottom: 4px; }
.w-trust-item p { font-size: 13px; color: #4a5568; margin: 0; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.w-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .w-testimonials-grid { grid-template-columns: 1fr; } }

.w-testimonial {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.w-testimonial:hover { transform: translateY(-6px); }
.w-testimonial-stars { color: #f6ad55; font-size: 18px; letter-spacing: 2px; }
.w-testimonial-text {
  font-size: 15px;
  color: #2d3748;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}
.w-testimonial-author { display: flex; align-items: center; gap: 12px; }
.w-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0F2A44;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.w-testimonial-author strong { display: block; font-size: 15px; color: #0F2A44; }
.w-testimonial-author span { font-size: 13px; color: #a0aec0; }

/* =========================================
   CTA FINAL
   ========================================= */
.w-cta-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.w-cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
}
.w-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.w-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.w-cta-note { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }

/* =========================================
   FOOTER
   ========================================= */
.w-footer {
  background: #0d1f35;
  color: rgba(255,255,255,.7);
  padding: 56px 24px 32px;
}
.w-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 700px) { .w-footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.w-footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; color: rgba(255,255,255,.5); }

.w-footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 600px) { .w-footer-links { grid-template-columns: 1fr 1fr; } }

.w-footer-col { display: flex; flex-direction: column; gap: 10px; }
.w-footer-col strong { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.w-footer-col a { font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.w-footer-col a:hover { color: #4ade80; }

.w-footer-bottom { text-align: center; }
.w-footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }

/* =========================================
   FAB WHATSAPP
   ========================================= */
.w-fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: all .3s ease;
}
.w-fab-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.5); }
.w-fab-icon { font-size: 22px; }
.w-fab-text small { display: block; font-size: 11px; opacity: .85; line-height: 1; }
.w-fab-text span { display: block; font-size: 14px; line-height: 1.2; }

@media (max-width: 500px) {
  .w-fab-text { display: none; }
  .w-fab-whatsapp { padding: 14px; }
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.w-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.w-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
