* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #07162f;
    --text: #25324a;
    --muted: #68758a;
    --teal: #08b8c1;
    --teal-dark: #058c98;
    --teal-soft: #e9fbfc;
    --line: #dce8eb;
    --surface: #ffffff;
    --page: #f4f8f9;
    --shadow: 0 24px 60px rgba(7, 32, 57, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--page);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 23px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--teal);
    box-shadow: 0 11px 25px rgba(8, 184, 193, 0.22);
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.page-shell {
    position: relative;
    overflow: hidden;
    padding: 56px 0 70px;
}

.page-shell::before {
    content: "";
    width: 430px;
    height: 430px;
    position: absolute;
    top: -260px;
    right: -100px;
    border: 70px solid rgba(8, 184, 193, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.page-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--teal);
}

.page-heading h1 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.quote-page-heading {
    width: 100%;
    max-width: none;
}

.quote-page-heading h1 {
    font-size: clamp(38px, 4.2vw, 54px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    white-space: nowrap;
}

.page-heading p {
    color: var(--muted);
    font-size: 16px;
}

.quote-layout,
.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: stretch;
    border: 1px solid rgba(220, 232, 235, 0.86);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quote-layout {
    width: 100%;
    max-width: none;
    grid-template-columns: 0.68fr 1.32fr;
    margin: 0 auto;
}

.quote-aside {
    min-height: 100%;
    padding: 46px 38px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
}

.quote-aside::after {
    content: "";
    width: 240px;
    height: 240px;
    position: absolute;
    right: -105px;
    bottom: -105px;
    border: 50px solid rgba(8, 184, 193, 0.16);
    border-radius: 50%;
}

.aside-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 12px;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.08);
}

.quote-aside h2 {
    max-width: 270px;
    margin-bottom: 12px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.quote-aside > p {
    max-width: 290px;
    color: #aebbd0;
    font-size: 14px;
}

.benefits {
    display: grid;
    gap: 18px;
    margin-top: 38px;
}

.benefit {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    color: #dce5f1;
    font-size: 13px;
    font-weight: 700;
}

.benefit i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.06);
}

.form-panel {
    padding: 42px 44px 46px;
}

.form-panel h2 {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.form-intro {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
}

.device-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.device-option {
    min-height: 86px;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 11px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.device-option svg {
    width: 25px;
    height: 25px;
}

.device-option:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
}

.device-option.is-selected {
    border-color: var(--teal);
    color: #fff;
    background: var(--teal);
    box-shadow: 0 10px 22px rgba(8, 184, 193, 0.2);
}

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

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

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d6e1e4;
    border-radius: 8px;
    outline: none;
    color: var(--ink);
    background: #fbfdfd;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
    min-height: 125px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 184, 193, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8a95a5;
}

.form-action {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 2px;
}

.form-action small {
    max-width: 280px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.contact-layout {
    grid-template-columns: 0.92fr 1.08fr;
}

.contact-info {
    padding: 44px;
    color: #fff;
    background: var(--ink);
}

.contact-info h2,
.contact-form-panel h2 {
    margin-bottom: 8px;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.contact-info > p {
    color: #aebbd0;
    font-size: 14px;
}

.contact-list {
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) minmax(150px, .8fr);
    gap: 22px 18px;
    margin: 32px 0;
}

.social-links {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.social-links strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.social-links div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 184, 193, 0.5);
    border-radius: 50%;
    color: #d9fbfd;
    background: rgba(8, 184, 193, 0.12);
    font-size: 16px;
    font-weight: 850;
    line-height: 1;
    transition: 0.2s ease;
}

.social-links a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.social-links a:hover {
    color: #fff;
    background: var(--teal);
    transform: translateY(-1px);
}

.contact-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    align-items: start;
}

.contact-item i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--teal);
    background: rgba(255, 255, 255, 0.08);
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 13px;
}

.contact-item span,
.contact-item a {
    display: block;
    color: #b7c3d4;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
}

.contact-item-email {
    min-width: 0;
}

.contact-item-email a {
    font-size: 12px;
    white-space: nowrap;
}

.map-wrap {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.map-wrap iframe {
    width: 100%;
    height: 270px;
    display: block;
    border: 0;
}

.contact-form-panel {
    padding: 44px;
}

.contact-form-panel > p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid #e0eaec;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
}

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

.footer-links {
    display: flex;
    gap: 22px;
}

@media (max-width: 920px) {
    .quote-layout,
    .contact-layout { grid-template-columns: 1fr; }
    .quote-aside { min-height: auto; }
    .benefits { grid-template-columns: repeat(3, 1fr); }
    .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1180px); }
    .page-shell { padding: 36px 0 46px; }
    .page-heading { margin-bottom: 24px; }
    .page-heading h1 { font-size: 36px; }
    .quote-page-heading h1 { white-space: normal; }
    .page-heading p { font-size: 14px; }
    .quote-layout,
    .contact-layout { border-radius: 12px; }
    .quote-aside,
    .contact-info,
    .form-panel,
    .contact-form-panel { padding: 30px 22px; }
    .quote-aside h2 { font-size: 26px; }
    .benefits {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }
    .device-picker { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .field.full,
    .form-action { grid-column: auto; }
    .form-action {
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .form-action .button { width: 100%; }
    .contact-list { grid-template-columns: 1fr; }
    .map-wrap iframe { height: 230px; }
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
