/* ── Top bar ────────────────────────────────────────────────────────────── */
.topbar { background:#1d3557; color:rgba(255,255,255,.75); font-size:12px; }
.topbar-inner { max-width:1280px; margin:0 auto; padding:6px 20px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.topbar-left { display:flex; gap:16px; }
.topbar-right { display:flex; align-items:center; gap:12px; }
.topbar-link { color:rgba(255,255,255,.75); transition:color .2s; }
.topbar-link:hover { color:#fff; }
.topbar-phone { color:#fff; font-weight:700; font-size:13px; }
.topbar-phone:hover { color:#ffd; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header-inner { flex-wrap:nowrap; gap:12px; align-items:center; }
.site-logo { font-size:20px; font-weight:800; color:#fff; white-space:nowrap; flex-shrink:0; }
.site-logo:hover { color:#ffd; }

/* Search — full width, icon inside */
.header-search {
  flex:1; min-width:0; position:relative; display:flex; align-items:center;
}
.header-search input {
  width:100%; padding:10px 44px 10px 16px;
  border:none; border-radius:8px; font-size:14px; outline:none;
  background:#fff;
}
.header-search input:focus { box-shadow:0 0 0 2px rgba(255,255,255,.4); }
.search-btn {
  position:absolute; right:0; top:0; bottom:0;
  background:none; border:none; padding:0 14px;
  font-size:16px; cursor:pointer; color:#6c757d;
  transition:color .2s;
}
.search-btn:hover { color:var(--primary,#e63946); }

.header-phone { color:rgba(255,255,255,.9); font-weight:700; font-size:14px; white-space:nowrap; flex-shrink:0; }
.header-phone:hover { color:#fff; }
.callback-btn {
  background:var(--primary,#e63946); color:#fff; border:none; border-radius:8px;
  padding:9px 16px; font-size:13px; font-weight:700; cursor:pointer;
  white-space:nowrap; transition:background .2s; flex-shrink:0;
}
.callback-btn:hover { background:var(--primary-dark,#c1121f); }

/* ── Site Nav ───────────────────────────────────────────────────────────── */
.site-nav { background:rgba(0,0,0,.2); }
.site-nav-inner { max-width:1280px; margin:0 auto; padding:0 20px; display:flex; gap:0; }
.site-nav a { color:rgba(255,255,255,.8); padding:10px 16px; display:block; font-size:14px; transition:all .15s; }
.site-nav a:hover { color:#fff; background:rgba(255,255,255,.1); }
.site-nav a.active { color:#fff; background:rgba(255,255,255,.15); font-weight:600; }

/* ── Search suggest ─────────────────────────────────────────────────────── */
.header-search { position:relative; }
.header-search input { border-radius:8px 0 0 8px; }
.search-suggest {
  display:none; position:absolute; top:calc(100% + 4px); left:0; right:0;
  background:#fff; border-radius:10px; box-shadow:0 8px 32px rgba(0,0,0,.18);
  z-index:500; overflow:hidden; border:1px solid #e2e8f0;
}
.suggest-item {
  display:flex; align-items:center; gap:10px; padding:10px 14px;
  color:#1d3557; transition:background .15s; border-bottom:1px solid #f8f9fa;
}
.suggest-item:hover { background:#f0f7ff; }
.suggest-img { width:44px; height:36px; object-fit:cover; border-radius:5px; background:#f0f2f5; flex-shrink:0; }
.suggest-img-ph { width:44px; height:36px; display:flex; align-items:center; justify-content:center; font-size:20px; background:#f0f2f5; border-radius:5px; flex-shrink:0; }
.suggest-title { font-size:13px; font-weight:600; line-height:1.3; }
.suggest-meta { font-size:11px; color:#6c757d; margin-top:2px; }
.suggest-more { display:block; padding:10px 14px; text-align:center; font-size:13px; font-weight:600; color:var(--accent); background:#f8f9fa; }
.suggest-more:hover { background:#e8f4fd; }

/* ── Callback Modal ─────────────────────────────────────────────────────── */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:1000; display:none; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open { display:flex; }
.callback-modal {
  background:#fff; border-radius:16px; padding:36px 32px; max-width:420px; width:100%;
  position:relative; text-align:center; box-shadow:0 24px 60px rgba(0,0,0,.25);
}
.modal-close-btn { position:absolute; top:14px; right:16px; background:none; border:none; font-size:20px; cursor:pointer; color:#aaa; line-height:1; }
.modal-close-btn:hover { color:#333; }
.callback-modal-icon { font-size:48px; margin-bottom:12px; }
.callback-modal h3 { font-size:22px; font-weight:800; color:#1d3557; margin-bottom:8px; }
.callback-modal p { color:#6c757d; font-size:14px; margin-bottom:20px; }
.cb-input { display:block; width:100%; padding:12px 14px; border:1px solid #dee2e6; border-radius:8px; font-size:14px; margin-bottom:10px; outline:none; transition:border-color .2s; }
.cb-input:focus { border-color:var(--accent); }
.cb-submit { width:100%; padding:13px; background:var(--primary); color:#fff; border:none; border-radius:8px; font-size:15px; font-weight:700; cursor:pointer; transition:background .2s; margin-top:4px; }
.cb-submit:hover { background:var(--primary-dark); }
.cb-or { color:#aaa; font-size:12px; margin:14px 0 8px; }
.cb-phone-link { display:block; font-size:20px; font-weight:800; color:#1d3557; margin-bottom:8px; }
.cb-whatsapp { display:inline-block; background:#25d366; color:#fff; padding:10px 20px; border-radius:8px; font-weight:700; font-size:14px; margin-top:4px; }
.cb-whatsapp:hover { background:#1ebe5d; color:#fff; }

/* ── Floating alert ─────────────────────────────────────────────────────── */
.alert-floating {
  position:fixed; bottom:24px; right:24px; background:#1d3557; color:#fff;
  padding:14px 20px; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.2);
  font-size:14px; font-weight:600; z-index:9999; animation:slideIn .3s ease;
}
@keyframes slideIn { from { transform:translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }

/* ── Static pages ───────────────────────────────────────────────────────── */
.page-hero { background:linear-gradient(135deg,#1d3557,#457b9d); color:#fff; padding:48px 20px; text-align:center; }
.page-hero h1 { font-size:32px; font-weight:800; margin-bottom:8px; }
.page-hero p { font-size:16px; opacity:.85; }
.page-content { max-width:900px; margin:0 auto; padding:40px 20px; }
.page-content h2 { font-size:22px; font-weight:700; color:#1d3557; margin:28px 0 12px; }
.page-content h2:first-child { margin-top:0; }
.page-content p, .page-content li { font-size:15px; line-height:1.8; color:#374151; }
.page-content ul, .page-content ol { padding-left:24px; margin-bottom:16px; }
.page-content li { margin-bottom:6px; }
.info-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; margin:24px 0; }
.info-card { background:#fff; border-radius:10px; padding:24px; box-shadow:0 2px 12px rgba(0,0,0,.07); text-align:center; }
.info-card .icon { font-size:36px; margin-bottom:12px; }
.info-card h3 { font-size:16px; font-weight:700; color:#1d3557; margin-bottom:8px; }
.info-card p { font-size:13px; color:#6c757d; }

/* ── Contacts page ──────────────────────────────────────────────────────── */
.contacts-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:32px; }
.contact-card { background:#fff; border-radius:12px; padding:28px; box-shadow:0 2px 12px rgba(0,0,0,.07); }
.contact-card h3 { font-size:17px; font-weight:700; color:#1d3557; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid #f0f2f5; }
.contact-item { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:14px; }
.contact-item .ci-icon { font-size:20px; flex-shrink:0; margin-top:1px; }
.contact-item a { color:#1d3557; font-weight:600; font-size:16px; }
.map-wrap { border-radius:12px; overflow:hidden; height:300px; background:#f0f2f5; margin-top:24px; display:flex; align-items:center; justify-content:center; color:#aaa; }
.map-wrap iframe { width:100%; height:100%; border:none; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background:#1d3557; color:rgba(255,255,255,.8); padding:48px 20px 24px; margin-top:60px; }
.footer-inner { max-width:1280px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:32px; margin-bottom:32px; }
.footer-logo { font-size:20px; font-weight:800; color:#fff; margin-bottom:12px; }
.footer-desc { font-size:13px; line-height:1.7; opacity:.7; }
.footer-col h4 { color:#fff; font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:14px; }
.footer-col a { display:block; color:rgba(255,255,255,.7); font-size:13px; margin-bottom:6px; transition:color .15s; }
.footer-col a:hover { color:#fff; }
.footer-phone { font-size:18px!important; font-weight:800!important; color:#fff!important; }
.footer-socials { display:flex; gap:10px; margin-top:12px; }
.footer-socials a { background:rgba(255,255,255,.1); border-radius:8px; padding:6px 10px; font-size:16px; color:#fff!important; transition:background .2s; }
.footer-socials a:hover { background:rgba(255,255,255,.2); }
.footer-callback-btn { margin-top:14px; background:var(--primary); color:#fff; border:none; border-radius:8px; padding:10px 16px; font-size:13px; font-weight:700; cursor:pointer; width:100%; transition:background .2s; }
.footer-callback-btn:hover { background:var(--primary-dark); }
.footer-bottom { max-width:1280px; margin:0 auto; padding-top:20px; border-top:1px solid rgba(255,255,255,.1); display:flex; gap:16px; font-size:12px; opacity:.6; }

@media(max-width:900px) {
  .footer-inner { grid-template-columns:1fr 1fr; }
  .contacts-grid { grid-template-columns:1fr; }
  .site-nav-inner { overflow-x:auto; }
  .callback-btn { display:none; }
}
@media(max-width:600px) {
  .footer-inner { grid-template-columns:1fr; }
  .topbar-left { display:none; }
  .page-hero h1 { font-size:24px; }
}
