/* ═══════════════════════════════════════════════════════
   CSI CONFORTA — Shared CSS
   Villa Carlos Paz, Córdoba, Argentina
   style.css — usado por TODAS las páginas
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500&display=swap');

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --navy:         #0B1F3A;
  --blue:         #1254A0;
  --blue-light:   #1A6FCC;
  --orange:       #E8680A;
  --orange-light: #FF7F1E;
  --gray:         #F4F5F7;
  --border:       #E5E7EB;
  --text:         #1A1A2E;
  --muted:        #6B7280;
  --white:        #FFFFFF;
  --radius:       4px;
  --shadow:       0 2px 20px rgba(11,31,58,0.10);
  --shadow-lg:    0 8px 40px rgba(11,31,58,0.18);
  --font-d:       'Barlow Condensed', sans-serif;
  --font-b:       'Barlow', sans-serif;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-b); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img   { max-width: 100%; display: block; }

/* ── LAYOUT ────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section    { padding: 78px 0; }

/* ── TOPBAR ────────────────────────────────────────── */
.topbar { background: var(--navy); color: rgba(255,255,255,0.7); font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--orange-light); text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }
.topbar-right { display: flex; gap: 20px; }

/* ── NAV ───────────────────────────────────────────── */
.site-nav { background: var(--white); border-bottom: 3px solid var(--orange); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; max-width: 1100px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-csi { font-family: var(--font-d); font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.logo-csi span { color: var(--orange); }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-d); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); text-decoration: none; padding: 7px 12px; border-radius: var(--radius); transition: background 0.15s, color 0.15s; }
.nav-links a:hover, .nav-links a.active { background: var(--gray); color: var(--blue); }
.nav-back { color: var(--muted) !important; font-size: 13px !important; }
.nav-cta  { background: var(--orange) !important; color: var(--white) !important; padding: 8px 16px !important; }
.nav-cta:hover { background: var(--orange-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--gray); padding: 12px 20px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-family: var(--font-d); font-size: 18px; font-weight: 600; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--gray); }
.mobile-menu a:last-child { border-bottom: none; color: var(--orange); }

/* ── BREADCRUMB ────────────────────────────────────── */
.breadcrumb { background: #EEF7FF; padding: 10px 0; border-bottom: 1px solid #D6EFFF; font-size: 13px; }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.breadcrumb-inner a { color: var(--blue); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 13px 26px; border-radius: var(--radius); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; cursor: pointer; border: none; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 20px rgba(232,104,10,0.35); }
.btn-primary:hover { background: var(--orange-light); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: rgba(255,255,255,0.08); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION HEADERS ───────────────────────────────── */
.section-tag   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--orange); margin-bottom: 10px; }
.section-title { font-family: var(--font-d); font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub   { font-size: 16px; font-weight: 300; color: var(--muted); max-width: 540px; line-height: 1.6; }
.section-header { margin-bottom: 48px; }

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar   { background: var(--blue); padding: 16px 0; }
.trust-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.trust-item  { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.92); }
.trust-icon  { font-size: 20px; }
.trust-text  { font-family: var(--font-d); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── SERVICE CARDS (landing pages) ─────────────────── */
.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.service-block { background: var(--white); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.service-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-block-header { background: var(--navy); padding: 24px 28px 20px; }
.service-block-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.service-block-header h3 { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--white); line-height: 1.05; }
.service-block-header p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }
.service-block-body { padding: 24px 28px; }
.service-block-body ul { list-style: none; margin-bottom: 20px; }
.service-block-body ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--gray); line-height: 1.5; }
.service-block-body ul li:last-child { border-bottom: none; }
.service-block-body ul li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-note { font-size: 12px; color: var(--muted); background: var(--gray); padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; line-height: 1.5; }
.service-note strong { color: var(--navy); font-weight: 600; }

/* ── PROBLEM CARDS ─────────────────────────────────── */
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.problem-card { border: 1.5px solid var(--border); border-radius: 8px; padding: 24px 22px; transition: border-color 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.problem-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.problem-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.problem-card:hover::after { transform: scaleX(1); }
.problem-emoji { font-size: 28px; margin-bottom: 12px; display: block; }
.problem-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.1; }
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.problem-solution { font-size: 13px; font-weight: 500; color: var(--blue); background: #EEF7FF; padding: 8px 12px; border-radius: 4px; border-left: 3px solid var(--blue); }

/* ── PROCESS STEPS ─────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; }
.step { background: var(--white); padding: 32px 26px; position: relative; }
.step-accent { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--orange); }
.step-number { font-family: var(--font-d); font-size: 52px; font-weight: 800; color: var(--gray); line-height: 1; margin-bottom: 12px; }
.step h4 { font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── ZONES ─────────────────────────────────────────── */
.zones-section { background: var(--navy); }
.zones-section .section-title { color: var(--white); }
.zones-section .section-sub   { color: rgba(255,255,255,0.5); }
.zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 36px; }
.zone-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 15px 17px; transition: background 0.2s; }
.zone-card:hover { background: rgba(255,255,255,0.09); }
.zone-name   { font-family: var(--font-d); font-size: 17px; font-weight: 700; color: var(--white); }
.zone-detail { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ── FAQ ───────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-b); }
.faq-q-text { font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.4; text-align: left; }
.faq-icon { font-size: 20px; color: var(--blue); flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: 15px; color: var(--muted); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ── CTA BAND ──────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-d); font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; }
.cta-band h2 span { color: var(--orange-light); }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 56px 0 24px; color: rgba(255,255,255,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-logo { font-family: var(--font-d); font-size: 28px; font-weight: 800; color: var(--white); }
.footer-logo span { color: var(--orange); }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; color: rgba(255,255,255,0.4); max-width: 260px; }
.footer-col h5 { font-family: var(--font-d); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 13px; margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,0.3); }

/* ── WHATSAPP FLOAT ────────────────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s; animation: wab 3s ease-in-out 2s infinite; }
.wa-float:hover { transform: scale(1.1); animation: none; }
@keyframes wab { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ── CONTACT FORM ──────────────────────────────────── */
.contact-form-wrap { background: var(--white); padding: 38px; border-radius: 10px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-family: var(--font-d); font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-intro { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-b); font-size: 15px; color: var(--text); background: var(--white); transition: border-color 0.15s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }

/* ── WA ICON (reusable) ────────────────────────────── */
.wa-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; }
  .topbar-right { display: none; }
  section { padding: 56px 0; }
  .trust-inner { justify-content: flex-start; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}
