/* =========================================
   ROOT VARIABLES
========================================= */

:root {
    --brand-blue: #4772B4;
    --brand-blue-dark: #36588C;
    --brand--green-light: #9BB853;

    --bg-site: #F8FBFF;
    --bento-fill: #EBF1F9;
    --white: #ffffff;

    --text-main: #1E2D44;
    --border-light: rgba(71, 114, 180, 0.15);

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-card: 32px;
    --radius-pill: 100px;
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-site);
    color: var(--text-main);
    padding: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    padding: 0;
}

body.no-scroll .nav-bar {
    top: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* =========================================
   SCROLL OFFSET
========================================= */

section[id] {
    scroll-margin-top: 100px;
}

.about-section,
.services-section,
.faq-section,
.contact-section {
    scroll-margin-top: 100px;
}

/* =========================================
   NAVIGATION
========================================= */

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;

    position: sticky;
    top: 15px;
    z-index: 3000;
    isolation: isolate;
}

header {
    position: relative;
    width: 100%;
    max-width: 1400px;

    background-color: var(--bento-fill);
    backdrop-filter: blur(12px);

    border-radius: var(--radius-pill);

    padding: 10px 24px;

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

    border: 0.5px solid var(--border-light);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.logo-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-light);
    opacity: 0.6;
}

.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: var(--brand-blue);
    opacity: 0.85;
    max-width: 180px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.btn-nav {
    border: 2.5px solid var(--brand-blue);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-nav:hover {
    background-color: var(--brand-blue);
    color: var(--white);
}

/* MENU */

.menu {
    display: none;
    cursor: pointer;
    z-index: 3001;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background: var(--brand-blue);
    border-radius: 9px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
    transform-origin: center;
}

.menu span:nth-child(1) {
    top: 0px;
}

.menu span:nth-child(2) {
    top: 9px;
}

.menu span:nth-child(3) {
    top: 18px;
}

.menu.open {
    transform: translateX(-15px);
}

.menu.open span:nth-child(1) {
    top: 18px;
    transform: rotate(135deg);
}

.menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu.open span:nth-child(3) {
    top: 18px;
    transform: rotate(-135deg);
}

/* =========================================
   GRID SYSTEM
========================================= */

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    max-width: 1400px;

    margin: 0 auto 100px auto;
}

.card {
    background-color: var(--bento-fill);

    border-radius: var(--radius-card);

    border: 0.1px solid var(--border-light);

    overflow: hidden;
    position: relative;

    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================
   ABOUT
========================================= */


.about-section {
    grid-column: span 4;

    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    gap: 15px;
    scroll-margin-top: 150px !important;
}

.about-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.4rem;
    max-width: 90%;
    opacity: 0.9;
}

.btn-about {
    background: var(--brand-blue);
    color: var(--white);

    padding: 18px 40px;

    border-radius: var(--radius-pill);

    width: fit-content;

    font-weight: 700;

    margin-top: 35px;

    font-size: 1.05rem;

    box-shadow: 0 10px 20px rgba(37, 91, 62, 0.2);
}

.btn-about:hover {
    background-color: var(--brand-blue-dark);
    transform: scale(1.05);
}

.about-img {
    min-height: 650px;
    display: block;
    background-color: var(--bento-fill);
    overflow: hidden;
    position: relative;
}

.gallery-slides.fade-mode {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot-btn {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.dot-btn.active {
    background-color: var(--white, #ffffff);
    transform: scale(1.2);
}

/* =========================================
   TEAM
========================================= */

.team-section {
    grid-column: span 4;

    display: flex;
    flex-direction: column;

    gap: 40px;

    margin-top: 20px;
}
#team-header {
    grid-column: span 4;
    text-align: center;
    padding: 0px;
}

#team-header h2 {
    font-size: 3.5rem;
    letter-spacing: -2px;
}

#team-header::after {
    content: "";
    display: block;
    width: 250px;
    height: 4px;
    background: var(--brand-blue);
    margin: 0px auto 0 auto;
    border-radius: 2px;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.member-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.team-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: var(--white);

    border-radius: var(--radius-card);
}

.team-text h2 {
    font-size: 2.8rem;

    margin-bottom: 20px;

    letter-spacing: -1.5px;

    font-weight: 700;

    position: relative;
}

.team-text h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    background: var(--brand-blue);

    margin-top: 10px;

    border-radius: 10px;
}

.team-text p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}


.team-img {
    border-radius: var(--radius-card);
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    transition: transform 1s ease;
}

.card:hover .team-img img {
    transform: scale(1.05);
}

/* =========================================
   SERVICES
========================================= */

.services-section {
    grid-column: span 4;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

#services-header {
    grid-column: span 4;

    text-align: center;

    padding: 0px 0 10px 0;
}

#services-header::after {
    content: "";
    display: block;
    width: 250px;
    height: 4px;
    background: var(--brand-blue);
    margin: 0px auto 0 auto;
    border-radius: 2px;
}

#services-header h2 {
    font-size: 3.5rem;
    letter-spacing: -2px;
}

#services-subheader {
    grid-column: span 4;

    text-align: left;

    padding: 0px 0 10px 0;
}

#services-subheader h2 {
    font-size: 2.5rem;
    letter-spacing: -2px;
}

/* SERVICES BOX */

.services-box {
    position: relative;

    padding: 30px;

    min-height: 200px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: space-between;

    background-color: var(--white);

    border: 1px solid var(--border-light);

    grid-column: span 1;
}

.services-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.services-box h3.long-title {
    font-size: clamp(1.35rem, 3vw, 1.38rem);
    line-height: 1.2;
}

.services-box p {
    font-size: 0.9rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0.7;
}

.services-box.wide {
    grid-column: 1 / -1;

    flex-direction: row;
    align-items: center;
}

.services-box.wide p {
    text-align: right;
}

/* BUTTON */

.btn-learn {
    position: absolute;

    bottom: 24px;
    right: 24px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 20px;

    border-radius: var(--radius-pill);

    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition: var(--transition-smooth);

    cursor: pointer;
}

.btn-fill {
    background-color: var(--brand-blue);
    color: var(--white);

    border: 1.5px solid var(--brand-blue);
}

.btn-fill:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px);
}

.diagonal-arrow {
    transition: transform 0.3s ease;
}

.btn-learn:hover .diagonal-arrow {
    transform: translate(2px, -2px);
}

/* =========================================
   FAQ
========================================= */

.faq-section {
    grid-column: span 4;

    display: grid;
    grid-template-columns: 1fr 1.5fr;

    padding: 20px;
    margin-top: 65px;
    margin-bottom: 50px;

    gap: 60px;

    align-items: start;
}

.faq-header h2 {
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.faq-list {
    border-top: 2px solid var(--brand-blue);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);

    cursor: pointer;

    transition: var(--transition-smooth);

    overflow: hidden;
}

.faq-question {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-item:hover .faq-question {
    padding-left: 10px;
}

.faq-question span {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.faq-icon {
    width: 44px;
    height: 44px;

    border: 1.5px solid var(--brand-blue);
    border-radius: 50%;

    position: relative;

    transition: var(--transition-smooth);

    flex-shrink: 0;

    margin-left: 20px;
}

.faq-icon::before {
    content: "";

    position: absolute;

    width: 16px;
    height: 2px;

    background-color: var(--brand-blue);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.faq-icon::after {
    content: "";

    position: absolute;

    width: 2px;
    height: 16px;

    background-color: var(--brand-blue);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding-right: 60px;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

a.faq-answer-link {
    color: var(--brand-blue);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

a.faq-answer-link:hover {
    opacity: 0.8;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    background-color: var(--brand-blue);

    transform: rotate(135deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background-color: var(--white);
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
            "header header"
            "info map";

    gap: 15px;
    margin-top: 0px;
    scroll-margin-top: 150px !important;
}

.contact-info {
    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-color: var(--white);
}

.contact-info h2 {
    font-size: 3rem;

    margin-bottom: 0px;

    letter-spacing: -2px;
}

.contact-item {
    background: var(--bg-site);

    border-radius: 24px;

    padding: 20px 25px;

    border: 1px solid var(--border-light);

    margin-bottom: 15px;

    transition: var(--transition-smooth);
}

.contact-item:hover {
    border-color: var(--brand-blue);
    transform: translateX(5px);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 800;

    opacity: 0.5;

    text-transform: uppercase;

    margin-bottom: 5px;

    display: block;

    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 700;

    display: block;
}

/* MAP */

.contact-map {
    position: relative;

    height: 600px;

    border-radius: var(--radius-card);

    overflow: hidden;

    margin-top: 0px;

}

.contact-map iframe {
    width: 200%;
    height: 200%;

    border: 0;

    margin-top: -20%;
    margin-left: -20%;

    transform: scale(1.3);

    filter: grayscale(0.2) contrast(1.1);
}

.map-overlay {
    position: absolute;

    bottom: 30px;
    left: 30px;
    right: 30px;

    background: rgba(255, 255, 255, 0.9);

    padding: 25px 40px;

    border-radius: 28px;

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

    backdrop-filter: blur(15px);

    border: 1px solid var(--border-light);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);

    z-index: 100;
}

.map-text h4 {
    font-size: 1.4rem;
    font-weight: 700;

    margin-bottom: 5px;
}

.map-text p {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 500;
}

.btn-map {
    background: var(--brand-blue);
    color: var(--white);

    padding: 16px 32px;

    border-radius: var(--radius-pill);

    font-weight: 700;
    font-size: 0.95rem;

    box-shadow: 0 5px 15px rgba(37, 91, 62, 0.2);
}

.btn-map:hover {
    background-color: var(--brand-blue-dark);
    transform: scale(1.05);
}

/* =========================================
   FORM
========================================= */

.forms-section {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
    scroll-margin-top: 100px !important;
    width: 100%;
    box-sizing: border-box;
}

#forms-header {
    text-align: center;
    margin-bottom: 15px;
}

#forms-header h2 {
    font-size: 3.5rem;
    letter-spacing: -2px;
    font-weight: 700;
}

#forms-header::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: var(--brand-blue);
    margin: 12px auto 0 auto;
    border-radius: 4px;
}

.forms-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 0 20px;
}

.form-step-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-sizing: border-box;
    width: 100%;

    height: 580px;
    overflow-y: auto;
    overflow-x: hidden;
}

.form-step-card::-webkit-scrollbar {
    width: 6px;
}

.form-step-card::-webkit-scrollbar-track {
    background: transparent;
}

.form-step-card::-webkit-scrollbar-thumb {
    background: rgba(71, 114, 180, 0.2);
    border-radius: 10px;
}

.form-step-card::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

.form-step-card.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.step-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin: 0;
}

.step-counter-text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.6;
}

#step-choose {
    text-align: center;
    align-items: center;
    justify-content: center;
}

#step-choose h3 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

#step-choose p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 85%;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.method-selection-buttons {
    display: flex;
    gap: 20px;
    margin: 0 0 25px 0;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.btn-referral-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    background-color: var(--brand-blue);
    color: var(--white) !important;
    border: 2.5px solid var(--brand-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-sizing: border-box;
    min-width: 260px;
    max-width: 100%;
}

.btn-referral-primary:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-2px);
}

.form-notice-text {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 90%;
    margin: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.optional-tag {
    font-weight: 500;
    opacity: 0.5;
    font-size: 0.85rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background-color: var(--bg-site);
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(71, 114, 180, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.architecture-three-columns {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--bg-site);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.checkbox-label:hover {
    border-color: rgba(71, 114, 180, 0.3);
    background-color: var(--white);
    transform: translateX(3px);
}

.checkbox-label input[type="radio"] {
    accent-color: var(--brand-blue);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-conditional-input {
    margin-top: 4px;
}

.inline-error-msg {
    color: #d9383a;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.inline-error-msg.visible {
    opacity: 1;
}

.form-group input.field-invalid {
    border-color: #d9383a !important;
    background-color: rgba(217, 56, 58, 0.02) !important;
}

.form-group input.field-invalid:focus {
    box-shadow: 0 0 0 4px rgba(217, 56, 58, 0.15) !important;
}

.verification-target.has-error .checkbox-label {
    border-color: rgba(217, 56, 58, 0.2);
}

.form-info-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.form-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(71, 114, 180, 0.05);
    border-left: 4px solid var(--brand-blue);
    padding: 18px 22px;
    border-radius: 0 16px 16px 0;
    box-sizing: border-box;
    width: 100%;
}

.form-notice-box p {
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--text-main);
    margin: 0;
    text-align: left;
}

.form-notice-box strong {
    font-weight: 700;
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-flow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 20px 10px 0 10px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.btn-referral-control {
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 2px solid var(--brand-blue);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

#btn-form-back {
    background: transparent;
    color: var(--brand-blue);
}

#btn-form-back:hover {
    background-color: rgba(71, 114, 180, 0.05);
    transform: translateY(-1px);
}

#btn-form-next,
#btn-form-submit {
    background-color: var(--brand-blue);
    color: var(--white);
}

#btn-form-next:hover,
#btn-form-submit:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-1px);
}

.form-progress-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-progress-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(71, 114, 180, 0.2);
    transition: var(--transition-smooth);
}

.form-progress-dots .dot.active {
    background-color: var(--brand-blue);
    transform: scale(1.3);
}

#step-success {
    text-align: center;
    align-items: center;
    justify-content: center;
}

#step-success h3 {
    margin: 15px 0;
}

#step-success p {
    margin: 0 0 25px 0;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(155, 184, 83, 0.15);
    color: var(--brand-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* =========================================
   RESOURCES
========================================= */

.resources-section,
.forms-section {
    grid-column: span 4;
    width: 100%;
    box-sizing: border-box;
}

.resources-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
}

.forms-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
    scroll-margin-top: 100px !important;
}

#resources-header,
#forms-header {
    text-align: center;
    margin-bottom: 15px;
}

#resources-header {
    grid-column: span 3;
}

#resources-header h2,
#forms-header h2 {
    font-size: 3.5rem;
    letter-spacing: -2px;
    font-weight: 700;
}

#resources-header::after,
#forms-header::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: var(--brand-blue);
    margin: 12px auto 0 auto;
    border-radius: 4px;
}

.resources-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
}

.resources-card-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(71, 114, 180, 0.08);
    color: var(--brand-blue);
    border-radius: 12px;
    flex-shrink: 0;
}

.resources-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    line-height: 1.2;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resource-item-block {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    border-radius: 16px;
    background-color: var(--bg-site);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.resource-item-block.static-item {
    cursor: default;
    background-color: rgba(0, 0, 0, 0.015);
}

a.resource-item-block:hover {
    background-color: var(--white);
    border-color: rgba(71, 114, 180, 0.3);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(71, 114, 180, 0.06);
}

.resource-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    transition: var(--transition-smooth);
}

a.resource-item-block:hover .resource-title {
    color: var(--brand-blue);
}

.resource-meta {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.6;
    margin-top: 2px;
}

.crisis-theme .icon-wrapper {
    background-color: rgba(235, 114, 114, 0.1);
    color: #d9534f;
}

.crisis-theme a.resource-item-block:hover {
    border-color: rgba(217, 83, 79, 0.3);
    box-shadow: 0 8px 20px rgba(217, 83, 79, 0.06);
}

.crisis-theme a.resource-item-block:hover .resource-title {
    color: #d9534f;
}

.form-gating-card,
.download-method-card,
.referral-form-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
}

.form-gating-card {
    max-width: 750px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-method-card,
.referral-form-card {
    max-width: 850px;
}

.form-gating-card h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.download-method-card h3 {
    font-size: 2.2rem;
    letter-spacing: -1px;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-gating-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 85%;
    margin-bottom: 10px;
}

.gating-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.gating-actions .btn-fill {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

.btn-back-form {
    background: none;
    border: none;
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 25px;
    width: fit-content;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.btn-back-form:hover {
    opacity: 1;
    transform: translateX(-4px);
}

.download-links-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.referral-form-card h2 {
    font-size: 2.5rem;
    letter-spacing: -1.5px;
    font-weight: 700;
    margin-bottom: 30px;
}

.referral-form-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--brand-blue);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background-color: var(--bg-site);
    border: 1px solid rgba(71, 114, 180, 0.15);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(71, 114, 180, 0.1);
}

.form-row-two,
.form-row-client-basic {
    display: grid;
    gap: 20px;
}

.form-row-two {
    grid-template-columns: 1fr 1fr;
}

.form-row-client-basic {
    grid-template-columns: 2.5fr 1fr;
}

.form-selection-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    background: var(--bg-site);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(71, 114, 180, 0.08);
}

.form-selection-list label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.form-selection-list label:hover {
    border-color: rgba(71, 114, 180, 0.3);
    transform: translateX(3px);
}

.form-selection-list input[type="radio"],
.form-selection-list input[type="checkbox"] {
    accent-color: var(--brand-blue);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.disclaimer-container {
    background: rgba(0, 0, 0, 0.015);
    padding: 25px;
    border-radius: 16px;
    margin-top: 35px;
    margin-bottom: 30px;
    border-left: 4px solid var(--brand-blue);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.disclaimer-lead {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.4;
}

.disclaimer-warning {
    font-size: 0.9rem;
    color: #d9534f;
    font-weight: 600;
    background-color: rgba(217, 83, 79, 0.03);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid #d9534f;
}

.disclaimer-privacy {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
}

.btn-form-submit {
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(71, 114, 180, 0.2);
    transition: var(--transition-smooth);
}

.btn-form-submit:hover {
    background-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(71, 114, 180, 0.3);
}

.error-msg {
    color: #d9534f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    display: none;
}

.form-step-card.bento-style {
    background-color: #EBF1F9;
    border: 1px solid rgba(71, 114, 180, 0.15);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(71, 114, 180, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.bento-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    margin: auto 0;
}

.form-lead-text {
    font-size: 1.15rem;
    color: #5A6A85;
    opacity: 0.95;
    max-width: 80%;
    line-height: 1.6;
    margin: 0 0 35px 0;
    font-weight: 500;
}

.text-center-forced {
    text-align: center !important;
}

.bento-style h3 {
    color: var(--text-main);
    font-size: 2.4rem !important;
    font-weight: 800;
    letter-spacing: -1.5px !important;
    margin-bottom: 12px !important;
}

.gating-actions .btn-outline,
.btn-outline {
    background-color: transparent !important;
    color: var(--brand-blue) !important;
    border: 2.5px solid var(--brand-blue) !important;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gating-actions .btn-outline:hover,
.btn-outline:hover {
    background-color: var(--brand-blue) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.shadow-premium {
    box-shadow: 0 4px 14px rgba(71, 114, 180, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shadow-premium:hover {
    box-shadow: 0 6px 20px rgba(71, 114, 180, 0.35);
}

.form-notice-text {
    font-size: 0.9rem;
    color: #6B7A99;
    opacity: 0.8;
    line-height: 1.5;
    max-width: 75%;
    margin-top: 15px;
}

.bento-icon-wrapper.shadow-premium,
.success-icon-wrapper.shadow-premium {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 3px solid var(--white);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.bento-icon-wrapper.shadow-premium {
    background-color: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(71, 114, 180, 0.3);
}

.success-icon-wrapper.shadow-premium {
    background-color: #9BB853;
    color: var(--white);
    font-size: 2.2rem;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(155, 184, 83, 0.35);
}

.bento-icon-wrapper.shadow-premium:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 6px 18px rgba(71, 114, 180, 0.4);
}

.success-icon-wrapper.shadow-premium:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 18px rgba(155, 184, 83, 0.45);
}

.bento-icon-wrapper svg {
    width: 36px;
    height: 36px;
    transform: translate(1px, -1px);
}

.inline-error-msg {
    color: #d9383a;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.inline-error-msg.visible {
    opacity: 1;
}

.form-group input.field-invalid {
    border-color: #d9383a !important;
    background-color: rgba(217, 56, 58, 0.02) !important;
}

.form-group input.field-invalid:focus {
    box-shadow: 0 0 0 4px rgba(217, 56, 58, 0.15) !important;
}

.verification-target.has-error .checkbox-label {
    border-color: rgba(217, 56, 58, 0.2);
    animation: shake-error 0.4s ease-in-out;
}

@keyframes shake-error {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

/* =========================================
   FOOTER
========================================= */

footer {
    grid-column: span 4;

    padding: 60px;

    background-color: var(--brand-blue);
    color: var(--white);

    border-radius: var(--radius-card);

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-top: 50px;
}

.footer-left h2 {
    font-size: 3.8rem;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.footer-right {
    text-align: right;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
========================================= */

/* MOBILE - PORTRAIT*/
@media (max-width: 600px) {

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

        .services-box {
            grid-column: span 4;
        }
    
        .about-text,
        .team-text,
        .contact-info {
            padding: 40px 20px;
        }

        .contact-info h2 {
            font-size: 2.0rem;
        }
        
        .about-text p, h1{
            font-size: 1.2rem;
            text-align: center;
        }

        .btn-about {
            padding: 15px 30px;
            align-self: center;
        }

        .team-img{
            height: 450px;
        }

        #services-header h2{
            font-size: 2.0rem;
            margin-top: 20px;
        }

        #services-subheader h2{
            font-size: 1.8rem;
        }

        .services-box {
            flex-direction: column;
            align-items: flex-start;
            min-height: 150px;
        }

        .faq-question span {
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: -0.5px;
        }

        .faq-answer p {
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 30px;
        }

        .contact-map{
            height: 350px;
            margin-top: 15px;
        }
    
        .map-overlay {
            flex-direction: column;
            text-align: center;
            gap: 20px;
            padding: 20px;
        }
}


/* IPAD/LAPTOP */
@media (max-width: 1200px) {

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

    .about-section,
    .team-member {
        grid-template-columns: 1fr;
    }

    .team-text {
        order: 1;
    }
    
    .team-img {
        order: 2;
    }

    .faq-section {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "info"
            "map";
    }

    .services-box {
        grid-column: span 2;
    }

    .services-box.wide {
        grid-column: 1 / -1;
    }

    .services-box.wide {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .services-box.wide p {
        text-align: left;
    }

    .faq-header h2 {
        position: static;
        font-size: 2.0rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left h2 {
        font-size: 2.0rem !important;
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
    }

    .footer-right {
        text-align: center;
        font-size: 0.8rem;
    }
}

/* HAMBURGER NAVIGATION - MOBILE*/
@media (max-width: 1050px) {

    .menu {
        display: block;
    }

    .nav-links {
        display: none;

        position: fixed;
        inset: 0;

        top: 0;
        left: 0;

        width: 100vw;
        height: 100dvh;

        background-color: var(--bg-site);

        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding: 40px;

        gap: 30px;

        z-index: 3000;

        opacity: 0;

        transform: none !important;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: -0.5px;
        font-weight: 700;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }

    .nav-links .btn-nav {
        width: 100%;
        background: var(--brand-blue);
        color: var(--white);
        padding: 10px;
        font-size: 1.2rem;
    }
}


@media (max-width: 600px) {
    .services-box {
        grid-column: span 4;
    }

    #team-header h2{
        font-size: 2.0rem;
    }

    .team-text h2{
        font-size: 2.0rem;
    }

    .team-text p {
        font-size: 0.8rem;
        font-weight: 500;
    }
    

    .about-text,
    .team-text,
    .contact-info {
        padding: 20px 20px;
    }

    .services-box {
        flex-direction: column;
        align-items: flex-start;
        min-height: 150px;
    }

    .map-overlay {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 1100px) {
    .resources-section {
        grid-template-columns: repeat(2, 1fr);
    }

    #resources-header {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .resources-section {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0px;
    }

    #resources-header {
        grid-column: span 1;
    }

    #resources-header h2 {
        font-size: 2.4rem;
    }

    .resources-card-content {
        padding: 25px;
    }
}

@media (max-width: 1100px) {

    .form-gating-card,
    .download-method-card,
    .referral-form-card {
        max-width: 100%;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .resources-section {
        grid-template-columns: 1fr;
    }

    #resources-header {
        grid-column: span 1;
    }

    #forms-header h2,
    #resources-header h2 {
        font-size: 2.0rem;
    }

    .form-gating-card h3 {
        font-size: 1.6rem;
    }

    .form-gating-card p {
        max-width: 100%;
        font-size: 1rem;
    }

    .gating-actions {
        flex-direction: column;
        width: 100%;
    }

    .gating-actions .btn-fill,
    .gating-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .referral-form-card h2 {
        font-size: 2rem;
    }

    .form-row-two,
    .form-row-client-basic {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bento-style h3 {
        font-size: 1.8rem !important;
    }

    .form-lead-text {
        font-size: 0.98rem;
        max-width: 100%;
    }

    .form-notice-text {
        max-width: 100%;
    }
}

@media (max-width: 1000px) {
    .form-step-card {
        padding: 30px 25px;
        height: 580px;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .bento-icon-wrapper{
        margin-top: 20px;
        gap: 0;
        margin-bottom: 0px;
        width: 50px !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important; 
        justify-content: center !important;
    }

    .bento-icon-wrapper svg {
        width: 50px !important;
        height: 30px !important;
        stroke-width: 1.8 !important;
    }

    #forms-header h2 {
        font-size: 2.0rem;
    }

    #step-choose h3 {
        font-size: 1.5rem !important;
    }

    #step-choose p {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .form-step-card {
        height: 75vh;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        max-height: none;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;

    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .method-selection-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-referral-primary {
        width: 100%;
        min-width: 0;
        padding: 4px 16px;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-flow-controls {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 600px) {
    .card.about-img {
        min-height: 0 !important;
        height: 350px !important;
        width: 100% !important;
        display: block !important;
    }
}
