/* ==========================================================================
   CRUZ CAPITAL - SEGUROS & FINANZAS PERSONALES
   Estilo de Diseño Corporativo Limpio e Elegante (Inspirado en Stellium)
   ========================================================================== */

:root {
  --primary-navy: #002B49;
  --secondary-navy: #001E35;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #B59226;
  --accent-blue: #0077B6;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  
  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* TOP INFORMATION BAR */
.top-info-bar {
  background-color: var(--secondary-navy);
  color: #94A3B8;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-info-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-left span {
  margin-right: 1.5rem;
}

.info-left i {
  color: var(--accent-gold);
  margin-right: 0.4rem;
}

.info-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-icon {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.social-icon:hover {
  color: var(--accent-gold);
}

/* MAIN HEADER NAVIGATION */
.stellium-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-home-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s;
}

.logo-home-link:hover {
  transform: scale(1.03);
}

.brand-logo-cruz {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-v-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

.brand-logo-gnp {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* NAVIGATION MENU */
.stellium-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.highlight-app-link {
  color: var(--accent-blue) !important;
}

/* DROPDOWN MENU */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item i {
  margin-right: 0.6rem;
  color: var(--accent-gold);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-navy);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-app-launch {
  background-color: var(--accent-blue);
  color: #FFFFFF;
}

.btn-app-launch:hover {
  background-color: #005F92;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary-stellium {
  background-color: #128C7E;
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
}

.btn-primary-stellium:hover {
  background-color: #0E6C61;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-stellium {
  background-color: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
}

.btn-outline-stellium:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-stellium-section {
  background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: #A07F10;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.highlight-word {
  color: var(--accent-gold);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-navy);
}

.stat-card small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* HERO RIGHT MEDIA */
.hero-right-media {
  position: relative;
}

.media-frame-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border-color);
}

.badge-top {
  top: 1.5rem;
  left: -1.5rem;
}

.badge-bottom {
  bottom: 1.5rem;
  right: -1.5rem;
}

.badge-icon {
  font-size: 1.6rem;
  color: var(--accent-blue);
}

.badge-icon.gold {
  color: var(--accent-gold);
}

.floating-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-navy);
}

.floating-badge small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* STELLIUM SECTIONS */
.stellium-section {
  padding: 5rem 0;
}

.alt-section {
  background-color: var(--bg-light);
}

.section-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sub-heading-tag {
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ABOUT SECTION */
.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
}

.experience-badge strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-check {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

/* SOLUTIONS GRID */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.solution-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.featured-card {
  border-color: var(--accent-gold);
}

.featured-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  z-index: 10;
}

.card-image-box {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .card-img {
  transform: scale(1.06);
}

.card-category {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: rgba(0, 43, 73, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.card-category.gold {
  background: rgba(212, 175, 55, 0.9);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 119, 182, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card-icon.gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-link.gold {
  color: var(--accent-gold-hover);
}

/* APP SHOWCASE SECTION */
.app-section {
  background: linear-gradient(135deg, #001E35 0%, #002B49 100%);
  color: #FFFFFF;
}

.app-showcase-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.app-badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.app-text-side h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.app-text-side p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.app-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.spec-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.spec-icon {
  font-size: 1.3rem;
  color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  border-radius: 6px;
}

.spec-icon.excel {
  color: #10B981;
}

.spec-item strong {
  display: block;
  font-size: 0.92rem;
}

.spec-item small {
  color: #94A3B8;
  font-size: 0.8rem;
}

.app-card-mockup {
  background: #FFFFFF;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.mockup-brand-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.mockup-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.mockup-kpi {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.mockup-kpi small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mockup-kpi strong {
  font-size: 1.3rem;
  color: #10B981;
}

.mockup-chart-box {
  height: 120px;
  background: var(--bg-light);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mockup-chart-icon {
  font-size: 2rem;
  color: var(--accent-blue);
}

.mockup-excel-btn {
  background: #107C41;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* CONTACT SECTION */
.contacto-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
}

.contacto-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.contact-logo-cruz {
  height: 55px;
}

.contact-logo-gnp {
  height: 50px;
}

.logo-plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.contacto-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.contacto-header p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contacto-cards-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  width: 300px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.contact-card-icon.wa {
  color: #128C7E;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.contact-info-text {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.btn-wa-card {
  background: #128C7E;
  color: #FFFFFF;
  width: 100%;
}

.btn-phone-card {
  background: var(--primary-navy);
  color: #FFFFFF;
  width: 100%;
}

/* FOOTER */
.stellium-footer {
  background-color: var(--secondary-navy);
  color: #94A3B8;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logos-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-logo-cruz {
  height: 38px;
  background: #FFFFFF;
  padding: 3px;
  border-radius: 4px;
}

.footer-logo-gnp {
  height: 36px;
}

.footer-left p {
  font-size: 0.88rem;
}

.footer-right p {
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-container, .grid-2-col, .app-showcase-box {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stellium-nav {
    display: none;
  }
}


/* Botón Flotante de WhatsApp */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background-color: #25d366; color: #ffffff; border-radius: 50px; padding: 12px 20px; display: flex; align-items: center; gap: 10px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35); z-index: 9999; transition: all 0.3s ease; }
.whatsapp-float:hover { background-color: #1ebd56; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); color: #ffffff; }
@media (max-width: 600px) { .whatsapp-float span { display: none; } .whatsapp-float { padding: 14px; border-radius: 50%; bottom: 16px; right: 16px; } }

/* LUXURY HIGH-CONTRAST DYNAMIC TIP BANNER FOR MAIN LANDING WEBSITE */
.cruz-advisory-banner-landing {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 60%, #0f172a 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.25);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.cruz-advisory-banner-landing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 5px; height: 100%;
  background: linear-gradient(to bottom, #d4af37, #fef08a, #b59226);
}

.cruz-advisory-banner-landing .advisory-badge-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.cruz-advisory-banner-landing .advisory-text-col {
  flex: 1;
}

.cruz-advisory-banner-landing .advisory-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 0.4rem;
}

.cruz-advisory-banner-landing h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.cruz-advisory-banner-landing p {
  font-size: 0.94rem;
  color: #e2e8f0 !important;
  margin: 0;
  line-height: 1.5;
}

.cruz-advisory-banner-landing .advisory-cta-col {
  flex-shrink: 0;
}

.btn-gold-landing {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #fef08a 50%, #b59226 100%);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-gold-landing:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  color: #000000 !important;
}

@media (max-width: 768px) {
  .cruz-advisory-banner-landing {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem;
    gap: 1rem;
  }
  .cruz-advisory-banner-landing .advisory-cta-col {
    width: 100%;
  }
  .btn-gold-landing {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
