/* ===========================
   Midnight Glass Theme • Cool & Modern
   Drop-in replacement
   =========================== */
:root{
  /* Core palette (cool + minimal) */
  --ink:#0f172a;           /* deep slate text */
  --muted:#6b7280;         /* muted gray */
  --bg:#eef2ff;            /* soft indigo-tinted background */
  --panel:#ffffff;         /* clean surface */
  --line:#e2e8f0;          /* cool divider */

  --primary:#4f46e5;       /* indigo-600 */
  --primary-700:#4338ca;   /* indigo-700 */
  --primary-ink:#f9fafb;   /* text on primary */

  --accent:#06b6d4;        /* cyan-500 (links/accents) */
  --accent-600:#0891b2;

  --call:#22c55e;          /* green for call CTA */
  --wa:#25D366;            /* WhatsApp */

  --chip:#e0f2fe;          /* light blue chip */
  --ok:#ecfdf5;            /* success bg */
  --ok-line:#bbf7d0;
  --err:#fef2f2;           /* error bg */
  --err-line:#fecaca;

  --shadow:0 18px 40px rgba(15,23,42,.18), 0 2px 10px rgba(15,23,42,.18);
  --ring:0 0 0 3px rgba(79,70,229,.25);
}

/* ===========================
   Base
   =========================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font:16px/1.7 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  color:var(--ink);
  background:
    radial-gradient(1200px 700px at -10% -10%, #dbeafe 0%, rgba(219,234,254,0) 50%),
    radial-gradient(900px 500px at 110% 0%, #e0f2fe 0%, rgba(224,242,254,0) 50%),
    linear-gradient(135deg,#eef2ff,#f9fafb 40%,#e5f3ff 100%);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}

a{color:var(--accent);text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%;display:block}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:10px}

/* ===========================
   Buttons & Utilities
   =========================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 16px;border-radius:999px;border:1px solid #0000;
  cursor:pointer;font-weight:600;letter-spacing:.2px;text-transform:none;
  transition:transform .06s ease, opacity .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  user-select:none;-webkit-user-select:none;
  background:rgba(255,255,255,.8);
  border:1px solid rgba(148,163,184,.5);
  color:var(--ink);
  backdrop-filter:blur(14px);
}
.btn:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn svg{width:18px;height:18px}

/* Primary now INDIGO */
.btn--primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-700));
  color:var(--primary-ink);
  border-color:#0000;
  text-shadow:0 1px 2px rgba(15,23,42,.45);
}
.btn--ghost{
  background:rgba(15,23,42,.02);
  border:1px solid rgba(148,163,184,.8);
  color:var(--ink);
}
.btn--small{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.6);
}
.btn--call{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#f9fafb;border-color:#0000;
}
.btn--wa{
  background:linear-gradient(135deg,#25d366,#16a34a);
  color:#f9fafb;border-color:#0000;
}

.chip{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--chip);
  border:1px solid #bae6fd;
  border-radius:999px;
  padding:6px 12px;font-size:13px;color:#0f172a;
}

.muted{color:var(--muted)}
.elevate{
  box-shadow:var(--shadow);
  background:rgba(15,23,42,.85);
  color:#e5e7eb;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.4);
  backdrop-filter:blur(18px);
}

/* ===========================
   Layout Containers
   =========================== */
.page{max-width:1200px;margin:0 auto;padding:16px}
.contain{max-width:1200px;margin:0 auto;padding:0 16px}

/* Flash */
.flash{margin:12px 0;padding:12px 14px;border-radius:14px}
.flash--ok{background:var(--ok);border:1px solid var(--ok-line)}
.flash--err{background:var(--err);border:1px solid var(--err-line)}

/* ===========================
   Header (Two Rows)
   =========================== */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(15,23,42,.86);
  border-bottom:1px solid rgba(148,163,184,.5);
  backdrop-filter:saturate(140%) blur(16px);
}
.topbar{
  border-bottom:1px solid rgba(148,163,184,.35);
}
.topbar__inner{
  max-width:1200px;margin:0 auto;padding:10px 16px;
  display:flex;align-items:center;gap:12px;
}
.logo img{
  display:block;height:auto;max-height:56px;width:auto;
  filter:drop-shadow(0 4px 10px rgba(15,23,42,.6));
}
.topbar__cta{
  display:flex;gap:10px;margin-left:auto;
}
.menu-toggle{
  display:none;margin-left:8px;
  border:1px solid rgba(148,163,184,.6);
  background:rgba(15,23,42,.7);
  border-radius:999px;
  padding:10px 12px;
  color:#e5e7eb;
}

.navbar{background:transparent}
.navbar__list{
  max-width:1200px;margin:0 auto;padding:10px 16px;
  display:flex;gap:8px;list-style:none;flex-wrap:wrap;
}
.navbar__list a{
  padding:9px 14px;border-radius:999px;
  border:1px solid transparent;
  color:#e5e7eb;
  background:radial-gradient(circle at 0 0,rgba(148,163,184,.35),rgba(30,64,175,.2));
  backdrop-filter:blur(12px);
  font-size:14px;
}
.navbar__list a:hover{
  border-color:rgba(129,140,248,.9);
  background:radial-gradient(circle at 0 0,rgba(129,140,248,.45),rgba(30,64,175,.3));
}
.navbar__list a.active,
.navbar__list a[aria-current="page"]{
  background:linear-gradient(135deg,#6366f1,#4f46e5);
  color:#eef2ff;
  border-color:rgba(191,219,254,.9);
}

/* ===========================
   Hero / Banners
   =========================== */
.hero{
  position:relative;
  border:1px solid rgba(148,163,184,.5);
  border-radius:26px;
  overflow:hidden;
  margin:16px 0 26px;
  background:
    radial-gradient(circle at 0 0,rgba(129,140,248,.18),rgba(15,23,42,.95)),
    radial-gradient(circle at 110% 0,rgba(56,189,248,.14),rgba(15,23,42,1));
  box-shadow:var(--shadow);
}
.hero__img{
  width:100%;height:320px;object-fit:cover;
  opacity:.25;
  mix-blend-mode:screen;
}
.hero__overlay{
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:24px 22px 22px;
  background:linear-gradient(180deg,rgba(15,23,42,0.0) 0,rgba(15,23,42,0.88) 65%,rgba(15,23,42,1) 100%);
  color:#e5e7eb;
}
.hero__overlay h1{
  margin:0 0 6px;
  font-size:30px;
  letter-spacing:.3px;
  text-shadow:0 2px 12px rgba(0,0,0,.7);
}
.hero__overlay p{
  margin:0;
  color:#cbd5f5;
}

/* ===========================
   Cards / Grids
   =========================== */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}
.card{
  border:1px solid rgba(148,163,184,.5);
  border-radius:20px;
  padding:16px 16px 18px;
  background:
    radial-gradient(circle at 0 0,rgba(129,140,248,.12),rgba(255,255,255,.96));
  transition:transform .14s ease,box-shadow .2s ease,border-color .18s ease, background .18s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:#818cf8;
  background:
    radial-gradient(circle at 0 0,rgba(129,140,248,.18),rgba(255,255,255,1));
}
.card h1,.card h2,.card h3{margin:0 0 8px}
.card p{margin:0 0 12px}

.section-head{margin-bottom:12px}
.section-head .muted{color:var(--muted)}

.meta{
  display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;
}
.tag{
  background:#e0f2fe;
  border:1px solid #bae6fd;
  border-radius:999px;
  padding:6px 12px;
  font-size:13px;
  color:#0f172a;
}

/* ===========================
   Pagination
   =========================== */
.pager{
  display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;align-items:center;
}
.pg{
  padding:9px 13px;
  border:1px solid rgba(148,163,184,.7);
  border-radius:999px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
  font-size:14px;
  transition:background .15s ease,color .15s ease,border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.pg:hover{
  background:#e0e7ff;
  border-color:#6366f1;
  box-shadow:var(--shadow);
  transform:translateY(-1px);
}
.pg.active{
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#f9fafb;
  border-color:#4f46e5;
}
.pg.disabled{opacity:.45;pointer-events:none}
.dots{padding:8px 6px;color:var(--muted)}

/* ===========================
   Footer
   =========================== */
.site-footer{
  margin-top:28px;
  border-top:1px solid rgba(148,163,184,.6);
  background:
    radial-gradient(circle at 0 0,rgba(30,64,175,.9),rgba(15,23,42,1));
  color:#e5e7eb;
}
.footer__grid{
  max-width:1200px;margin:0 auto;padding:24px 16px;
  display:grid;gap:22px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.footer__block h3{
  margin:0 0 10px;
  color:#e0f2fe;
}
.list{
  list-style:none;margin:0;padding:0;
  display:grid;gap:8px;
}
.list a{color:#cbd5f5}
.list a:hover{color:#e0f2fe}
.footer__cta{
  display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;
}
.footer__bottom{
  border-top:1px solid rgba(148,163,184,.65);
  padding:12px 16px;
  text-align:center;
  color:#cbd5f5;
  font-size:13px;
  background:rgba(15,23,42,.98);
}

/* ===========================
   Contact Form
   =========================== */
.contact-form{position:relative}
.contact-form .row{display:grid;gap:12px;margin-bottom:12px}
.contact-form .row--two{grid-template-columns:repeat(2,minmax(0,1fr))}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  font:inherit;
  background:rgba(248,250,252,.9);
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .05s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline:none;
  border-color:#6366f1;
  box-shadow:var(--ring);
  background:#ffffff;
}
.contact-form textarea{min-height:120px;resize:vertical}

.contact-form select{
  height:46px; line-height:46px; -webkit-appearance:none;-moz-appearance:none;appearance:none;
  padding-right:44px;
  background:
    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='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center / 18px 18px;
}
.contact-form select::-ms-expand{display:none}
.contact-form .hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.contact-form .row--two > *{ min-width:0; }

/* ===========================
   Mobile Fixed CTA
   =========================== */
.mobile-cta{
  position:fixed;left:0;right:0;bottom:0;display:none;
  z-index:9999;
  background:rgba(15,23,42,.96);
  backdrop-filter:saturate(120%) blur(8px);
  border-top:1px solid rgba(148,163,184,.7);
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -10px 30px rgba(15,23,42,.8);
}
.mobile-cta .mcta-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:49%;height:48px;margin:0;padding:0 14px;
  border-radius:999px;font-weight:700;border:0;text-align:center;
}
.mobile-cta .mcta-call{background:var(--call);color:#f9fafb}
.mobile-cta .mcta-wa{background:var(--wa);color:#f9fafb}

/* ===========================
   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:260px}
  .hero__overlay{padding:20px 18px 18px}
  .hero__overlay h1{font-size:24px}

  .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, box-shadow .15s ease;
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ===== Videos ===== */
.videos{margin:22px 0}
.videos h2{margin:0 0 12px;color:#0f172a}
.video-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.video{
  position:relative;padding-top:56.25%;
  border-radius:18px;overflow:hidden;
  border:1px solid rgba(148,163,184,.7);
  background:#020617;
  box-shadow:var(--shadow);
}
.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:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(148,163,184,.7);
  border-radius:14px;
  background:radial-gradient(circle at 0 0,rgba(148,163,184,.4),rgba(15,23,42,.98));
  box-shadow:var(--shadow);
}
.socials .social svg{width:20px;height:20px;fill:#e5e7eb}

/* ===== Optional Dark Mode (deep noir) ===== */
.dark{
  --ink:#e5e7eb;
  --muted:#9ca3af;
  --bg:#020617;
  --panel:#020617;
  --line:#1f2933;
  --chip:#0f172a;
  --primary:#6366f1;
  --primary-700:#4f46e5;
  --primary-ink:#e5e7eb;
  --accent:#22d3ee;
  --accent-600:#06b6d4;
  --shadow:0 22px 50px rgba(0,0,0,.8), 0 4px 16px rgba(0,0,0,.7);
  --ring:0 0 0 3px rgba(94,234,212,.25);
  background:#020617;
}
.dark .site-header{
  background:rgba(2,6,23,.96);
  border-color:rgba(30,64,175,.8);
}
.dark .navbar__list a{
  color:#e5e7eb;
  background:radial-gradient(circle at 0 0,rgba(30,64,175,.9),rgba(15,23,42,.98));
}
.dark .navbar__list a.active{
  background:linear-gradient(135deg,#6366f1,#4f46e5);
  color:#e0f2fe;
  border-color:#4f46e5;
}
.dark .pg:hover{background:#020617}
.dark .hero{
  background:
    radial-gradient(circle at 0 0,rgba(79,70,229,.45),rgba(15,23,42,1)),
    radial-gradient(circle at 110% 0,rgba(45,212,191,.25),rgba(15,23,42,1));
}
.dark .hero__overlay{
  background:linear-gradient(180deg,rgba(2,6,23,.1) 0,rgba(2,6,23,.96) 70%);
}
