:root {
  --primary: #00e5ff;
  --primary-dark: #00bfd4;
  --bg: #060b19;
  --bg-deep: #040814;
  --bg-soft: #0b1329;
  --card: #111a36;
  --card-2: #151f3d;
  --text: #f8fafc;
  --muted: #9fb0c9;
  --border: #243456;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 14px;
  --shadow: 0 14px 42px rgba(0,0,0,.34);
  --content: 1120px;
  --header-content: 1320px;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color-scheme: dark;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #142044 0, var(--bg) 52rem);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
main { min-width: 0; }
img { display: block; max-width: 100%; }
a { color: var(--primary); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
p, li, h1, h2, h3, strong, span, a { overflow-wrap: break-word; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -10rem;
  z-index: 9999;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4,8,20,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,229,255,.12);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.header-inner {
  position: relative;
  width: min(var(--header-content), calc(100% - 2rem));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.brand { display: flex; flex: 0 0 auto; }
.brand img {
  width: 144px;
  height: 66px;
  object-fit: contain;
  border-radius: 8px;
}
.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  flex: 1 1 auto;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: .56rem .54rem;
  border-radius: 8px;
  font-size: clamp(.77rem, .82vw, .88rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); background: rgba(0,229,255,.07); }
.main-nav .cta-small { background: var(--primary); color: #04101b; }
.main-nav .cta-small:hover,
.main-nav .cta-small.active { background: #fff; color: #04101b; }
.header-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .52rem .72rem;
  border: 1px solid rgba(0,229,255,.28);
  border-radius: 10px;
  color: var(--primary);
  background: rgba(0,229,255,.06);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 850;
  white-space: nowrap;
}
.header-phone:hover { border-color: var(--primary); background: rgba(0,229,255,.12); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 48px;
  min-height: 46px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .65rem .8rem;
}
.menu-icon {
  width: 22px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-icon span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared layout */
.container { width: min(var(--content), calc(100% - 2rem)); margin: 0 auto; }
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-tight { padding: clamp(1.5rem, 4vw, 2.75rem) 0; }
.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 850;
  font-size: .82rem;
}
.page-title,
.hero h1 {
  margin: .4rem 0 1rem;
  line-height: 1.08;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  letter-spacing: -.04em;
}
.lead {
  max-width: 760px;
  color: #c9d4e5;
  font-size: clamp(1.03rem, 1.8vw, 1.24rem);
}
.muted { color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,229,255,.12);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(6,11,25,.70), rgba(6,11,25,.94)),
    url("https://images.unsplash.com/photo-1601524909162-be87252be298?auto=format&fit=crop&w=1920&q=82") center/cover;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 550px;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(290px,.75fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.hero-copy { min-width: 0; }
.hero-copy p { max-width: 750px; color: #d4deeb; font-size: 1.14rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { color: #04101b; background: var(--primary); box-shadow: 0 0 24px rgba(0,229,255,.25); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-secondary { color: var(--text); border-color: var(--border); background: rgba(17,26,54,.8); }
.btn-secondary:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-small { min-height: 38px; padding: .45rem .7rem; font-size: .88rem; }

.hero-panel,
.panel,
.form-card,
.tracking-card,
.admin-card {
  min-width: 0;
  background: linear-gradient(145deg, rgba(20,31,64,.94), rgba(10,18,40,.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel { padding: 1.5rem; }
.hero-panel h2 { margin-top: 0; font-size: 1.28rem; }
.quick-list { display: grid; gap: .7rem; }
.quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(4,8,20,.45);
}
.quick-list a:hover { color: var(--primary); border-color: var(--primary); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .78rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 850;
  background: rgba(16,185,129,.14);
  border: 1px solid rgba(16,185,129,.5);
  color: #6ee7b7;
}
.status-pill.closed { color: #fda4af; border-color: rgba(239,68,68,.6); background: rgba(239,68,68,.12); }

/* Cards and content */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.stat {
  min-width: 0;
  padding: 1.2rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat strong { display: block; color: var(--primary); font-size: 1.8rem; line-height: 1.2; }
.stat span { display: block; margin-top: .3rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}
.service-card,
.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(0,0,0,.25);
  transition: transform .22s ease, border-color .22s ease;
}
.service-card:hover,
.product-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.72); }
.service-card > img,
.product-card > img { width: 100%; height: 220px; object-fit: cover; background: var(--bg-soft); }
.card-body { min-width: 0; padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-body h2,
.card-body h3 { margin: 0 0 .7rem; font-size: 1.28rem; line-height: 1.25; }
.card-body p { color: var(--muted); }
.card-body ul { padding-left: 1.15rem; }
.card-body li { margin: .45rem 0; }
.price-note { margin-top: auto; color: #d9faff !important; font-weight: 750; }
.text-link { font-weight: 850; text-decoration: none; }
.category-label { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-weight: 850; font-size: .78rem; }
.product-price { color: var(--primary); font-size: 1.5rem; font-weight: 900; margin-top: auto; }
.empty-state { padding: 1rem; border: 1px dashed var(--border); border-radius: 10px; color: var(--muted); }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr);
  gap: 2rem;
  align-items: start;
}
.content-grid > * { min-width: 0; }
.panel { padding: 1.6rem; }
.panel h2,
.panel h3 { margin-top: 0; }
.feature-list { display: grid; gap: 1rem; }
.feature { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: .8rem; }
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0,229,255,.1);
  color: var(--primary);
}

/* Forms */
.form-card { padding: 1.55rem; max-width: 850px; margin: 2rem auto 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-group { min-width: 0; display: grid; align-content: start; gap: .42rem; }
.form-group.full { grid-column: 1 / -1; }
label { color: #dce7f7; font-weight: 750; }
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: #0b1329;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: .78rem .85rem;
  outline: none;
}
input::placeholder,
textarea::placeholder { color: #7183a1; opacity: 1; }
input:focus,
select:focus,
textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,255,.1); }
textarea { min-height: 125px; resize: vertical; }
input[type="file"] { overflow: hidden; }
.help { color: var(--muted); font-size: .88rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: .65rem; }
.checkbox-row input { width: auto; flex: 0 0 auto; margin-top: .25rem; }
.form-message { display: none; margin-top: 1rem; padding: 1rem; border-radius: 10px; }
.form-message.success { display: block; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.45); color: #a7f3d0; }
.form-message.error { display: block; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45); color: #fecaca; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.phone-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #071027;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.phone-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,255,.12); }
.phone-prefix {
  display: grid;
  place-items: center;
  min-width: 44px;
  padding: 0 .8rem;
  border-right: 1px solid var(--border);
  color: var(--primary);
  background: rgba(0,229,255,.06);
  font-size: 1.12rem;
  font-weight: 900;
}
.phone-input-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.required-note { max-width: 850px; margin: .85rem auto 0; color: var(--muted); font-size: .92rem; }
.required-mark { color: #fb7185; font-weight: 900; }
.field-error { display: block; color: #fda4af; font-size: .86rem; line-height: 1.4; font-weight: 750; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .phone-input-wrap {
  border-color: #fb7185 !important;
  box-shadow: 0 0 0 3px rgba(251,113,133,.12);
}
.form-group.has-error .phone-input-wrap input { border-color: transparent !important; box-shadow: none !important; }
.checkbox-row.has-error {
  flex-wrap: wrap;
  padding: .7rem;
  border: 1px solid #fb7185;
  border-radius: 9px;
  background: rgba(251,113,133,.07);
}
.checkbox-row.has-error .field-error { flex: 0 0 100%; }

/* Tracking */
.tracking-card { max-width: 720px; margin: 2rem auto 0; padding: 1.6rem; text-align: center; }
.track-form { display: flex; justify-content: center; gap: .65rem; flex-wrap: wrap; }
.track-form input { max-width: 300px; text-transform: uppercase; letter-spacing: .12em; text-align: center; }
.timeline { margin-top: 2rem; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .4rem; }
.timeline-step { min-width: 0; position: relative; color: var(--muted); font-size: .76rem; }
.timeline-step::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto .55rem;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border);
}
.timeline-step.done { color: var(--text); }
.timeline-step.done::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 18px rgba(0,229,255,.3); }
.track-result { margin-top: 1.3rem; text-align: left; padding: 1rem; background: rgba(4,8,20,.45); border-radius: 10px; }

.faq { display: grid; gap: .8rem; margin-top: 2rem; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; }
summary { cursor: pointer; font-weight: 850; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  margin-top: 3rem;
  padding-bottom: env(safe-area-inset-bottom);
}
.footer-grid {
  width: min(var(--content), calc(100% - 2rem));
  margin: auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1.5fr repeat(3,minmax(0,1fr));
  gap: 1.4rem;
}
.footer-grid > div { min-width: 0; }
.footer-grid p { color: var(--muted); margin: .55rem 0 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); text-align: center; padding: 1rem; color: var(--muted); }
.toast {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 3000;
  max-width: 360px;
  padding: .9rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 2rem));
  transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.mobile-actions { display: none !important; }

/* Admin */
.admin-shell { width: min(1240px, calc(100% - 2rem)); margin: 2rem auto; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-tabs button { color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: .65rem .85rem; }
.admin-tabs button.active { color: #04101b; background: var(--primary); border-color: var(--primary); font-weight: 850; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card { padding: 1.2rem; margin-bottom: 1rem; }
.admin-list { display: grid; gap: .8rem; }
.admin-item { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(4,8,20,.45); }
.admin-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.admin-login { max-width: 430px; margin: 5rem auto; }
.booking-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; font-size: .9rem; color: var(--muted); }

/* Image thumbnails and gallery */
.upload-preview-grid,
.private-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px,1fr));
  gap: .7rem;
  margin-top: .65rem;
}
.upload-preview-button,
.booking-photo-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--bg-soft);
}
.upload-preview-button img,
.booking-photo-button img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview-button span,
.booking-photo-button span {
  position: absolute;
  left: .35rem;
  right: .35rem;
  bottom: .35rem;
  padding: .3rem .4rem;
  border-radius: 7px;
  color: #fff;
  background: rgba(0,0,0,.72);
  font-size: .72rem;
  font-weight: 850;
  text-align: center;
}
.booking-photo-button.is-loading::after,
.booking-photo-button.is-error::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: .4rem;
  text-align: center;
  font-size: .8rem;
}
.booking-photo-button.is-loading::after { content: "Kraunama…"; color: var(--muted); background: var(--bg-soft); }
.booking-photo-button.is-error::after { content: "Nepavyko parodyti"; color: #fecaca; background: rgba(127,29,29,.7); }

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  grid-template-rows: auto minmax(0,1fr);
  background: rgba(0,0,0,.94);
}
.image-lightbox.open { display: grid; }
.image-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem;
  padding: max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) .65rem max(.65rem, env(safe-area-inset-left));
}
.image-lightbox-toolbar a,
.image-lightbox-toolbar button {
  min-height: 42px;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9px;
  color: #fff;
  background: rgba(17,24,39,.92);
  text-decoration: none;
  font-weight: 850;
}
.image-lightbox-counter { margin-right: auto; color: #fff; font-weight: 900; font-variant-numeric: tabular-nums; }
.image-lightbox-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0 max(.25rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left));
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.image-lightbox-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: .5rem 3.25rem;
  -webkit-overflow-scrolling: touch;
}
.image-lightbox-media img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; transition: transform .15s ease; }
.image-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 58px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  color: #fff;
  background: rgba(5,10,23,.78);
  font-size: 2.25rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible { background: rgba(0,229,255,.22); border-color: var(--primary); }
.image-lightbox-prev { left: max(.35rem, env(safe-area-inset-left)); }
.image-lightbox-next { right: max(.35rem, env(safe-area-inset-right)); }
.image-lightbox-nav[hidden] { display: none !important; }
.image-lightbox.zoomed .image-lightbox-media { place-items: start center; }
.image-lightbox.zoomed img { max-width: none; max-height: none; transform: scale(1.65); margin: 18vh 20vw; }
body.lightbox-open { overflow: hidden; touch-action: none; }

/* Laptop and narrow desktop */
@media (max-width: 1180px) {
  .header-inner { width: min(var(--content), calc(100% - 2rem)); min-height: 74px; }
  .brand img { width: 136px; height: 58px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-phone { order: 2; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 1200;
    width: auto;
    max-height: min(72vh, 610px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .65rem;
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: 0 0 14px 14px;
    background: rgba(6,11,25,.99);
    box-shadow: 0 24px 50px rgba(0,0,0,.55);
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; animation: menu-in .18s ease-out; }
  .main-nav a { display: flex; align-items: center; min-height: 46px; width: 100%; padding: .7rem .85rem; font-size: .96rem; text-align: left; }
  .main-nav .cta-small { justify-content: center; margin-top: .25rem; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); min-height: auto; padding: 4rem 0; }
  .hero-panel { max-width: 700px; width: 100%; }
  .content-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .booking-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .header-phone { display: none; }
  .header-inner { min-height: 64px; width: min(100% - 1.25rem, var(--content)); gap: .55rem; }
  .brand img { width: 124px; height: 52px; border-radius: 6px; }
  .menu-toggle { min-width: 46px; width: 46px; min-height: 44px; padding: .65rem .7rem; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .main-nav { left: -.1rem; right: -.1rem; max-height: calc(100svh - 76px); }

  .container,
  .footer-grid,
  .admin-shell { width: min(100% - 1.25rem, var(--content)); }
  body { font-size: 16px; line-height: 1.55; }
  .section { padding: 2.7rem 0; }
  .section-tight { padding: 1.35rem 0; }
  .hero::before {
    background:
      radial-gradient(circle at 85% 10%, rgba(0,229,255,.16), transparent 36%),
      linear-gradient(180deg, rgba(6,11,25,.90), rgba(6,11,25,.99));
  }
  .hero-inner { padding: 2.25rem 0 2.5rem; gap: 1.25rem; }
  .hero h1,
  .page-title { margin: .35rem 0 .8rem; font-size: clamp(1.9rem, 8.2vw, 2.65rem); line-height: 1.06; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; margin: .8rem 0; }
  .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .lead { font-size: 1rem; }
  .status-pill { padding: .35rem .6rem; font-size: .76rem; }
  .actions { gap: .6rem; margin-top: 1.15rem; }
  .actions .btn { width: 100%; min-height: 50px; }
  .hero-panel,
  .panel,
  .form-card,
  .tracking-card,
  .admin-card { padding: 1rem; border-radius: 12px; }
  .hero-panel h2 { font-size: 1.08rem; }
  .quick-list { gap: .45rem; }
  .quick-list a { min-height: 48px; padding: .7rem .8rem; font-size: .93rem; }

  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .stat { padding: .85rem .55rem; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: .8rem; line-height: 1.3; }

  .card-grid { grid-template-columns: 1fr; gap: .9rem; margin-top: 1.25rem; }
  .service-card:hover,
  .product-card:hover { transform: none; }
  .service-card > img,
  .product-card > img { height: 180px; }
  .card-body { padding: 1rem; }
  .card-body h2,
  .card-body h3 { font-size: 1.16rem; margin-bottom: .45rem; }
  .card-body p { margin: .45rem 0; }
  .card-body ul { margin: .55rem 0; }
  .card-body li { margin: .3rem 0; }
  .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .35rem; }

  .feature-list { gap: .7rem; }
  .feature { grid-template-columns: 36px minmax(0,1fr); gap: .65rem; }
  .feature-icon { width: 36px; height: 36px; border-radius: 9px; }
  .feature h3 { margin: 0 0 .25rem; font-size: 1.04rem; }
  .feature p { margin: 0; }

  .form-card { margin-top: 1.1rem; }
  .form-grid,
  .admin-grid { grid-template-columns: 1fr; gap: .78rem; }
  .form-group.full { grid-column: auto; }
  input,
  select,
  textarea { min-height: 48px; padding: .72rem .75rem; font-size: 16px; }
  textarea { min-height: 112px; }
  input[type="file"] { min-height: auto; padding: .65rem; }
  .checkbox-row input { min-height: auto; }
  .help { font-size: .81rem; line-height: 1.4; }
  .required-note { margin-top: .7rem; font-size: .84rem; }
  .field-error { font-size: .82rem; }

  .tracking-card { margin-top: 1rem; text-align: left; }
  .track-form { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .track-form input { max-width: none; }
  .track-form .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: .5rem; margin-top: 1rem; }
  .timeline-step { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: center; gap: .6rem; text-align: left; font-size: .82rem; }
  .timeline-step::before { width: 18px; height: 18px; margin: 0; }
  .track-result { margin-top: .9rem; padding: .85rem; }

  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem .8rem; padding: 1.75rem 0; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid p { font-size: .9rem; line-height: 1.5; }
  .footer-bottom { padding: .8rem .6rem; font-size: .8rem; }
  .toast { left: .65rem; right: .65rem; bottom: max(.65rem, env(safe-area-inset-bottom)); max-width: none; }

  .admin-shell { margin: .75rem auto 2rem; }
  .admin-login { margin: 2rem auto; }
  .admin-top { align-items: stretch; flex-direction: column; }
  .admin-top h1 { font-size: 1.75rem; }
  .admin-top .admin-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
  .admin-tabs button { flex: 0 0 auto; min-height: 44px; }
  .admin-item-head { flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-actions .btn,
  .admin-actions button { flex: 1; min-height: 44px; }
  .booking-meta { grid-template-columns: 1fr; }

  .upload-preview-grid,
  .private-images { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .image-lightbox-toolbar {
    gap: .35rem;
    padding: max(.5rem, env(safe-area-inset-top)) max(.45rem, env(safe-area-inset-right)) .5rem max(.45rem, env(safe-area-inset-left));
  }
  .image-lightbox-toolbar a,
  .image-lightbox-toolbar button { min-height: 40px; padding: .48rem .58rem; font-size: .82rem; }
  .image-lightbox-counter { flex: 1 0 100%; }
  .image-lightbox-media { padding: .35rem 2.8rem; }
  .image-lightbox-nav { width: 42px; height: 54px; font-size: 2rem; }
  .image-lightbox.zoomed img { transform: scale(1.85); margin: 22vh 32vw; }
}

@media (max-width: 430px) {
  .container,
  .footer-grid,
  .admin-shell { width: min(100% - 1rem, var(--content)); }
  .header-inner { width: min(100% - .9rem, var(--content)); }
  .brand img { width: 116px; }
  .hero h1,
  .page-title { font-size: 1.84rem; }
  .stats-grid { gap: .45rem; }
  .stat { padding: .72rem .4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .upload-preview-grid,
  .private-images { gap: .5rem; }
}

@media (min-width: 1440px) {
  .header-inner { min-height: 90px; }
  .brand img { width: 152px; height: 70px; }
  .hero-inner { min-height: 590px; }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-secondary:hover,
  .service-card:hover,
  .product-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
