:root {
    --ink: #171b20;
    --muted: #626b73;
    --line: #e1e5e8;
    --paper: #ffffff;
    --soft: #f6f7f8;
    --teal: #b5161d;
    --teal-dark: #8f1016;
    --amber: #d24a2f;
    --blue: #2f3945;
    --red: #b5161d;
    --red-dark: #8f1016;
    --danger: #b84444;
    --success: #277451;
    --shadow: 0 14px 34px rgba(16, 32, 34, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.topbar {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    padding: .45rem clamp(1rem, 4vw, 4rem);
    color: rgba(255, 255, 255, .82);
    background: #102022;
    font-size: .86rem;
    font-weight: 700;
}

.topbar a:hover {
    color: #fff;
}

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

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

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .85rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(223, 232, 231, .86);
    backdrop-filter: blur(16px);
}

.header-phone {
    display: inline-grid;
    gap: .05rem;
    flex: 0 0 auto;
    padding: .5rem .75rem;
    color: var(--teal-dark);
    background: #edf7f6;
    border: 1px solid rgba(181, 22, 29, .18);
    border-radius: 8px;
    line-height: 1.1;
}

.header-phone span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
}

.header-phone strong {
    font-size: .98rem;
    white-space: nowrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 44px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    border-radius: 8px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
}

.brand small {
    color: var(--muted);
    font-size: .78rem;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .95rem;
    font-weight: 650;
}

.site-nav a {
    padding: .65rem .85rem;
    border-radius: 8px;
    color: #304244;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--soft);
    color: var(--teal-dark);
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--teal);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
    color: #fff;
    background: var(--teal-dark);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4rem);
    overflow: hidden;
}

.hero-home {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 48%, rgba(243, 247, 246, .84) 100%),
        radial-gradient(circle at 82% 22%, rgba(217, 154, 40, .16), transparent 36%),
        var(--paper);
}

.page-hero {
    min-height: 620px;
    background: linear-gradient(135deg, #f8fbfb, #edf5f3);
    border-bottom: 1px solid var(--line);
}

.page-hero img,
.hero-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-copy,
.page-hero > div:first-child {
    max-width: 760px;
}

.eyebrow {
    margin-bottom: .8rem;
    color: var(--teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.lead {
    max-width: 720px;
    color: #405255;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .78rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(16, 32, 34, .08);
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 14px 28px rgba(181, 22, 29, .24);
}

.button.primary:hover {
    background: linear-gradient(135deg, var(--red-dark), #8f1016);
    box-shadow: 0 18px 34px rgba(181, 22, 29, .32);
}

.button.secondary {
    color: var(--teal-dark);
    background: #fff;
    border-color: var(--line);
}

.button.secondary:hover {
    border-color: rgba(181, 22, 29, .4);
}

.button.light {
    color: var(--red-dark);
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

.trust-band {
    display: grid;
    grid-template-columns: 1.05fr repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-band > div {
    padding: 1.35rem clamp(1rem, 3vw, 2rem);
    background: #fff;
}

.trust-band .trust-copy {
    background: var(--ink);
    color: #fff;
}

.trust-band p {
    margin: 0;
    color: var(--muted);
}

.trust-band .trust-copy p {
    color: rgba(255, 255, 255, .74);
}

.trust-band strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--red);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.support-slogan {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 6vw, 5.5rem);
    color: #fff;
    background: linear-gradient(135deg, #102022, #183436);
}

.support-slogan h2 {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 3rem);
}

.support-slogan p {
    max-width: 820px;
    color: rgba(255, 255, 255, .76);
}

.benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.benefit-item {
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.benefit-item strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--teal-dark);
}

.benefit-item p {
    margin: 0;
    color: var(--muted);
}

.metric-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
}

.metric-band div {
    padding: 1.25rem clamp(1rem, 3vw, 3rem);
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.metric-band strong,
.metric-band span {
    display: block;
}

.metric-band strong {
    font-size: 1.8rem;
}

.metric-band span {
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
}

.section {
    padding: clamp(3.25rem, 7vw, 6rem) clamp(1rem, 6vw, 5.5rem);
}

.muted {
    background: var(--soft);
}

.intro-grid,
.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.service-list {
    display: grid;
    gap: .8rem;
}

.service-row {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-row:hover {
    border-color: rgba(181, 22, 29, .38);
    box-shadow: 0 12px 28px rgba(16, 32, 34, .08);
}

.service-row span {
    color: var(--teal);
    font-weight: 850;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading h2,
.section-heading h1 {
    max-width: 900px;
    margin-bottom: 0;
}

.rich-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.rich-item {
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.rich-item span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: .8rem;
    color: #fff;
    background: var(--teal);
    border-radius: 8px;
    font-weight: 900;
}

.rich-item p,
.feature-table p,
.faq-item p,
.timeline p {
    color: var(--muted);
}

.feature-table {
    display: grid;
    gap: .75rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-row strong {
    color: var(--teal-dark);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.pill-list span {
    padding: .45rem .75rem;
    color: #264143;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 750;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.timeline div {
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.timeline span {
    color: var(--amber);
    font-weight: 900;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cards {
    display: grid;
    gap: 1rem;
}

.cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card img {
    aspect-ratio: 16 / 9;
}

.card,
.price-card,
.contact-card,
.contact-aside,
.admin-plan,
.admin-login {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.card {
    padding: 1.15rem;
}

.card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: var(--soft);
}

.card p,
.price-card p,
.contact-aside p {
    color: var(--muted);
}

.card a {
    color: var(--teal-dark);
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: .9rem 1rem .9rem 2.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.check-list li::before {
    position: absolute;
    left: 1rem;
    top: .95rem;
    width: 1rem;
    height: 1rem;
    content: "";
    background: var(--teal);
    border-radius: 999px;
    box-shadow: inset 0 0 0 4px #d7eeeb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1.25rem;
}

.price-card.featured {
    border-color: rgba(181, 22, 29, .5);
    box-shadow: var(--shadow);
}

.badge {
    align-self: start;
    padding: .25rem .55rem;
    color: #fff;
    background: var(--amber);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.audience {
    min-height: 3rem;
    font-weight: 750;
}

.price {
    display: flex;
    align-items: baseline;
    gap: .45rem;
}

.price strong {
    font-size: 2rem;
}

.price span {
    color: var(--muted);
}

.annual-price {
    margin: -.25rem 0 .15rem;
    padding: .55rem .7rem;
    color: #264143;
    background: #eef6f5;
    border: 1px solid #d7eeeb;
    border-radius: 6px;
    font-weight: 750;
}

.annual-price strong {
    color: var(--teal-dark);
}

.price-card ul {
    display: grid;
    gap: .5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.price-card li {
    padding-left: 1.35rem;
    position: relative;
}

.price-card li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: var(--teal);
    font-weight: 900;
}

.price-card .button {
    margin-top: auto;
}

.process {
    background: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.steps div {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.steps span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--amber);
    font-weight: 900;
}

.steps strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 1.1rem;
}

.steps p {
    color: var(--muted);
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 6vw, 5.5rem);
    color: #fff;
    background: linear-gradient(135deg, var(--teal-dark), #16383d);
}

.cta-strip h2 {
    margin-bottom: 0;
}

.contact-hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: 520px;
}

.contact-card {
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.contact-card strong,
.contact-card a {
    display: block;
    margin-bottom: .75rem;
}

.contact-card small {
    display: block;
    margin-bottom: .75rem;
    color: var(--muted);
    font-weight: 750;
}

.seo-summary {
    padding: 1.25rem clamp(1rem, 6vw, 5.5rem);
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.seo-summary p {
    max-width: 980px;
    margin: 0;
    color: #405255;
    font-weight: 650;
}

.error-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: 62vh;
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 5.5rem);
    background:
        linear-gradient(135deg, rgba(181, 22, 29, .08), transparent 42%),
        #fff;
}

.error-code {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: rgba(181, 22, 29, .09);
    border: 2px solid rgba(181, 22, 29, .16);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 900;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 84% 100%, 0 100%);
}

.contact-card a {
    color: var(--teal-dark);
    font-weight: 850;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form.compact {
    display: grid;
    grid-template-columns: 1fr;
}

label {
    display: grid;
    gap: .35rem;
    color: #24383a;
    font-weight: 750;
}

.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: .75rem .85rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cad8d6;
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(181, 22, 29, .18);
    border-color: var(--teal);
}

.website-field {
    position: absolute;
    left: -9999px;
}

.notice {
    grid-column: 1 / -1;
    padding: .85rem 1rem;
    border-radius: 8px;
    font-weight: 750;
}

.notice.success {
    color: var(--success);
    background: #e6f6ee;
}

.notice.error {
    color: var(--danger);
    background: #faeaea;
}

.notice.note {
    color: #6f4b08;
    background: #fff6df;
}

.legal-content {
    max-width: 980px;
}

.legal-content h2 {
    margin-top: 2rem;
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.legal-content p {
    color: #405255;
}

.contact-aside {
    padding: 1.25rem;
}

.contact-aside h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.contact-aside .button {
    width: 100%;
    margin-top: .75rem;
}

.site-footer {
    padding: 3rem clamp(1rem, 6vw, 5.5rem) 1.5rem;
    color: rgba(255, 255, 255, .82);
    background: #102022;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand small {
    color: rgba(255, 255, 255, .68);
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-bottom: .55rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1rem;
}

.social-links a {
    margin: 0;
    padding: .35rem .55rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 3px;
}

.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(181, 22, 29, .22);
    border-radius: 3px;
    box-shadow: 0 18px 44px rgba(23, 27, 32, .18);
}

.cookie-consent[hidden],
.cookie-modal[hidden] {
    display: none;
}

.cookie-copy strong {
    display: block;
    margin-bottom: .25rem;
}

.cookie-copy p {
    margin: 0;
    color: var(--muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: flex-end;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(23, 27, 32, .54);
}

.cookie-panel {
    width: min(560px, 100%);
    padding: 1.25rem;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 20px 55px rgba(23, 27, 32, .22);
}

.cookie-panel label {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: .55rem;
    margin: .8rem 0;
}

.cookie-panel input {
    width: auto;
    min-height: auto;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

.admin-body {
    background: var(--soft);
}

.admin-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-login,
.admin-panel {
    padding: 1.5rem;
}

.pricing-admin-form {
    display: grid;
    gap: 1rem;
}

.admin-plan {
    padding: 1rem;
}

.admin-plan legend {
    padding: 0 .4rem;
    color: var(--teal-dark);
    font-weight: 900;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.admin-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: .85rem;
}

.admin-options label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
}

.admin-options input {
    width: auto;
    min-height: auto;
}

@media (max-width: 1440px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: .8rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .header-phone {
        margin-left: auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .cards.four,
    .pricing-grid,
    .trust-band,
    .benefit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .rich-grid,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .topbar {
        justify-content: center;
        flex-wrap: wrap;
        gap: .4rem 1rem;
        text-align: center;
    }

    .hero,
    .page-hero,
    .error-page,
    .intro-grid,
    .split,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero {
        min-height: auto;
    }

    .hero-visual {
        order: -1;
    }

    .metric-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards.three,
    .cards.two,
    .cards.four,
    .pricing-grid,
    .trust-band,
    .benefit-strip,
    .steps {
        grid-template-columns: 1fr;
    }

    .rich-grid,
    .timeline,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .cta-strip,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-consent {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-actions,
    .cookie-actions .button {
        width: 100%;
    }

    .contact-form,
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .brand small {
        white-space: normal;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .site-header {
        gap: .6rem;
        padding-inline: .8rem;
        flex-wrap: wrap;
    }

    .header-phone {
        order: 3;
        width: 100%;
        flex: 1 0 100%;
        margin-left: 0;
        text-align: center;
    }

    .site-nav {
        top: 128px;
    }

    .service-row {
        grid-template-columns: 1fr;
    }

    .metric-band {
        grid-template-columns: 1fr;
    }
}

/* EDA visual identity and motion refinements */
h1 {
    font-size: clamp(1.85rem, 3.4vw, 3.65rem);
}

h2 {
    font-size: clamp(1.42rem, 2.2vw, 2.22rem);
}

h3 {
    font-size: 1.08rem;
}

p,
li,
.site-nav,
input,
select,
textarea {
    font-size: .96rem;
}

.lead {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.eyebrow,
.header-phone span {
    letter-spacing: 0;
    text-transform: none;
}

.brand-mark {
    width: 48px;
    height: 42px;
    flex-basis: 48px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 2px;
    font-size: .82rem;
    letter-spacing: 0;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 82% 100%, 0 100%);
}

.brand strong {
    font-size: .94rem;
}

.brand small,
.topbar,
.metric-band span,
.site-footer,
.footer-bottom {
    font-size: .84rem;
}

.site-header {
    border-bottom: 2px solid rgba(181, 22, 29, .12);
}

.header-phone {
    color: var(--red-dark);
    background: #fff2f2;
    border-color: rgba(181, 22, 29, .22);
    border-radius: 3px;
}

.hero,
.page-hero {
    min-height: calc(100vh - 104px);
    padding-top: clamp(2.35rem, 5vw, 5.25rem);
}

.hero-home {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 48%, rgba(246, 247, 248, .88) 100%),
        linear-gradient(135deg, rgba(181, 22, 29, .12), transparent 46%),
        var(--paper);
}

.page-hero {
    background: linear-gradient(135deg, #fff, #f6f7f8);
}

.section {
    padding-top: clamp(2.6rem, 5vw, 4.6rem);
    padding-bottom: clamp(2.6rem, 5vw, 4.6rem);
}

.metric-band strong {
    font-size: 1.42rem;
}

.button,
.site-nav a,
.nav-toggle,
.header-phone,
.service-row,
.rich-item,
.feature-row,
.faq-item,
.card,
.price-card,
.contact-card,
.contact-aside,
.admin-plan,
.admin-login,
input,
select,
textarea,
.notice,
.steps div,
.timeline div,
.page-hero img,
.hero-visual img,
.card img {
    border-radius: 3px;
}

.button,
.site-nav a,
.service-row,
.rich-item,
.feature-row,
.faq-item,
.card,
.price-card,
.timeline div,
.steps div {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.site-nav a:hover,
.service-row:hover,
.rich-item:hover,
.feature-row:hover,
.faq-item:hover,
.card:hover,
.price-card:hover,
.timeline div:hover,
.steps div:hover {
    transform: translateY(-2px);
}

.rich-item:hover,
.feature-row:hover,
.faq-item:hover,
.card:hover,
.price-card:hover,
.timeline div:hover,
.steps div:hover {
    border-color: rgba(181, 22, 29, .24);
    box-shadow: 0 12px 26px rgba(23, 27, 32, .08);
}

.hero-visual img {
    animation: floatSoft 7s ease-in-out infinite;
}

.brand-mark {
    animation: logoEdge 5s ease-in-out infinite;
}

.animate-in {
    opacity: 0;
    transform: translateY(18px);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoEdge {
    0%, 100% {
        filter: saturate(1);
    }
    50% {
        filter: saturate(1.25) drop-shadow(0 6px 12px rgba(181, 22, 29, .2));
    }
}

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

    .animate-in {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 860px) {
    h1 {
        font-size: clamp(1.72rem, 8vw, 2.35rem);
    }

    h2 {
        font-size: clamp(1.32rem, 6vw, 1.85rem);
    }

    .hero,
    .page-hero {
        padding-top: 2rem;
    }
}
