:root {
    --bg-1: #0f172a;
    --bg-2: #111827;
    --card: #ffffff;
    --ink: #0b1220;
    --muted: #41506a;
    --line: #d7dee9;
    --brand: #0ea5e9;
    --brand-dark: #0369a1;
    --accent: #f59e0b;
    --ok: #0f766e;
    --error: #b91c1c;
    --shadow: 0 18px 45px rgba(7, 16, 35, 0.16);
    --radius: 18px;
    --radius-sm: 12px;
    --max: 1140px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at -10% -20%, #22d3ee33 0%, transparent 70%),
        radial-gradient(800px 450px at 110% 10%, #f59e0b22 0%, transparent 60%),
        linear-gradient(170deg, #eef4ff 0%, #f8fafc 42%, #ffffff 100%);
    line-height: 1.6;
}

.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(#10243f 0.4px, transparent 0.4px);
    background-size: 3px 3px;
    z-index: -1;
}

.container {
    width: min(100% - 2.2rem, var(--max));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #d9e2f1;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 1;
}

.brand {
    font-family: "Rockwell", "Georgia", serif;
    letter-spacing: 0.02em;
    color: #0b223f;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.brand span {
    color: var(--brand-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #354e72;
    font-weight: 600;
    padding: 0.5rem 0.72rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #edf5ff;
    color: #0b2d52;
    border-color: #dfeaf9;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.25rem;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.1;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, filter 180ms ease;
    background: linear-gradient(180deg, #0d2d52 0%, #0b2340 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(11, 35, 64, 0.18);
}

.nav-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 8px 18px rgba(11, 35, 64, 0.14);
}

.nav-button-primary {
    background: linear-gradient(180deg, #0d2d52 0%, #0b2340 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(11, 35, 64, 0.18);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero {
    padding: 4.6rem 0 3rem;
    animation: fadeSlide 700ms ease both;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #dff7ff;
    border: 1px solid #bde6f7;
    color: #0b5b7e;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

h1 {
    font-family: "Rockwell", "Georgia", serif;
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    line-height: 1.1;
    color: #071634;
    margin-bottom: 1rem;
}

.hero p {
    color: #2f405f;
    font-size: 1.08rem;
    max-width: 62ch;
}

.cta-row {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(3, 105, 161, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(3, 105, 161, 0.44);
}

.btn-secondary {
    color: #0d2d52;
    background: #fff;
    border: 1px solid #c9d7ee;
    box-shadow: 0 5px 16px rgba(15, 30, 62, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #f4f8ff;
}

.page-head {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(160deg, #f4f9ff 2%, #ffffff 50%, #f2f8ff 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.page-head-inner {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1.8rem, 4vw, 3rem) clamp(0.2rem, 2vw, 1rem);
    font-weight: 700;
}

.page-head-inner h1 {
    margin: 0;
    font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.9px;
    text-align: center;
}

.page-head-inner p {
    margin: 16px auto 0;
    font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #64748b;
    max-width: 512px;
    text-align: center;
}

.contact-layout {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-info-list {
    display: grid;
    gap: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.3rem 0;
    background: transparent;
    border: 0;
}

.contact-item .icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eef4fb;
    border: 1px solid #e4edf8;
    color: #103f7c;
    font-weight: 700;
}

.contact-item-text h3 {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #607693;
    font-weight: 600;
}

.contact-item-text p {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    word-break: break-word;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

.form-field {
    display: grid;
    gap: 6px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(16, 63, 124, 0.06);
}

.contact-form label {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #64748b;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7e3f2;
    border-radius: 10px;
    padding: 0.72rem 0.82rem;
    font: inherit;
    background: #fff;
    color: var(--ink);
}

.contact-form input {
    min-height: 46px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8ca0b7;
}

.contact-form button {
    justify-self: start;
    cursor: pointer;
}

.form-status {
    margin: 0.8rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-weight: 700;
}

.form-status.success {
    background: rgba(16, 63, 124, 0.08);
    border: 1px solid rgba(16, 63, 124, 0.2);
    color: #173f73;
}

.form-status.error {
    background: rgba(185, 34, 34, 0.1);
    border: 1px solid rgba(185, 34, 34, 0.24);
    color: #8a2323;
}

.hero-card {
    background: linear-gradient(180deg, #0a1934 0%, #0e284e 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #22d3ee33;
    top: -80px;
    right: -70px;
}

.hero-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    color: #d8ecff;
}

section {
    padding: 3.2rem 0;
}

h2,
h3 {
    font-family: "Rockwell", "Georgia", serif;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    color: #091b38;
    margin-bottom: 0.95rem;
}

.lead {
    color: var(--muted);
    max-width: 70ch;
}

.problem {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border-top: 1px solid #e6eef9;
    border-bottom: 1px solid #e6eef9;
}

.services-grid,
.why-grid,
.pricing-grid {
    margin-top: 1.4rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(9, 24, 48, 0.06);
    animation: fadeUp 600ms ease both;
}

.card h4 {
    margin-bottom: 0.45rem;
    color: #081a36;
    font-size: 1.06rem;
}

.card p {
    color: #334866;
}

.icon-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e4f6fd;
    color: #085f88;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.why .card:nth-child(1) .icon-dot { background: #fff3d9; color: #9a6200; }
.why .card:nth-child(2) .icon-dot { background: #e2f8ef; color: #0b6c53; }
.why .card:nth-child(3) .icon-dot { background: #e3efff; color: #134385; }

.closing {
    color: #fff;
    padding-bottom: 4.6rem;
}

.closing-wrap {
    background: linear-gradient(120deg, #0b1730 0%, #0f3d6f 60%, #0b6c8c 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.closing h3 {
    color: #fff;
    margin-bottom: 0.4rem;
}

.closing p {
    color: #daf0ff;
    max-width: 65ch;
}

.form-alert {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-weight: 600;
}

.form-alert.ok {
    background: #def7ec;
    color: var(--ok);
    border: 1px solid #b6ead8;
}

.form-alert.error {
    background: #fee2e2;
    color: var(--error);
    border: 1px solid #fecaca;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

.form-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
    display: grid;
    gap: 0.3rem;
}

.form-group label {
    color: #e8f4ff;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #bfd1e8;
    border-radius: 10px;
    padding: 0.72rem 0.78rem;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    color: #cce6ff;
    font-size: 0.9rem;
}

.pricing-hero {
    padding: 4rem 0 1.6rem;
}

.price {
    font-size: 1.85rem;
    font-family: "Rockwell", "Georgia", serif;
    color: #0e2647;
    margin: 0.2rem 0 0.5rem;
}

.muted {
    color: #5a6d8a;
    font-size: 0.95rem;
}

.bullet-list {
    margin-top: 0.7rem;
    padding-left: 1.1rem;
    color: #2b3f5f;
}

.bullet-list li + li {
    margin-top: 0.35rem;
}

.tag {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    background: #eaf4ff;
    color: #11447d;
    border: 1px solid #c8ddfb;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pricing-note {
    margin-top: 1.2rem;
    background: #fff8e8;
    border: 1px solid #fde9b5;
    border-radius: 12px;
    padding: 0.9rem;
    color: #6e5315;
}

.footer {
    border-top: 1px solid #dbe4f2;
    padding: 1rem 0 1.8rem;
    color: #526482;
    font-size: 0.95rem;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
    .hero-grid,
    .services-grid,
    .why-grid,
    .pricing-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .pricing-hero {
        padding-top: 3.4rem;
    }
}
