/* 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 ===== */
/* ===== SITE NAV (matches standards.rochdog.com) ===== */
.site-nav { background: transparent; padding: 16px 24px 0; position: relative; }
.site-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; height: 70px; display: flex; align-items: center; background: #333; border-radius: 12px; }
.site-nav__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-nav__logo-img { height: 28px; width: auto; }
.site-nav__menu { display: flex; align-items: center; flex: 1; min-width: 0; }
.site-nav__links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0 auto; padding: 0; }
.site-nav__links a { color: rgba(255,255,255,0.85); font-size: 0.875rem; font-family: 'Figtree', sans-serif; font-weight: 600; text-decoration: none; transition: color 0.15s; white-space: nowrap; padding: 24px 4px; }
.site-nav__links a:hover { color: #B8860B; text-decoration: none; }
.site-nav__socials { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-nav__social-link { display: flex; align-items: center; opacity: 0.7; transition: opacity 0.15s; }
.site-nav__social-link:hover { opacity: 1; }
.site-nav__social-link img { display: block; filter: brightness(0) invert(1); }
.site-nav__mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px; line-height: 1; }

.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;
}

/* ===== SITE FOOTER (matches standards.rochdog.com) ===== */
.site-footer { background: #3d3d3d; margin-top: auto; padding: 0; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 32px 40px; display: flex; align-items: start; gap: 48px; }
.site-footer__logo { align-self: center; flex-shrink: 0; }
.site-footer__logo-img { height: 36px; width: auto; display: block; }
.site-footer__col { min-width: 0; flex-shrink: 0; }
.site-footer__inner > .site-footer__col:nth-child(2) { margin-left: auto; }
.site-footer__col-heading { font-family: 'Figtree', sans-serif; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #B8860B; display: block; margin-bottom: 14px; }
.site-footer__col-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col-links a { font-family: 'Figtree', sans-serif; font-size: 0.9375rem; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.15s; }
.site-footer__col-links a:hover { color: #fff; text-decoration: none; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); }
.site-footer__bottom-inner { max-width: 1200px; margin: 0 auto; padding: 14px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__copy { font-family: 'Figtree', sans-serif; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.site-footer__bottom-links { display: flex; gap: 28px; }
.site-footer__bottom-links a { font-family: 'Figtree', sans-serif; font-size: 0.8125rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.site-footer__bottom-links a:hover { color: rgba(255,255,255,0.85); }

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

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

@media (max-width: 768px) {
    /* Mobile nav */
    .site-nav__inner { padding: 0 16px; height: 56px; border-radius: 8px; }
    .site-nav { padding: 12px 16px 0; }
    .site-nav__mobile-toggle { display: block; margin-left: auto; }
    .site-nav__menu { display: none; position: absolute; top: 56px; left: 0; right: 0; background: #333; border-radius: 0 0 12px 12px; flex-direction: column; padding: 16px; z-index: 100; }
    .site-nav__menu.is-open { display: flex; }
    .site-nav__links { flex-direction: column; gap: 8px; width: 100%; }
    .site-nav__links a { padding: 12px 4px; }
    .site-nav__socials { margin-top: 12px; }

    /* Mobile footer */
    .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px 24px; }
    .site-footer__inner > .site-footer__col:nth-child(2) { margin-left: 0; }
    .site-footer__bottom-inner { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 8px; }

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

    .ob-form_block {
        padding: 24px;
    }

    .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;
    }
}

/* ===== PAYMENT SECTION ===== */

.payment-cta {
    text-align: center;
    margin: 2rem 0 1rem;
}

.pay-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: #9f810f;
    color: #fff;
    font-family: 'Figtree', 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
    letter-spacing: 0.01em;
}

.pay-button:hover {
    background-color: #8a7010;
    text-decoration: none;
}

.payment-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

.payment-error {
    text-align: center;
    color: #c53030;
    font-size: 0.95rem;
    margin-top: 1rem;
    padding: 12px 20px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-confirmed-banner {
    text-align: center;
    padding: 14px 20px;
    background-color: #f0fff4;
    border-bottom: 2px solid #48bb78;
    color: #276749;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Figtree', 'Lato', sans-serif;
}
