:root {
    --red: #d71920;
    --deep-red: #8f0f17;
    --black: #06070a;
    --ink: #11141b;
    --charcoal: #171a22;
    --graphite: #242936;
    --white: #ffffff;
    --soft: #f7f3ec;
    --cream: #fff8e8;
    --gold: #f4b400;
    --gold-2: #ffcf4d;
    --text: #171a21;
    --muted: #646b76;
    --border: rgba(12, 14, 18, 0.12);
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 70px rgba(6, 7, 10, 0.18);
    --shadow-soft: 0 16px 42px rgba(6, 7, 10, 0.1);
    --radius: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--soft);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(215, 25, 32, .12), transparent 28%),
        radial-gradient(circle at 90% 4%, rgba(244, 180, 0, .12), transparent 26%),
        var(--soft);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 660px;
    color: var(--white);
    font-size: clamp(2.45rem, 4.9vw, 4.9rem);
    line-height: 1;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.12rem, 1.55vw, 1.38rem);
    line-height: 1.18;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.section {
    padding: clamp(70px, 8vw, 110px) 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 999;
    color: var(--black);
    background: var(--gold);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 950;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    background: rgba(6, 7, 10, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.site-header.is-scrolled {
    background: rgba(6, 7, 10, .92);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.brand {
    position: relative;
    z-index: 90;
}

.brand img {
    width: clamp(210px, 20vw, 270px);
    height: auto;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .32));
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
}

.header-nav a {
    position: relative;
    color: rgba(255, 255, 255, .86);
    font-weight: 900;
    font-size: .92rem;
    padding: 10px 15px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--white);
    background: rgba(215, 25, 32, .85);
    transform: translateY(-1px);
}

.header-call {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--deep-red));
    padding: 13px 17px;
    border-radius: 999px;
    font-weight: 950;
    box-shadow: 0 18px 38px rgba(215, 25, 32, .28);
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 90;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
    border-radius: 999px;
    transition: transform .24s ease, opacity .24s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 86px;
    background:
        linear-gradient(90deg, rgba(6, 7, 10, .9) 0%, rgba(6, 7, 10, .74) 43%, rgba(6, 7, 10, .46) 74%, rgba(6, 7, 10, .64) 100%),
        linear-gradient(180deg, rgba(6, 7, 10, .12), rgba(6, 7, 10, .82)),
        url("img/hero-driveway-cleaning.webp") center / cover no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: .28;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.hero::before {
    inset: 0;
    background: linear-gradient(90deg, rgba(143, 15, 23, .32), transparent 48%);
}

.hero::after {
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--soft));
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) rotate(-9deg); }
    to { transform: translate3d(-18px, 26px, 0) rotate(3deg); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(370px, .86fr);
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--red);
    font-size: .81rem;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 16%, transparent);
}

.hero .eyebrow,
.local-card .eyebrow {
    color: var(--gold-2);
}

.hero-text {
    max-width: 610px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    margin-top: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 23px;
    border: 0;
    border-radius: 999px;
    font-weight: 950;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: -120% auto auto -40%;
    width: 80px;
    height: 260%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transform: rotate(25deg);
    transition: left .55s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 120%;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--deep-red));
    box-shadow: 0 18px 42px rgba(215, 25, 32, .30);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .17);
    backdrop-filter: blur(12px);
}

.btn-light {
    color: var(--black);
    background: var(--white);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 26px;
}

.trust-strip span {
    position: relative;
    color: rgba(255, 255, 255, .86);
    font-weight: 850;
    font-size: .9rem;
    padding-left: 18px;
}

.trust-strip span::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(244, 180, 0, .14);
}

.hero-showcase {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 16, 20, .78), rgba(13, 16, 20, .54));
    box-shadow: 0 35px 85px rgba(0, 0, 0, .36);
    backdrop-filter: blur(18px);
    transform-style: preserve-3d;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(244, 180, 0, .7), transparent 30%, rgba(215, 25, 32, .7));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
}

.showcase-metrics div {
    padding: 13px;
    border-radius: 18px;
    color: var(--white);
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .11);
}

.showcase-metrics strong {
    display: block;
    font-size: 1.32rem;
    line-height: 1;
}

.showcase-metrics span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .68);
    font-size: .82rem;
    font-weight: 750;
}

.two-col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(34px, 6vw, 72px);
    align-items: start;
}

.intro-copy p,
.section-heading p:last-child,
.step-card p,
.comparison-content p,
.contact-copy p,
.surface-panel p,
.service-detail p,
.service-card p,
.service-card li {
    color: var(--muted);
}

.intro-copy p {
    font-size: 1.1rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading p:last-child {
    margin-top: 16px;
    font-size: 1.08rem;
}

.services-section,
.process-section,
.contact-section {
    background: var(--white);
}

.service-detail-section {
    background: var(--white);
    padding-top: 0;
}

.service-grid,
.service-detail-grid,
.steps-grid,
.comparison-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

.service-grid,
.service-detail-grid,
.comparison-grid,
.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.service-detail,
.step-card,
.local-card,
.comparison-card,
details,
.contact-form,
.admin-card,
.admin-panel,
.surface-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.service-detail {
    padding: 30px;
    background: #fbfaf7;
}

.service-detail h2 {
    font-size: clamp(1.38rem, 2vw, 2rem);
    line-height: 1.12;
}

.service-detail p {
    margin-top: 14px;
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--red);
    font-weight: 950;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--deep-red);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    padding: 34px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 7, 10, .88), rgba(6, 7, 10, .72) 58%, rgba(6, 7, 10, .52)),
        linear-gradient(180deg, rgba(6, 7, 10, .18), rgba(6, 7, 10, .76)),
        var(--service-image) center / cover no-repeat,
        linear-gradient(145deg, #11141b, #252b38);
    isolation: isolate;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 180, 0, .28), transparent 24%, rgba(215, 25, 32, .22));
    pointer-events: none;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: auto -80px -100px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(215, 25, 32, .32);
    z-index: -1;
}

.service-driveway {
    --service-image: url("img/block-paving-after.webp");
}

.service-patio {
    --service-image: url("img/indian-stone-after.webp");
}

.service-icon,
.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.service-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 42px;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold), #ffd86b);
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(244, 180, 0, .2);
}

.service-card h3,
.local-card h2 {
    color: var(--white);
}

.service-card p {
    margin-top: 15px;
    color: rgba(255, 255, 255, .78);
}

.service-card ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    color: rgba(255, 255, 255, .8);
    padding-left: 25px;
    font-weight: 780;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

.results-section {
    position: relative;
    background:
        radial-gradient(circle at 0 8%, rgba(215, 25, 32, .1), transparent 34%),
        linear-gradient(180deg, var(--soft), #fffaf0);
}

.comparison-card {
    overflow: hidden;
    background: rgba(255, 255, 255, .88);
    transform: translateZ(0);
    transition: transform .22s ease, box-shadow .22s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 68px rgba(6, 7, 10, .17);
}

.comparison {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #ddd;
    user-select: none;
}

.hero-comparison {
    border-radius: 16px;
    aspect-ratio: 16 / 11.5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.comparison-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-img.reveal {
    clip-path: inset(0 0 0 var(--split, 50%));
}

.comparison::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split, 50%);
    width: 3px;
    background: var(--white);
    box-shadow: 0 0 26px rgba(0, 0, 0, .44);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
}

.comparison-handle {
    position: absolute;
    left: var(--split, 50%);
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--deep-red));
    box-shadow: 0 16px 36px rgba(0, 0, 0, .38);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.comparison-handle::before,
.comparison-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 3px solid var(--white);
    border-left: 3px solid var(--white);
}

.comparison-handle::before {
    left: 13px;
    transform: translateY(-50%) rotate(-45deg);
}

.comparison-handle::after {
    right: 13px;
    transform: translateY(-50%) rotate(135deg);
}

.comparison-range {
    position: absolute;
    inset: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.comparison-label {
    position: absolute;
    top: 15px;
    z-index: 6;
    color: var(--white);
    background: rgba(6, 7, 10, .75);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.label-before { left: 15px; }
.label-after {
    right: 15px;
    background: rgba(215, 25, 32, .9);
}

.comparison-content {
    padding: 24px;
}

.comparison-content span {
    display: inline-block;
    margin-top: 9px;
    color: var(--red);
    font-size: .82rem;
    font-weight: 950;
}

.comparison-content p {
    margin-top: 10px;
}

.surface-section {
    padding-top: 0;
    background: #fffaf0;
}

.surface-panel {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    padding: clamp(28px, 5vw, 48px);
    background:
        radial-gradient(circle at 100% 0, rgba(244, 180, 0, .18), transparent 28%),
        var(--white);
}

.surface-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.surface-list span {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--white);
    background: linear-gradient(145deg, var(--charcoal), var(--graphite));
    border-radius: 14px;
    font-weight: 950;
    text-align: center;
    box-shadow: 0 16px 34px rgba(6, 7, 10, .12);
}

.step-card {
    position: relative;
    padding: 28px;
    background: #fbfaf7;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    right: -36px;
    top: -52px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(215, 25, 32, .09);
}

.step-card span {
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    color: var(--white);
    background: linear-gradient(135deg, var(--black), var(--graphite));
    border-radius: 17px;
}

.step-card p {
    margin-top: 12px;
}

.local-section {
    padding: 58px 0;
    background: var(--black);
}

.local-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 5vw, 46px);
    color: var(--white);
    background:
        radial-gradient(circle at 88% 24%, rgba(244, 180, 0, .24), transparent 24%),
        radial-gradient(circle at 10% 80%, rgba(215, 25, 32, .22), transparent 28%),
        linear-gradient(135deg, #151922, #8f0f17);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
}

.local-card p {
    max-width: 790px;
    color: rgba(255, 255, 255, .8);
}

.local-card .local-cta-copy {
    color: var(--white);
    font-weight: 850;
}

.faq-section {
    background: var(--soft);
}

details {
    position: relative;
    background: rgba(255, 255, 255, .86);
    padding: 23px;
    transition: transform .2s ease, box-shadow .2s ease;
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(6, 7, 10, .12);
}

summary {
    cursor: pointer;
    font-weight: 950;
    color: var(--black);
    list-style: none;
    padding-right: 34px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 23px;
    top: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-weight: 950;
}

details[open] summary::after {
    content: '-';
}

details p {
    color: var(--muted);
    margin: 13px 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: clamp(34px, 6vw, 62px);
    align-items: start;
}

.contact-details {
    margin-top: 26px;
    padding: 24px;
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0, rgba(244, 180, 0, .18), transparent 30%),
        var(--charcoal);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.contact-details p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 9px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--gold-2);
    font-weight: 950;
}

.contact-form {
    position: relative;
    padding: clamp(22px, 4vw, 34px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 248, 232, .88));
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

.field-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 900;
    color: var(--black);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 15px 16px;
    font: inherit;
    color: var(--black);
    background: var(--white);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(215, 25, 32, .12);
}

textarea {
    resize: vertical;
}

.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.btn-submit {
    width: 100%;
    margin-top: 4px;
}

.form-note {
    color: var(--muted);
    text-align: center;
    font-size: .9rem;
    margin: 13px 0 0;
}

.form-alert {
    padding: 13px 15px;
    margin-bottom: 18px;
    border-radius: 17px;
    font-weight: 900;
}

.form-alert.success {
    color: #0d5f31;
    background: #e6f7ee;
}

.form-alert.error {
    color: #8f0f17;
    background: #ffe7e8;
}

.site-footer {
    color: rgba(255, 255, 255, .72);
    background: var(--black);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--gold-2);
    font-weight: 900;
}

.reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .reveal-up {
        opacity: 1;
        transform: none;
    }
}

/* Admin */
.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(215, 25, 32, .18), transparent 32%),
        var(--soft);
}

.admin-shell {
    width: min(1020px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.admin-card,
.admin-panel {
    background: var(--white);
    padding: 28px;
}

.admin-card {
    max-width: 540px;
    margin: 58px auto;
}

.admin-logo {
    width: 300px;
    max-width: 100%;
    margin-bottom: 20px;
}

.admin-form {
    margin-top: 22px;
}

.admin-topbar,
.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-topbar {
    margin-bottom: 18px;
}

.admin-topbar a,
.admin-topbar button {
    border: 0;
    color: var(--black);
    background: var(--white);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 950;
    cursor: pointer;
}

.admin-panel-header {
    justify-content: flex-start;
    margin-bottom: 26px;
}

.settings-section {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 24px;
}

.settings-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.hint {
    color: var(--muted);
    font-size: .95rem;
}

code {
    padding: 2px 5px;
    border-radius: 7px;
    background: #f0ece4;
}

@media (max-width: 980px) {
    .hero-grid,
    .two-col,
    .contact-grid,
    .surface-panel {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .service-detail-grid,
    .comparison-grid,
    .faq-grid,
    .steps-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .header-call {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: 84px;
        left: 18px;
        right: 18px;
        display: grid;
        gap: 8px;
        padding: 12px;
        border-radius: 24px;
        background: rgba(6, 7, 10, .96);
        box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .header-nav a {
        display: block;
        padding: 14px 16px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: 136px;
    }

    .hero-grid {
        gap: 46px;
    }

    .local-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 210px;
    }

    .header-nav {
        top: 76px;
    }

    .hero {
        padding: 120px 0 58px;
    }

    .hero-actions,
    .trust-strip {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-showcase {
        padding: 10px;
        border-radius: 26px;
    }

    .hero-comparison {
        border-radius: 20px;
    }

    .showcase-metrics,
    .surface-list {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-detail,
    .step-card,
    .local-card,
    .contact-form,
    .admin-card,
    .admin-panel,
    .surface-panel {
        border-radius: 22px;
        padding: 22px;
    }

    .comparison-card,
    details {
        border-radius: 22px;
    }

    .comparison {
        aspect-ratio: 4 / 3;
    }

    .comparison-handle {
        width: 48px;
        height: 48px;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-inner,
    .admin-panel-header,
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}
