:root {
    --color-bg-default: #f3f5f7;
    --color-bg-subtle-blue: #eef3f8;
    --color-bg-warm: #f7f5f1;
    --color-surface: #ffffff;
    --color-primary-orange: #f59f19;
    --color-primary-orange-soft: #ffe4bf;
    --color-primary-orange-deep: #df8600;
    --color-primary-cyan: #0ea4ca;
    --color-primary-cyan-soft: #d6f2f9;
    --color-dark-section: #1f242d;
    --color-dark-surface: #27303a;
    --color-dark-surface-2: #2d3744;
    --color-border: #dce3ea;
    --color-border-strong: #c7d1dc;
    --color-text: #2f2f31;
    --color-text-muted: #66707a;
    --color-text-soft: #8e98a4;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 16px 36px rgba(20, 32, 46, 0.08);
    --shadow-card: 0 10px 26px rgba(18, 30, 44, 0.08);
    --shadow-lift: 0 14px 28px rgba(16, 28, 42, 0.12);
    --maxw: 1120px;
    --focus-ring: 0 0 0 3px rgba(245, 159, 25, 0.35);
}

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

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

body {
    min-width: 320px;
    background: var(--color-bg-default);
    color: var(--color-text);
    font-family: "Manrope", sans-serif;
    line-height: 1.58;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: min(var(--maxw), calc(100% - 48px));
    margin: 0 auto;
}

section {
    padding: 76px 0;
}

h1,
h2,
h3 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2rem, 4.9vw, 3.7rem);
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 16ch;
}

h2 {
    font-size: clamp(1.48rem, 2.85vw, 2.1rem);
    line-height: 1.18;
    margin-bottom: 16px;
    max-width: 18ch;
}

h3 {
    font-size: 1.14rem;
    line-height: 1.32;
    margin-bottom: 8px;
}

p {
    color: var(--color-text-muted);
    max-width: 67ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-cyan);
}

.eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary-orange);
    opacity: 0.75;
}

.btn-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.92rem;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(96deg, var(--color-primary-orange), #ffb43b);
    box-shadow: 0 10px 22px rgba(245, 159, 25, 0.28);
}

.btn.primary:hover {
    background: linear-gradient(96deg, var(--color-primary-orange-deep), #f3a11d);
    box-shadow: 0 12px 26px rgba(223, 134, 0, 0.34);
}

.btn.ghost {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
}

.btn.ghost:hover {
    border-color: #b9c5d2;
    box-shadow: var(--shadow-card);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: none;
    background: #ffffff;
    border-bottom: 1px solid rgba(207, 216, 226, 0.75);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
    min-height: 34px;
}

.logo img {
    display: block;
    width: auto;
    height: 34px;
}

.logo-fallback {
    display: none;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.logo-footer {
    color: #f4f7fb;
}

.logo-footer img {
    height: 30px;
    filter: brightness(1.05);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-nav a {
    color: #4f5660;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: "Sora", sans-serif;
    font-weight: 500;
    transition: color 140ms ease;
}

.top-nav a:hover {
    color: #252c35;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.section-hero {
    background: linear-gradient(104deg, #1b3352 0%, #213a59 100%);
    padding-top: 52px;
    padding-bottom: 52px;
    position: relative;
    overflow: clip;
}

.section-hero::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: min(48vw, 640px);
    height: 100%;
    background-image:
        linear-gradient(rgba(176, 199, 222, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 199, 222, 0.14) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.18;
    z-index: 0;
}

.section-hero::after {
    content: "";
    position: absolute;
    right: 6%;
    top: 20%;
    width: min(30vw, 420px);
    height: 56%;
    background-image:
        linear-gradient(90deg, rgba(181, 203, 224, 0.2) 0 1px, transparent 1px),
        linear-gradient(rgba(181, 203, 224, 0.2) 0 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.1;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.98fr 1.2fr;
    gap: 42px;
    align-items: center;
    min-height: clamp(500px, 68vh, 640px);
}

.hero-content {
    max-width: 62ch;
}

.hero h1 {
    max-width: 15ch;
    font-size: clamp(1.84rem, 3.8vw, 3.12rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: #f3f8ff;
}

.hero-title-em {
    color: var(--color-primary-orange);
    font-weight: 700;
}

.hero-title-em::after {
    content: none;
}

.hero-title-break {
    display: inline;
}

.hero-content > p {
    max-width: 58ch;
    font-size: 1.11rem;
    line-height: 1.7;
    color: #cfd9e4;
}

.hero-cta-row {
    margin-top: 44px;
}

.section-hero .btn.primary {
    padding: 13px 22px;
    font-size: 0.95rem;
    box-shadow: 0 9px 18px rgba(245, 159, 25, 0.22);
}

.section-hero .btn.ghost {
    color: #e6eef8;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(208, 221, 236, 0.44);
    padding: 11px 18px;
}

.section-hero .btn.ghost:hover {
    border-color: rgba(220, 232, 245, 0.68);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.hero-values {
    list-style: none;
    padding: 0;
    margin-top: 18px;
    font-size: 0.86rem;
    color: #d2dceb;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.hero-values li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.hero-values li span {
    color: #ffbc55;
    font-size: 0.9em;
    font-weight: 700;
}

.hero-media {
    position: relative;
    z-index: 1;
    transform: translateY(14px);
}

.hero-media::before {
    content: none;
}

.hero-card {
    position: relative;
    z-index: 1;
    height: 458px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid rgba(216, 226, 236, 0.8);
    box-shadow: 0 18px 34px rgba(10, 20, 34, 0.32);
}

.hero-card::before {
    content: none;
}

.hero-card::after {
    content: none;
}

.hero-card picture,
.photo-card picture {
    position: relative;
    z-index: 1;
}

.hero-card picture > img,
.photo-card picture > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-card picture > img {
    object-position: 52% 40%;
}

.photo-card {
    position: relative;
    height: 312px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #dce4ec;
    box-shadow: var(--shadow-card);
    background: var(--color-surface);
}

.photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(2deg, rgba(17, 26, 36, 0.26), rgba(17, 26, 36, 0) 46%);
    z-index: 1;
    pointer-events: none;
}

.card-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 116px;
    height: auto;
    z-index: 2;
}

.section-problem {
    background: var(--color-bg-subtle-blue);
    border-top: 1px solid #e4ebf3;
    border-bottom: 1px solid #e4ebf3;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.section-problem .reveal p {
    max-width: 58ch;
}

.note {
    margin-top: 20px;
    padding: 18px 18px 18px 20px;
    border-radius: 12px;
    background: var(--color-surface);
    border: 1px solid #d6e0ea;
    border-left: 4px solid var(--color-primary-cyan);
    box-shadow: 0 8px 20px rgba(17, 30, 44, 0.08);
    color: #3c434c;
    font-weight: 600;
}

.dark-section {
    background: linear-gradient(180deg, #212730 0%, var(--color-dark-section) 100%);
    color: #f4f8fd;
}

.dark-section h2,
.dark-section h3 {
    color: #f7fbff;
}

.dark-section p {
    color: #b8c4d2;
}

.dark-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: start;
    margin-bottom: 32px;
}

.diagram {
    border-radius: var(--radius-lg);
    border: 1px solid #394454;
    background: linear-gradient(150deg, #2a3340 0%, #242d38 100%);
    min-height: 280px;
    padding: 22px;
}

.diagram-canvas {
    position: relative;
    min-height: 236px;
    --diagram-core-x: 50%;
    --diagram-core-y: 50%;
}

.diagram-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 150px;
    text-align: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--color-primary-orange), #ffb74b);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(245, 159, 25, 0.25);
    z-index: 2;
}

.diagram-node {
    position: absolute;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #4f5e71;
    background: rgba(255, 255, 255, 0.04);
    color: #d9e2ee;
    font-size: 0.82rem;
    font-weight: 600;
}

.node-suppliers {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
}

.node-systems {
    right: 18px;
    bottom: 44px;
}

.node-processes {
    left: 18px;
    bottom: 44px;
}

.diagram-link {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(245, 159, 25, 0.65), rgba(14, 164, 202, 0.55));
    opacity: 0.75;
}

.link-suppliers {
    left: var(--diagram-core-x);
    top: var(--diagram-core-y);
    width: 66px;
    transform: rotate(-90deg);
}

.link-systems {
    left: var(--diagram-core-x);
    top: var(--diagram-core-y);
    width: 124px;
    transform: rotate(28deg);
}

.link-processes {
    left: var(--diagram-core-x);
    top: var(--diagram-core-y);
    width: 124px;
    transform: rotate(152deg);
}

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

.benefit {
    background: var(--color-dark-surface);
    border: 1px solid #3b4758;
    border-radius: var(--radius-md);
    padding: 18px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit:hover {
    transform: translateY(-3px);
    border-color: #4d5d72;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.num {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-primary-orange), #ffb74b);
    color: #fff;
    font: 700 0.78rem/1 "Sora", sans-serif;
}

.section-services {
    background: var(--color-bg-warm);
    border-top: 1px solid #ebe5db;
    border-bottom: 1px solid #ece7de;
}

.cards {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 15px 14px;
    font-size: 0.9rem;
    color: #4c545f;
    box-shadow: 0 2px 0 rgba(197, 207, 218, 0.45);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #c4d0dc;
    box-shadow: var(--shadow-card);
}

.highlight-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.highlight {
    border: 1px solid #ecc88f;
    border-left-width: 3px;
    border-radius: 12px;
    background: var(--color-surface);
    padding: 18px;
    color: #4c5560;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.section-compare {
    background: var(--color-surface);
}

.compare {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.panel {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 22px;
    background: #f8fafc;
}

.panel.good {
    border-color: #2f6175;
    background: linear-gradient(155deg, #15637b, #0f4f67);
    box-shadow: 0 10px 24px rgba(6, 39, 54, 0.24);
}

.panel.good h3,
.panel.good p,
.panel.good li {
    color: #eaf8ff;
}

.panel ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.panel li {
    color: #4a525b;
}

.panel li::before {
    margin-right: 8px;
    font-weight: 700;
}

.bad li::before {
    content: "x";
    color: #a06318;
}

.good li::before {
    content: "?";
}

.section-bloom {
    background: linear-gradient(108deg, #1a324f 0%, #223a59 100%);
    border-top: 1px solid rgba(185, 204, 224, 0.16);
    border-bottom: 1px solid rgba(185, 204, 224, 0.16);
}

.section-bloom h2,
.section-bloom h3 {
    color: #f1f7ff;
}

.section-bloom p {
    color: #cfdae8;
}

.section-bloom .eyebrow {
    color: #9fc0df;
}

.section-bloom .highlight {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(173, 194, 215, 0.42);
    color: #d8e3ef;
    box-shadow: none;
}

.section-bloom .highlight p {
    color: #c7d4e2;
}

.section-bloom .btn.ghost {
    color: #e8f0f9;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(196, 214, 233, 0.48);
}

.section-bloom .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(219, 232, 245, 0.68);
    box-shadow: none;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.quote {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
}

.quote strong {
    display: block;
    margin-bottom: 8px;
    color: #2f343a;
    font-family: "Sora", sans-serif;
}

.section-next-step {
    background: var(--color-surface);
}

.instap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.instap-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.instap-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.instap-label {
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--color-text);
}

.second-opinion-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 24px;
    box-shadow: var(--shadow-soft);
}

.text-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 7px;
    background: var(--color-primary-cyan-soft);
    color: #0d89a8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.second-opinion-card h3 {
    font-size: 1.34rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.second-opinion-card > p {
    margin-bottom: 20px;
    line-height: 1.62;
}

.features {
    margin: 20px 0;
    padding: 18px;
    border-radius: 12px;
    background: #f7f9fb;
    border: 1px solid #e2e8ef;
    display: grid;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.feature-item .checkmark {
    color: var(--color-primary-orange);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.price-section {
    margin: 20px 0;
    padding: 14px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.price {
    margin-bottom: 4px;
    font-family: "Sora", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.price-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.second-opinion-card .btn-row {
    justify-content: center;
    margin-top: 20px;
}

.closing {
    background: linear-gradient(106deg, #192f4a 0%, #223957 100%);
    border-top: 1px solid rgba(179, 199, 220, 0.16);
}

.closing h2,
.closing h3 {
    color: #f2f8ff;
}

.closing p {
    color: #cfd9e6;
}

.closing-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 34px;
    align-items: center;
}

.closing-content p {
    max-width: 54ch;
}

.closing h2 {
    max-width: none;
}

.closing .btn.ghost {
    color: #e8f0f9;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(198, 216, 234, 0.46);
}

.closing .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(220, 233, 246, 0.68);
    box-shadow: none;
}

.closing .photo-card {
    border-color: rgba(204, 218, 234, 0.45);
    box-shadow: 0 14px 28px rgba(8, 17, 29, 0.28);
}

.photo-problem picture > img {
    object-position: 50% 45%;
}

.photo-contact picture > img {
    object-position: 50% 38%;
}

.support-section {
    padding-top: 18px;
    background: var(--color-surface);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 28px;
    align-items: center;
}

.support-embed {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.support-embed p {
    max-width: 36ch;
}

.site-footer {
    background: var(--color-dark-section);
    color: #cfd6e0;
    padding: 26px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.footer-nav a {
    color: #d2dbe7;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-support-links {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
}

.footer-support-links a,
.footer-support-links span {
    color: #dbe3ef;
    text-decoration: none;
    font-size: 0.86rem;
}

.footer-support-links a:hover {
    color: #fff;
}

.combined-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}

.combined-modal[aria-hidden="false"] {
    display: block;
}

#contact-modal[aria-hidden="false"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
}

#contact-modal .quickscan-dialog {
    margin: 0;
    max-height: calc(100vh - 40px);
    overflow: auto;
}

.combined-dialog {
    overflow: visible;
}

.modal-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
}

.modal-tab {
    border: 0;
    margin-bottom: -2px;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 8px 14px;
    font-family: "Sora", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 140ms ease, border-color 140ms ease;
}

.modal-tab:hover {
    color: var(--color-text);
}

.modal-tab.active {
    color: var(--color-primary-cyan);
    border-bottom-color: var(--color-primary-cyan);
}

.modal-panel[hidden] {
    display: none;
}

.quickscan-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 22, 30, 0.62);
}

.quickscan-dialog {
    position: relative;
    width: min(980px, calc(100% - 30px));
    margin: 42px auto;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 52px rgba(8, 16, 30, 0.35);
}

.quickscan-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #eaf0f5;
    color: #233041;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.quickscan-frame-wrap {
    margin-bottom: 14px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.quickscan-frame-wrap iframe {
    display: block;
    width: 100%;
    height: min(70vh, 640px);
    border: 0;
}

.contact-panel {
    padding: 4px 0;
}

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

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form-field {
    display: grid;
    gap: 5px;
}

.contact-form-field label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: "Sora", sans-serif;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-text);
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: "Manrope", sans-serif;
    transition: border-color 150ms ease;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color: var(--color-primary-orange);
}

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

.contact-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.contact-form-footer small {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.contact-success {
    text-align: center;
    padding: 26px 20px;
    animation: fadeIn 400ms ease forwards;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary-cyan), #128db0);
    animation: scaleIn 500ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.contact-success h3 {
    margin-bottom: 8px;
}

.contact-success p {
    margin-bottom: 8px;
}

.contact-success small {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.booking-panel {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booking-panel-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.booking-panel h3 {
    font-size: 1.6rem;
    margin: 12px 0 8px;
}

.booking-panel > p {
    margin-bottom: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(8px);
    animation: revealUp 560ms ease forwards;
}

.delay-1 {
    animation-delay: 70ms;
}

.delay-2 {
    animation-delay: 140ms;
}

.delay-3 {
    animation-delay: 210ms;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-grid,
    .dark-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 26px;
        min-height: auto;
    }

    .hero-media {
        transform: none;
    }

    .hero-card {
        height: 390px;
    }

    .link-systems {
        width: 96px;
    }

    .link-processes {
        width: 96px;
    }
}

@media (max-width: 860px) {
    .top-nav {
        display: none;
    }

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

    section {
        padding: 58px 0;
    }

    .hero h1 {
        max-width: 15ch;
        font-size: clamp(1.74rem, 6.5vw, 2.62rem);
    }

    .section-hero {
        padding-top: 40px;
        padding-bottom: 34px;
        background: linear-gradient(180deg, #1c3554 0%, #213a59 100%);
    }

    .section-hero::before,
    .section-hero::after {
        display: none;
    }

    .hero-title-break {
        display: none;
    }

    .hero-content {
        max-width: 64ch;
    }

    .hero-content > p {
        max-width: 60ch;
        font-size: 1.03rem;
        color: #d3deea;
    }

    .benefits,
    .highlight-grid,
    .compare,
    .quote-grid,
    .support-grid,
    .closing-grid {
        grid-template-columns: 1fr;
    }

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

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

    .problem-photo-mobile-hide {
        display: none !important;
    }

    .photo-card {
        height: 286px;
    }

    .hero-card picture > img {
        object-position: 52% 35%;
    }

    .hero-card {
        height: 360px;
    }

    .hero-values {
        gap: 8px 14px;
    }

    .photo-contact picture > img {
        object-position: 52% 33%;
    }

    .diagram {
        min-height: 250px;
    }

    .diagram-canvas {
        min-height: 208px;
    }

    .node-systems {
        right: 4px;
    }

    .node-processes {
        left: 4px;
    }

    .link-suppliers {
        width: 56px;
    }

    .link-systems {
        width: 100px;
    }

    .link-processes {
        width: 100px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 12px;
    }

    .quickscan-dialog {
        margin: 16px auto;
        padding: 16px;
    }

    .quickscan-frame-wrap iframe {
        height: 70vh;
    }

    .second-opinion-card {
        padding: 20px;
    }

    .second-opinion-card h3 {
        font-size: 1.2rem;
    }

    .features {
        padding: 14px;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .btn-row {
        width: 100%;
    }

    .btn-row .btn {
        width: 100%;
    }

    .section-hero {
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .hero-values {
        display: grid;
        gap: 6px;
    }

    .hero-values li {
        font-size: 0.84rem;
    }
}

@media (max-width: 520px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: 76px;
    }

    .hero h1 {
        font-size: clamp(1.66rem, 8.2vw, 2.06rem);
        line-height: 1.08;
    }

    .hero-card {
        height: 320px;
        border-radius: 20px;
    }

    .hero-card picture > img {
        object-position: 52% 32%;
    }

    .diagram-core {
        min-width: 136px;
        padding: 12px 12px;
    }

    .diagram-node {
        font-size: 0.77rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
