:root {
    --brand: #087f78;
    --brand-dark: #075f5b;
    --brand-soft: #e8f8f5;
    --accent: #ffb400;
    --ink: #142b33;
    --muted: #65757b;
    --line: #dfe8e9;
    --surface: #ffffff;
    --canvas: #f6f9f9;
    --shadow: 0 14px 40px rgba(20, 43, 51, .09);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar { min-height: 72px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; gap: 28px; align-items: center; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 23px; font-weight: 850; letter-spacing: -.05em; }
.site-logo > span:last-child > span { color: var(--brand); }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0da49a, var(--brand-dark)); border-radius: 12px; box-shadow: 0 8px 18px rgba(8,127,120,.23); font-size: 20px; letter-spacing: 0; }
.header-search { height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: #778489; background: #f4f7f7; border: 1px solid #e5ecec; border-radius: 11px; }
.header-search svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-actions { display: flex; gap: 20px; align-items: center; font-weight: 650; }
.header-actions > a:first-child:hover { color: var(--brand); }
.header-account { padding: 10px 18px; color: #fff; background: var(--brand); border-radius: 10px; }
.main-nav { border-top: 1px solid #edf1f1; }
.nav-links { min-height: 45px; display: flex; gap: 38px; align-items: center; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--brand); }

.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-kicker { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section-heading { margin: 0; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.section-copy { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.text-link { color: var(--brand); font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--brand-dark); }

.repair-hero { position: relative; overflow: hidden; padding: 58px 0 62px; background: linear-gradient(130deg, #e9fbf8 0%, #f8fffe 48%, #d8f5f1 100%); }
.repair-hero::before, .repair-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.repair-hero::before { width: 420px; height: 420px; right: -140px; top: -220px; background: rgba(7,127,120,.09); }
.repair-hero::after { width: 260px; height: 260px; left: -140px; bottom: -180px; background: rgba(255,180,0,.13); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 7px 12px; color: var(--brand-dark); background: rgba(255,255,255,.8); border: 1px solid rgba(8,127,120,.18); border-radius: 999px; font-size: 13px; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero-title { max-width: 680px; margin: 0; font-size: clamp(42px, 5.4vw, 68px); line-height: .99; letter-spacing: -.058em; }
.hero-title span { color: var(--brand); }
.hero-copy { max-width: 620px; margin: 22px 0 26px; color: #52676d; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 800; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 22px rgba(8,127,120,.23); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; color: #486068; font-size: 14px; font-weight: 700; }
.hero-points li { display: flex; gap: 7px; align-items: center; }
.check { width: 19px; height: 19px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: 11px; }

.phone-stage { position: relative; min-height: 390px; display: grid; place-items: center; }
.phone-halo { position: absolute; width: 330px; height: 330px; background: #bdece6; border-radius: 50%; box-shadow: inset 0 0 0 34px rgba(255,255,255,.35); }
.phone { position: relative; z-index: 2; width: 196px; height: 365px; padding: 10px; background: #173038; border: 5px solid #0a1e24; border-radius: 34px; box-shadow: 0 28px 55px rgba(8,55,61,.28); transform: rotate(5deg); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 13px; left: 50%; width: 68px; height: 17px; background: #0a1e24; border-radius: 0 0 13px 13px; transform: translateX(-50%); }
.phone-screen { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 45px 18px 19px; color: #fff; background: linear-gradient(155deg, #119f95, #075f5b); border-radius: 23px; }
.phone-screen strong { font-size: 25px; line-height: 1.08; letter-spacing: -.04em; }
.phone-screen small { opacity: .84; }
.phone-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-status span { height: 35px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 9px; font-size: 10px; }
.repair-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border: 1px solid rgba(8,127,120,.13); border-radius: 13px; box-shadow: var(--shadow); font-weight: 800; }
.repair-badge span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 18px; }
.badge-one { top: 48px; left: 8px; }
.badge-two { right: 0; bottom: 64px; }
.hero-rating { position: absolute; z-index: 3; right: 18px; top: 24px; padding: 10px 13px; color: #845e00; background: #fff9df; border-radius: 12px; font-weight: 850; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.service-card { min-height: 158px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 4px 14px rgba(20,43,51,.04); transition: .2s ease; }
.service-card:hover { border-color: rgba(8,127,120,.45); box-shadow: 0 13px 28px rgba(20,43,51,.09); transform: translateY(-3px); }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 18px; }
.service-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card strong { line-height: 1.25; }
.service-card small { color: var(--muted); }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.brand-card { min-height: 120px; display: grid; place-items: center; gap: 8px; padding: 18px 10px; background: #fff; border: 1px solid var(--line); border-radius: 15px; font-weight: 800; transition: .2s ease; }
.brand-card:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.brand-avatar { width: 52px; height: 52px; display: grid; place-items: center; color: var(--brand-dark); background: linear-gradient(145deg, #effaf8, #d9f3ef); border-radius: 50%; font-size: 20px; font-weight: 900; text-transform: uppercase; }
.brand-logo { width: 92px; height: 52px; object-fit: contain; }

.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: var(--brand); border-radius: 12px; font-size: 17px; font-weight: 900; }
.step-card h3 { margin: 0 0 8px; font-size: 20px; }
.step-card p { margin: 0; color: var(--muted); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 23px; background: var(--brand-soft); border-radius: 16px; }
.benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand); background: #fff; border-radius: 12px; font-size: 20px; font-weight: 900; }
.benefit h3 { margin: 1px 0 5px; font-size: 17px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }

.model-grid, .content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 5px 18px rgba(20,43,51,.05); }
.card:hover { border-color: rgba(8,127,120,.4); }
.model-card { display: block; }
.model-image { width: 100%; height: 180px; margin-bottom: 16px; object-fit: contain; background: linear-gradient(145deg, #f5fbfa, #e8f7f4); border-radius: 13px; }
.model-card .device-pictogram { width: 46px; height: 67px; margin-bottom: 15px; border: 3px solid #213b43; border-radius: 9px; box-shadow: inset 0 -12px 0 var(--brand-soft); }
.model-card strong { font-size: 17px; }
.muted { color: var(--muted); }
.price { color: var(--brand-dark); font-size: 25px; font-weight: 900; letter-spacing: -.025em; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { margin: 0; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { color: var(--accent); letter-spacing: 2px; }
.testimonial p { min-height: 70px; color: #40565d; }
.testimonial footer { display: flex; gap: 11px; align-items: center; }
.customer-avatar { width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 850; }

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { padding: 19px 22px; cursor: pointer; font-size: 16px; font-weight: 800; list-style: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta-band { padding: 42px 0; color: #fff; background: var(--brand-dark); }
.cta-content { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.cta-content h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.035em; }
.cta-content p { margin: 0; color: #cde9e6; }

.page-hero { padding: 48px 0 36px; background: linear-gradient(135deg, #edf9f7, #fff); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--brand); font-weight: 700; }
.page-title { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.page-subtitle { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 17px; }
.repair-detail-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.repair-price-box { min-width: 250px; padding: 24px; text-align: center; background: var(--brand-soft); border-radius: 16px; }

form.card { max-width: 980px; margin: 0 auto; }
label { display: grid; gap: 7px; color: #314950; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 13px; color: var(--ink); background: #fff; border: 1px solid #ccd9db; border-radius: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,120,.12); }
textarea { min-height: 115px; resize: vertical; }
.form-section-title { margin: 30px 0 15px; font-size: 21px; }
.choice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { display: flex; grid-template-columns: none; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.choice input { width: 18px; min-height: 18px; }
.alert-error { margin-bottom: 18px; color: #991b1b; background: #fff1f1; border-color: #fecaca; }

.model-repair-page { padding: 28px 0 70px; background: #f4f8f8; }
.repair-breadcrumbs { margin-bottom: 20px; }
.repair-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.repair-services-panel, .repair-cart-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 26px rgba(20,43,51,.06); }
.repair-services-panel { padding: 24px; }
.selected-device { display: flex; align-items: center; gap: 20px; min-height: 132px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.selected-device-media { width: 96px; height: 104px; flex: 0 0 96px; display: grid; place-items: center; background: #f5f9f9; border-radius: 13px; }
.selected-device-media img { width: 82px; height: 92px; object-fit: contain; }
.selected-device-media .device-pictogram { width: 43px; height: 70px; border: 3px solid var(--ink); border-radius: 9px; }
.selected-device p { margin: 0 0 3px; color: var(--muted); font-weight: 700; }
.selected-device h1 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.selected-device a { display: inline-block; margin-top: 6px; color: var(--brand); font-size: 13px; font-weight: 800; }
.repair-services-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 28px 0 18px; }
.repair-services-heading h2 { margin: 0; font-size: 23px; }
.repair-services-heading > span { color: var(--muted); font-size: 13px; }
.repair-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repair-option { position: relative; min-height: 170px; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 15px; align-items: start; padding: 22px 16px; border-top: 1px solid var(--line); }
.repair-option:nth-child(odd) { border-right: 1px solid var(--line); }
.repair-option.is-selected { background: #f1fbf9; }
.repair-option-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 16px; }
.repair-option-icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.repair-option-copy { min-width: 0; }
.repair-option h3 { margin: 1px 0 7px; font-size: 16px; line-height: 1.25; }
.repair-option-copy strong { display: block; font-size: 20px; }
.repair-option-copy del { display: block; color: #889699; font-size: 13px; }
.repair-option-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.add-service-button { position: absolute; right: 16px; bottom: 18px; min-width: 76px; min-height: 34px; padding: 0 13px; color: #fff; background: var(--brand); border: 0; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 850; }
.add-service-button:hover { background: var(--brand-dark); }
.add-service-button:disabled { color: var(--brand); background: #d9f3ef; cursor: default; }
.selected-label { position: absolute; top: 10px; right: 12px; color: var(--brand); font-size: 11px; font-weight: 850; }
.empty-repairs { grid-column: 1 / -1; padding: 35px 0; color: var(--muted); text-align: center; }
.repair-cart-column { position: sticky; top: 138px; display: grid; gap: 14px; }
.repair-cart-card { padding: 20px; }
.repair-cart-title { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.repair-cart-title h2 { margin: 0; font-size: 22px; }
.repair-cart-title span { padding: 4px 9px; color: var(--brand); background: var(--brand-soft); border-radius: 99px; font-size: 12px; font-weight: 800; }
.cart-service-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-service-row small { display: block; margin-top: 3px; color: var(--muted); }
.cart-service-price { text-align: right; }
.cart-service-price strong { display: block; }
.cart-service-price button { padding: 2px 0; color: #b42318; background: none; border: 0; cursor: pointer; font-size: 12px; }
.cart-service-price form { margin: 2px 0 0; }
.empty-cart { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 9px; color: var(--brand); background: var(--brand-soft); border-radius: 50%; font-size: 23px; }
.empty-cart p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cart-total { display: flex; justify-content: space-between; gap: 15px; padding: 18px 0; font-size: 16px; }
.cart-total strong { font-size: 20px; }
.terms-check { display: flex; grid-template-columns: none; align-items: flex-start; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.terms-check input { width: 18px; min-height: 18px; margin: 1px 0 0; }
.terms-check a { color: var(--brand); text-decoration: underline; }
.cart-book-button { width: 100%; margin-top: 7px; }
.cart-book-button.is-disabled { color: #94a3a6; background: #e5e9ea; box-shadow: none; cursor: not-allowed; transform: none; }
.repair-trust-card { display: grid; grid-template-columns: repeat(2, 1fr); padding: 23px 12px; text-align: center; background: #dff5f2; border-radius: 15px; }
.repair-trust-card > div + div { border-left: 1px solid rgba(8,127,120,.18); }
.repair-trust-card strong { display: block; color: var(--brand); font-size: 29px; }
.repair-trust-card span { font-size: 12px; }
.repair-notice { margin-bottom: 15px; padding: 12px 16px; color: var(--brand-dark); background: #e5f8f4; border: 1px solid #b9e7df; border-radius: 11px; font-weight: 700; }
.repair-notice-error { color: #991b1b; background: #fff1f1; border-color: #fecaca; }

.auth-modal { width: min(580px, calc(100% - 28px)); padding: 28px; color: var(--ink); background: #fff; border: 0; border-radius: 18px; box-shadow: 0 28px 80px rgba(5,28,34,.32); }
.auth-modal::backdrop { background: rgba(9,31,37,.68); backdrop-filter: blur(3px); }
.auth-modal h2 { margin: 0; font-size: 27px; }
.auth-modal-copy { margin: 7px 0 19px; color: var(--muted); }
.auth-modal-close { position: absolute; top: 13px; right: 15px; width: 35px; height: 35px; color: var(--muted); background: #f0f4f4; border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; background: #edf3f2; border-radius: 11px; }
.auth-tabs button { min-height: 39px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; }
.auth-tabs button.is-active { color: var(--brand-dark); background: #fff; box-shadow: 0 2px 8px rgba(20,43,51,.08); }
.auth-modal-form { display: grid; gap: 13px; margin-top: 18px; }
.auth-modal-form[hidden] { display: none; }
.auth-modal-form .btn { width: 100%; margin-top: 3px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-errors { margin-top: 14px; padding: 10px 13px; color: #991b1b; background: #fff1f1; border-radius: 9px; font-size: 13px; }
.modal-errors p { margin: 3px 0; }

.account-page { padding: 32px 0 72px; background: #f3f7f7; }
.account-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-sidebar { position: sticky; top: 145px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 7px 24px rgba(20,43,51,.05); }
.account-profile-card { display: flex; gap: 12px; align-items: center; padding: 20px 17px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #0da49a, var(--brand-dark)); border-radius: 13px; font-weight: 900; }
.account-profile-card strong, .account-profile-card span { display: block; min-width: 0; }
.account-profile-card div { min-width: 0; }
.account-profile-card div > span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-nav { display: grid; gap: 3px; padding: 12px 9px; }
.account-nav a, .account-logout { min-height: 43px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 0 11px; color: #52666c; background: transparent; border: 0; border-radius: 9px; font-weight: 700; text-align: left; }
.account-nav a:hover, .account-nav a.is-active { color: var(--brand-dark); background: var(--brand-soft); }
.account-nav a > span, .account-logout > span { color: var(--brand); font-size: 19px; text-align: center; }
.account-nav b { min-width: 22px; padding: 2px 6px; color: var(--brand); background: #d9f3ef; border-radius: 99px; font-size: 10px; text-align: center; }
.account-sidebar form { padding: 0 9px 12px; }
.account-logout { width: 100%; cursor: pointer; color: #b42318; }
.account-logout > span { color: #b42318; }
.account-logout:hover { background: #fff1f1; }
.account-main { min-width: 0; display: grid; gap: 20px; }
.account-welcome { min-height: 152px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 27px 30px; color: #fff; background: linear-gradient(125deg, #075f5b, #09948a); border-radius: 18px; box-shadow: 0 16px 36px rgba(7,95,91,.18); }
.account-welcome .section-kicker { color: #aee9e3; }
.account-welcome h1 { margin: 0; font-size: clamp(27px, 3vw, 37px); letter-spacing: -.04em; }
.account-welcome p:not(.section-kicker) { max-width: 590px; margin: 7px 0 0; color: #d1eeeb; }
.account-welcome .btn { flex: 0 0 auto; color: var(--brand-dark); background: #fff; box-shadow: none; }
.account-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.account-stat-grid article { min-height: 103px; display: flex; gap: 13px; align-items: center; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 16px rgba(20,43,51,.04); }
.account-stat-icon { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; font-weight: 900; }
.stat-blue { color: #2563eb; background: #eaf1ff; }.stat-orange { color: #d97706; background: #fff4df; }.stat-green { color: #059669; background: #e8f8f1; }.stat-purple { color: #7c3aed; background: #f1ebff; }
.account-stat-grid strong { display: block; font-size: 22px; line-height: 1.15; }
.account-stat-grid p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.account-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 5px 18px rgba(20,43,51,.04); }
.account-panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 17px; }
.account-panel-head h2 { margin: 0; font-size: 21px; }
.account-panel-head > a { color: var(--brand); font-weight: 800; }
.account-panel-head > span { color: var(--muted); font-size: 13px; }
.current-repair-panel { padding: 25px; }
.current-repair-meta { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 16px; margin: 20px 0; padding: 17px; background: #f7fafa; border-radius: 12px; }
.current-repair-meta span, .account-order-row > span { min-width: 0; }
.current-repair-meta small, .account-order-row small { display: block; color: var(--muted); font-size: 11px; }
.current-repair-meta strong { display: block; overflow: hidden; margin-top: 3px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.repair-progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.repair-progress-label span { color: var(--brand); font-weight: 850; }
.repair-progress { height: 8px; overflow: hidden; background: #e5edee; border-radius: 99px; }
.repair-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #16b8aa); border-radius: inherit; }
.repair-progress-steps { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; color: #98a5a8; font-size: 10px; font-weight: 750; }
.repair-progress-steps .is-complete { color: var(--brand); }
.account-order-row { min-height: 82px; display: grid; grid-template-columns: 46px minmax(180px,1.3fr) minmax(125px,.8fr) minmax(90px,.65fr) auto 12px; gap: 13px; align-items: center; margin: 0 -6px; padding: 12px 7px; border-top: 1px solid var(--line); }
.account-order-row:hover { background: #f7fbfa; }
.account-device-icon { width: 40px; height: 48px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-size: 25px; }
.account-order-device strong, .account-order-device small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-order-device small { margin-top: 3px; }
.account-order-row > span:not(.account-device-icon):not(.status-pill) > strong { display: block; margin-top: 3px; font-size: 12px; }
.status-pill { padding: 5px 9px; color: #9a6700; background: #fff5d9; border-radius: 99px; font-size: 10px; font-weight: 850; text-align: center; white-space: nowrap; }
.status-completed, .status-delivered { color: #067647; background: #e9f8f0; }
.status-cancelled, .status-repair_failed { color: #b42318; background: #fff0ef; }
.status-repair_in_progress, .status-diagnosing, .status-quality_check { color: #175cd3; background: #edf4ff; }
.account-empty-state { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; }
.account-empty-state > span { width: 65px; height: 65px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 20px; font-size: 34px; }
.account-empty-state h3 { margin: 14px 0 4px; font-size: 21px; }
.account-empty-state p { max-width: 450px; margin: 0 0 18px; color: var(--muted); }
.account-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-notification { display: flex; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
.account-notification > span { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 9px; }
.account-notification strong, .account-notification small { display: block; }
.account-notification strong { font-size: 12px; }
.account-notification small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.account-muted-message { min-height: 85px; display: grid; place-items: center; margin: 0; color: var(--muted); text-align: center; }
.account-profile-list { margin: 0; }
.account-profile-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.account-profile-list dt { color: var(--muted); font-size: 12px; }
.account-profile-list dd { overflow: hidden; margin: 0; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }

.site-footer { padding: 55px 0 20px; color: #c8d8db; background: #102d35; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; }
.footer-logo { color: #fff; }
.footer-grid p { max-width: 370px; color: #a9c0c4; }
.footer-grid h3 { margin: 8px 0 16px; color: #fff; font-size: 15px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); font-size: 13px; }

@media (max-width: 980px) {
    .topbar { grid-template-columns: auto 1fr; gap: 16px; }
    .header-search { grid-row: 2; grid-column: 1 / -1; margin-bottom: 13px; }
    .header-actions { justify-self: end; }
    .nav-links { overflow-x: auto; gap: 27px; white-space: nowrap; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .phone-stage { min-height: 330px; }
    .phone { height: 315px; width: 170px; }
    .phone-halo { width: 290px; height: 290px; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .model-grid, .content-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }
    .repair-shop-layout { grid-template-columns: 1fr; }
    .repair-cart-column { position: static; grid-row: 1; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .account-profile-card { border-bottom: 0; }
    .account-nav { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
    .account-nav a { display: flex; justify-content: center; }
    .account-nav a > span, .account-nav b { display: none; }
    .account-sidebar form { display: none; }
    .account-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .container, .wrap { width: min(100% - 28px, 1180px); }
    .topbar { min-height: 62px; }
    .site-logo { font-size: 20px; }
    .logo-mark { width: 34px; height: 34px; }
    .header-actions > a:first-child { display: none; }
    .header-account { padding: 8px 13px; }
    .main-nav { display: none; }
    .header-search { display: none; }
    .repair-hero { padding: 40px 0 46px; }
    .hero-title { font-size: 43px; }
    .hero-copy { font-size: 16px; }
    .hero-actions .btn { width: 100%; }
    .phone-stage { min-height: 300px; transform: scale(.9); }
    .repair-badge { font-size: 13px; }
    .badge-one { left: -4px; }
    .badge-two { right: -4px; }
    .section { padding: 52px 0; }
    .section-head { display: block; }
    .section-head .text-link { display: inline-block; margin-top: 14px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
    .service-card { min-height: 138px; padding: 15px 8px; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .brand-card { min-height: 105px; font-size: 13px; }
    .steps-grid, .benefit-grid, .testimonial-grid, .model-grid, .content-grid { grid-template-columns: 1fr; }
    .choice-list { grid-template-columns: 1fr; }
    .repair-detail-card { grid-template-columns: 1fr; }
    .repair-price-box { min-width: 0; }
    .cta-content { display: block; }
    .cta-content .btn { margin-top: 20px; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .model-repair-page { padding-top: 18px; }
    .repair-services-panel { padding: 16px; }
    .repair-option-grid { grid-template-columns: 1fr; }
    .repair-option:nth-child(odd) { border-right: 0; }
    .repair-services-heading { align-items: start; flex-direction: column; gap: 5px; }
    .selected-device h1 { font-size: 23px; }
    .auth-modal { padding: 23px 18px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .account-page { padding-top: 16px; }
    .account-nav { grid-template-columns: repeat(2, 1fr); }
    .account-welcome { display: block; padding: 24px 20px; }
    .account-welcome .btn { width: 100%; margin-top: 19px; }
    .account-stat-grid { gap: 9px; }
    .account-stat-grid article { min-height: 90px; padding: 12px; }
    .account-stat-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .current-repair-meta { grid-template-columns: 1fr; }
    .repair-progress-steps span:nth-child(2), .repair-progress-steps span:nth-child(4) { display: none; }
    .account-order-row { grid-template-columns: 42px minmax(0,1fr) auto 10px; }
    .account-order-row > span:nth-child(3), .account-order-row > span:nth-child(4) { display: none; }
    .account-bottom-grid { grid-template-columns: 1fr; }
}
