/* ══════════════════════════════════════════════════
   SOLIFY — Global Styles
   Paleta: Navy #0a0a1a | Gold #D4A942 | White #F8F9FA
   Tipografía: Open Sans + Lato
   ══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --navy:   #0a0a1a;
  --navy2:  #111128;
  --gold:   #D4A942;
  --gold2:  #f0c050;
  --white:  #F8F9FA;
  --gray:   #64748b;
  --light:  #f1f5f9;
  --border: rgba(212,169,66,0.2);
  --font-h: 'Open Sans', sans-serif;
  --font-b: 'Lato', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  font-size: 16px;
  color: #1e293b;
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,10,26,0.99); }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo-main { height: 56px; width: auto; mix-blend-mode: lighten; }
.navbar-nav { display: flex; align-items: center; gap: 32px; }
.navbar-nav a {
  font-family: var(--font-h); font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.8); letter-spacing: 0.3px;
  transition: var(--transition); position: relative; padding-bottom: 4px;
}
.navbar-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--gold); }
.navbar-nav a:hover::after, .navbar-nav a.active::after { width: 100%; }
.navbar-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 700 !important;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { background: var(--gold2) !important; }
.navbar-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar-hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); }

/* ── PAGE TOP PADDING ── */
.page-content { padding-top: 72px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a1a3e 50%, #0d1440 100%);
  position: relative; overflow: hidden; padding: 0 5%;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,169,66,0.08) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-partner {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 32px; padding: 10px 20px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(212,169,66,0.25);
  border-radius: 10px;
}
.hero-partner img { height: 22px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.hero-partner .hp-sep { color: var(--gold); font-size: 16px; font-weight: 700; line-height: 1; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); background: rgba(212,169,66,0.1);
  border: 1px solid var(--border); padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-h); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.5px;
}
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy); padding: 15px 32px;
  border-radius: 8px; font-family: var(--font-h); font-size: 15px; font-weight: 700;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,169,66,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; padding: 14px 32px;
  border-radius: 8px; font-family: var(--font-h); font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3); transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-card-stack { position: relative; width: 100%; max-width: 420px; }
.hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(10px);
}
.hero-card-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero-card-value { font-size: 42px; font-weight: 800; color: #fff; line-height: 1; }
.hero-card-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.hero-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.hero-float {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 16px; text-align: center;
}
.hero-float .num { font-size: 26px; font-weight: 800; color: var(--gold); }
.hero-float .lbl { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── SECTIONS ── */
.section { padding: 96px 5%; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 96px 5%; background: var(--light); }
.section-full-inner { max-width: 1200px; margin: 0 auto; }
.section-dark { padding: 96px 5%; background: var(--navy); }
.section-dark-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-h); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-sub { font-size: 17px; color: var(--gray); max-width: 580px; line-height: 1.8; margin-bottom: 60px; }
.section-sub.light { color: rgba(255,255,255,0.65); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-icon { margin-bottom: 18px; color: var(--gold); }
.card-icon svg { width: 36px; height: 36px; stroke: var(--gold); stroke-width: 1.5; fill: none; }
.card-title { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.card-text { font-size: 14px; color: var(--gray); line-height: 1.7; }
.card.dark-card {
  background: rgba(255,255,255,0.04); border-color: var(--border);
}
.card.dark-card .card-title { color: #fff; }
.card.dark-card .card-text { color: rgba(255,255,255,0.6); }
.card.dark-card:hover { border-color: var(--gold); background: rgba(212,169,66,0.06); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-h); font-size: 48px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ── PROCESO ── */
.proceso-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.proceso-item { text-align: center; position: relative; }
.proceso-num {
  font-family: var(--font-h); font-size: 48px; font-weight: 900;
  color: var(--gold); opacity: 0.25; line-height: 1; margin-bottom: 4px;
}
.proceso-titulo { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.proceso-desc { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ── TESTIMONIALS ── */
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonio-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 32px;
  position: relative;
}
.testimonio-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; }
.testimonio-texto { font-size: 15px; color: var(--gray); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonio-autor { display: flex; align-items: center; gap: 14px; }
.testimonio-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 16px; font-weight: 700; color: #fff;
}
.testimonio-nombre { font-weight: 700; font-size: 14px; color: var(--navy); }
.testimonio-cargo { font-size: 12px; color: var(--gray); }

/* ── MARCAS ── */
.marcas-strip {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin-top: 40px;
}
.marca-chip {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 24px; color: rgba(255,255,255,0.65);
  font-family: var(--font-h); font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition);
}
.marca-chip:hover { background: rgba(212,169,66,0.08); border-color: var(--gold); color: var(--gold); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), #1a1a3e);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,169,66,0.1) 0%, transparent 60%);
}
.cta-banner h2 { font-family: var(--font-h); font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1a3e 100%);
  padding: 120px 5% 80px; text-align: center;
}
.page-hero h1 { font-family: var(--font-h); font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; color: #fff; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto; }

/* ── SERVICES PAGE ── */
.servicio-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid #e2e8f0;
}
.servicio-detail:last-child { border-bottom: none; }
.servicio-detail.reverse .servicio-content { order: 2; }
.servicio-detail.reverse .servicio-visual { order: 1; }
.servicio-icon-big { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: var(--light); border-radius: 20px; color: var(--gold); }
.servicio-icon-big svg { width: 72px; height: 72px; stroke: var(--gold); stroke-width: 1.3; fill: none; }
.servicio-titulo { font-family: var(--font-h); font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.servicio-desc { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 28px; }
.beneficios-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.beneficio-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #334155; }
.beneficio-item::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.marcas-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.marca-tag { background: var(--light); border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--gray); }

/* ── CONTACT FORM ── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contacto-info h3 { font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contacto-dato { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contacto-dato-icon { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.contacto-dato-icon svg { width: 20px; height: 20px; stroke: var(--gold); stroke-width: 2; fill: none; }
.contacto-dato-text strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contacto-dato-text span { font-size: 14px; color: var(--gray); }
.form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px;
  font-family: var(--font-b); font-size: 14px; color: #1e293b;
  background: #fafafa; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(212,169,66,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; display: none; }
.form-msg.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; display: block; }
.form-msg.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; display: block; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-title { font-family: var(--font-h); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.blog-excerpt { font-size: 13px; color: var(--gray); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.blog-meta { font-size: 12px; color: var(--gray); }
.blog-more { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy); padding: 80px 5% 32px;
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; max-width: 1200px; margin: 0 auto 60px; }
.footer-brand img.footer-logo-main { height: 64px; width: auto; mix-blend-mode: lighten; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: var(--transition); color: rgba(255,255,255,0.6);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,169,66,0.08); }
.footer-col h4 { font-family: var(--font-h); font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ── WHATSAPP BUTTON ── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: var(--transition);
  border: none; cursor: pointer;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.55); }
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 100px 5% 80px; }
  .navbar-nav { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px 5%; gap: 20px; border-bottom: 1px solid var(--border); }
  .navbar-nav.open { display: flex; }
  .navbar-hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .servicio-detail, .servicio-detail.reverse .servicio-content, .servicio-detail.reverse .servicio-visual { grid-template-columns: 1fr; order: unset; }
  .servicio-detail { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 40px 24px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .proceso-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
