/* ==========================================================================
   PALETA CORPORATIVA DUSAM
   ========================================================================== */
:root {
  --navy: #0B213F;           /* Azul marino oscuro institucional */
  --navy-hover: #071529;
  --cyan: #00A3E0;           /* Azul celeste/cian de acento */
  --cyan-hover: #0088BC;
  --cyan-light: #E6F6FC;
  --blue-mid: #1D70B8;       /* Azul intermedio de la trama */
  --whatsapp-color: #25D366; /* Verde oficial WhatsApp */
  --whatsapp-hover: #1EBE5D;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --border-light: #E2E8F0;
  --border-cyan: #BAE6FD;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-subtle: 0 4px 14px rgba(11, 33, 63, 0.06);
  --shadow-elevated: 0 10px 28px rgba(11, 33, 63, 0.10);
}

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

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-weight: 700;
}

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

/* ==========================================================================
   DECORACIÓN GEOMÉTRICA (Top & Bottom)
   ========================================================================== */
.top-geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.top-geometric-bg svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-header {
  text-decoration: none;
}

.brand-logo-combo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dusam-iso {
  width: 36px;
  height: 36px;
}

.brand-naming {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.btn-cliente {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--navy);
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-cliente:hover {
  background-color: var(--cyan);
  color: #FFFFFF;
}

/* ==========================================================================
   BOTONES Y COMPONENTES
   ========================================================================== */
.btn-primary {
  display: inline-block;
  background-color: var(--navy);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s;
  border: 1px solid var(--navy);
}

.btn-primary:hover {
  background-color: var(--cyan);
  border-color: var(--cyan);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background-color: var(--cyan-light);
  border-color: var(--cyan);
  color: var(--cyan-hover);
}

.badge-tag {
  display: inline-block;
  background-color: var(--cyan-light);
  color: var(--blue-mid);
  border: 1px solid var(--border-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.title-bar {
  width: 50px;
  height: 3px;
  background: var(--cyan);
  margin: 10px auto 16px auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   HERO / PRESENTACIÓN
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 70px;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.philosophy-card {
  background: var(--bg-subtle);
  border-left: 4px solid var(--cyan);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 28px;
}

.philosophy-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.philo-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}

.val-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: 14px;
}

/* Marco foto fundador */
.founder-frame {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.frame-accent-line {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 60px;
  height: 60px;
  border-top: 4px solid var(--cyan);
  border-right: 4px solid var(--navy);
  pointer-events: none;
}

.founder-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.founder-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 33, 63, 0.92);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan);
}

.caption-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.caption-sub {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-section {
  padding: 60px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
}

.service-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s, border-top-color 0.2s;
}

.service-box:hover {
  transform: translateY(-3px);
  border-top-color: var(--cyan);
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--cyan-light);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURE GRID (MIJORNADA)
   ========================================================================== */
.product-section {
  padding: 80px 0;
}

.section-desc {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.feature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.f-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--cyan);
  background: var(--cyan-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.f-icon-box {
  width: 38px;
  height: 38px;
  background-color: var(--cyan-light);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.feature-card:hover .f-icon-box {
  background-color: var(--cyan);
  color: #FFFFFF;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.feature-points li strong {
  color: var(--text-dark);
}

/* Galería */
.app-screenshots-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.gallery-heading {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.screenshot-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 12px;
  border-radius: var(--radius-md);
}

.img-fluid {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.screenshot-meta {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* ==========================================================================
   TARIFAS / PRICING MIJORNADA (ACTUALIZADO)
   ========================================================================== */
.pricing-area {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--border-light);
}

.pricing-promos-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 30px auto 40px auto;
}

.promo-pill {
  background: var(--cyan-light);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.promo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.promo-pill strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 2px;
}

.promo-pill span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
  display: block;
}

.pricing-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.pricing-card-featured {
  border: 2px solid var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 163, 224, 0.15);
  background: #FFFFFF;
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cyan);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 163, 224, 0.4);
}

.pricing-header {
  text-align: center;
  margin-bottom: 14px;
}

.plan-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.plan-target {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-tagline {
  font-size: 0.82rem;
  color: var(--blue-mid);
  margin-top: 8px;
  font-weight: 600;
}

.price-addon {
  font-size: 0.82rem;
  color: var(--navy);
  margin-top: 8px;
  font-weight: 500;
}

.plan-calc-note {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 18px;
}

.plan-calc-note strong {
  color: var(--navy);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex-grow: 1;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pricing-features li strong {
  color: var(--text-dark);
}

.btn-plan-outline {
  display: block;
  text-align: center;
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-plan-outline:hover {
  background-color: var(--navy);
  color: #FFFFFF;
}

.btn-plan-featured {
  display: block;
  text-align: center;
  background-color: var(--cyan);
  color: #FFFFFF;
  border: 1.5px solid var(--cyan);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-plan-featured:hover {
  background-color: var(--cyan-hover);
  border-color: var(--cyan-hover);
}

/* Condiciones pie de tarifas */
.pricing-conditions-card {
  margin-top: 36px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-subtle);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cond-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.cond-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .pricing-promos-banner, .pricing-grid-three, .conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-section {
  padding: 70px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.contact-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-elevated);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.contact-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.c-icon-badge {
  width: 38px;
  height: 38px;
  background: var(--cyan-light);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cyan-hover);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.c-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.c-interactive {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.c-interactive:hover {
  color: var(--cyan);
  text-decoration: underline;
}

/* Teléfono y WhatsApp */
.c-phone-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--whatsapp-color);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.portal-card {
  background: var(--navy);
  color: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--cyan);
}

.portal-card h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.portal-card p {
  color: #94A3B8;
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.btn-portal {
  display: block;
  text-align: center;
  background: var(--cyan);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-portal:hover {
  background: var(--cyan-hover);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background: #061325;
  color: #FFFFFF;
  padding: 0 0 24px 0;
  overflow: hidden;
}

.bottom-geometric-bg {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.bottom-geometric-bg svg {
  width: 100%;
  height: 100%;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-brand-side strong {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-right: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid, .services-grid, .contact-wrapper, .screenshots-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .founder-img {
    height: 320px;
  }
  .nav-menu {
    display: none;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}