/* =========================================================
   ALKANAWAY LAUNDRY — LAUNCH VERSION 1
   Design tokens taken directly from the brand's UI/UX spec
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --navy:      #042664;
  --blue:      #087BD3;
  --sky:       #50AADD;
  --green:     #6BBA38;
  --green-dk:  #1D8736;
  --white:     #FFFFFF;
  --bg:        #F5F9FC;
  --text:      #24303D;
  --text-soft: #5B6B7A;
  --border:    #E2E9F0;
  --danger:    #D64545;
  --warning:   #E0A106;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-btn: 11px;

  --shadow-sm: 0 1px 2px rgba(4,38,100,.06);
  --shadow-md: 0 8px 24px rgba(4,38,100,.08);
  --shadow-lg: 0 16px 40px rgba(4,38,100,.12);

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; line-height:1.2; color:var(--navy); font-weight:800; letter-spacing:-0.02em; }
p{ margin:0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 var(--space-5); }
.section{ padding:var(--space-16) 0; }
.section--tight{ padding:var(--space-10) 0; }
.section--alt{ background:var(--white); }

.eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--blue); margin-bottom:var(--space-3);
}
.h1{ font-size:clamp(30px,5vw,46px); }
.h2{ font-size:clamp(24px,3.4vw,32px); }
.h3{ font-size:19px; }
.lede{ color:var(--text-soft); font-size:17px; max-width:60ch; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* Visually hidden (a11y) */
.vh{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* Skip-to-content link: hidden until keyboard-focused */
.skip-link{
  position:absolute; left:-999px; top:0; z-index:999; background:var(--navy); color:#fff;
  padding:12px 18px; border-radius:0 0 10px 0; font-weight:700; font-size:14px;
}
.skip-link:focus{ left:0; }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:3px solid var(--sky); outline-offset:2px; border-radius:4px;
}

/* -------------------- Buttons -------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:var(--radius-btn); font-weight:600; font-size:15px;
  border:1px solid transparent; transition:background .15s ease, border-color .15s ease, transform .1s ease;
  min-height:46px; white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:#0669b3; }
.btn-secondary{ background:#fff; color:var(--blue); border-color:var(--blue); }
.btn-secondary:hover{ background:#EAF5FD; }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:#031c4d; }
.btn-success{ background:var(--green); color:#fff; }
.btn-danger{ background:var(--danger); color:#fff; }
.btn-ghost{ background:transparent; color:var(--text-soft); }
.btn-ghost:hover{ color:var(--navy); }
.btn-block{ width:100%; }
.btn-sm{ padding:8px 14px; min-height:36px; font-size:13.5px; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; }

/* -------------------- Header -------------------- */
.site-header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--border);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; color:var(--navy); font-size:17px; flex-shrink:0; }
.brand img{ height:44px; width:auto; }
.nav-links{ display:none; gap:28px; align-items:center; }
.nav-links a{ font-size:14.5px; font-weight:600; color:var(--text-soft); }
.nav-links a:hover, .nav-links a.active{ color:var(--blue); }
.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-actions .btn{ display:none; }
@media (min-width:900px){
  .nav-actions .btn{ display:inline-flex; }
}
.nav-toggle{
  display:inline-flex; background:none; border:1px solid var(--border); border-radius:10px;
  padding:9px 11px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  display:block; width:20px; height:2px; background:var(--navy); position:relative; border-radius:2px;
}
.nav-toggle span::before, .nav-toggle span::after{ content:''; position:absolute; }
.nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:6px; }

.mobile-menu{ display:none; border-top:1px solid var(--border); background:#fff; }
.mobile-menu.open{ display:block; }
.mobile-menu ul{ padding:var(--space-4) var(--space-5); display:flex; flex-direction:column; gap:2px; }
.mobile-menu a{ display:block; padding:12px 4px; font-weight:600; color:var(--text); border-bottom:1px solid var(--border); }
.mobile-menu .mm-actions{ display:flex; flex-direction:column; gap:10px; padding:var(--space-4) var(--space-5); }

@media (min-width:900px){
  .nav-links{ display:flex; }
  .nav-toggle{ display:none; }
  .mobile-menu{ display:none !important; }
}

/* -------------------- Hero -------------------- */
.hero{
  background:linear-gradient(180deg,#EAF5FD 0%, var(--bg) 100%);
  padding:var(--space-16) 0 var(--space-12);
  border-bottom:1px solid var(--border);
}
.hero-grid{ display:grid; gap:var(--space-10); align-items:center; }
.hero-cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:var(--space-6); }
.hero-art{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:var(--space-8); display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
}
.hero-art img{ width:100%; max-width:340px; }
@media (min-width:900px){
  .hero-grid{ grid-template-columns:1.1fr .9fr; }
}

/* -------------------- Cards -------------------- */
.card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm); padding:var(--space-6);
}
.grid{ display:grid; gap:var(--space-5); }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:1fr; }
.grid-2{ grid-template-columns:1fr; }
@media (min-width:640px){
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-2{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:960px){
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
}

.icon-badge{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:#EAF5FD; color:var(--blue); flex-shrink:0;
}
.icon-badge.green{ background:#EEF8E7; color:var(--green-dk); }

.service-card{ display:flex; flex-direction:column; gap:12px; }
.service-card .price{ font-weight:800; color:var(--navy); font-size:15px; }
.service-card .row-end{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top:8px; }

.step-flow{ display:grid; gap:var(--space-4); grid-template-columns:1fr; counter-reset:step; }
@media (min-width:760px){ .step-flow{ grid-template-columns:repeat(5,1fr); } }
.step{ text-align:center; }
.step .num{
  width:40px; height:40px; border-radius:50%; background:var(--navy); color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px;
}

.branch-card{ display:flex; flex-direction:column; gap:8px; }
.branch-card .status{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; color:var(--green-dk); }
.branch-card .status::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--green); }
.meta-row{ display:flex; gap:8px; color:var(--text-soft); font-size:14px; }
.meta-row svg{ flex-shrink:0; margin-top:2px; }

.cta-band{
  background:var(--navy); color:#fff; border-radius:var(--radius-lg);
  padding:var(--space-10) var(--space-6); text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:#C7D6EC; margin-top:8px; }
.cta-band .hero-cta-row{ justify-content:center; }

/* -------------------- Footer -------------------- */
.site-footer{ background:var(--navy); color:#C7D6EC; padding:var(--space-12) 0 var(--space-6); margin-top:var(--space-16); }
.footer-grid{ display:grid; gap:var(--space-8); grid-template-columns:1fr; }
@media (min-width:760px){ .footer-grid{ grid-template-columns:2fr 1fr 1fr 1fr; } }
.footer-grid h4{ color:#fff; font-size:14px; margin-bottom:14px; }
.footer-grid a{ display:block; padding:5px 0; color:#AFC2DE; font-size:14px; }
.footer-grid a:hover{ color:#fff; }
.footer-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; margin-bottom:10px; }
.footer-brand .logo-chip{ background:#fff; border-radius:8px; padding:4px; display:inline-flex; line-height:0; }
.footer-brand img{ height:28px; display:block; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:var(--space-10); padding-top:var(--space-5); display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:13px; color:#93A9C8; }

/* -------------------- Forms -------------------- */
.field{ margin-bottom:var(--space-4); }
.field label{ display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.field .hint{ font-size:12.5px; color:var(--text-soft); margin-top:5px; }
.field .error{ font-size:12.5px; color:var(--danger); margin-top:5px; font-weight:600; }
.input, select.input, textarea.input{
  width:100%; padding:12px 14px; border-radius:10px; border:1.5px solid var(--border);
  font-size:15px; font-family:inherit; background:#fff; color:var(--text);
}
.input:focus{ border-color:var(--blue); outline:none; box-shadow:0 0 0 3px rgba(8,123,211,.15); }
.input.has-error{ border-color:var(--danger); }
.field-row{ display:grid; gap:var(--space-4); grid-template-columns:1fr; }
@media (min-width:640px){ .field-row{ grid-template-columns:1fr 1fr; } }
.checkbox-row{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--text-soft); }
.checkbox-row input{ margin-top:3px; }

.auth-shell{ max-width:440px; margin:0 auto; padding:var(--space-10) 0; }
.auth-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:var(--space-8); }
.auth-card .logo-row{ text-align:center; margin-bottom:var(--space-6); }
.auth-card .logo-row img{ height:56px; margin:0 auto 14px; }
.switch-line{ text-align:center; font-size:14px; color:var(--text-soft); margin-top:var(--space-5); }
.switch-line a{ color:var(--blue); font-weight:700; }

/* -------------------- Badges / status -------------------- */
.badge{ display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; font-size:12.5px; font-weight:700; }
.badge-blue{ background:#EAF5FD; color:var(--blue); }
.badge-green{ background:#EEF8E7; color:var(--green-dk); }
.badge-warn{ background:#FDF3DA; color:#8A6100; }
.badge-danger{ background:#FBE7E7; color:#9E2626; }
.badge-navy{ background:#E7ECF6; color:var(--navy); }

/* -------------------- Dashboard shell -------------------- */
.dash-shell{ display:flex; min-height:100vh; }
.dash-sidebar{
  width:250px; background:var(--navy); color:#C7D6EC; flex-shrink:0; padding:var(--space-6) var(--space-4);
  position:fixed; top:0; bottom:0; left:0; overflow-y:auto; transform:translateX(-100%); transition:transform .2s ease; z-index:60;
}
.dash-sidebar.open{ transform:translateX(0); }
.dash-sidebar .brand{ color:#fff; margin-bottom:var(--space-8); padding:0 var(--space-2); }
.dash-sidebar .brand img{ height:30px; background:#fff; border-radius:8px; padding:3px; }
.dash-nav a{ display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px; font-weight:600; font-size:14.5px; color:#C7D6EC; margin-bottom:2px; }
.dash-nav a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.dash-nav a.active{ background:var(--blue); color:#fff; }
.dash-main{ flex:1; min-width:0; }
.dash-topbar{
  height:70px; background:#fff; border-bottom:1px solid var(--border); display:flex; align-items:center;
  justify-content:space-between; padding:0 var(--space-5); position:sticky; top:0; z-index:40; gap:12px;
}
.dash-content{ padding:var(--space-6) var(--space-5) var(--space-16); max-width:1180px; }
.sidebar-toggle{ background:#fff; border:1px solid var(--border); border-radius:10px; padding:9px 11px; }
.sidebar-overlay{ display:none; position:fixed; inset:0; background:rgba(4,38,100,.4); z-index:55; }
.sidebar-overlay.open{ display:block; }

@media (min-width:1024px){
  .dash-sidebar{ position:sticky; transform:none; }
  .sidebar-toggle{ display:none; }
  .sidebar-overlay{ display:none !important; }
}

.stat-card{ display:flex; align-items:center; gap:14px; }
.stat-card .num{ font-size:26px; font-weight:800; color:var(--navy); }
.stat-card .label{ font-size:13px; color:var(--text-soft); font-weight:600; }

/* -------------------- Tables -------------------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius-md); background:#fff; }
table{ width:100%; border-collapse:collapse; min-width:640px; }
th{ text-align:left; font-size:12.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-soft); background:#F8FAFD; padding:12px 16px; border-bottom:1px solid var(--border); }
td{ padding:14px 16px; font-size:14.5px; border-bottom:1px solid var(--border); }
tr:last-child td{ border-bottom:none; }
.table-card-list{ display:none; }
@media (max-width:700px){
  .table-wrap{ display:none; }
  .table-card-list{ display:flex; flex-direction:column; gap:12px; }
}

/* -------------------- Timeline -------------------- */
.timeline{ display:flex; flex-direction:column; gap:0; }
.tl-item{ display:flex; gap:14px; position:relative; padding-bottom:26px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:''; position:absolute; left:11px; top:26px; bottom:0; width:2px; background:var(--border);
}
.tl-item:last-child::before{ display:none; }
.tl-dot{ width:24px; height:24px; border-radius:50%; background:var(--border); flex-shrink:0; display:flex; align-items:center; justify-content:center; z-index:1; }
.tl-item.done .tl-dot{ background:var(--green); }
.tl-item.current .tl-dot{ background:var(--blue); box-shadow:0 0 0 4px rgba(8,123,211,.18); }
.tl-title{ font-weight:700; font-size:14.5px; color:var(--navy); }
.tl-item:not(.done):not(.current) .tl-title{ color:var(--text-soft); font-weight:600; }
.tl-sub{ font-size:12.5px; color:var(--text-soft); margin-top:2px; }

/* -------------------- Steps (booking) -------------------- */
.progress-steps{ display:flex; gap:6px; margin-bottom:var(--space-8); overflow-x:auto; padding-bottom:4px; }
.progress-steps .ps{
  flex:1; min-width:86px; text-align:center; padding:10px 6px; border-radius:10px; font-size:12px; font-weight:700;
  color:var(--text-soft); background:#EEF2F7; white-space:nowrap;
}
.progress-steps .ps.active{ background:var(--blue); color:#fff; }
.progress-steps .ps.done{ background:#EEF8E7; color:var(--green-dk); }

.option-tile{
  border:1.5px solid var(--border); border-radius:var(--radius-md); padding:var(--space-5); cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.option-tile:hover{ border-color:var(--sky); }
.option-tile.selected{ border-color:var(--blue); background:#EAF5FD; }
.option-tile h4{ font-size:15px; }
.option-tile .sub{ font-size:13px; color:var(--text-soft); margin-top:4px; }

.item-row{ display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.qty-control{ display:flex; align-items:center; gap:8px; }
.qty-control button{ width:30px; height:30px; border-radius:8px; border:1px solid var(--border); background:#fff; font-weight:700; }

/* -------------------- Empty / loading / toast -------------------- */
.empty-state{ text-align:center; padding:var(--space-12) var(--space-5); color:var(--text-soft); }
.empty-state .icon-badge{ margin:0 auto var(--space-4); }
.skeleton{ background:linear-gradient(90deg,#EDF2F7 25%,#F7FAFC 37%,#EDF2F7 63%); background-size:400% 100%; animation:sk 1.4s ease infinite; border-radius:8px; }
@keyframes sk{ 0%{background-position:100% 50%;} 100%{background-position:0 50%;} }

.toast-wrap{ position:fixed; top:16px; right:16px; z-index:200; display:flex; flex-direction:column; gap:10px; max-width:320px; }
.toast{ background:#fff; border:1px solid var(--border); border-left:4px solid var(--blue); border-radius:10px; padding:12px 14px; box-shadow:var(--shadow-md); font-size:14px; animation:toastin .2s ease; }
.toast.success{ border-left-color:var(--green); }
.toast.error{ border-left-color:var(--danger); }
@keyframes toastin{ from{ opacity:0; transform:translateY(-6px);} to{opacity:1; transform:none;} }

.page-head{ padding:var(--space-10) 0 var(--space-8); background:#fff; border-bottom:1px solid var(--border); }

.tabs{ display:flex; gap:4px; border-bottom:1px solid var(--border); margin-bottom:var(--space-6); overflow-x:auto; }
.tabs button{ background:none; border:none; padding:12px 16px; font-weight:700; font-size:14px; color:var(--text-soft); border-bottom:2px solid transparent; white-space:nowrap; }
.tabs button.active{ color:var(--blue); border-color:var(--blue); }

.filters-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:var(--space-5); }
.filters-row select, .filters-row input{ width:auto; min-width:150px; }

.divider{ height:1px; background:var(--border); margin:var(--space-6) 0; }

@media (max-width:640px){
  .section{ padding:var(--space-12) 0; }
  .hero{ padding:var(--space-12) 0 var(--space-8); }
}
