:root {
    --red: #d90000;
    --red-deep: #9f0000;
    --black: #101010;
    --white: #ffffff;
    --gray: #5f6167;
    --line: #dedede;
    --surface: #f4f4f4;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--black);
    background:
        radial-gradient(circle at 88% 5%, rgba(217, 0, 0, 0.12) 0, rgba(217, 0, 0, 0) 30%),
        radial-gradient(circle at 8% 45%, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 35%),
        var(--white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: var(--black);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 999;
}

.skip-link:focus {
    top: 10px;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.brand {
    flex-shrink: 0;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #3a3a3a;
    font-weight: 700;
    font-size: 0.95rem;
}

.top-nav a:hover {
    color: var(--red);
}

.top-nav a.is-active {
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--black);
}

.btn-primary {
    background: linear-gradient(130deg, var(--red) 0, var(--red-deep) 100%);
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.hero {
    position: relative;
    padding: 54px 0 44px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(217, 0, 0, 0.13) 0, rgba(217, 0, 0, 0) 55%),
        linear-gradient(325deg, rgba(16, 16, 16, 0.06) 0, rgba(16, 16, 16, 0) 50%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(217, 0, 0, 0.35);
    border-radius: 999px;
    color: var(--red);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
}

.hero-copy h1 {
    font-family: 'Changa', sans-serif;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.13;
    margin: 12px 0;
}

.lead {
    color: var(--gray);
    max-width: 60ch;
}

.hero-points {
    padding-left: 18px;
    margin: 18px 0 0;
}

.hero-points li {
    margin-bottom: 7px;
}

.hero-image-box {
    margin: 18px 0 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.hero-image-box img {
    display: block;
    width: 100%;
    height: auto;
}

.search-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.search-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.search-form {
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

input,
select {
    width: 100%;
    border: 1px solid #cbcbcb;
    border-radius: 10px;
    padding: 10px 11px;
    font: inherit;
}

input:focus,
select:focus {
    border-color: var(--red);
    outline: 2px solid rgba(217, 0, 0, 0.2);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.trust-strip {
    padding: 16px 0 34px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.trust-grid article {
    background: var(--black);
    color: var(--white);
    border-radius: 14px;
    padding: 16px;
}

.trust-grid h3 {
    margin: 0;
    color: #ff6464;
    font-size: 1.45rem;
}

.trust-grid p {
    margin: 6px 0 0;
    font-size: 0.95rem;
}

.popular,
.seo-copy,
.seo-article,
.faq {
    padding: 34px 0;
}

.popular h2,
.seo-copy h2,
.seo-article h2,
.faq h2 {
    margin-top: 0;
    font-family: 'Changa', sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.city-grid article {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: var(--white);
}

.city-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 10px;
    border: 1px solid #ececec;
    background: #f8f8f8;
}

.city-grid h3 {
    margin: 0 0 4px;
}

.city-grid p {
    margin: 0;
    color: var(--gray);
}

.prose {
    border-left: 5px solid var(--red);
    padding-left: 15px;
}

.prose p {
    color: #333;
    max-width: 80ch;
}

.article-wrap {
    background: linear-gradient(180deg, #ffffff 0, #fbfbfb 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(18px, 2.2vw, 28px);
}

.article-wrap h3 {
    margin-bottom: 8px;
    margin-top: 18px;
    font-size: 1.15rem;
}

.article-wrap p {
    max-width: 86ch;
    color: #2f2f2f;
    margin-top: 0;
}

.article-wrap a {
    color: var(--red-deep);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.article-list {
    margin: 0;
    padding-left: 18px;
}

.article-list li {
    margin-bottom: 7px;
}

.backlink-box {
    margin-top: 16px;
    margin-bottom: 18px;
    border: 1px solid #f0b7b7;
    background: linear-gradient(150deg, #fff 0, #fff3f3 90%);
    border-radius: 12px;
    padding: 14px;
}

.backlink-box h3 {
    margin-top: 0;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fafafa;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 18px 0 24px;
    background: #f7f7f7;
}

.page-hero {
    padding: 46px 0 16px;
}

.page-hero h1 {
    font-family: 'Changa', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.page-section {
    padding: 18px 0 40px;
}

.city-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.city-price {
    font-weight: 800;
    color: var(--red-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.contact-card-image {
    padding: 0;
    overflow: hidden;
}

.contact-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.page-visual {
    margin: 0 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.page-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.contact-card h2 {
    margin-top: 0;
}

.contact-card a {
    color: var(--red-deep);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    color: #4a4a4a;
}

.reveal-up {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal-up 600ms ease forwards;
}

.reveal-up:nth-child(2) {
    animation-delay: 150ms;
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-grid-large,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .field-row,
    .trust-grid,
    .footer-wrap {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }

    .city-grid-large,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
