/* ===== Base ===== */
:root{
  --bg:#0b1c2d;
  --bg2:#0f2740;
  --text:#0d1117;
  --muted:#5b6675;
  --card:#ffffff;
  --soft:#f4f7fb;
  --line:#e6ebf2;
  --accent:#1a73e8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.6;color:var(--text);background:#fff}
img{max-width:100%}
a{color:inherit}

.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:16px 0}
.brand{display:flex;flex-direction:column;gap:2px}
.logo{font-weight:800;letter-spacing:.6px;font-size:18px}
.logo-mark{width:220px;max-width:100%;height:auto;display:block}
.tagline{font-size:12px;opacity:.85}
.nav{display:flex;gap:14px;align-items:center}
.nav a{opacity:.9;text-decoration:none;font-size:14px;padding:8px 10px;border-radius:10px}
.nav a:hover{background:rgba(255,255,255,.08)}
.nav .cta{background:#fff;color:var(--bg);font-weight:700}
.nav .cta:hover{background:#f1f5ff}

.lang-switch{display:flex;gap:6px}
.lang-btn{border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;padding:7px 10px;border-radius:10px;cursor:pointer;font-weight:700}
.lang-btn.active{background:#fff;color:var(--bg)}

/* ===== Sections ===== */
.section{padding:72px 0}
.section.alt{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

.hero{padding:78px 0;background:linear-gradient(135deg,var(--bg),var(--bg2));color:#fff}
.hero h1{margin:0 0 14px;font-size:40px;line-height:1.15}
.lead{max-width:820px;font-size:18px;opacity:.92;margin:0 0 26px}

.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:12px;border:1px solid transparent;text-decoration:none;font-weight:800;cursor:pointer}
.button.primary{background:var(--accent);color:#fff}
.button.primary:hover{filter:brightness(.95)}
.button.quote-btn{background:#19a55a;color:#fff}
.button.quote-btn:hover{filter:brightness(.95)}
.button.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.button.ghost:hover{background:rgba(255,255,255,.08)}

.trust{display:flex;gap:14px;flex-wrap:wrap;opacity:.95}
.trust-item{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:10px 12px;border-radius:12px;font-weight:700;font-size:13px}
.hero-visual{margin-top:22px}
.hero-visual img{width:100%;border-radius:18px;border:1px solid rgba(255,255,255,.2);max-height:360px;object-fit:cover;display:block}

h2{font-size:30px;line-height:1.2;margin:0 0 14px}
.lead-small{margin:0 0 20px;color:var(--muted);max-width:850px}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}
.record-num{
  margin:0 0 6px;
  color:var(--accent) !important;
  font-size:34px;
  font-weight:900;
  line-height:1;
}

.note{margin-top:18px;color:var(--muted);font-size:13px}

.steps-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.step-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px}
.step-card h3{margin:0 0 8px}
.step-card p{margin:0;color:var(--muted)}

.image-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.image-card{margin:0;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.image-card img{width:100%;height:280px;object-fit:cover;display:block}
.image-card figcaption{padding:12px 14px;font-weight:700;color:#243041}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:16px;margin-top:16px}
.contact-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px}
.small{color:var(--muted);font-size:13px;margin:8px 0 0}

form{display:flex;flex-direction:column;gap:12px;margin-top:10px}
label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:13px}
input,textarea{border:1px solid var(--line);border-radius:12px;padding:12px;font:inherit}
input:focus,textarea:focus{outline:2px solid rgba(26,115,232,.25);border-color:rgba(26,115,232,.45)}

.consent{flex-direction:row;align-items:flex-start;gap:10px;font-weight:600}
.consent input{margin-top:3px}

.form-status{margin-top:8px;font-weight:700}
.form-status.ok{color:#0a7a2f}
.form-status.err{color:#b00020}

.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* ===== Footer ===== */
.site-footer{background:#0a1522;color:#fff;padding:26px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.footer-brand{font-weight:800}
.footer-links{display:flex;gap:10px;opacity:.9;font-size:13px}
.footer-links a{text-decoration:none;opacity:.9}
.footer-links a:hover{text-decoration:underline}
.sep{opacity:.5}
.footer-contact a{text-decoration:none;font-weight:800}
.footer-contact a:hover{text-decoration:underline}

/* ===== Chat widget ===== */
.chat-toggle{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:800;
  padding:12px 16px;
  box-shadow:0 10px 30px rgba(13,17,23,.25);
  cursor:pointer;
}
.chat-toggle:hover{filter:brightness(.95)}

.chat-widget{
  position:fixed;
  right:18px;
  bottom:74px;
  z-index:79;
  width:min(340px,calc(100vw - 24px));
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 14px 38px rgba(13,17,23,.2);
  overflow:hidden;
  display:none;
}
.chat-widget.open{display:block}
.chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:12px 14px;
  background:#f5f8ff;
  border-bottom:1px solid var(--line);
}
.chat-close{
  border:0;
  background:transparent;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.chat-messages{
  padding:12px 14px;
  max-height:230px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.chat-bubble{
  border-radius:12px;
  padding:8px 10px;
  font-size:14px;
  line-height:1.4;
}
.chat-bubble.bot{
  background:#f2f6ff;
  border:1px solid #d9e5ff;
}
.chat-bubble.user{
  background:#edf8f1;
  border:1px solid #cdeed8;
  align-self:flex-end;
}
.chat-actions{
  border-top:1px solid var(--line);
  padding:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chat-chip{
  border:1px solid #d3dded;
  background:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.chat-chip:hover{background:#f4f8ff}

.whatsapp-float{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:80;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  visibility:visible !important;
  opacity:1 !important;
  background:#25d366;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  border-radius:999px;
  padding:12px 16px;
  box-shadow:0 10px 30px rgba(13,17,23,.25);
}
.whatsapp-float:hover{filter:brightness(.95)}

.mobile-sticky-cta{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:70;
  background:#ffffffea;
  border-top:1px solid var(--line);
  padding:10px 12px;
  backdrop-filter:blur(4px);
}
.mobile-sticky-cta .button{
  width:100%;
}


/* ===== Responsive ===== */
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .steps-grid{grid-template-columns:1fr}
  .image-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:34px}
  .nav{display:none}
  .logo-mark{width:185px}
  .chat-toggle{right:12px;bottom:64px}
  .chat-widget{right:12px;bottom:116px}
  .whatsapp-float{left:12px;bottom:64px}
  .mobile-sticky-cta{display:block}
  body{padding-bottom:72px}
}
