/* Global variables */
:root {
  --brand: #e11d48;
  --brand-dark: #b81239;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --header-h: 96px; /* header incl. topbar */
}

/* Shared header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid #e5e7eb; }
.site-nav { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.site-nav .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.site-nav .brand svg { width: 34px; height: 34px; }
/* Logo sizing for both desktop and mobile */
.site-nav .brand .mark { width: 160px; height: 90px; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .site-nav .brand .mark { width: 120px; height: 32px; }
}
/* Hide any leftover title/subtitle if present */
.site-nav .brand .title, .site-nav .brand .subtitle { display: none !important; }
.site-nav .brand .title { font-weight: 700; letter-spacing: .2px; }
.site-nav .brand .subtitle { font-size: 12px; color: var(--muted); margin-top: -6px; }

.nav-menu { display: flex; gap: 18px; align-items: center; }
.nav-menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-menu a:hover { color: var(--brand); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.nav-cta:hover { background: var(--brand-dark); }

/* Hamburger */
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; border-radius: 8px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ink); border-radius: 4px; transition: transform .25s ease, top .25s ease, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Drawer */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(2px); display: grid; place-items: stretch; }
.drawer .drawer-panel { margin-left: auto; width: min(86vw, 360px); height: 100%; background: var(--surface); border-left: 1px solid #e5e7eb; box-shadow: -12px 0 30px rgba(2,6,23,.15); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding: 14px; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer .drawer-links { display: grid; gap: 10px; margin-top: 8px; }
.drawer .drawer-links a { padding: 12px 10px; border-radius: 10px; border: 1px solid #e5e7eb; text-decoration: none; color: var(--ink); font-weight: 600; }
.drawer .drawer-links a:hover { border-color: var(--brand); color: var(--brand); }

/* Responsive behavior */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-block; }
}

/* Shared footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 22px; text-align: center; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Utility to lock body scroll when drawer is open */
body.no-scroll { overflow: hidden; }

/* Anchor offset so sticky header doesn't cover targets */
#services, #terms, #contact, #top { scroll-margin-top: calc(var(--header-h) + 10px); }

/* Compensate for fixed header */
body { padding-top: var(--header-h); }

/* Social icons (reusable) */
.social { display: inline-flex; gap: 10px; align-items: center; }
.social a { --s: 36px; width: var(--s); height: var(--s); border-radius: 999px; display: grid; place-items: center; text-decoration: none; color: #e2e8f0; border: 1px solid #6b7280; background: #262b36; }
.social a:hover { color: #fff; border-color: #94a3b8; }
.social a i { font-size: 14px; }

/* Topbar above header */
.topbar { background: #0b1220; color: #cbd5e1; border-bottom: 1px solid #0f172a; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 6px 20px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* Login chip to match social buttons, but variable width */


/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 54px; height: 54px;
  border-radius: 999px;
  background: #25D366; /* WhatsApp green */
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(2,6,23,.25);
  z-index: 1100;
  text-decoration: none;
}
.fab-whatsapp i { font-size: 26px; line-height: 1; }
.fab-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }


.panel .cta-row .link{ background: var(--brand); color:#fff!important; padding:10px 14px; border-radius:14px; font-weight:700; border:0; text-decoration:none; display:inline-block; }
.panel .cta-row .link:hover{ background: var(--brand-dark); }

.topbar a{ text-decoration:none; }


/* Topbar login chip: white text + white border */
.topbar .btn-login{height:36px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.85);background:transparent;color:#ffffff;font-weight:700;text-decoration:none;line-height:1;}
.topbar .btn-login:hover{background:rgba(255,255,255,.08);border-color:#ffffff;color:#ffffff;}

/* Fallback login chip */
.btn-login{height:36px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;border:1px solid #6b7280;background:#262b36;color:#e2e8f0;font-weight:600;text-decoration:none;line-height:1;}
.btn-login:hover{color:#fff;border-color:#94a3b8;}

