:root {
    --bg: #fbf3f3;
    --bg-alt: #f7eaea;
    --surface: #ffffff;
    --surface-strong: #fff8f8;
    --card: #ffffff;
    --card-border: #efd5d5;
    --text: #221719;
    --muted: #6c5457;
    --accent: #b5122b;
    --accent-strong: #8f0f21;
    --accent-soft: rgba(181, 18, 43, 0.12);
    --shadow: 0 18px 40px rgba(20, 41, 58, 0.08);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Manrope",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        radial-gradient(
            circle at top right,
            rgba(181, 18, 43, 0.07),
            transparent 26%
        ),
        linear-gradient(180deg, #ffffff 0%, #fbf5f5 100%);
    color: var(--text);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

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

a:hover {
    color: var(--accent);
}

button,
a {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        opacity 180ms ease;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);
}

.section-label,
.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -0.04em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    max-width: 12ch;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #051015;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(18, 33, 48, 0.08);
}

.header-inner {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.brand-mark {
    width: auto;
    height: 76px;
    max-width: 180px;
    object-fit: contain;
    aspect-ratio: auto;
    flex-shrink: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 0.95rem;
}

.brand-text span {
    color: var(--muted);
    font-size: 0.88rem;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(181, 18, 43, 0.18);
    background: rgba(181, 18, 43, 0.06);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font: inherit;
}

.menu-toggle-lines {
    width: 1rem;
    height: 0.7rem;
    position: relative;
    display: inline-block;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-toggle-lines::before {
    top: 0;
    box-shadow: 0 0.35rem 0 0 currentColor;
}

.menu-toggle-lines::after {
    bottom: 0;
}

.site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(181, 18, 43, 0.12);
    box-shadow: var(--shadow);
}

.site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(181, 18, 43, 0.04);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent);
    background: rgba(181, 18, 43, 0.1);
}

.site-nav a.is-active {
    color: var(--accent);
    background: rgba(181, 18, 43, 0.12);
}

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

.hero {
    padding-top: 4.5rem;
}

.hero-grid {
    display: grid;
    gap: 1.25rem;
}

.hero-copy,
.hero-panel,
.content-card,
.contact-card,
.service-card,
.feature-card,
.hero-media,
.content-image,
.services-image {
    border: 1px solid var(--card-border);
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: 1.5rem;
}

.hero-text {
    font-size: 1.02rem;
    max-width: 62ch;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d54a5a);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    border-color: rgba(181, 18, 43, 0.2);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(181, 18, 43, 0.06);
    color: var(--accent);
}

.btn-block {
    width: 100%;
}

.hero-points {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.hero-points li {
    padding-left: 1.4rem;
    position: relative;
    color: var(--text);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-panel {
    padding: 1rem;
}

.hero-media,
.content-image,
.services-image {
    overflow: hidden;
}

.hero-media img,
.content-image img,
.services-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.content-image img {
    object-fit: contain;
    background: linear-gradient(180deg, #ffffff, #fff7f7);
}

.hero-card-highlight {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(
        135deg,
        rgba(181, 18, 43, 0.1),
        rgba(255, 255, 255, 0.96)
    );
    border: 1px solid rgba(181, 18, 43, 0.12);
}

.hero-card-highlight p {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 700;
}

.hero-card-highlight h2 {
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    max-width: 14ch;
    margin-bottom: 0;
}

.hero-card-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.mini-card {
    padding: 1.05rem;
    border-radius: var(--radius-lg);
    background: #f7fafc;
    border: 1px solid rgba(0, 113, 168, 0.08);
}

.mini-card-icon {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: rgba(0, 113, 168, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.mini-card p,
.service-card p,
.feature-card p,
.content-card p,
.contact-card p {
    margin-bottom: 0;
}

.split-layout,
.contact-grid {
    display: grid;
    gap: 1.2rem;
}

.content-card,
.contact-card {
    padding: 1.4rem;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 1.4rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.service-card,
.feature-card {
    padding: 1.25rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -1.5rem -1.5rem auto;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(181, 18, 43, 0.16),
        transparent 70%
    );
}

.contact-grid {
    align-items: start;
}

.contact-card {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.2rem;
}

.contact-list div {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(22, 34, 43, 0.08);
}

.contact-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-list dt {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.contact-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.site-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(22, 34, 43, 0.08);
    background: #fff;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-inner p {
    margin: 0;
}

.reveal {
    animation: fadeUp 700ms ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 720px) {
    .section {
        padding: 5.75rem 0;
    }

    .hero {
        padding-top: 4.75rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
        align-items: center;
        gap: 1.5rem;
    }

    .hero-copy {
        padding: 2rem;
    }

    .hero-panel {
        padding: 1.15rem;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .split-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 1.5rem;
    }

    .services-image {
        min-height: 260px;
        margin-bottom: 1rem;
    }

    .content-image {
        margin-bottom: 1rem;
        min-height: 220px;
    }

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

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

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-nav a {
        padding: 0.7rem 1rem;
        background: transparent;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: rgba(0, 113, 168, 0.08);
    }

    .hero-copy {
        padding: 2.4rem;
    }

    .hero-panel {
        padding: 1.4rem;
    }

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

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