/* ===========================
   Global Reset & Variables
   =========================== */
:root{
  --ink:#121212;
  --muted:#666;
  --bg:#fff;
  --line:#e7e7e7;
  --primary:#111;
  --call:#0a7;
  --wa:#25D366;
  --chip:#f5f5f7;
  --ok:#eefaf0;
  --err:#ffefef;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ===========================
   Buttons & Utilities
   =========================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:12px;border:1px solid #0000;
  cursor:pointer;font-weight:600;transition:transform .05s ease,opacity .2s ease;
  user-select:none; -webkit-user-select:none;
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--primary);color:#fff}
.btn--ghost{background:#fff;border:1px solid var(--line)}
.btn--small{padding:8px 12px;border:1px solid var(--line);border-radius:10px}
.btn--call{background:var(--call);color:#fff}
.btn--wa{background:var(--wa);color:#fff}

.chip{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--chip);border:1px solid var(--line);border-radius:999px;
  padding:6px 10px;font-size:14px;color:var(--ink)
}

.muted{color:var(--muted)}

/* ===========================
   Layout Containers
   =========================== */
.page{max-width:1200px;margin:0 auto;padding:16px}
.contain{max-width:1200px;margin:0 auto;padding:0 16px}

/* Flash messages */
.flash{margin:12px 0;padding:10px 12px;border-radius:10px}
.flash--ok{background:var(--ok);border:1px solid #bfe2c6}
.flash--err{background:var(--err);border:1px solid #f3bcbc}

/* ===========================
   Header (Two Rows)
   =========================== */
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}

/* Row 1: logo + CTA + burger */
.topbar{border-bottom:1px solid var(--line)}
.topbar__inner{max-width:1200px;margin:0 auto;padding:8px 16px;display:flex;align-items:center;gap:12px}
.logo img{display:block;height:auto;max-height:60px;width:auto}
.topbar__cta{display:flex;gap:8px;margin-left:auto}
.menu-toggle{display:none;margin-left:8px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 12px}

/* Row 2: navbar (separate line) */
.navbar{background:#fff}
.navbar__list{
  max-width:1200px;margin:0 auto;padding:8px 16px;
  display:flex;gap:16px;list-style:none
}
.navbar__list a{padding:8px 10px;border-radius:10px}
.navbar__list a:hover{background:var(--chip)}

/* ===========================
   Hero / Banners
   =========================== */
.hero{
  position:relative;border:1px solid var(--line);
  border-radius:16px;overflow:hidden;margin:10px 0 20px
}
.hero__img{
  width:100%;height:260px;object-fit:cover;
  background:linear-gradient(120deg,#e8f6ff,#f8f8ff)
}
.hero__overlay{
  position:absolute;inset:auto 0 0 0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.55) 100%);
  color:#fff;padding:16px
}
.hero__overlay h1{margin:0;font-size:28px}

/* ===========================
   Cards / Grids
   =========================== */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card{
  border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;
  transition:transform .1s ease,box-shadow .15s ease
}
.card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.06)}
.card h1,.card h2,.card h3{margin:0 0 6px}
.card p{margin:0 0 10px}

.section-head{margin-bottom:10px}
.section-head .muted{color:var(--muted)}

/* Tags / meta badges */
.meta{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.tag{
  background:#f3f3f3;border:1px solid var(--line);
  border-radius:999px;padding:6px 10px;font-size:14px
}

/* ===========================
   Pagination
   =========================== */
.pager{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0;align-items:center}
.pg{
  padding:8px 12px;border:1px solid var(--line);border-radius:10px;
  transition:background .15s ease,color .15s ease,border-color .15s ease
}
.pg:hover{background:var(--chip)}
.pg.active{background:#111;color:#fff;border-color:#111}
.pg.disabled{opacity:.45;pointer-events:none}
.dots{padding:8px 6px;color:var(--muted)}

/* ===========================
   Footer
   =========================== */
.site-footer{margin-top:24px;border-top:1px solid var(--line);background:#fafafa}
.footer__grid{
  max-width:1200px;margin:0 auto;padding:20px 16px;
  display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))
}
.footer__block h3{margin:0 0 10px}
.list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.footer__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.footer__bottom{border-top:1px solid var(--line);padding:12px 16px;text-align:center;color:var(--muted);font-size:14px}

/* ===========================
   Contact Form (Footer)
   =========================== */
.contact-form{position:relative}
.contact-form .row{display:grid;gap:10px;margin-bottom:10px}
.contact-form .row--two{grid-template-columns:repeat(2,minmax(0,1fr))}

/* unified inputs + textarea + select */
.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:10px;
  border:1px solid #ddd;
  border-radius:10px;
  font:inherit;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}

/* focus style for all controls */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline:none;
  border-color:#bbb;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}

/* Make the <select> match inputs (height + arrow) */
.contact-form select{
  height:44px;
  line-height:44px;

  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;

  padding-right:42px;

  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:18px 18px;
}

/* hide legacy IE arrow */
.contact-form select::-ms-expand{ display:none; }

/* Honeypot (hidden from humans) */
.contact-form .hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* keep two-column layout behaving the same */
.contact-form .row--two > *{ min-width:0; }

/* ===========================
   Mobile Fixed CTA Bar (Call + WhatsApp)
   =========================== */
.mobile-cta{
  position:fixed;
  left:0; right:0; bottom:0;
  display:none;               /* hidden by default; enabled on small screens below */
  z-index:9999;
  background:#ffffffEE;       /* slight translucency */
  backdrop-filter:saturate(120%) blur(6px);
  border-top:1px solid var(--line);
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 16px rgba(0,0,0,.08);
}
.mobile-cta .mcta-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:49%; height:48px; margin:0; padding:0 14px;
  border-radius:12px; font-weight:700; border:0; text-align:center;
}
.mobile-cta .mcta-call{ background:var(--call); color:#fff; }
.mobile-cta .mcta-wa{   background:var(--wa);   color:#fff; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px){
  .topbar__inner{gap:10px}
  .topbar__cta{order:3;width:100%;justify-content:flex-end}
  .menu-toggle{display:inline-flex}
  .navbar{display:none}
  .navbar.open{display:block}
  .navbar__list{flex-direction:column}
  .logo img{max-height:48px}
  .hero__img{height:200px}

  /* Show mobile CTA bar and keep content visible above it */
  .mobile-cta{ display:flex; gap:2%; }
  body{ padding-bottom:80px; }
}

@media (max-width: 700px){
  .contact-form .row--two{grid-template-columns:1fr}
}

/* ===========================
   Subtle Animations
   =========================== */
a, .btn, .card, .pg{transition:transform .1s ease, background .15s ease, color .15s ease, border-color .15s ease}

/* ===== Videos (place page) ===== */
.videos{margin:20px 0}
.videos h2{margin:0 0 10px}
.video-grid{
  display:grid; gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.video{position:relative; padding-top:56.25%; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:#000;}
.video iframe{position:absolute; inset:0; width:100%; height:100%; border:0}

/* ===== Socials ===== */
.socials{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.socials .social{
  width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:10px; background:#fff;
}
.socials .social svg{width:20px; height:20px; fill:#111}

/* (Already present in your CSS) Mobile fixed CTA lives below 900px breakpoint */
