/* iProject3 | styles.css | v3.0 */

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

:root {
  --navy:        #013567;
  --navy-deep:   #011f3f;
  --navy-mid:    #012a52;
  --navy-light:  #024a8f;
  --cyan:        #00CCFF;
  --cyan-soft:   rgba(0,204,255,0.10);
  --cyan-border: rgba(0,204,255,0.25);
  --white:       #ffffff;
  --gray-bg:     #f4f7fb;
  --gray-mid:    #e2e8f0;
  --text:        #0f172a;
  --text-muted:  #64748b;
  --green:       #25D366;
  --r-sm:        6px;
  --r-md:        12px;
  --r-lg:        20px;
  --shadow:      0 4px 24px rgba(1,53,103,0.10);
  --shadow-lg:   0 8px 48px rgba(1,53,103,0.16);
  --t:           0.22s ease;
  --max:         1140px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
p { line-height: 1.7; }
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem,2.5vw,1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* LAYOUT */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid var(--cyan-border);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; color: var(--navy); }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.65; }

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--t); text-decoration: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #00b8e6; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #1ebe58; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.badge-cyan {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid var(--cyan-border);
  padding: 4px 12px; border-radius: 100px;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, rgba(1,31,63,0.98), rgba(1,53,103,0.97) 60%, rgba(1,31,63,0.98));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,204,255,0.1); transition: all var(--t);
}
.navbar.scrolled {
  background: linear-gradient(90deg, #011f3f, #013567 60%, #011f3f);
  box-shadow: 0 4px 32px rgba(0,0,0,0.2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img {
  height: 64px; width: auto;
  filter: brightness(1.4) drop-shadow(0 0 6px rgba(0,204,255,0.3));
  transition: filter var(--t);
}
.nav-logo:hover img { filter: brightness(1.6) drop-shadow(0 0 10px rgba(0,204,255,0.5)); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color var(--t); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform var(--t); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t); }

/* HERO */
.hero {
  min-height: 100vh; padding-top: 68px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #024a8f 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,204,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,204,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow { position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,204,255,0.12), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); background: rgba(0,204,255,0.1); border: 1px solid rgba(0,204,255,0.25); padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; }
.hero-tag-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.8); } }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .accent { color: var(--cyan); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(0,204,255,0.2); border-radius: 20px; padding: 32px; width: 100%; max-width: 380px; backdrop-filter: blur(8px); }
.hero-card-row { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.04); border-radius: 12px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.06); transition: border-color var(--t); }
.hero-card-row:hover { border-color: rgba(0,204,255,0.3); }
.hero-card-row:last-child { margin-bottom: 0; }
.hero-card-icon { width: 40px; height: 40px; background: var(--cyan-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-text p:first-child { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: #fff; }
.hero-card-text p:last-child { font-size: 12px; color: rgba(255,255,255,0.45); }
.hero-card-check { margin-left: auto; color: var(--cyan); }
.hero-card-check svg { width: 16px; height: 16px; }

/* TRUST BAR */
.trust-bar { background: var(--gray-bg); padding: 40px 0; border-bottom: 1px solid var(--gray-mid); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.trust-stat { text-align: center; flex: 1; min-width: 120px; }
.trust-stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.trust-stat-num span { color: var(--cyan); }
.trust-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.trust-divider { width: 1px; height: 48px; background: var(--gray-mid); }
.trust-logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-logos-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.trust-logo-ph { height: 36px; width: 100px; background: var(--gray-mid); border-radius: 6px; opacity: 0.5; }
.trust-logo-client { display: inline-flex; align-items: center; opacity: 0.75; transition: opacity var(--t); }
.trust-logo-client:hover { opacity: 1; }
.trust-logo-client img { height: 36px; width: auto; max-width: 120px; object-fit: contain; }

/* PROBLEMA */
.problem-section { background: #fff; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.problem-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.problem-item { display: flex; gap: 14px; align-items: flex-start; }
.problem-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.problem-icon.red { background: #FEF2F2; color: #DC2626; }
.problem-icon.green { background: #F0FFF4; color: #16A34A; }
.problem-icon svg { width: 18px; height: 18px; }
.problem-item-text p:first-child { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.problem-item-text p:last-child { font-size: 13px; color: var(--text-muted); }
.problem-visual { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.problem-visual::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,204,255,0.15), transparent 70%); }
.problem-visual-quote { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700; line-height: 1.4; margin-bottom: 20px; position: relative; }
.problem-visual-quote::before { content: '"'; font-size: 4rem; color: var(--cyan); opacity: 0.3; position: absolute; top: -20px; left: -10px; line-height: 1; font-family: Georgia, serif; }
.problem-visual-author { display: flex; align-items: center; gap: 12px; }
.problem-visual-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cyan); flex-shrink: 0; }
.problem-visual-avatar img { width: 100%; height: 100%; object-fit: cover; }
.problem-visual-author-text p:first-child { font-weight: 600; font-size: 14px; }
.problem-visual-author-text p:last-child { font-size: 12px; color: rgba(255,255,255,0.55); }

/* PILARES */
.pilares-section { background: var(--gray-bg); }
.pilares-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.pilar-card { background: #fff; border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--gray-mid); transition: all var(--t); position: relative; overflow: hidden; }
.pilar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--cyan)); transform: scaleX(0); transition: transform var(--t); }
.pilar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pilar-card:hover::before { transform: scaleX(1); }
.pilar-number { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: #94a3b8; line-height: 1; margin-bottom: 16px; }
.pilar-icon { width: 52px; height: 52px; background: var(--cyan-soft); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid var(--cyan-border); }
.pilar-icon svg { width: 24px; height: 24px; color: var(--navy); }
.pilar-card h3 { color: var(--navy); margin-bottom: 10px; }
.pilar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.pilar-list { display: flex; flex-direction: column; gap: 8px; }
.pilar-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text); }
.pilar-list li::before { content: ''; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }

/* QUIÉN SOY */
.quien-section { background: #fff; }
.quien-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.quien-photo-wrap { border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; max-width: 340px; border: 3px solid var(--cyan); }
.quien-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.quien-badge { position: absolute; bottom: -16px; right: -16px; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-lg); border: 2px solid var(--cyan); }
.quien-badge-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.quien-badge-text { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.quien-photo { position: relative; }
.quien-content h2 { color: var(--navy); margin-bottom: 16px; }
.quien-content p { color: var(--text-muted); margin-bottom: 16px; }
.quien-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.quien-value { display: flex; gap: 10px; align-items: flex-start; }
.quien-value-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.quien-value p { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.quien-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* PROCESO */
.proceso-section { background: var(--navy-deep); }
.proceso-section .section-title { color: #fff; }
.proceso-section .section-subtitle { color: rgba(255,255,255,0.6); }
.proceso-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 56px; position: relative; }
.proceso-steps::before { content: ''; position: absolute; top: 40px; left: calc(16.66% + 20px); right: calc(16.66% + 20px); height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(0,204,255,0.2), var(--cyan)); }
.proceso-step { text-align: center; position: relative; }
.proceso-step-num { width: 80px; height: 80px; border-radius: 50%; background: var(--navy-mid); border: 2px solid var(--cyan-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--cyan); position: relative; z-index: 1; transition: all var(--t); }
.proceso-step:hover .proceso-step-num { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.proceso-step h3 { color: #fff; margin-bottom: 10px; }
.proceso-step p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* CONTACTO */
.contacto-section { background: var(--gray-bg); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contacto-info h2 { color: var(--navy); margin-bottom: 12px; }
.contacto-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contacto-options { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contacto-option { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--gray-mid); text-decoration: none; transition: all var(--t); }
.contacto-option:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.contacto-option-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contacto-option-icon svg { width: 20px; height: 20px; }
.contacto-option-icon.cyan { background: var(--cyan-soft); color: var(--navy); }
.contacto-option-icon.green { background: #F0FFF4; color: #16A34A; }
.contacto-option-icon.navy { background: #EFF6FF; color: var(--navy); }
.contacto-option-text p:first-child { font-weight: 600; font-size: 14px; color: var(--text); }
.contacto-option-text p:last-child { font-size: 12px; color: var(--text-muted); }
.contacto-option-arrow { margin-left: auto; color: var(--text-muted); }
.contacto-option-arrow svg { width: 16px; height: 16px; }
.contacto-form-box { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--gray-mid); }
.contacto-form-box h3 { color: var(--navy); margin-bottom: 24px; font-size: 1.2rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-mid); border-radius: var(--r-md); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: #fff; transition: border-color var(--t); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; justify-content: center; padding: 15px; }

/* TOAST */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #1B6B3A; color: #fff; padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 500; opacity: 0; transition: all 0.3s ease; pointer-events: none; z-index: 9999; white-space: nowrap; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* FOOTER */
.footer { background: var(--navy-deep); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { height: 90px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--t); }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--cyan); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .quien-grid { grid-template-columns: 1fr; }
  .quien-photo { display: none; }
  .contacto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-deep); padding: 24px; gap: 20px; border-top: 1px solid rgba(0,204,255,0.1); }
  .nav-cta { display: none; }
  .pilares-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr; }
  .proceso-steps::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
  .trust-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contacto-form-box { padding: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
