:root {
  --ink: #151515;
  --muted: #6d6d6d;
  --line: #e8e8e8;
  --soft: #f6f6f4;
  --yellow: #ffc83d;
  --yellow-soft: #fff7de;
  --white: #fff;
  --shadow: 0 20px 55px rgba(0, 0, 0, .09);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand img { width: 155px; height: 56px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.nav-links > a, .drop-button { border: 0; background: transparent; color: #4e4e4e; font-size: 14px; font-weight: 700; cursor: pointer; }
.nav-links > a:hover, .drop-button:hover, .nav-links > a.active { color: #000; }
.dropdown { position: relative; }
.drop-button { display: flex; align-items: center; gap: 6px; padding: 25px 0; }
.drop-button::after { content: "⌄"; font-size: 15px; }
.drop-menu { display: none; position: absolute; top: 66px; left: -20px; width: 320px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
.dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu { display: grid; grid-template-columns: 1fr 1fr; }
.drop-menu a { padding: 10px 11px; border-radius: 9px; color: #555; font-size: 13px; font-weight: 600; }
.drop-menu a:hover { background: var(--yellow-soft); color: #000; }
.drop-menu .commercial-link { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: #8a6200; }
.location-btn { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.location-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.menu-btn { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; font-size: 23px; cursor: pointer; }

.hero { padding: 28px 0 64px; }
.home-slider { height: calc(100vh - 76px); min-height: 650px; position: relative; overflow: hidden; background: #111; }
.slides { height: 100%; position: relative; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.45) 43%, rgba(0,0,0,.04) 74%); }
.slide-content { position: absolute; z-index: 2; top: 50%; left: max(40px, calc((100% - 1180px) / 2)); width: min(610px, calc(100% - 80px)); transform: translateY(-50%); color: #fff; }
.slide-content .eyebrow { color: #ffd66d; }
.slide-content h1 { color: #fff; }
.slide-content p { max-width: 560px; margin: 20px 0 25px; color: #e3e3e3; font-size: 18px; }
.offer-price { display: flex; align-items: end; gap: 12px; margin-bottom: 23px; }
.offer-price strong { color: var(--yellow); font: 800 clamp(58px, 8vw, 96px)/.9 "Manrope"; letter-spacing: -5px; }
.offer-price span { padding-bottom: 8px; font: 700 19px "Manrope"; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.slider-btn { display: inline-block; padding: 13px 19px; border-radius: 10px; background: var(--yellow); color: #161616; font-weight: 800; }
.slider-btn.secondary { border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); color: #fff; backdrop-filter: blur(8px); }
.slider-arrow { position: absolute; z-index: 5; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font-size: 25px; cursor: pointer; backdrop-filter: blur(8px); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots { position: absolute; z-index: 5; left: 50%; bottom: 25px; display: flex; gap: 8px; transform: translateX(-50%); }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); cursor: pointer; transition: .25s; }
.slider-dot.active { width: 29px; border-radius: 8px; background: var(--yellow); }
.slider-booking { position: absolute; z-index: 5; right: max(40px, calc((100% - 1180px) / 2)); bottom: 25px; }
.slider-booking .search-box { grid-template-columns: 145px 200px auto; max-width: none; box-shadow: 0 18px 45px rgba(0,0,0,.28); }
.hero-shell { min-height: 610px; display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; border-radius: 30px; background: #f2f2f0; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #8b6500; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 3px; border-radius: 3px; background: var(--yellow); }
h1 { font: 800 clamp(45px, 5.6vw, 72px)/1.03 "Manrope", sans-serif; letter-spacing: -3.5px; }
.hero-copy > p { max-width: 530px; margin: 22px 0 28px; color: #5f5f5f; font-size: 18px; }
.availability { display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 22px; padding: 9px 12px; border-radius: 9px; background: #fff; color: #555; font-size: 13px; font-weight: 700; }
.availability strong { color: #000; }
.search-box { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; max-width: 620px; padding: 8px; border: 1px solid #ddd; border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.search-box select, .search-box input { min-width: 0; padding: 12px 13px; border: 0; border-right: 1px solid var(--line); outline: 0; background: #fff; color: #333; }
.search-box button, .primary-btn { padding: 12px 18px; border: 0; border-radius: 10px; background: #161616; color: #fff; font-weight: 800; cursor: pointer; }
.search-box button:disabled, .primary-btn:disabled { opacity: .65; cursor: wait; }
.hero-visual { min-height: 610px; position: relative; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f2f2f0 0%, transparent 24%); }
.hero-label { position: absolute; z-index: 2; right: 25px; bottom: 25px; max-width: 250px; padding: 14px 17px; border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); font-size: 13px; }
.hero-label strong { display: block; margin-bottom: 2px; font-family: "Manrope"; }

.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-head h2 { font: 800 clamp(31px, 4vw, 46px)/1.12 "Manrope"; letter-spacing: -1.8px; }
.section-head p { max-width: 580px; margin-top: 10px; color: var(--muted); }
.text-link { color: #7b5900; font-size: 14px; font-weight: 800; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { display: flex; flex-direction: column; min-height: 330px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; cursor: pointer; transition: .25s; }
.service-card:hover { transform: translateY(-5px); border-color: #e7c86c; box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 29px; border-radius: 16px; background: var(--yellow-soft); color: #886100; font-size: 25px; }
.service-image { display: grid; place-items: center; width: 100%; height: 180px; margin-bottom: 18px; overflow: hidden; border-radius: 16px; background: #f5f5f5; }
.service-image img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { font: 800 18px/1.3 "Manrope"; }
.service-card p { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.service-card span:last-child { margin-top: auto; color: #876100; font-size: 13px; font-weight: 800; }
.service-card-link { display: flex; }
.service-card-link .service-card { width: 100%; }

.detail-hero { padding: 75px 0; background: var(--soft); }
.detail-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 55px; align-items: center; }
.detail-copy h1 { font-size: clamp(42px, 5vw, 67px); }
.detail-copy > p { max-width: 620px; margin: 20px 0 24px; color: var(--muted); font-size: 18px; }
.detail-image { height: 480px; overflow: hidden; border-radius: 26px; background: #ddd; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 28px; }
.detail-list li { list-style: none; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; }
.detail-list li::before { content: "✓"; margin-right: 9px; color: #9a7000; }
.price-callout { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 13px 17px; border-radius: 12px; background: var(--yellow-soft); }
.price-callout strong { font: 800 25px "Manrope"; }

.poster-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.poster { min-height: 430px; position: relative; overflow: hidden; border-radius: 26px; background: #222; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-content { position: absolute; inset: auto 0 0; padding: 65px 32px 30px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.84)); }
.poster-content h3 { font: 800 29px/1.18 "Manrope"; }
.poster-content p { max-width: 500px; margin-top: 8px; color: #ddd; }
.poster-badge { display: inline-block; margin-bottom: 10px; padding: 6px 9px; border-radius: 7px; background: var(--yellow); color: #191919; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.service-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-showcase article { padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 14px 35px rgba(0,0,0,.05); }
.service-showcase img { width: 100%; height: 330px; object-fit: contain; border-radius: 22px; background: #f5f5f5; }
.service-showcase h3 { margin-top: 16px; font: 800 22px/1.3 "Manrope"; }

.booking-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 38px; align-items: start; }
.booking-copy { position: sticky; top: 104px; }
.booking-copy h2 { max-width: 470px; font: 800 clamp(34px, 4vw, 52px)/1.08 "Manrope"; letter-spacing: -1.8px; }
.booking-copy p { max-width: 500px; margin: 16px 0 22px; color: var(--muted); font-size: 17px; }
.booking-note { max-width: 460px; padding: 15px 17px; border-left: 4px solid var(--yellow); border-radius: 0 13px 13px 0; background: #fff; color: #575044; font-size: 14px; }
.booking-note a { color: #7c5900; font-weight: 800; text-decoration: underline; }
.booking-card, .admin-panel { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 16px 42px rgba(0,0,0,.06); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.booking-card label, .admin-panel label { display: grid; gap: 7px; color: #3f3f3f; font-size: 13px; font-weight: 800; }
.booking-card input, .booking-card select, .booking-card textarea, .admin-panel input, .admin-panel select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: #202020;
  font-weight: 500;
}
.booking-card textarea { resize: vertical; }
.booking-card label + label, .booking-card .form-grid + label { margin-top: 16px; }
.booking-card .primary-btn { width: 100%; margin-top: 18px; }

.admin-hero { padding: 58px 0 34px; background: var(--soft); }
.admin-hero h1 { max-width: 760px; font: 800 clamp(38px, 5vw, 62px)/1.05 "Manrope"; letter-spacing: -2.4px; }
.admin-hero p { max-width: 680px; margin-top: 14px; color: var(--muted); font-size: 17px; }
.admin-toolbar { display: grid; grid-template-columns: 1fr 180px 180px auto; gap: 12px; align-items: end; margin-bottom: 18px; }
.admin-actions { display: flex; gap: 10px; }
.admin-login { width: min(480px, 100%); margin-inline: auto; }
.admin-login h2 { font: 800 30px/1.15 "Manrope"; letter-spacing: -1px; }
.admin-login p { margin: 8px 0 18px; color: var(--muted); }
.admin-login .primary-btn { width: 100%; margin-top: 16px; }
.form-error, .form-success { margin-bottom: 14px; padding: 11px 13px; border-radius: 10px; font-weight: 800; }
.form-error { background: #fff0ed; color: #ae321d; }
.form-success { background: #edf9f1; color: #1d713c; }
.admin-download { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.secondary-btn { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #202020; font-weight: 800; cursor: pointer; }
.danger-btn { padding: 12px 16px; border: 0; border-radius: 10px; background: #2a2a2a; color: #fff; font-weight: 800; cursor: pointer; }
.admin-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-stat { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--yellow-soft); }
.admin-stat strong { display: block; font: 800 27px/1 "Manrope"; }
.admin-stat span { display: block; margin-top: 6px; color: #6a5a2b; font-size: 13px; font-weight: 800; }
.admin-section-block { margin: 22px 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fbfbfa; }
.compact-head { margin-bottom: 16px; }
.compact-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -1px; }
.engineer-create-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.engineer-create-form label { display: grid; gap: 7px; color: #3f3f3f; font-size: 13px; font-weight: 800; }
.engineer-create-form input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 11px;
  outline: 0;
  background: #fff;
}
.engineer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.engineer-list-item, .engineer-location-card { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.engineer-list-item strong, .engineer-location-card strong { display: block; font-family: "Manrope"; }
.engineer-list-item span, .engineer-location-card span, .engineer-location-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.engineer-location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.engineer-location-card a { display: inline-block; margin-top: 5px; color: #7c5900; font-weight: 800; font-size: 13px; }
.case-list { display: grid; gap: 16px; }
.case-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.04); }
.case-card-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-card-head strong { display: block; font: 800 20px/1.2 "Manrope"; }
.case-card-head span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.status-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--yellow-soft); color: #7c5900 !important; font-size: 12px !important; font-weight: 800 !important; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; color: #303030; font-size: 14px; }
.case-grid b { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.case-grid a { color: #7c5900; font-weight: 800; }
.case-location span, .case-location small, .engineer-location-state span { display: block; }
.case-location small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.case-wide { grid-column: 1 / -1; }
.case-update-form { display: grid; grid-template-columns: 170px 1fr 1.4fr auto; gap: 12px; align-items: end; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.engineer-page .admin-hero h1 { font-size: clamp(34px, 9vw, 54px); }
.engineer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.engineer-actions .primary-btn, .engineer-actions .secondary-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.engineer-update-form { grid-template-columns: 170px 1fr auto; }
.tracking-layout { display: grid; gap: 22px; }
.tracking-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.customer-case { max-width: 820px; }
.empty-state { padding: 34px; border: 1px dashed #d8d8d8; border-radius: 16px; background: #fff; color: var(--muted); text-align: center; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card { padding: 29px; border-top: 4px solid var(--yellow); border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.05); }
.process-card b { display: block; margin-bottom: 22px; color: #9a7100; }
.process-card h3 { font: 800 20px "Manrope"; }
.process-card p { margin-top: 8px; color: var(--muted); }

.location-strip { padding: 45px; border-radius: 26px; background: #171717; color: #fff; }
.location-strip h2 { font: 800 clamp(28px, 4vw, 42px)/1.15 "Manrope"; }
.location-strip p { max-width: 650px; margin: 11px 0 23px; color: #bbb; }
.city-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.city-pills span { padding: 10px 14px; border: 1px solid #444; border-radius: 999px; font-weight: 700; }
.city-pills span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--yellow); }

.footer { padding: 52px 0 27px; background: #111; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 45px; }
.footer-brand img { width: 170px; height: 61px; padding: 5px 8px; border-radius: 9px; background: #fff; object-fit: contain; }
.footer-brand p { max-width: 350px; margin-top: 16px; color: #aaa; }
.footer h4 { margin-bottom: 14px; font-family: "Manrope"; }
.footer a { display: block; width: fit-content; margin: 9px 0; color: #aaa; font-size: 14px; }
.footer a:hover { color: var(--yellow); }
.copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid #303030; color: #888; font-size: 13px; }

.modal { display: none; position: fixed; z-index: 100; inset: 0; place-items: center; padding: 20px; background: rgba(0,0,0,.56); }
.modal.open { display: grid; }
.modal-card { width: min(460px, 100%); padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.modal-card h2 { font: 800 28px "Manrope"; }
.modal-card p { margin: 8px 0 20px; color: var(--muted); }
.modal-card input { width: 100%; padding: 13px 14px; border: 1px solid #ddd; border-radius: 10px; outline: 0; }
.modal-actions { display: flex; gap: 9px; margin-top: 12px; }
.modal-actions button { flex: 1; padding: 12px; border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.modal-actions .cancel { background: #eee; color: #333; }
.location-result { display: none; margin-top: 14px; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.location-result.success { display: block; background: #edf9f1; color: #1d713c; }
.location-result.error { display: block; background: #fff0ed; color: #ae321d; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 25px); padding: 13px 19px; border-radius: 10px; background: #151515; color: #fff; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.portal-body { background: #f8fafc; }
.portal-body .header { position: fixed; inset: 0 auto 0 0; width: 250px; border-right: 1px solid #e5eaf1; border-bottom: 0; background: #fff; }
.portal-body .nav { width: 100%; min-height: 100%; align-items: stretch; flex-direction: column; gap: 18px; padding: 24px 18px; }
.portal-body .brand img { width: 170px; height: 62px; object-position: left center; }
.portal-body .nav-links { display: grid; align-items: stretch; gap: 8px; margin: 0; }
.portal-body .nav-links a { display: flex; align-items: center; min-height: 42px; padding: 10px 14px; border-radius: 8px; color: #111827; font-size: 15px; }
.portal-body .nav-links a:first-child { background: #fff3e8; color: #ff6500; }
.portal-body .nav-links a:last-child { margin-top: 10px; border: 1px solid #e5eaf1; justify-content: center; }
.portal-body main { margin-left: 250px; }
.portal-body .admin-hero { display: none; }
.portal-body .section { padding: 26px 0 40px; }
.portal-body .container { width: min(1640px, calc(100% - 40px)); }
.portal-dashboard { display: grid; gap: 20px; margin-bottom: 20px; }
.portal-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.portal-kicker { display: block; margin-bottom: 5px; color: #ff6500; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.portal-heading h2 { font: 800 clamp(25px, 3vw, 34px)/1.1 "Manrope"; letter-spacing: -.8px; }
.portal-heading p { color: #697386; font-weight: 600; }
.portal-userbar { display: flex; align-items: center; gap: 13px; padding: 10px 13px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.portal-userbar strong, .portal-userbar span { display: block; line-height: 1.2; }
.portal-userbar span { color: #64748b; font-size: 12px; font-weight: 700; }
.portal-date { padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; color: #111827 !important; }
.portal-bell { display: grid !important; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #ef4444; color: #fff !important; font-size: 12px !important; }
.portal-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #101827, #ff6b00); color: #fff; font: 800 17px "Manrope"; }
.portal-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.portal-stat { display: flex; align-items: center; gap: 15px; min-height: 116px; padding: 19px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(15,23,42,.05); }
.portal-stat > span { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; color: #fff; font-size: 24px; font-weight: 800; }
.portal-stat small { display: block; color: #111827; font-size: 12px; font-weight: 800; }
.portal-stat strong { display: block; margin-top: 5px; font: 800 25px/1 "Manrope"; letter-spacing: -.5px; }
.portal-stat em { display: block; margin-top: 10px; color: #16a34a; font-size: 12px; font-style: normal; font-weight: 800; }
.portal-stat em.down { color: #ef4444; }
.portal-stat.orange > span { background: linear-gradient(135deg, #ff7a00, #ff4b00); }
.portal-stat.blue > span { background: linear-gradient(135deg, #2581ff, #075cef); }
.portal-stat.green > span { background: linear-gradient(135deg, #22c55e, #10903f); }
.portal-stat.purple > span { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.portal-stat.amber > span { background: linear-gradient(135deg, #f59e0b, #ff6b00); }
.portal-stat.red > span { background: linear-gradient(135deg, #fb7185, #ef174c); }
.portal-grid { display: grid; gap: 14px; }
.portal-grid-main { grid-template-columns: 1.08fr 1.35fr 1fr; }
.portal-grid-secondary { grid-template-columns: 1.15fr .9fr; }
.portal-card { min-width: 0; padding: 18px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(15,23,42,.05); }
.portal-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.portal-card-head h2 { font: 800 18px/1.2 "Manrope"; letter-spacing: -.3px; }
.portal-card-head a, .portal-card-head span { color: #0666ff; font-size: 13px; font-weight: 800; }
.portal-donut-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 20px; min-height: 245px; }
.portal-donut { display: grid; place-items: center; align-content: center; width: 180px; height: 180px; border-radius: 50%; background: conic-gradient(#22c55e 0 var(--green), #f59e0b var(--green) calc(var(--green) + var(--orange)), #3b82f6 0 88%, #ef4444 0); position: relative; }
.portal-donut::after { content: ""; position: absolute; width: 104px; height: 104px; border-radius: 50%; background: #fff; }
.portal-donut strong, .portal-donut b { position: relative; z-index: 1; }
.portal-donut strong { font-size: 13px; }
.portal-donut b { font: 800 28px "Manrope"; }
.portal-legend { display: grid; gap: 14px; }
.portal-legend span { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.portal-legend i { width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; }
.portal-legend span:nth-child(2) i { background: #ff6b00; }
.portal-legend span:nth-child(3) i { background: #f59e0b; }
.portal-legend span:nth-child(4) i { background: #22c55e; }
.portal-legend span:nth-child(5) i { background: #ef4444; }
.portal-link-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; padding: 10px 14px; border: 1px solid #e1e7ef; border-radius: 8px; color: #111827; font-weight: 800; }
.portal-table { overflow: auto; }
.portal-table-row { display: grid; grid-template-columns: .7fr 1fr 1fr .85fr .9fr; gap: 12px; min-width: 620px; padding: 13px 0; border-bottom: 1px solid #edf1f5; font-size: 13px; font-weight: 700; }
.portal-table-row.head { color: #475569; font-size: 12px; font-weight: 800; }
.portal-status, .portal-approval-list mark, .engineer-job-strip mark { padding: 6px 9px; border-radius: 6px; background: #eaf3ff; color: #0666ff; font-size: 11px; font-weight: 800; }
.portal-line-chart { display: flex; align-items: end; gap: 16px; height: 220px; padding: 16px 14px 0; border-left: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; background: linear-gradient(#f8fafc 1px, transparent 1px) 0 0/100% 44px; }
.portal-line-chart span { flex: 1; min-width: 18px; border-radius: 9px 9px 0 0; background: linear-gradient(180deg, #ff6b00, rgba(255,107,0,.16)); position: relative; }
.portal-line-chart span::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #ff6b00; transform: translateX(-50%); }
.portal-city-list { display: grid; gap: 18px; }
.portal-city-list div { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: 14px; font-weight: 800; }
.portal-city-list i { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: linear-gradient(90deg, #ff6b00 var(--w), #eef2f7 var(--w)); }
.portal-approval-list { display: grid; gap: 11px; }
.portal-approval-list article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid #edf1f5; }
.portal-approval-list article > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #f4f7fb; color: #ff6b00; font-weight: 800; }
.portal-approval-list strong, .portal-approval-list small { display: block; }
.portal-approval-list small { margin-top: 3px; color: #64748b; }
.portal-body .admin-panel { border-radius: 8px; box-shadow: 0 14px 30px rgba(15,23,42,.05); }
.portal-body .admin-panel::before { content: "Operations Management"; display: block; margin-bottom: 14px; font: 800 20px "Manrope"; }
.portal-body .admin-summary { display: none; }
.portal-body .admin-section-block { background: #fff; border-radius: 8px; }
.portal-toolbar, .portal-create-form { margin-bottom: 18px; }
.engineer-dashboard { margin-bottom: 20px; }
.engineer-progress-card { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.engineer-progress-card div { display: grid; justify-items: center; gap: 8px; position: relative; color: #64748b; text-align: center; font-size: 12px; font-weight: 800; }
.engineer-progress-card div::after { content: ""; position: absolute; top: 18px; left: 50%; right: -50%; height: 2px; background: #d8dee8; z-index: 0; }
.engineer-progress-card div:last-child::after { display: none; }
.engineer-progress-card span { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #cbd5e1; border-radius: 50%; background: #fff; color: #94a3b8; z-index: 1; }
.engineer-progress-card .done span { border-color: #22c55e; color: #16a34a; }
.engineer-progress-card .current span { border-color: #ff6b00; background: #ff6b00; color: #fff; }
.engineer-overview-grid { grid-template-columns: 1fr; }
.engineer-mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.engineer-mini-stats div { display: grid; place-items: center; gap: 5px; min-height: 92px; border: 1px solid #e5eaf1; border-radius: 8px; }
.engineer-mini-stats span { color: #0666ff; font-weight: 800; }
.engineer-mini-stats small { font-weight: 800; }
.engineer-mini-stats strong { font: 800 25px "Manrope"; }
.engineer-job-strip { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 14px; }
.engineer-job-strip small, .engineer-job-strip strong { display: block; }
.engineer-job-strip small { color: #64748b; font-size: 12px; font-weight: 800; }
.engineer-job-strip strong { font: 800 16px "Manrope"; }
.engineer-customer { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.engineer-customer strong, .engineer-customer span { display: block; }
.engineer-detail-list { display: grid; gap: 12px; margin-bottom: 16px; }
.engineer-detail-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.engineer-detail-list dt { color: #111827; font-weight: 800; }
.engineer-detail-list dd { color: #263142; }
.engineer-action-message { display: flex; gap: 13px; align-items: center; margin-bottom: 16px; color: #293241; }
.engineer-action-message span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff1e8; color: #ff6b00; font-size: 27px; }
.engineer-next-box { display: grid; gap: 7px; padding: 14px; border-radius: 8px; background: #fff8ec; }
.engineer-next-box strong { color: #ff6500; }
.engineer-next-box span { font-weight: 800; }
.engineer-next-box small { color: #64748b; }

@media (max-width: 960px) {
  .portal-body .header { position: sticky; width: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-body .nav { min-height: 76px; flex-direction: row; align-items: center; padding: 0; }
  .portal-body .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .portal-body .nav-links.open { display: grid; }
  .portal-body main { margin-left: 0; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .portal-body .nav-links { display: flex; position: static; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav-links.open { display: grid; }
  .drop-button { width: 100%; padding: 0; }
  .drop-menu { display: grid; position: static; width: 100%; margin-top: 12px; box-shadow: none; }
  .dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu { display: grid; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .hero-visual::after { background: linear-gradient(180deg, #f2f2f0 0%, transparent 20%); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-showcase { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-copy { position: static; }
  .admin-toolbar, .engineer-create-form, .engineer-list, .engineer-location-grid { grid-template-columns: 1fr 1fr; }
  .portal-stats, .portal-grid-main, .portal-grid-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-heading, .portal-userbar { align-items: flex-start; flex-wrap: wrap; }
  .portal-donut-row, .engineer-job-strip { grid-template-columns: 1fr; }
  .engineer-progress-card { grid-template-columns: repeat(4, 1fr); }
  .admin-actions { grid-column: 1 / -1; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-update-form, .engineer-update-form { grid-template-columns: 1fr; }
  .slider-booking { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav { min-height: 68px; gap: 12px; }
  .brand img { width: 133px; height: 49px; }
  .nav-links { top: 68px; }
  .location-btn { margin-left: auto; padding: 9px; }
  .location-btn span:last-child { display: none; }
  .menu-btn { margin-left: 0; }
  .hero { padding: 14px 0 48px; }
  .home-slider { height: calc(100svh - 68px); min-height: 610px; }
  .slide img { object-position: 64% center; }
  .slide::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.28) 35%, rgba(0,0,0,.9) 100%); }
  .slide-content { top: auto; left: 22px; right: 22px; bottom: 75px; width: auto; transform: none; }
  .slide-content h1 { font-size: 39px; }
  .slide-content p { margin: 13px 0 18px; font-size: 15px; }
  .offer-price { margin-bottom: 17px; }
  .offer-price strong { font-size: 64px; letter-spacing: -3px; }
  .slider-arrow { top: 42%; width: 39px; height: 39px; }
  .slider-arrow.prev { left: 11px; }
  .slider-arrow.next { right: 11px; }
  .slider-dots { bottom: 25px; }
  .hero-shell { border-radius: 22px; }
  .hero-copy { padding: 37px 23px; }
  h1 { font-size: 42px; letter-spacing: -2.2px; }
  .search-box { grid-template-columns: 1fr; }
  .search-box select, .search-box input { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: 330px; }
  .section { padding: 52px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .service-grid, .service-showcase, .process { grid-template-columns: 1fr; }
  .form-grid, .admin-toolbar, .admin-summary, .case-grid, .tracking-form, .engineer-actions, .engineer-create-form, .engineer-list, .engineer-location-grid { grid-template-columns: 1fr; }
  .portal-body .container { width: min(100% - 24px, 1180px); }
  .portal-stats, .portal-grid-main, .portal-grid-secondary, .engineer-mini-stats, .engineer-progress-card { grid-template-columns: 1fr; }
  .portal-userbar { width: 100%; }
  .portal-stat { min-height: auto; }
  .portal-table-row { min-width: 540px; }
  .engineer-progress-card div::after { display: none; }
  .engineer-detail-list div { grid-template-columns: 1fr; gap: 3px; }
  .admin-actions { flex-direction: column; }
  .booking-card, .admin-panel { padding: 20px; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster { min-height: 390px; }
  .location-strip { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-hero { padding: 48px 0; }
  .detail-image { height: 340px; }
  .detail-list { grid-template-columns: 1fr; }
}
