:root{
  --grey-dark:#4a4d52;
  --grey:#7c8085;
  --grey-light:#eceef0;
  --blue:#6cb0e6;
  --blue-dark:#3f8bc9;
  --blue-deep:#2a6ba3;
  --ink:#22262b;
  --white:#ffffff;
  --bg-soft:#f6f9fb;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px;}

/* Header */
header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid #eef0f2;
}
.headbar{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;max-width:1160px;margin:0 auto;}
.logo{display:flex;align-items:center;gap:2px;font-size:28px;font-weight:800;letter-spacing:-0.5px;}
.logo .t{color:var(--grey-dark);}
.logo .rest{color:var(--blue-dark);}
.logo .spark{width:14px;height:14px;margin:0 2px;}
nav{display:flex;align-items:center;gap:32px;}
nav a{font-size:15px;font-weight:600;color:var(--grey-dark);transition:color .2s;}
nav a:hover{color:var(--blue-dark);}
.nav-links{display:flex;gap:28px;}
.header-cta{display:flex;align-items:center;gap:14px;}

/* Company-only field visibility */
[data-only="fyrirtaeki"]{display:none !important;}
body[data-mode="fyrirtaeki"] [data-only="fyrirtaeki"]{display:flex !important;}
body[data-mode="fyrirtaeki"] [data-only="fyrirtaeki"].field{display:flex !important;}
body[data-mode="fyrirtaeki"] a[data-only="fyrirtaeki"]{display:inline-flex !important;}

/* Audience bar (below menu, above hero content, same hero background) */
.audience-bar{
  padding:0 24px 28px;
  display:flex;flex-direction:column;align-items:center;
}
.hero-toggle{
  position:relative;display:flex;
  width:340px;max-width:88vw;height:76px;
  background:#e9edf0;border-radius:999px;padding:7px;
  box-shadow:inset 0 2px 10px rgba(20,40,60,0.1), inset 0 -1px 0 rgba(255,255,255,0.5);
}
.toggle-slider{
  position:absolute;top:7px;left:7px;height:calc(100% - 14px);
  border-radius:999px;
  background:var(--blue-dark);
  box-shadow:0 6px 16px rgba(63,139,201,0.35);
  transition:left .45s cubic-bezier(.34,1.56,.64,1), width .45s cubic-bezier(.34,1.56,.64,1);
}
.hero-toggle:active .toggle-slider{box-shadow:0 4px 14px rgba(63,139,201,0.4);}
.toggle-option{
  position:relative;z-index:2;flex:1;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:none;background:transparent;cursor:pointer;font-family:inherit;
  font-size:16px;font-weight:800;color:var(--grey);
  transition:color .3s ease, transform .15s ease;
  border-radius:999px;
}
.toggle-option svg{transition:opacity .3s ease;opacity:.55;flex:none;}
.toggle-option.active{color:#fff;}
.toggle-option.active svg{opacity:1;}
.toggle-option:active{transform:scale(0.96);}
@media (max-width:620px){
  .hero-toggle{height:66px;}
  .toggle-option{font-size:14px;gap:6px;}
  .toggle-option svg{width:16px;height:16px;}
}
.phone-pill{
  display:flex;align-items:center;gap:8px;
  font-weight:700;font-size:15px;color:var(--grey-dark);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 26px;border-radius:999px;font-weight:700;font-size:15px;
  cursor:pointer;border:none;transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--blue-dark);color:#fff;box-shadow:0 4px 10px rgba(63,139,201,0.25);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(63,139,201,0.32);}
.btn-outline{background:transparent;border:2px solid var(--grey-dark);color:var(--grey-dark);}
.btn-outline:hover{background:var(--grey-dark);color:#fff;}
.btn-outline-blue{background:transparent;border:2px solid var(--blue-dark);color:var(--blue-dark);}
.btn-outline-blue:hover{background:var(--blue-dark);color:#fff;}
.btn-light{background:#fff;color:var(--blue-deep);}
.btn-danger-outline{background:transparent;border:2px solid #e2949433;color:#c0392b;border:2px solid #eccfcf;}
.btn-danger-outline:hover{background:#c0392b;color:#fff;border-color:#c0392b;}
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none !important;}

/* Hero */
.hero{
  background:var(--bg-soft);
  padding:32px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:#e7f3fc;color:var(--blue-deep);
  font-weight:700;font-size:13px;letter-spacing:.4px;
  padding:8px 16px;border-radius:999px;margin-bottom:22px;
}
.hero h1{
  font-size:46px;line-height:1.15;font-weight:800;letter-spacing:-1px;
  color:var(--ink);margin-bottom:20px;
}
.hero h1 span{color:var(--blue-dark);}
.hero p.lead{font-size:18px;color:#4c5158;max-width:520px;margin-bottom:32px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:36px;}
.trust-row{display:flex;gap:28px;flex-wrap:wrap;}
.trust-item{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--grey-dark);}
.trust-item svg{flex:none;}

.hero-visual{
  position:relative;background:#fff;border-radius:20px;
  box-shadow:0 10px 28px rgba(30,60,90,0.10);
  padding:8px;
}
.hero-visual-inner{
  border-radius:16px;overflow:hidden;
  background:var(--blue);
  aspect-ratio:3/4;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.hero-loop-video{width:100%;height:100%;object-fit:cover;display:block;}
.hero-badge{
  position:absolute;bottom:-18px;left:-18px;
  background:#fff;border-radius:16px;padding:14px 18px;
  box-shadow:0 6px 16px rgba(30,60,90,0.14);
  display:flex;align-items:center;gap:12px;
}
.hero-badge .num{font-size:26px;font-weight:800;color:var(--blue-dark);}
.hero-badge .lbl{font-size:12.5px;color:var(--grey);font-weight:600;line-height:1.3;}

/* Fyrirtækjagátt portal highlight (business-only) */
section.fyrirtaeki-feature{display:none;padding:64px 0 8px;}
body[data-mode="fyrirtaeki"] section.fyrirtaeki-feature{display:block;}
.portal-panel{
  background:var(--blue-deep);
  border-radius:28px;padding:52px 56px;color:#fff;
  box-shadow:0 10px 26px rgba(20,50,80,0.16);
}
.portal-copy{max-width:640px;}
.portal-copy .tag{
  color:#cfe6f7;font-weight:700;font-size:13px;letter-spacing:1.2px;
  text-transform:uppercase;margin-bottom:12px;display:block;
}
.portal-copy h2{font-size:30px;font-weight:800;letter-spacing:-0.4px;margin-bottom:12px;color:#fff;}
.portal-copy > p{font-size:16px;color:#dcebf5;line-height:1.6;margin-bottom:26px;}
.portal-features{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-direction:column;gap:16px;}
.portal-feature{display:flex;align-items:flex-start;gap:14px;}
.portal-feature svg{flex-shrink:0;margin-top:2px;}
.portal-feature svg path,.portal-feature svg rect{stroke:#fff;}
.portal-feature div{display:flex;flex-direction:column;gap:2px;}
.portal-feature strong{font-size:15.5px;font-weight:700;color:#fff;}
.portal-feature span{font-size:14px;color:#cfe1ee;}
.portal-actions{display:flex;gap:14px;flex-wrap:wrap;}
.portal-actions .btn-primary{background:#fff;color:var(--blue-deep);}
.portal-actions .btn-primary:hover{background:#eef6fb;}
.portal-actions .btn-outline{border-color:rgba(255,255,255,0.5);color:#fff;}
.portal-actions .btn-outline:hover{background:rgba(255,255,255,0.12);}

/* Fyrir og eftir (before/after gallery + video addition) */
.before-after{background:var(--bg-soft);}
.ba-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px;}
.ba-card{
  border-radius:18px;overflow:hidden;position:relative;
  background:#000;
  box-shadow:0 6px 18px rgba(20,40,60,0.10);
}
.ba-stack-card{aspect-ratio:9/4;}
.ba-compare{display:flex;height:100%;}
.ba-half{position:relative;flex:1;overflow:hidden;}
.ba-half img{width:100%;height:100%;object-fit:cover;display:block;}
.ba-label{
  position:absolute;bottom:12px;left:12px;
  background:rgba(15,25,35,0.72);color:#fff;font-size:12px;font-weight:700;
  letter-spacing:0.4px;padding:5px 12px;border-radius:20px;text-transform:uppercase;
}
.ba-label-after{background:rgba(63,139,201,0.9);}
.ba-video-card{
  grid-column:2;grid-row:1 / span 2;
  display:flex;align-items:center;justify-content:center;
}
.ba-video-caption{
  position:absolute;top:14px;left:14px;z-index:2;
  background:rgba(15,25,35,0.72);color:#fff;font-size:12px;font-weight:700;
  padding:5px 12px;border-radius:20px;
}
.ba-video-card .ad-video-frame{
  max-width:none;width:100%;height:100%;border-radius:0;border:none;box-shadow:none;margin:0;
}
.ba-video-card .ad-video-frame video{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;background:#000;}

/* Section titles */
.section{padding:88px 0;}
.section-head{text-align:center;max-width:640px;margin:0 auto 52px;}
.section-head .tag{
  color:var(--blue-dark);font-weight:700;font-size:13px;letter-spacing:1.2px;
  text-transform:uppercase;margin-bottom:12px;display:block;
}
.section-head h2{font-size:34px;font-weight:800;letter-spacing:-0.5px;color:var(--ink);margin-bottom:14px;}
.section-head p{color:#5c6067;font-size:16px;}

/* Services */
.services{background:var(--bg-soft);}
.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
/* Company mode: window washing is the flagship service, show it first */
body[data-mode="fyrirtaeki"] .service-card-windows{order:1;}
body[data-mode="fyrirtaeki"] .service-card-pressure{order:2;}
.service-card{
  background:#fff;border-radius:var(--radius);padding:38px;
  box-shadow:0 4px 14px rgba(20,40,60,0.05);
  border:1px solid #eef1f3;
  border-top:4px solid var(--blue-dark);
  transition:transform .2s ease, box-shadow .2s ease;
  position:relative;
}
.service-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(20,40,60,0.10);}
.service-icon{
  width:64px;height:64px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--blue-dark);
  box-shadow:0 8px 18px rgba(63,139,201,0.28);
  margin-bottom:24px;
}
.service-card h3{font-size:22px;font-weight:800;margin-bottom:12px;}
.service-card p{color:#5c6067;margin-bottom:20px;}
.service-list{list-style:none;}
.service-list li{
  display:flex;align-items:flex-start;gap:10px;font-size:14.5px;
  color:#40444a;padding:8px 0;font-weight:500;
  border-top:1px solid #f0f2f4;
}
.service-list li:first-child{border-top:none;}
.service-list li svg{flex:none;margin-top:3px;}

/* Why us */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.why-card{
  text-align:center;padding:34px 22px;
  background:#fff;border-radius:var(--radius);
  border:1px solid #eef1f3;
  box-shadow:0 4px 14px rgba(20,40,60,0.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.why-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(20,40,60,0.10);}
.why-icon{
  width:68px;height:68px;border-radius:50%;
  background:#e7f3fc;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
}
.why-card h4{font-size:17px;font-weight:800;margin-bottom:8px;}
.why-card p{font-size:14px;color:#5c6067;}

/* Process */
.process{background:var(--bg-soft);}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;}
.steps::before{
  content:"";position:absolute;top:38px;left:12%;right:12%;height:2px;
  background:#dde3e8;z-index:0;
}
.step{
  background:#fff;border-radius:var(--radius);padding:28px 22px;
  border:1px solid #eef1f3;position:relative;z-index:1;
  box-shadow:0 4px 14px rgba(20,40,60,0.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.step:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(20,40,60,0.10);}
.step-num{
  width:42px;height:42px;border-radius:50%;
  background:var(--blue-dark);
  color:#fff;font-weight:800;font-size:16px;
  box-shadow:0 6px 14px rgba(63,139,201,0.3);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.step h4{font-size:16px;font-weight:800;margin-bottom:8px;}
.step p{font-size:14px;color:#5c6067;}

/* CTA banner */
.cta-banner{
  position:relative;overflow:hidden;
  background:var(--blue-deep) url('ba-driveway-after.jpg') center/cover no-repeat;
  border-radius:24px;padding:56px;color:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
}
.cta-banner::before{
  content:"";position:absolute;inset:0;
  background:rgba(20,55,85,0.87);
}
.cta-banner > div{position:relative;z-index:1;}
.cta-banner h3{font-size:28px;font-weight:800;margin-bottom:8px;}
.cta-banner p{color:#e3f1fb;font-size:15.5px;}
.cta-banner-actions{display:flex;gap:14px;flex-wrap:wrap;}

/* Contact */
.contact-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:48px;}
.contact-info-card{
  background:var(--ink);color:#fff;border-radius:var(--radius);
  padding:40px;
}
.contact-info-card h3{font-size:22px;font-weight:800;margin-bottom:10px;}
.contact-info-card > p{color:#c7cbd1;margin-bottom:28px;font-size:15px;}
.info-row{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px;}
.info-icon{
  width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,0.1);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.info-row .label{font-size:12.5px;color:#9aa0a8;font-weight:600;text-transform:uppercase;letter-spacing:.5px;}
.info-row .value{font-size:16px;font-weight:700;}
.info-row a.value-link{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px;}

.form-card{
  background:#fff;border-radius:var(--radius);padding:40px;
  border:1px solid #eef1f3;box-shadow:0 4px 14px rgba(20,40,60,0.05);
}
.form-card h3{font-size:22px;font-weight:800;margin-bottom:6px;}
.form-card > p{color:#5c6067;font-size:14.5px;margin-bottom:26px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.field{display:flex;flex-direction:column;gap:6px;}
.field.full{grid-column:1/-1;}
label{font-size:13px;font-weight:700;color:var(--grey-dark);}
input, select, textarea{
  border:1.5px solid #e2e5e8;border-radius:10px;padding:12px 14px;
  font-size:15px;font-family:inherit;color:var(--ink);
  transition:border-color .2s;background:#fbfcfd;
}
input:focus, select:focus, textarea:focus{outline:none;border-color:var(--blue);}
textarea{resize:vertical;min-height:100px;}
.form-card button{width:100%;margin-top:6px;padding:14px;font-size:16px;}

/* Footer */
footer{background:var(--ink);color:#c7cbd1;padding:56px 0 28px;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;margin-bottom:40px;}
.footer-logo{display:flex;align-items:center;gap:2px;font-size:24px;font-weight:800;margin-bottom:14px;}
.footer-logo .t{color:#c7cbd1;}
.footer-logo .rest{color:var(--blue);}
footer p.desc{font-size:14px;color:#9aa0a8;max-width:320px;}
footer h5{color:#fff;font-size:14px;font-weight:800;margin-bottom:16px;letter-spacing:.4px;text-transform:uppercase;}
footer ul{list-style:none;}
footer ul li{margin-bottom:10px;font-size:14.5px;}
footer ul li a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);padding-top:22px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:13px;color:#8a9099;
}

/* Mobile menu */
.burger{display:none;background:none;border:none;cursor:pointer;padding:6px;}

/* ============ AUTH (login) ============ */
.auth-shell{
  min-height:100vh;
  background:var(--bg-soft);
  display:flex;flex-direction:column;
}
.auth-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 24px;}
.auth-card{
  width:100%;max-width:420px;background:#fff;border-radius:20px;
  box-shadow:0 10px 28px rgba(30,60,90,0.10);
  border:1px solid #eef1f3;
  padding:44px 38px;
}
.auth-card .logo{justify-content:center;margin-bottom:6px;}
.auth-eyebrow{
  display:block;text-align:center;color:var(--grey);font-size:13.5px;font-weight:600;margin-bottom:28px;
}
.auth-card h1{font-size:24px;font-weight:800;text-align:center;margin-bottom:8px;}
.auth-card .auth-sub{text-align:center;color:#5c6067;font-size:14.5px;margin-bottom:28px;}
.auth-field{display:flex;flex-direction:column;gap:6px;margin-bottom:18px;}
.auth-error{
  display:none;background:#fdecec;color:#b3261e;border:1px solid #f6cccb;
  border-radius:10px;padding:12px 14px;font-size:13.5px;font-weight:600;margin-bottom:18px;
}
.auth-error.show{display:block;}
.auth-card button[type="submit"]{width:100%;padding:14px;font-size:16px;margin-top:6px;}
.auth-back{
  display:block;text-align:center;margin-top:22px;font-size:13.5px;color:var(--grey);font-weight:600;
}
.auth-back:hover{color:var(--blue-dark);}

/* ============ DASHBOARD (sidebar app) ============ */
.dashboard-app{display:flex;min-height:100vh;background:var(--bg-soft);}

/* Panta þjónustu / Fá verðmat request-type toggle */
.request-toggle{
  display:inline-flex;background:var(--grey-light);border-radius:999px;padding:4px;gap:4px;
}
.request-toggle-btn{
  border:none;background:transparent;cursor:pointer;font-family:inherit;
  padding:9px 18px;border-radius:999px;font-size:13.5px;font-weight:700;
  color:var(--grey-dark);transition:background .2s ease,color .2s ease;
}
.request-toggle-btn.active{background:var(--blue-dark);color:#fff;}

.dash-sidebar{
  width:264px;flex:none;background:var(--ink);color:#fff;
  padding:26px 20px;display:flex;flex-direction:column;
  position:sticky;top:0;height:100vh;overflow-y:auto;
}
.dash-sidebar .logo .t{color:#fff;}
.dash-sidebar .logo .rest{color:var(--blue);}
.dash-nav{list-style:none;margin-top:28px;display:flex;flex-direction:column;gap:4px;flex:1;}
.dash-nav-btn{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;
  padding:11px 14px;border-radius:10px;border:none;background:transparent;
  color:#c7cbd1;font-size:14.5px;font-weight:600;font-family:inherit;cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.dash-nav-btn svg{flex:none;opacity:.8;}
.dash-nav-btn:hover{background:rgba(255,255,255,0.06);color:#fff;}
.dash-nav-btn.active{background:var(--blue-dark);color:#fff;}
.dash-nav-btn.active svg{opacity:1;}
.dash-sidebar-footer{border-top:1px solid rgba(255,255,255,0.1);padding-top:16px;margin-top:16px;}
.dash-sidebar-footer .sf-name{font-weight:700;font-size:14px;color:#fff;word-break:break-all;}
.dash-sidebar-footer .sf-sub{font-size:12.5px;color:#9aa0a8;margin-bottom:14px;}
.dash-sidebar-footer button{width:100%;}

.dash-content{flex:1;min-width:0;padding:36px 40px;}
.dash-view{display:none;}
.dash-view.active{display:block;}

.dash-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
.dash-topbar h1{font-size:25px;font-weight:800;margin-bottom:6px;}
.dash-topbar p{color:#5c6067;font-size:14.5px;}

.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px;}
.stat-card{background:#fff;border:1px solid #eef1f3;border-radius:var(--radius);padding:24px;box-shadow:0 4px 14px rgba(20,40,60,0.04);}
.stat-num{font-size:30px;font-weight:800;color:var(--ink);margin-bottom:6px;}
.stat-label{font-size:13.5px;color:#5c6067;font-weight:600;}
.stat-sub{font-size:12px;color:var(--grey);margin-top:4px;}

.dash-panel{background:#fff;border:1px solid #eef1f3;border-radius:var(--radius);box-shadow:0 4px 14px rgba(20,40,60,0.04);padding:26px;margin-bottom:24px;}
.dash-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px;}
.dash-panel-head h2{font-size:17px;font-weight:800;}
.dash-panel-head p{font-size:13.5px;color:#5c6067;margin-top:2px;}

.dash-table-wrap{overflow-x:auto;}
.dash-table{width:100%;border-collapse:collapse;min-width:640px;}
.dash-table th{text-align:left;font-size:11px;font-weight:700;color:var(--grey);text-transform:uppercase;letter-spacing:.4px;padding:10px 12px;border-bottom:1px solid #eef0f2;white-space:nowrap;}
.dash-table td{padding:14px 12px;font-size:14px;border-bottom:1px solid #f3f5f6;color:var(--ink);white-space:nowrap;}
.dash-table tr:last-child td{border-bottom:none;}

.type-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#e7f3fc;color:var(--blue-deep);}
.status-pill{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12.5px;font-weight:700;}
.status-pill.pending{background:#fdf3e0;color:#a3690a;}
.status-pill.confirmed{background:#e7f3fc;color:var(--blue-deep);}
.status-pill.done{background:#e9f7ee;color:#1e7a3e;}
.status-pill.cancelled{background:#f4ecec;color:#94211a;}
.cancel-visit-btn{
  background:none;border:none;cursor:pointer;font-family:inherit;padding:0;margin-left:10px;
  color:#b3261e;font-size:12.5px;font-weight:700;text-decoration:underline;
}
.cancel-visit-btn:hover{color:#8a1c15;}

.pipeline{position:relative;display:flex;justify-content:space-between;padding:22px 6px 4px;}
.pipeline::before{content:"";position:absolute;top:38px;left:6%;right:6%;height:2px;background:#e5e8eb;z-index:0;}
.pipeline-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;flex:1;}
.pipeline-circle{
  width:52px;height:52px;border-radius:50%;background:#fff;border:2px solid #e5e8eb;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;color:var(--grey-dark);
}
.pipeline-circle.pending{background:#fdf3e0;border-color:#f3d9a6;color:#a3690a;}
.pipeline-circle.confirmed{background:#e7f3fc;border-color:#bfe0f5;color:var(--blue-deep);}
.pipeline-circle.done{background:#e9f7ee;border-color:#c3ecd1;color:#1e7a3e;}
.pipeline-label{font-size:12.5px;font-weight:600;color:var(--grey-dark);text-align:center;}

.dash-confirm{
  display:none;background:#e9f7ee;color:#1e7a3e;border:1px solid #c3ecd1;
  border-radius:10px;padding:14px 16px;font-size:14px;font-weight:600;margin-top:16px;
}
.dash-confirm.show{display:block;}

/* Settings: contacts + presets */
.contact-row{
  display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end;
  padding:14px;border:1px solid #eef0f2;border-radius:10px;background:var(--bg-soft);
}
.contact-row .field{gap:4px;}
.contact-row label{font-size:11.5px;}
.remove-row-btn{
  width:36px;height:36px;border-radius:8px;border:1.5px solid #eccfcf;background:#fff;
  color:#c0392b;font-weight:800;font-size:16px;cursor:pointer;flex:none;line-height:1;
}
.remove-row-btn:hover{background:#c0392b;color:#fff;}

.preset-edit-card{border:1px solid #eef0f2;border-radius:10px;padding:18px;background:var(--bg-soft);}
.preset-edit-card .form-row{margin-bottom:14px;}
.preset-edit-card .form-row:last-child{margin-bottom:0;}
.preset-edit-head{display:flex;align-items:flex-end;gap:12px;margin-bottom:16px;}

.preset-order-card{
  padding:16px 18px;border:1px solid #eef0f2;border-radius:10px;background:var(--bg-soft);
}
.preset-order-card .po-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;}
.preset-order-card .po-name{font-weight:800;font-size:15px;margin-bottom:4px;color:var(--ink);}
.preset-order-card .po-details{font-size:13px;color:#5c6067;}
.preset-order-card .po-order-panel{margin-top:16px;padding-top:16px;border-top:1px solid #e2e5e8;}
.preset-order-card .po-order-actions{display:flex;gap:10px;margin-top:4px;flex-wrap:wrap;}
.preset-order-card .po-order-actions .btn{width:auto;padding:11px 20px;font-size:13.5px;}

/* Shop */
.shop-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:start;}
.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.shop-card{
  background:#fff;border:1px solid #eef1f3;border-radius:var(--radius);
  padding:22px;box-shadow:0 4px 14px rgba(20,40,60,0.04);
  display:flex;flex-direction:column;gap:10px;
}
.shop-photo{
  width:100%;height:140px;border-radius:10px;background:var(--bg-soft);
  overflow:hidden;margin-bottom:4px;
}
.shop-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.shop-card h4{font-size:16px;font-weight:800;}
.shop-card p{font-size:13.5px;color:#5c6067;flex:1;}
.shop-price{font-size:16.5px;font-weight:800;color:var(--blue-dark);}
.shop-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;}
.qty-control{display:flex;align-items:center;gap:10px;border:1.5px solid #e2e5e8;border-radius:999px;padding:6px 10px;}
.qty-control button{
  width:26px;height:26px;border-radius:50%;border:none;background:var(--grey-light);
  font-weight:800;font-size:15px;cursor:pointer;color:var(--ink);
}
.qty-control span{font-weight:700;font-size:14px;min-width:16px;text-align:center;}
.shop-add-btn{padding:9px 16px;font-size:13px;}

.cart-card{
  background:#fff;border:1px solid #eef1f3;border-radius:var(--radius);padding:26px;
  box-shadow:0 4px 14px rgba(20,40,60,0.04);
  position:sticky;top:36px;
}
.cart-card h3{font-size:17px;font-weight:800;margin-bottom:14px;color:var(--ink);}
.cart-empty{color:var(--grey);font-size:14px;}
.cart-item{display:flex;justify-content:space-between;font-size:13.5px;padding:8px 0;border-bottom:1px solid #eef0f2;}
.cart-item .ci-name{font-weight:600;color:var(--ink);}
.cart-item .ci-sub{color:var(--grey);font-size:12.5px;}
.cart-total{display:flex;justify-content:space-between;font-weight:800;font-size:15px;padding-top:14px;margin-top:6px;color:var(--ink);}
.cart-note{font-size:12.5px;color:var(--grey);margin-top:14px;line-height:1.5;}
.cart-card button{width:100%;margin-top:16px;}

@media (max-width: 960px){
  .hero-grid{grid-template-columns:1fr;}
  .hero h1{font-size:34px;}
  .service-grid{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr 1fr;}
  .steps{grid-template-columns:1fr 1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .phone-pill span.txt{display:none;}
  .header-cta{gap:8px;}
  .header-login-btn{padding:10px 12px !important;}
  .header-login-btn .txt{display:none;}
  .header-cta .btn-primary{padding:10px 16px;}
  .shop-layout{grid-template-columns:1fr;}
  .shop-grid{grid-template-columns:1fr 1fr;}
  .cart-card{position:static;}
  .stat-cards{grid-template-columns:1fr 1fr;}
}

@media (max-width: 860px){
  .dashboard-app{flex-direction:column;}
  .dash-sidebar{
    width:100%;height:auto;position:static;
    flex-direction:row;align-items:center;flex-wrap:wrap;
    padding:14px 18px;gap:16px;
  }
  .dash-nav{flex-direction:row;margin-top:0;gap:6px;flex:none;overflow-x:auto;}
  .dash-nav-btn{white-space:nowrap;}
  .dash-sidebar-footer{
    border-top:none;margin-top:0;padding-top:0;margin-left:auto;
    display:flex;align-items:center;
  }
  .dash-sidebar-footer .sf-name, .dash-sidebar-footer .sf-sub{display:none;}
  .dash-sidebar-footer button{width:auto;padding:8px 16px;font-size:12.5px;}
  .dash-content{padding:24px 18px;}
  .stat-cards{grid-template-columns:1fr;}
  .contact-row{grid-template-columns:1fr;}
  .preset-order-card .po-summary{flex-direction:column;align-items:stretch;}
}
@media (max-width: 620px){
  .why-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .cta-banner{flex-direction:column;text-align:center;padding:36px 24px;}
  .hero{padding:44px 0 60px;}
  .section{padding:56px 0;}
  .shop-grid{grid-template-columns:1fr;}
  .auth-card{padding:32px 24px;}
  .portal-panel{padding:32px 24px;border-radius:20px;}
  .portal-actions{flex-direction:column;align-items:stretch;}
  .portal-actions .btn{text-align:center;justify-content:center;}
  .ba-layout{grid-template-columns:1fr;}
  .ba-stack-card{aspect-ratio:16/10;}
  .ba-video-card{grid-column:auto;grid-row:auto;aspect-ratio:9/16;}
}
