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

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #e5e7eb;
    background:
        linear-gradient(180deg, rgba(11, 18, 23, 0.92), rgba(12, 14, 18, 0.96)),
        #0f1012;
}

a {
    color: inherit;
}

.site-header {
    min-height: 78px;
    padding: 1rem clamp(1rem, 4vw, 3rem);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    background: rgba(23, 25, 31, 0.88);
    border-bottom: 1px solid #2d3038;
}

.brand img {
    display: block;
    max-width: 160px;
    max-height: 54px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 0.65rem 0.85rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
}

.site-nav a:hover {
    background: rgba(20, 184, 166, 0.14);
    color: #ffffff;
}

main {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero,
.page-heading,
.form-shell {
    padding: clamp(1.5rem, 4vw, 3rem);

    background: rgba(23, 25, 31, 0.86);
    border: 1px solid #2d3038;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.hero {
    min-height: 430px;
    display: grid;
    align-items: center;
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: #5eead4;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

h1 {
    max-width: 780px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 1.02;
}

h2 {
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

p {
    color: #cbd5e1;
    line-height: 1.55;
}

.hero-copy {
    max-width: 640px;
    font-size: 1.08rem;
}

.hero-actions,
.page-heading .button {
    margin-top: 1.3rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.button {
    min-height: 44px;
    padding: 0 1rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.primary {
    background: #14b8a6;
    color: #ffffff;
}

.primary:hover {
    background: #0d9488;
}

.secondary {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.42);
    color: #ccfbf1;
}

.content-grid,
.service-list {
    margin-top: 1rem;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.content-grid article,
.service-list article {
    padding: 1.15rem;

    background: rgba(23, 25, 31, 0.78);
    border: 1px solid #2d3038;
    border-radius: 8px;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 2rem);
    align-items: start;
}

.public-form {
    display: grid;
    gap: 1rem;
}

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

label {
    display: grid;
    gap: 0.4rem;
    color: #ffffff;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;

    border: 1px solid #343842;
    border-radius: 8px;
    background: #111214;
    color: #e5e7eb;
    font: inherit;
}

textarea {
    resize: vertical;
}

.form-error {
    padding: 0.8rem;
    color: #fecaca;
    background: rgba(153, 27, 27, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.42);
    border-radius: 8px;
}

.success-panel strong {
    color: #ffffff;
}

.site-footer {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 2rem;

    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;

    color: #9ca3af;
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .site-header,
    .site-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .content-grid,
    .service-list,
    .form-shell,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .site-nav a,
    .button {
        flex: 1;
    }
}
