/* Roch Dog Assessment Form - Brand Styles */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Figtree', 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #B8860B;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.link {
    color: #B8860B;
    text-decoration: underline;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Varela Round', sans-serif;
    margin: 0;
}

/* ===== MINIMAL HEADER ===== */
.header-minimal {
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-logo {
    display: inline-block;
}

.header-logo img {
    height: 32px;
    width: auto;
}

/* ===== NAVIGATION (legacy - not used in minimal layout) ===== */
.hero.small {
    background: #1a1a1a;
}

.nav {
    padding: 15px 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo--image {
    height: 40px;
    width: auto;
}

.nav-menu__wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-menu__item--link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-menu__item--link:hover {
    color: #B8860B;
    text-decoration: none;
}

.nav-social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu__social--container {
    display: flex;
    gap: 12px;
}

.nav-menu__social--link {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-menu__social--link:hover {
    opacity: 1;
}

.nav__mobile-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-without-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.story-hero__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.story-hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.assessment-intro {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    text-align: left;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}

.intro-title {
    font-family: 'Figtree', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.intro-subtitle {
    font-family: 'Figtree', sans-serif;
    font-size: 1.25rem;
    color: #9f810f;
    font-weight: 700;
    margin: 0 0 32px 0;
}

.intro-text {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.intro-text--large {
    font-size: 1.15625rem;
}

.text-medium {
    font-weight: 500;
}

/* ===== FORM SECTION ===== */
.section_onboarding {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px 80px;
    flex: 1;
}

.ob-form_block {
    background: #fff;
    border-radius: 12px;
    padding: 48px;
    border: 1px solid #e5e5e5;
}

.ob-form_form {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== FORM STEPS ===== */
.ob-form_step {
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.ob-form_step.active {
    display: block;
    width: 100%;
}

.ob-form_step-title {
    font-family: 'Figtree', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.text-block-85 {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 10px;
}

.text-color-paragraph {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
}

/* ===== SPACERS ===== */
.spacer-xsmall { height: 8px; }
.spacer-small { height: 16px; }
.spacer-medium { height: 24px; }

/* ===== FORM GRID ===== */
.ob-form_cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 28px;
}

.ob-form_cols-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ob-form_cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ob-form_stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    min-width: 0;
}

.ob-form_stack > * {
    width: 100%;
    min-width: 0;
}

.ob-form_questions {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== FORM FIELDS ===== */
.form_field-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.form_label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.form_label {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #1a1a1a;
}

.form_input {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.form_input:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
    background: #fff;
}

.form_input::placeholder {
    color: #999;
}

.form_input.is-text-area {
    min-height: 150px;
    resize: vertical;
}

/* Narrow field variant */
.form_field-wrap.is-narrow {
    max-width: 200px;
    flex: 0 0 auto;
}

/* Select dropdown styling */
select.form_select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px !important;
    padding-right: 44px;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
}

select.form_select:focus {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239f810f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px !important;
}

select.form_select option {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    padding: 8px;
    background: #fff;
    color: #1a1a1a;
}

/* ===== ERROR MESSAGES ===== */
.ob-form_error {
    display: none;
    font-size: 0.75rem;
    color: #dc3545;
    font-weight: 500;
}

.form_field-wrap.has-error .ob-form_error,
.ob-form_button-spacer.has-error .ob-form_error {
    display: block;
}

.form_field-wrap.has-error .form_input {
    border-color: #dc3545;
}

/* ===== RADIO CARD OPTIONS (Role Selection, Yes/No/Maybe) ===== */
.form_option1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
    position: relative;
}

.form_option1:hover {
    border-color: #B8860B;
    background: #fff;
}

.form_option1 input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form_option1 input[type="radio"]:checked + .form_option1-icon + .form_option1-img {
    color: #B8860B;
}

.form_option1 input[type="radio"]:checked ~ .form_option1-label {
    color: #B8860B;
    font-weight: 600;
}

.form_option1:has(input[type="radio"]:checked) {
    border-color: #B8860B;
    background: rgba(184, 134, 11, 0.05);
}

.form_option1-icon {
    display: none;
}

.form_option1-img {
    color: #666;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.form_option1-label {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
}

/* ===== RADIO/CHECKBOX LIST OPTIONS (Survey Questions) ===== */
.form_option3 {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
    margin-bottom: 8px;
}

.form_option3:hover {
    border-color: #B8860B;
    background: #fff;
}

.form_option3 input[type="radio"],
.form_option3 input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form_option3-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.form_option3-icon.checkbox {
    border-radius: 4px;
}

.form_option3 input[type="radio"]:checked + .form_option3-icon,
.form_option3 input[type="checkbox"]:checked + .form_option3-icon {
    border-color: #B8860B;
    background: #B8860B;
}

.form_option3 input[type="radio"]:checked + .form_option3-icon::after,
.form_option3 input[type="checkbox"]:checked + .form_option3-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.form_option3 input[type="checkbox"]:checked + .form_option3-icon.checkbox::after {
    width: 10px;
    height: 6px;
    background: transparent;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    border-radius: 0;
    transform: translate(-50%, -60%) rotate(-45deg);
}

.form_option3:has(input:checked) {
    border-color: #B8860B;
    background: rgba(184, 134, 11, 0.05);
}

.form_option3-label {
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
}

/* ===== BUTTON GROUP ===== */
.ob-form_button-spacer {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-form_button-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.ob-form_button {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.ob-form_button.is-back {
    background: #9f810f;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-form_button.is-back:hover {
    background: #8a7009;
}

.ob-form_button.is-back svg {
    opacity: 1;
}

.ob-form_button.is-back svg path {
    fill: white;
    fill-opacity: 1;
}

.ob-form_button.is-next,
.ob-form_button.is-submit {
    background: #9f810f;
    color: #fff;
    min-width: 120px;
}

.ob-form_button.is-next:hover,
.ob-form_button.is-submit:hover {
    background: #8a7009;
}

.ob-form_button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.ob-form_success-msg,
.ob-form_error-msg {
    display: none;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.ob-form_success-msg {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ob-form_success-msg.show {
    display: block;
}

.ob-form_error-msg {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    margin-top: 24px;
}

.ob-form_error-msg.show {
    display: block;
}

.text-block-84 {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== REFERENCE SECTION ===== */
.reference-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 40px 20px;
}

.reference-text {
    font-family: 'Figtree', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.reference-link {
    color: #9f810f;
    text-decoration: underline;
}

.reference-link:hover {
    text-decoration: none;
}

/* ===== MINIMAL FOOTER ===== */
.footer-minimal {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 20px 40px;
    margin-top: auto;
}

.footer-minimal__content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.footer-minimal__copyright {
    color: #999;
}

.footer-minimal__links {
    display: flex;
    gap: 20px;
}

.footer-minimal__links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-minimal__links a:hover {
    color: #B8860B;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .section_onboarding {
        max-width: 100%;
        padding: 0 24px 60px;
    }

    .ob-form_block {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .header-minimal {
        padding: 15px 20px;
    }

    .ob-form_cols-2,
    .ob-form_cols-4,
    .ob-form_cols-3 {
        grid-template-columns: 1fr;
    }

    .ob-form_block {
        padding: 24px;
    }

    .footer-minimal {
        padding: 15px 20px;
    }

    .footer-minimal__content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .form_option1 {
        padding: 16px 12px;
    }

    .ob-form_step-title {
        font-size: 1.4rem;
    }

    .intro-section {
        padding: 40px 24px 30px;
    }

    .intro-title {
        font-size: 2rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .ob-form_cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section_onboarding {
        padding: 0 16px 60px;
    }

    .ob-form_block {
        padding: 20px;
        border-radius: 8px;
    }

    .intro-section {
        padding: 30px 16px 20px;
    }

    .intro-title {
        font-size: 1.75rem;
    }
}
