/* ===================== Mike's Laptops & Custom PC's ===================== */

:root{
  --navy: #0F172A;
  --navy-light: #1E293B;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --sky: #0EA5E9;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;
  --gold: #F59E0B;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 8px 24px rgba(15,23,42,.10);
  --shadow-lg: 0 20px 45px rgba(15,23,42,.16);
  --ease: cubic-bezier(.22,.9,.32,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --header-h: 76px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.eyebrow{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.text-accent{ color: var(--blue); }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 260ms var(--ease-spring), box-shadow var(--dur) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  min-height: 48px;
}
/* Compact variant for dense contexts (table row actions) - the base .btn
   is sized for marketing CTAs (48px tall), which is why three of them
   side by side in a table cell were wrapping onto a second line. */
.btn-small{
  padding: 7px 14px;
  font-size: 12.5px;
  min-height: unset;
  gap: 5px;
}
.btn-primary{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.30);
  isolation: isolate;
}
.btn-primary::before{
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(75deg, transparent 40%, rgba(255,255,255,.32) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease-out-expo);
  z-index: -1;
}
.btn-primary:hover::before{ transform: translateX(120%); }
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,99,235,.42); }
.btn-primary:active{ transform: translateY(-1px) scale(.98); }
.btn-ghost{
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-block{ width: 100%; }

/* ===================== Header ===================== */
/* Note: the blur lives on ::before (not on .site-header itself) so that
   .main-nav, a position:fixed descendant, isn't scoped to a filtered
   ancestor's box - several mobile browsers treat an element with
   filter/backdrop-filter as the containing block for fixed descendants,
   which breaks the full-height off-canvas mobile menu. */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-header.header-hidden{ transform: translateY(-100%); }
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248,250,252,.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: background var(--dur) var(--ease);
}
.site-header.scrolled{
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled::before{
  background: rgba(248,250,252,.92);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ display: inline-flex; width: 34px; height: 34px; flex-shrink: 0; }
.brand-logo-img{ width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.brand-logo-fallback{ display: none; }
.brand-mark[data-broken] .brand-logo-img{ display: none; }
.brand-mark[data-broken] .brand-logo-fallback{ display: block; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name{ font-weight: 800; font-size: clamp(14px, 4.2vw, 16.5px); color: var(--navy); white-space: nowrap; }
.brand-sub{ font-size: clamp(10.5px, 3vw, 12px); color: var(--text-muted); font-weight: 500; white-space: nowrap; }

.main-nav ul{ display: flex; gap: 30px; }
.main-nav a{
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right 380ms var(--ease-out-expo);
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after{ right: 0; }
.main-nav a:hover{ color: var(--blue); }
.main-nav a.active{ color: var(--blue-dark); }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.header-phone{
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px;
  color: var(--blue-dark);
  padding: 10px 16px;
  border-radius: 999px;
  background: #EFF6FF;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.header-phone:hover{ background: #DBEAFE; transform: translateY(-1px); }

.cart-btn{
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.cart-btn:hover{ background: var(--bg); border-color: var(--blue); }
.cart-badge{
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.header-account{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.header-account-name{
  font-size: 14px; font-weight: 600; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
/* Deliberately low-key: this is account login for the small slice of
   visitors who already have one (order history, saved cart), not a
   primary CTA - most customers check out as guests via Stripe, so it
   shouldn't compete with the phone number / consultation CTAs. */
.header-login-btn{
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.header-login-btn:hover{ background: var(--bg); color: var(--navy); }
/* Distinct from "Log out" (plain/ghost) so the primary action reads at a
   glance - same treatment already used in the mobile off-canvas menu. */
.header-admin-link{
  text-decoration: none; text-align: center;
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.header-admin-link:hover{ background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* Primary CTA for signed-out visitors. The desktop header row is already
   tight (8 nav links + phone number, capped at the 1200px container), so
   #headerSubscribeBtn there is an icon-only pill - same sizing as
   .cart-btn - rather than risking the row wrapping again. The full-text
   version only appears in .nav-subscribe (off-canvas menu), which has
   vertical room to spare. */
.header-subscribe-btn{
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.header-subscribe-btn:hover{ background: #EFF6FF; transform: translateY(-1px); }
.header-subscribe-btn--icon{
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  flex-shrink: 0;
}

/* Mobile duplicate of #headerSubscribeBtn, shown in the off-canvas menu
   instead once the header row collapses (see the 1024px breakpoint). */
.nav-subscribe{ display: none; }

/* Duplicate of .header-account rendered inside the mobile off-canvas
   menu (see auth.js). Hidden above the mobile breakpoint; shown in
   place of the header-row version once the header collapses so
   login/account controls don't crowd the header bar on phones. */
.nav-account{ display: none; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.nav-toggle:hover{ background: rgba(15,23,42,.06); }
.nav-toggle span{
  width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop{
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15,23,42,.35);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.nav-backdrop.open{ opacity: 1; visibility: visible; }

/* ===================== Hero ===================== */
.hero{
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero-decor{
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(37,99,235,.16), transparent 70%),
    radial-gradient(50% 50% at 85% 30%, rgba(14,165,233,.14), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift{
  0%   { background-position: 0% 0%, 0% 0%; transform: translate3d(0,0,0) scale(1); }
  50%  { background-position: 8% 6%, -6% -4%; transform: translate3d(0,10px,0) scale(1.04); }
  100% { background-position: -6% 4%, 6% -6%; transform: translate3d(0,-6px,0) scale(1.02); }
}
.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1{
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-subhead{
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero-lead{
  font-size: 17px;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust{ display: flex; gap: 22px; flex-wrap: wrap; }
.trust-badge{
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-muted); font-weight: 500;
}
.trust-badge svg{ color: #16A34A; flex-shrink: 0; }
.trust-badge strong{ color: var(--navy); }
.stars{ color: var(--gold); letter-spacing: 2px; font-size: 14px; }

.hero-media{ position: relative; }
.media-frame{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3.1;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  box-shadow: var(--shadow-lg);
}
.media-frame img{ width: 100%; height: 100%; object-fit: cover; }
.media-frame video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame--square{ aspect-ratio: 1/1; }

/* graceful placeholder for missing photos */
.media-frame::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 45%, var(--blue-dark) 100%);
  opacity: 0;
  transition: opacity var(--dur-fast) linear;
}
.media-frame::after{
  content: "";
  position: absolute; inset: 0;
  margin: auto;
  width: 72px; height: 72px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transition: opacity var(--dur-fast) linear;
}
.media-frame[data-broken]::before,
.media-frame[data-broken]::after{ opacity: 1; }
.media-frame[data-broken] img{ display: none; }
.media-frame[data-fallback="laptop"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='11' rx='1.5'/%3E%3Cpath d='M2 19h20l-2-4H4l-2 4z'/%3E%3C/svg%3E");
}
.media-frame[data-fallback="build"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='12' height='16' rx='1.5'/%3E%3Cpath d='M19 8v10a1.5 1.5 0 0 1-1.5 1.5M19 8l-2-2M19 8l2-2'/%3E%3C/svg%3E");
}
.media-frame[data-fallback="hands"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8a5 5 0 1 0-10 0M4 21v-2a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v2'/%3E%3C/svg%3E");
}
.media-frame[data-fallback="wrench"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 1-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 1 5.4-5.4l-2.8 2.8-2-2 2.8-2.8z'/%3E%3C/svg%3E");
}

/* ===================== About ===================== */
.about{ padding: 90px 0; }
.about-inner{
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-copy{ max-width: 760px; }
.about h2{
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-copy p{ color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about-points{ margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.about-points li{
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14.5px; color: var(--navy);
}
.about-points svg{ color: var(--blue); flex-shrink: 0; }
.about-closing{ font-weight: 600; color: var(--navy) !important; margin-top: 22px; }
.about-media{ position: relative; max-width: 480px; margin: 0 auto; }
.about-media .media-frame{ background: linear-gradient(135deg, var(--blue-dark), var(--sky)); }
.about-caption{
  margin-top: 14px; text-align: center;
  font-weight: 700; font-size: 13.5px; color: var(--text-muted);
  letter-spacing: .02em;
}
.about-team{ display: flex; gap: 16px; }
.about-team .about-person{ flex: 1; min-width: 0; }
.about-team .about-caption{ font-size: 14.5px; }

/* ===================== Services ===================== */
/* ===================== Guarantee ===================== */
.guarantee{
  padding: 64px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #16213E 55%, var(--blue-dark) 100%);
  color: #fff;
}
.guarantee-head{ text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow-light{ color: #7DD3FC; }
.guarantee-head h2{
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}
.guarantee-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guarantee-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(6px);
  transition: transform 400ms var(--ease-out-expo), background var(--dur) var(--ease);
}
.guarantee-card:hover{ transform: translateY(-4px); background: rgba(255,255,255,.1); }
.guarantee-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: #7DD3FC;
  margin-bottom: 16px;
}
.guarantee-card h3{ font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.guarantee-card p{ font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.6; }

.services{ padding: 90px 0; background: var(--surface); }
.section-head{ text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2{
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-lead{ color: var(--text-muted); font-size: 16px; }

.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms var(--ease-out-expo), border-color var(--dur) var(--ease);
  will-change: transform;
}
.service-card.reveal:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}
.service-media{
  aspect-ratio: 16/11;
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  overflow: hidden;
}
.service-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service-card:hover .service-media img{ transform: scale(1.06); }
.service-media::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 45%, var(--blue-dark) 100%);
  opacity: 0;
}
.service-media::after{
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: 0;
}
.service-media[data-broken]::before, .service-media[data-broken]::after{ opacity: 1; }
.service-media[data-broken] img{ display: none; }
.service-media[data-fallback="laptop"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='11' rx='1.5'/%3E%3Cpath d='M2 19h20l-2-4H4l-2 4z'/%3E%3C/svg%3E");
}
.service-media[data-fallback="build"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='12' height='16' rx='1.5'/%3E%3Cpath d='M19 8v10a1.5 1.5 0 0 1-1.5 1.5M19 8l-2-2M19 8l2-2'/%3E%3C/svg%3E");
}
.service-media[data-fallback="hands"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8a5 5 0 1 0-10 0M4 21v-2a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v2'/%3E%3C/svg%3E");
}
.service-media[data-fallback="wrench"]::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 1-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 1 5.4-5.4l-2.8 2.8-2-2 2.8-2.8z'/%3E%3C/svg%3E");
}

.service-body{ padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #EFF6FF;
  color: var(--blue);
  margin-bottom: 14px;
  transition: transform 420ms var(--ease-spring), background 260ms var(--ease);
}
.service-card:hover .service-icon{
  transform: scale(1.12) rotate(-8deg);
  background: var(--blue);
  color: #fff;
}
.service-body h3{ font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.price{ font-weight: 700; color: var(--blue-dark); font-size: 14.5px; margin-bottom: 10px; }
.price span{ font-weight: 500; color: var(--text-muted); }
.service-body p:not(.price){ color: var(--text-muted); font-size: 14.5px; }
.service-cta{
  margin-top: 18px;
  align-self: flex-start;
  padding: 9px 16px;
  min-height: unset;
  font-size: 13.5px;
}

/* ===================== Reviews ===================== */
.reviews{ padding: 90px 0; }
.reviews-stats{ display: flex; justify-content: center; gap: 56px; margin-top: 28px; flex-wrap: wrap; }
.stat{ display: flex; flex-direction: column; align-items: center; }
.stat-num, .stat-suffix{
  font-size: 40px; font-weight: 800; display: inline-block;
  background: linear-gradient(135deg, var(--blue-dark), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--navy);
}
.stat-suffix{ margin-left: 2px; }
.stat-label{ font-size: 13.5px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.stat-label em{ font-style: normal; display: block; opacity: .8; }

.review-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.review-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review-card.reveal:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-badge{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: -6px;
  font-size: 12px;
  font-weight: 700;
  color: #15803D;
}
.review-card blockquote{
  margin: 0; color: var(--navy); font-size: 15px; line-height: 1.65;
}
.review-card figcaption{ font-weight: 700; font-size: 14px; color: var(--navy); }
.review-card figcaption span{ font-weight: 500; color: var(--text-muted); }
.owner-reply{
  margin-top: 4px;
  padding: 14px 16px;
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
}
.owner-reply strong{ display: block; font-size: 12.5px; color: var(--blue-dark); margin-bottom: 4px; }
.owner-reply p{ font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }

.review-extra{ display: none; }
.review-grid.expanded .review-extra{ display: flex; }
.show-more-btn{ display: inline-flex; margin: 28px auto 0; }
.show-more-btn svg{ transition: transform var(--dur) var(--ease); }
.show-more-btn[aria-expanded="true"] svg{ transform: rotate(180deg); }

/* ===================== FAQ ===================== */
.faq{ padding: 90px 0; }
.faq-list{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.faq-item:hover{ border-color: #CBD5E1; }
.faq-item[open]{ box-shadow: var(--shadow-sm); border-color: var(--blue-light); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #EFF6FF;
  color: var(--blue);
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after{ content: "\2212"; background: var(--blue); color: #fff; }
.faq-item p{ color: var(--text-muted); font-size: 14.5px; line-height: 1.65; padding: 0 0 20px; }

/* ===================== Contact ===================== */
.contact{ padding: 90px 0; background: var(--surface); }
.contact-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact h2{
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.contact-list{ margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li{ display: flex; gap: 14px; align-items: flex-start; }
.contact-icon{
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: #EFF6FF; color: var(--blue);
}
.contact-list strong{ color: var(--navy); font-size: 14.5px; }
.contact-list a:hover{ color: var(--blue); }
.contact-list div{ font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

.contact-extra{ grid-column: 1 / -1; margin-top: 10px; }
.social-row{ display: flex; gap: 12px; margin-top: 28px; }
.social-btn{
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: #EFF6FF;
  color: var(--blue-dark);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.social-btn:hover{ background: var(--blue); color: #fff; transform: translateY(-3px); }

.map-frame{
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

.contact-form{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea{
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  min-height: 48px;
}
.field textarea{ min-height: 120px; }
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.form-hint{ font-size: 12.5px; color: var(--text-muted); text-align: center; margin-top: 14px; }
.form-hint a{ color: var(--blue); text-decoration: underline; }
.field-honeypot{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status{ font-size: 13.5px; text-align: center; margin: 14px 0 0; min-height: 1em; }
.form-status-success{ color: #15803D; }
.form-status-error{ color: #DC2626; }

/* ===================== Legal pages ===================== */
.legal-page{ padding: 64px 0 96px; }
.legal-inner{ max-width: 760px; }
.legal-page h1{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-updated{ color: var(--text-muted); font-size: 13.5px; margin-bottom: 36px; }
.legal-page h2{
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 34px 0 12px;
}
.legal-page p{ color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 4px; }
.legal-page a{ color: var(--blue); text-decoration: underline; }

/* ===================== Gallery ===================== */
.gallery-page{ padding: 64px 0 96px; }
.gallery-page .section-head h1{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 14px;
}
.gallery-video{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  background: var(--navy);
}
.gallery-video video{ width: 100%; max-height: 560px; display: block; object-fit: cover; }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card{
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-card .media-frame{ border-radius: 0; aspect-ratio: 4/3; }
.gallery-card figcaption{
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
}
.gallery-card figcaption span{ display: block; font-weight: 500; color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.gallery-note{ text-align: center; color: var(--text-muted); font-size: 14.5px; margin-top: 40px; }
.gallery-note a{ color: var(--blue); text-decoration: underline; }

@media (max-width: 860px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
}

/* ===================== Shop ===================== */
.shop-page{ padding: 64px 0 96px; }
.shop-page .section-head h1{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 14px;
}
.shop-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-loading{ color: var(--text-muted); font-size: 15px; grid-column: 1 / -1; text-align: center; padding: 40px 0; }

.product-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-media{ position: relative; aspect-ratio: 16/11; background: linear-gradient(135deg, var(--navy), var(--blue-dark)); }
.product-media img,
.product-media video{ width: 100%; height: 100%; object-fit: cover; }
.product-media-empty{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 600;
}
.product-video-badge{
  position: absolute; top: 10px; right: 10px;
  background: rgba(15,23,42,.75); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .02em;
}
.product-body{ padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-body h3{ font-size: 17px; font-weight: 700; color: var(--navy); }
.product-body p:not(.price){ color: var(--text-muted); font-size: 14.5px; }
.product-body .view-more{ align-self: flex-start; margin-top: 2px; font-size: 13.5px; }
.product-admin-actions{ display: flex; gap: 10px; margin-top: 14px; }
.product-admin-actions .btn{ padding: 8px 16px; min-height: unset; font-size: 13.5px; }
.product-buy-actions{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.product-buy-actions .btn{ padding: 10px 16px; min-height: unset; font-size: 14.5px; }
.product-buy-actions .btn:disabled{ opacity: .6; cursor: wait; transform: none; }

/* ---- Product detail ("View more") modal ---- */
.product-detail-overlay{ align-items: flex-start; overflow-y: auto; padding: 40px 20px; }
.product-detail{
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-detail-media{ aspect-ratio: 16/11; background: linear-gradient(135deg, var(--navy), var(--blue-dark)); }
.product-detail-media img,
.product-detail-media video{ width: 100%; height: 100%; object-fit: cover; }
.product-detail-media .product-media-empty{ height: 100%; }
.product-detail-video{ padding: 16px 24px 0; }
.product-detail-video video{ width: 100%; border-radius: 12px; display: block; }
.product-detail-body{ padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.product-detail-body h3{ font-size: 20px; font-weight: 800; color: var(--navy); }
.product-detail-body p:not(.price){ color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.product-detail-body .product-buy-actions{ margin-top: 10px; }
.product-detail-body .buy-now{ padding: 10px 18px; min-height: unset; }
.product-detail-close{
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15,23,42,.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.product-detail-close:hover{ background: rgba(15,23,42,.8); }

/* ---- Cart ---- */
.cart-panel{
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 20px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 88vh;
}
.cart-panel h3{ font-size: 17px; font-weight: 800; color: var(--navy); }
.cart-items{ display: flex; flex-direction: column; gap: 16px; overflow-y: auto; margin: 0; padding: 0 4px 0 0; list-style: none; }
.cart-item{ display: flex; gap: 12px; align-items: flex-start; }
.cart-item-media{ width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.cart-item-media img, .cart-item-media video{ width: 100%; height: 100%; object-fit: cover; }
.cart-item-body{ flex: 1; min-width: 0; }
.cart-item-name{ font-weight: 700; font-size: 14.5px; color: var(--navy); }
.cart-item-price{ font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.cart-item-controls{ display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty-btn{
  width: 26px; height: 26px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}
.cart-qty-btn:hover{ border-color: var(--blue); color: var(--blue); }
.cart-qty-value{ font-weight: 700; font-size: 14px; min-width: 18px; text-align: center; }
.cart-item-remove{
  margin-left: auto;
  background: none; border: none;
  color: #B91C1C;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.cart-empty{ color: var(--text-muted); font-size: 14.5px; text-align: center; padding: 20px 0; }
.cart-footer{ border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-subtotal{ display: flex; justify-content: space-between; font-weight: 700; font-size: 15.5px; color: var(--navy); }
.cart-checkout:disabled{ opacity: .6; cursor: not-allowed; transform: none; }

.checkout-banner{
  grid-column: 1 / -1;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
}
.checkout-banner--success{ background: rgba(22,163,74,.12); color: #15803d; border: 1px solid rgba(22,163,74,.3); }
.checkout-banner--cancelled{ background: rgba(220,38,38,.1); color: #b91c1c; border: 1px solid rgba(220,38,38,.28); }
.product-admin-actions .btn-delete{ color: #B91C1C; border-color: #FCA5A5; }
.product-admin-actions .btn-delete:hover{ background: #FEF2F2; border-color: #EF4444; color: #B91C1C; }

.shop-admin-add{ margin-top: 32px; }
.shop-note{ text-align: center; color: var(--text-muted); font-size: 14.5px; margin-top: 40px; }
.shop-note a{ color: var(--blue); text-decoration: underline; }

/* ---- Admin forms (add / edit) ---- */
.admin-form{
  margin-top: 18px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}
.admin-form-inline{ max-width: none; margin-top: 16px; }
.admin-form h3{ font-size: 15.5px; font-weight: 700; color: var(--navy); }
.admin-form label{ display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.admin-form input, .admin-form textarea{
  font: inherit;
  font-size: 14.5px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
}
.admin-form input:focus, .admin-form textarea:focus{ outline: none; border-color: var(--blue); }
.admin-form-actions{ display: flex; gap: 10px; margin-top: 4px; }
.admin-form-actions .btn{ padding: 10px 18px; min-height: unset; font-size: 14px; }
.admin-form-error{ color: #B91C1C; font-size: 13.5px; }

/* ---- Admin mode chrome ---- */
.admin-bar{
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  max-width: calc(100vw - 24px);
  background: var(--navy);
  color: #fff;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.admin-bar .btn{ padding: 8px 16px; min-height: unset; font-size: 13px; }

@media (max-width: 480px){
  .admin-bar{ border-radius: var(--radius); padding: 12px 14px; bottom: 12px; }
}
.admin-toast{
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 210;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}
.admin-toast.show{ opacity: 1; }

/* ---- Account login / sign up (header) ---- */
.auth-overlay{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .55);
  padding: 20px;
}
.auth-form{
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form h3{ font-size: 15.5px; font-weight: 700; color: var(--navy); }
.auth-form label{ display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.auth-form input, .auth-form textarea{
  font: inherit;
  font-size: 14.5px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
}
.auth-form input:focus, .auth-form textarea:focus{ outline: none; border-color: var(--blue); }
.auth-form-actions{ display: flex; gap: 10px; margin-top: 4px; }
.auth-form-actions .btn{ padding: 10px 18px; min-height: unset; font-size: 14px; }
.auth-form-error{ color: #B91C1C; font-size: 13.5px; }
.auth-form-success{ color: #15803D; font-size: 13.5px; }
.auth-form-hint{ font-size: 13.5px; color: var(--text-muted); margin: -4px 0 0; }
.auth-form-switch{ font-size: 13.5px; color: var(--text-muted); }

/* Add/edit product: taller than the other auth-overlay forms (name,
   price, description, two file inputs), so it needs its own scroll
   ceiling for short viewports/on-screen keyboards, and a bit more width
   for the description textarea to be usable. */
.admin-product-form{
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.admin-product-form textarea{ resize: vertical; min-height: 70px; }
.admin-product-form-current{ display: flex; align-items: center; gap: 10px; }
.admin-product-form-preview{
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
/* Native file inputs are unstyled by default and look inconsistent across
   browsers - style just the button part (::file-selector-button), which
   keeps the native picker/accessibility behaviour intact. */
.admin-product-form input[type="file"]{
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 0;
  border: none;
}
.admin-product-form input[type="file"]::file-selector-button{
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  margin-right: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.admin-product-form input[type="file"]::file-selector-button:hover{ background: var(--bg); border-color: var(--blue); }
.link-btn{
  font: inherit;
  font-weight: 700;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

/* ---- /admin.html panel ---- */
/* Admin tool chrome, deliberately restrained: flat opaque surfaces, one
   accent colour used sparingly, no gradient text, no glow, no blur. This
   is a working tool, not a marketing page - it should read like Stripe's
   or Linear's dashboards, not a template hero section. */
.admin-panel-body{
  background: #0B1220;
  min-height: 100vh;
  color: #E2E8F0;
}
.admin-panel-wrap{ max-width: 1080px; margin: 0 auto; padding: 32px 20px 60px; }
.admin-panel-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #1E293B;
}
.admin-panel-header h1{ font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: #F1F5F9; }
.admin-panel-header a{ color: #7DD3FC; font-weight: 600; font-size: 14px; transition: color var(--dur-fast) var(--ease); }
.admin-panel-header a:hover{ color: #E0F2FE; }

/* The headline numbers - bolder and bigger than the regular
   .admin-panel-stat tiles further down, and first in the DOM so they're
   the first thing visible on load without scrolling into a section. */
.admin-panel-overview{
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 24px 26px;
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.admin-panel-overview-stat{ display: flex; flex-direction: column; }
.admin-panel-overview-stat strong{
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: #F8FAFC;
}
.admin-panel-overview-stat span{ font-size: 12.5px; letter-spacing: .02em; color: #64748B; margin-top: 6px; font-weight: 500; }

.admin-panel-summary{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 22px;
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.admin-panel-stat{ display: flex; flex-direction: column; }
.admin-panel-stat strong{
  font-size: 21px;
  font-weight: 700;
  color: #F1F5F9;
  font-variant-numeric: tabular-nums;
}
.admin-panel-stat span{ font-size: 12px; color: #64748B; margin-top: 3px; }
.admin-panel-summary .btn{ margin-left: auto; }

.admin-panel-table-wrap{
  overflow-x: auto;
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: var(--radius-sm);
}
.admin-panel-table{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-panel-table th, .admin-panel-table td{ text-align: left; padding: 12px 16px; border-bottom: 1px solid #1E293B; white-space: nowrap; color: #CBD5E1; }
.admin-panel-table th{ font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #64748B; font-weight: 600; }
.admin-panel-table tr:last-child td{ border-bottom: none; }
.admin-panel-table tbody tr{ transition: background var(--dur-fast) var(--ease); }
.admin-panel-table tbody tr:hover{ background: #16213A; }

.admin-panel-role{ font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; padding: 3px 9px; border-radius: 4px; }
.admin-panel-role--admin{ background: rgba(56,189,248,.14); color: #7DD3FC; }
.admin-panel-role--customer{ background: #1E293B; color: #94A3B8; }

.admin-panel-row-actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.admin-panel-toolbar{ display: flex; justify-content: flex-end; margin-bottom: 10px; }

.admin-panel-section-title{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94A3B8;
  margin: 36px 0 14px;
}
.admin-panel-section-title::before{
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 1px;
  background: #38BDF8;
}
.admin-panel-section-title:first-of-type{ margin-top: 0; }
.admin-panel-subheading{ font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #64748B; margin: 22px 0 10px; }
.admin-panel-empty{ color: #64748B; font-size: 14px; }
.admin-panel-hint{ color: #64748B; font-size: 13px; margin: -6px 0 16px; max-width: 640px; }

.admin-panel-section-header{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 36px 0 14px; }
.admin-panel-section-header .admin-panel-section-title{ margin: 0; }
.admin-panel-range{
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #CBD5E1;
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}
.admin-panel-range:focus{ outline: none; border-color: #38BDF8; }

/* Single-series bars: rounded top only, baseline-anchored (see
   roundedTopBarPath in admin-panel.js). One hue is enough - a legend adds
   nothing when there's only one series, the section title already names it. */
.analytics-chart{ width: 100%; height: 140px; display: block; margin-bottom: 22px; }
.analytics-chart-baseline{ stroke: #1E293B; stroke-width: 1; }
.analytics-chart path{ transition: opacity var(--dur-fast) var(--ease); }
.analytics-chart path:hover{ opacity: .7; }

.admin-panel-analytics-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 10px;
}
.admin-panel-analytics-grid .admin-panel-subheading{ margin-top: 0; }

.admin-panel-empty-card{
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  color: #CBD5E1;
  font-size: 14px;
  line-height: 1.6;
}
.admin-panel-empty-card p{ margin: 0 0 12px; }
.admin-panel-empty-card ol{ margin: 0; padding-left: 20px; }
.admin-panel-empty-card li{ margin-bottom: 8px; }
.admin-panel-empty-card code{
  background: #1E293B;
  color: #7DD3FC;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

.admin-panel-top-products{ display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; }
.admin-panel-top-products li{
  background: #111A2E;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 13.5px;
  color: #94A3B8;
  transition: border-color var(--dur-fast) var(--ease);
}
.admin-panel-top-products li:hover{ border-color: #334155; }
.admin-panel-top-products li strong{ color: #F1F5F9; }

/* Dark-panel overrides for the shared auth form / buttons, scoped to admin.html only */
.admin-panel-body .auth-form{
  background: #111A2E;
  border: 1px solid #1E293B;
}
.admin-panel-body .auth-form h3{ color: #F1F5F9; }
.admin-panel-body .auth-form label{ color: #CBD5E1; }
.admin-panel-body .auth-form-hint, .admin-panel-body .auth-form-switch{ color: #64748B; }
.admin-panel-body .auth-form input{
  background: #0B1220;
  border-color: #1E293B;
  color: #F1F5F9;
}
.admin-panel-body .auth-form input:focus{ border-color: #38BDF8; box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.admin-panel-body .auth-form-error{ color: #F87171; }
.admin-panel-body .btn-ghost{
  background: #1E293B;
  border-color: #334155;
  color: #E2E8F0;
  font-weight: 600;
}
.admin-panel-body .btn-ghost:hover{
  background: #263349;
  border-color: #38BDF8;
  color: #7DD3FC;
}
.admin-panel-confirm{ max-width: 380px; }
.admin-panel-confirm p{ color: #CBD5E1; font-size: 14px; line-height: 1.6; margin: 0 0 4px; }
.admin-panel-danger-btn{
  background: #DC2626;
  border-color: #DC2626;
  color: #fff;
}
.admin-panel-danger-btn:hover{ background: #B91C1C; border-color: #B91C1C; }

.admin-panel-body .btn-ghost.admin-panel-danger:hover{
  background: rgba(248,113,113,.1);
  border-color: #F87171;
  color: #F87171;
}
.admin-panel-body .btn-primary{
  background: #2563EB;
  color: #fff;
  font-weight: 600;
}
.admin-panel-body .btn-primary:hover{ background: #1D4ED8; }

/* Below this width the table can't fit without scrolling sideways, so it
   becomes a stack of labelled cards instead - no horizontal scroll at all. */
@media (max-width: 1024px){
  .admin-panel-header{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .admin-panel-summary .btn{ margin-left: 0; width: 100%; }
  .admin-panel-analytics-grid{ grid-template-columns: 1fr; }
  .admin-panel-table-wrap{ overflow-x: visible; border: none; background: none; }
  .admin-panel-table, .admin-panel-table thead, .admin-panel-table tbody,
  .admin-panel-table th, .admin-panel-table td, .admin-panel-table tr{ display: block; }
  .admin-panel-table thead{ display: none; }
  .admin-panel-table tr{
    background: #111A2E;
    border: 1px solid #1E293B;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    padding: 6px 14px;
  }
  .admin-panel-table td{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    white-space: normal;
    text-align: right;
  }
  .admin-panel-table td::before{
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #64748B;
    text-align: left;
  }
  .admin-panel-table td.admin-panel-row-actions{ justify-content: flex-end; padding-top: 10px; }
  .admin-panel-table td.admin-panel-row-actions::before{ content: none; }
}

@media (max-width: 860px){
  .shop-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .shop-grid{ grid-template-columns: 1fr; }
}

/* ===================== Footer ===================== */
.site-footer{ background: var(--navy); color: #CBD5E1; padding: 44px 0; }
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.footer-name{ color: #fff; font-weight: 700; font-size: 14.5px; margin: 0; }
.footer-addr{ font-size: 13px; margin: 4px 0 0; color: #94A3B8; }
.footer-addr a:hover{ color: #fff; }
.site-footer .social-btn{ background: rgba(255,255,255,.08); color: #fff; }
.site-footer .social-btn:hover{ background: var(--blue); }
.footer-copy{ font-size: 12.5px; color: #64748B; width: 100%; text-align: center; margin-top: 28px; }

/* ===================== Floating actions ===================== */
.fab-group{
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
  transition: opacity var(--dur) var(--ease);
}
.fab-group.fab-hidden{
  opacity: 0;
  pointer-events: none;
}
.fab{
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.fab:hover{ transform: scale(1.08); }
.fab-call{ background: linear-gradient(135deg, var(--blue-light), var(--blue-dark)); }
.fab-whatsapp{ background: #25D366; }

/* ===================== Cookie banner ===================== */
.cookie-banner{
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--navy);
  color: #E2E8F0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cookie-banner[hidden]{ display: none; }
.cookie-banner p{ flex: 1 1 260px; font-size: 13.5px; line-height: 1.55; margin: 0; }
.cookie-banner a{ color: #fff; text-decoration: underline; }
.cookie-banner .btn{ flex-shrink: 0; padding: 10px 20px; min-height: 40px; }

/* ===================== Scroll reveal ===================== */
.reveal{
  opacity: 0;
  transform: translateY(28px) scale(.97);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-out-expo), transform 900ms var(--ease-out-expo), filter 900ms var(--ease-out-expo);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}
.reveal.in-view{ opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ---- Star twinkle on reveal ---- */
.review-card .stars, .trust-badge .stars{
  display: inline-block;
  opacity: 0;
  transform: scale(.5) rotate(-12deg);
  transition: opacity 520ms var(--ease-spring), transform 520ms var(--ease-spring);
  transition-delay: calc(var(--delay, 0ms) + 260ms);
}
.reveal.in-view .stars{
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal{ opacity: 1; transform: none; filter: none; }
  .review-card .stars, .trust-badge .stars{ opacity: 1; transform: none; }
  .btn-primary::before, .hero-decor{ animation: none !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .review-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-inner{ grid-template-columns: 1fr; }
  .guarantee-grid{ grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  /* Nav collapses to the off-canvas menu starting here rather than at
     768px - 8 nav links + phone + login can't fit in one header row
     below ~1024px, and letting them wrap (via .header-inner's
     flex-wrap) breaks the header apart instead of just going narrow.
     This range also covers portrait tablets (e.g. a vertical iPad) and
     a window snapped to half of a 1920px display. */
  :root{ --header-h: 68px; }
  .main-nav{
    position: fixed;
    top: var(--header-h); right: 0;
    width: min(320px, 82vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    z-index: 95;
    padding: 28px 24px;
    box-shadow: -12px 0 40px rgba(15,23,42,.14);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .main-nav.open{
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--dur) var(--ease);
  }
  .main-nav ul{ flex-direction: column; gap: 6px; }
  .main-nav a{ display: block; padding: 13px 4px; font-size: 16px; }
  .main-nav a::after{ display: none; }
  .header-phone span{ display: none; }
  .header-phone{ padding: 10px; }
  .nav-toggle{ display: inline-flex; }
  .fab-group{ display: flex; }

  /* Login/account controls move out of the cramped header row and into
     the off-canvas menu itself. */
  .header-actions .header-account{ display: none; }
  .nav-account{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .nav-account .header-account-name{
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
  }
  .nav-account .header-login-btn{
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 12px;
  }
  .nav-account .header-admin-link{
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
  }
  .nav-account .header-admin-link:hover{ background: var(--blue-dark); }

  /* The subscribe pill moves into the off-canvas menu with everything
     else in this range - #headerSubscribeBtn is the same button
     duplicated for the header row, hidden here in favour of the copy
     inside .nav-subscribe. */
  #headerSubscribeBtn{ display: none; }
  .nav-subscribe{ display: block; margin-top: 24px; }
  .nav-subscribe .header-subscribe-btn{ width: 100%; padding: 13px 16px; font-size: 15px; border-radius: 12px; }
}

@media (max-width: 768px){
  .hero{ padding: 56px 0 64px; }
  .about, .services, .reviews, .contact, .faq{ padding: 64px 0; }
  .guarantee{ padding: 48px 0; }
  .service-grid{ grid-template-columns: 1fr; }
  .review-grid{ grid-template-columns: 1fr; }
  .reviews-stats{ gap: 36px; }
  .contact-form{ padding: 24px; }
  .faq-item{ padding: 4px 16px; }
  .footer-inner{ flex-direction: column; text-align: center; }
  .footer-brand{ flex-direction: column; }
}

@media (max-width: 480px){
  .hero-ctas{ flex-direction: column; }
  .btn{ width: 100%; }
  .hero-trust{ flex-direction: column; gap: 10px; }
  .about-team{ flex-direction: column; }
  .about-media{ max-width: 360px; }
}
