:root {
    color-scheme: light;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bg: #eef3f7;
    --surface: #ffffff;
    --surface-soft: #f7fafc;
    --text: #132238;
    --muted: #5d6b7a;
    --primary: #0f68b1;
    --primary-dark: #0a4f87;
    --accent: #2aa36b;
    --warning: #d82f2f;
    --border: #d8e2ea;
    --shadow: 0 16px 42px rgba(19, 34, 56, 0.1);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 230px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

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

.narrow-section {
    max-width: 760px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 22px rgba(19, 34, 56, 0.06);
}

.header-art {
    display: flex;
    justify-content: center;
    padding: 10px 18px 6px;
    background: #ffffff;
}

.header-art img {
    width: min(100%, 1160px);
    height: auto;
}

.nav-shell {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
}

.brand {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text);
    border-radius: var(--radius);
    padding: 9px 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: #e8f2fb;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 9px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    margin: 5px auto;
    background: var(--text);
}

.section-band {
    padding: 76px 0;
}

.section-band.white {
    background: var(--surface);
}

.hero {
    background: linear-gradient(135deg, #e7f4ff 0%, #f8fbff 52%, #ecf8f2 100%);
}

.hero-grid,
.two-columns,
.contact-grid,
.price-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.align-center {
    align-items: center;
}

.hero h1,
.section-title h2,
.two-columns h2,
.contact-grid h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy p,
.two-columns p,
.contact-grid p,
.text-card p,
.note {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-services {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 104, 177, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.hero-services h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    line-height: 1.25;
}

.hero-services ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-services li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 9px;
    color: var(--muted);
}

.hero-services li:last-child {
    margin-bottom: 0;
}

.hero-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: var(--radius);
    padding: 12px 18px;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.button img {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.button.primary {
    background: var(--primary);
    color: #fff;
}

.button.primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

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

.button.whatsapp-button {
    background: #1fae63;
    border-color: #1fae63;
    color: #fff;
}

.button.whatsapp-button:hover {
    background: #16894d;
    color: #fff;
}

.problem-panel,
.portrait-card,
.service-card,
.text-card,
.price-card,
.locations-card,
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.problem-panel {
    display: grid;
    justify-items: center;
    text-align: center;
    align-content: center;
}

.confused-customer {
    width: min(100%, 360px);
    border-radius: var(--radius);
}

.problem-panel h2 {
    margin: 22px 0 8px;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1.15;
}

.section-title h2 {
    margin-top: 0;
}

.locations-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.locations-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--muted);
}

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

.locations-card ul {
    columns: 2;
    column-gap: 28px;
}

.locations-card li {
    break-inside: avoid;
}

.portrait-card {
    text-align: center;
}

.portrait-card img {
    margin: 0 auto 18px;
    width: 138px;
}

.portrait-card h3,
.service-card h3,
.text-card h3,
.price-card h3,
.locations-card h3 {
    margin: 0 0 10px;
    line-height: 1.25;
}

.section-title {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-title .section-heading-with-icon {
    justify-content: center;
}

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

.service-card {
    min-height: 100%;
    text-align: center;
}

.service-card img,
.abc-icon {
    height: 70px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 18px;
}

.abc-icon {
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
}

.service-card p,
.inner-note {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(15, 104, 177, 0.16);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.inner-note h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.25;
}

.inner-note p {
    margin: 0;
}

.note {
    margin: 26px auto 0;
    max-width: 860px;
    text-align: center;
}

.vat-note {
    margin: 0 0 18px;
    color: var(--warning);
    font-weight: 800;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th,
td {
    border: 1px solid var(--border);
    padding: 14px;
    vertical-align: top;
}

th {
    background: #e8f2fb;
    text-align: left;
}

td:last-child {
    white-space: nowrap;
    text-align: right;
    font-weight: 800;
}

.price-section-row td,
.price-section-row td:last-child {
    background: var(--surface-soft);
    color: var(--primary);
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.82rem;
    white-space: normal;
}

.section-heading-with-icon {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.section-heading-with-icon img {
    width: 54px;
    flex: 0 0 auto;
}

.section-heading-with-icon h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.08;
}

.locations-card .button {
    margin-top: 16px;
}

.contact-band {
    background: linear-gradient(135deg, #12385d, #0f68b1);
    color: #fff;
}

.contact-band .eyebrow,
.contact-band p {
    color: rgba(255, 255, 255, 0.82);
}

.contact-form {
    display: grid;
    gap: 12px;
    color: var(--text);
}

.contact-form-wrap {
    display: grid;
    gap: 14px;
}

.form-intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.contact-form label {
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.legal {
    padding-top: 38px;
    padding-bottom: 38px;
}

details {
    border-top: 1px solid var(--border);
    padding: 18px 0;
}

details:last-child {
    border-bottom: 1px solid var(--border);
}

summary {
    cursor: pointer;
    font-weight: 800;
}

.site-footer {
    padding: 30px 0;
    background: #132238;
    color: #fff;
}

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

.footer-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
    html {
        scroll-padding-top: 180px;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 12px 18px 18px;
        border-bottom: 1px solid var(--border);
    }

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

    .menu-toggle {
        display: block;
    }

    .nav-shell {
        position: relative;
    }

    .hero-grid,
    .two-columns,
    .contact-grid,
    .price-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    html {
        scroll-padding-top: 150px;
    }

    .container,
    .nav-shell {
        width: min(100%, calc(100% - 28px));
    }

    .section-band {
        padding: 54px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .problem-panel,
    .portrait-card,
    .service-card,
    .text-card,
    .price-card,
    .locations-card,
    .contact-form {
        padding: 22px;
    }

    td:last-child {
        white-space: normal;
    }
}
