@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0d2748;
    --dark: #1a1a1a;
    --light-bg: #f7f7f7;
    --text-gray: #6f6f6f;
    --text-light: #cccccc;
    --border-color: rgba(13, 39, 72, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* ===================== HERO ===================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 64px 32px 48px;
    overflow: hidden;
}

#hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

#hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #f7f7f7;
    line-height: 1.1;
    margin-bottom: 16px;
}

#hero p {
    font-size: 16px;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: #f7f7f7;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cta:hover {
    background-color: #163a6b;
    color: #f7f7f7;
}

.btn-cta .btn-icon {
    background: #f7f7f7;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-cta .btn-icon img {
    width: 16px;
    height: 16px;
}

/* ===================== SPECIALIST ===================== */
#specialist {
    padding: 64px 32px;
    background: #fff;
}

#specialist h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
}

.specialist-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.specialist-card .icon-wrap {
    background: rgba(111, 111, 111, 0.1);
    border-radius: 999px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialist-card .icon-wrap img {
    width: 32px;
    height: 32px;
}

.specialist-card p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.specialist-photo {
    background: rgba(13, 39, 72, 0.5);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.specialist-photo img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* ===================== RESULTS ===================== */
#results {
    padding: 64px 32px;
    background: #fff;
}

#results h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
}

.results-grid {
    background: rgba(13, 39, 72, 0.12);
    border: 1px solid rgba(13, 39, 72, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.result-card {
    padding: 32px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.result-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(13, 39, 72, 0.2);
}

.result-card .icon-wrap {
    background: var(--light-bg);
    border-radius: 999px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-card .icon-wrap img {
    width: 32px;
    height: 32px;
}

.result-card p {
    font-size: 15px;
    font-weight: 300;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

/* ===================== FORM ===================== */
#form {
    padding: 64px 32px;
    background: #fff;
}

.form-container {
    background: var(--light-bg);
    border: 1px solid rgba(13, 39, 72, 0.1);
    border-radius: 24px;
    padding: 40px;
}

.form-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.form-label-custom {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-bottom: 4px;
    display: block;
}

.form-control-custom {
    background: rgba(187, 187, 187, 0.15);
    border: 1px solid rgba(136, 136, 136, 0.1);
    border-radius: 10px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--dark);
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.form-control-custom:focus {
    border-color: var(--primary);
    background: #fff;
}

.form-control-custom::placeholder {
    color: #999;
}

textarea.form-control-custom {
    height: 100px;
    padding: 12px;
    resize: none;
}

.btn-submit {
    background: var(--dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    height: 40px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #333;
}

.is-invalid-custom {
    border-color: #dc3545 !important;
}

.field-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
}

/* ===================== FOOTER ===================== */
#footer {
    background: var(--dark);
    padding: 64px 32px 32px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: #f7f7f7;
    margin-bottom: 16px;
}

.footer-social a {
    background: rgba(251, 249, 249, 0.1);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: rgba(251, 249, 249, 0.2);
}

.footer-social a i {
    font-size: 18px;
    color: #f7f7f7;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fbf9f9;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list li a,
.footer-list li span {
    font-size: 14px;
    font-weight: 400;
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-list li a:hover {
    color: #f7f7f7;
}

.footer-list img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(204, 204, 204, 0.3);
    margin: 32px 0 24px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(251, 249, 249, 0.6);
    text-align: center;
}

.footer-dev {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    margin-top: 4px;
}

.footer-dev a {
    color: #fff;
    text-decoration: underline;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    #specialist,
    #results,
    #form,
    #footer {
        padding: 48px 16px;
    }

    .result-card:not(:last-child)::after {
        display: none;
    }

    .form-container {
        padding: 24px 16px;
    }

    .specialist-photo {
        min-height: 300px;
        margin-top: 24px;
    }
}
