/*
Theme Name: Threadline
Theme URI: https://getthreadline.com
Author: Threadline
Author URI: https://getthreadline.com
Description: Threadline 90-Day Tech Interruption Stabilization landing page theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threadline
*/

/* ==========================================================================
   CSS Custom Properties (Brand Design System)
   ========================================================================== */
:root {
    /* Brand Colors */
    --threadline-navy: #003C67;
    --threadline-blue: #1779C4;
    --signal-orange: #F25C05;
    --graphite-gray: #414650;
    --threadline-cream: #FAF5EB;
    
    /* Functional Colors */
    --text-primary: var(--threadline-navy);
    --text-secondary: var(--graphite-gray);
    --bg-primary: var(--threadline-cream);
    --bg-card: #FFFFFF;
    --border-color: rgba(0, 60, 103, 0.12);
    --border-strong: rgba(0, 60, 103, 0.25);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 18px;
    --line-height-base: 1.6;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Layout */
    --container-max: 960px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    
    /* Blueprint Grid */
    --grid-color: rgba(0, 60, 103, 0.06);
    --grid-size: 24px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: var(--line-height-base);
    color: #003C67;
    background-color: #FAF5EB;
    background-image: 
        linear-gradient(rgba(0, 60, 103, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 60, 103, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center center;
}

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

a {
    color: #1779C4;
    text-decoration: none;
    transition: color 150ms ease;
}

a:hover {
    color: #003C67;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #003C67;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    color: #414650;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--space-4xl) 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1779C4;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 250ms ease;
}

.btn--primary {
    background-color: #003C67;
    color: #FAF5EB;
}

.btn--primary:hover {
    background-color: #1779C4;
    color: #FAF5EB;
}

.btn--secondary {
    background-color: transparent;
    color: #003C67;
    border: 1px solid rgba(0, 60, 103, 0.25);
}

.btn--secondary:hover {
    background-color: #003C67;
    color: #FAF5EB;
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: #FAF5EB;
    border-top: 1px solid rgba(0, 60, 103, 0.12);
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-cta .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    background: #FAF5EB;
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
    z-index: 50;
    padding: var(--space-md) 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003C67;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-header__nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #414650;
}

.site-header__nav-link:hover {
    color: #003C67;
}

@media (max-width: 768px) {
    .site-header__nav-link {
        display: none;
    }
    
    .site-header__nav .btn {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: var(--space-4xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero__headline {
    margin-bottom: var(--space-lg);
}

.hero__subhead {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero__proof {
    font-size: 0.875rem;
    font-style: italic;
    color: #414650;
    padding-left: var(--space-md);
    border-left: 2px solid #F25C05;
}

/* Blueprint Card Visual */
.blueprint-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.25);
    border-radius: 4px;
    padding: var(--space-xl);
    position: relative;
}

.blueprint-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(0, 60, 103, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

.blueprint-card__header {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #414650;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.blueprint-card__diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.diagram-node {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.diagram-node--start {
    background: rgba(242, 92, 5, 0.1);
    color: #F25C05;
    border: 1px solid #F25C05;
}

.diagram-node--process {
    background: rgba(23, 121, 196, 0.1);
    color: #1779C4;
    border: 1px solid #1779C4;
}

.diagram-node--end {
    background: rgba(0, 60, 103, 0.1);
    color: #003C67;
    border: 1px solid #003C67;
}

.diagram-arrow {
    width: 24px;
    height: 2px;
    background: rgba(0, 60, 103, 0.25);
    position: relative;
}

.diagram-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: rgba(0, 60, 103, 0.25);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 60, 103, 0.12);
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.problem__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 640px) {
    .problem__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.problem__card {
    padding: var(--space-lg);
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
    background: #FAF5EB;
}

.problem__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1779C4;
    margin-bottom: var(--space-md);
}

.problem__card-title {
    margin-bottom: var(--space-sm);
}

.problem__card-text {
    font-size: 0.9375rem;
}

.problem__qualifier {
    text-align: center;
    padding: var(--space-xl);
    background: #FAF5EB;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.problem__qualifier-question {
    font-size: 1.125rem;
    font-weight: 500;
    color: #003C67;
    margin-bottom: var(--space-sm);
}

.problem__qualifier-answer {
    font-weight: 500;
    color: #F25C05;
}

/* ==========================================================================
   Phases / How It Works
   ========================================================================== */
.phases {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.phase {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
    position: relative;
}

.phase::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 100%;
    width: 1px;
    height: var(--space-2xl);
    background: linear-gradient(to bottom, rgba(0, 60, 103, 0.25), transparent);
}

.phase:last-child::before {
    display: none;
}

.phase__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1779C4;
    opacity: 0.3;
    line-height: 1;
}

.phase__timeline {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1779C4;
    margin-bottom: var(--space-xs);
}

.phase__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.phase__description {
    margin-bottom: var(--space-lg);
}

.phase__outputs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.phase__outputs li {
    font-size: 0.875rem;
    color: #414650;
    padding-left: var(--space-lg);
    position: relative;
}

.phase__outputs li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1779C4;
}

@media (max-width: 640px) {
    .phase {
        grid-template-columns: 1fr;
    }
    
    .phase__number {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Outputs Section
   ========================================================================== */
.outputs__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.output-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.output-item__marker {
    width: 4px;
    min-height: 100%;
    background: #1779C4;
    border-radius: 2px;
    flex-shrink: 0;
}

.output-item__title {
    margin-bottom: var(--space-xs);
}

.output-item__text {
    font-size: 0.9375rem;
}

/* ==========================================================================
   Scope Fence Section
   ========================================================================== */
.scope-fence {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 60, 103, 0.12);
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.scope-fence__intro {
    margin-bottom: var(--space-xl);
}

.scope-fence__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .scope-fence__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.scope-fence__item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #FAF5EB;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.scope-fence__icon {
    font-size: 1rem;
    font-weight: 700;
    color: #414650;
    opacity: 0.5;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.scope-fence__text {
    font-size: 0.9375rem;
    color: #414650;
}

.scope-fence__text strong {
    color: #003C67;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing .container {
    max-width: 640px;
}

.pricing__card {
    background: #FFFFFF;
    border: 2px solid #003C67;
    border-radius: 4px;
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.pricing__header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
    margin-bottom: var(--space-xl);
}

.pricing__name {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #414650;
    margin-bottom: var(--space-sm);
}

.pricing__amount {
    font-size: 3rem;
    font-weight: 700;
    color: #003C67;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.pricing__period {
    font-size: 0.9375rem;
    color: #414650;
}

.pricing__schedule {
    margin-bottom: var(--space-xl);
}

.pricing__schedule-title {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #414650;
    margin-bottom: var(--space-md);
}

.pricing__schedule-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pricing__schedule-item {
    display: grid;
    grid-template-columns: 80px 80px 1fr;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.pricing__schedule-when {
    font-size: 0.875rem;
    font-weight: 500;
    color: #003C67;
}

.pricing__schedule-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #003C67;
}

.pricing__schedule-note {
    font-size: 0.8125rem;
    color: #414650;
}

.pricing__equivalent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #FAF5EB;
    border-radius: 4px;
    margin-bottom: var(--space-xl);
}

.pricing__equivalent-label {
    font-size: 0.8125rem;
    color: #414650;
}

.pricing__equivalent-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #003C67;
}

.pricing__next {
    text-align: center;
    padding: var(--space-xl);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.pricing__next-title {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.pricing__next-text {
    font-size: 0.9375rem;
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.calculator {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 60, 103, 0.12);
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.calculator__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 640px) {
    .calculator__wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.calculator__inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.calculator__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.calculator__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #003C67;
}

.calculator__input {
    padding: var(--space-md);
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 600;
    color: #003C67;
    background: #FAF5EB;
    border: 1px solid rgba(0, 60, 103, 0.25);
    border-radius: 4px;
    width: 100%;
}

.calculator__input:focus {
    outline: none;
    border-color: #1779C4;
    box-shadow: 0 0 0 3px rgba(23, 121, 196, 0.1);
}

.calculator__results {
    padding: var(--space-xl);
    background: #FAF5EB;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.calculator__result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.calculator__result-label {
    font-size: 0.875rem;
    color: #414650;
}

.calculator__result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003C67;
}

.calculator__comparison {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px solid #003C67;
}

.calculator__comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
    color: #414650;
}

.calculator__comparison-value {
    font-weight: 600;
    color: #003C67;
}

.calculator__comparison-row--highlight {
    padding: var(--space-md);
    background: rgba(242, 92, 5, 0.08);
    border-radius: 4px;
    margin-top: var(--space-sm);
}

.calculator__comparison-row--highlight .calculator__comparison-value {
    color: #F25C05;
    font-weight: 700;
}

.calculator__note {
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    font-style: italic;
    color: #414650;
}

/* ==========================================================================
   Measurement Section
   ========================================================================== */
.measurement__intro {
    margin-bottom: var(--space-xl);
}

.measurement__metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 640px) {
    .measurement__metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.measurement__metric {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.measurement__metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1779C4;
    opacity: 0.4;
    line-height: 1;
}

.measurement__metric-content h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.measurement__metric-content p {
    font-size: 0.875rem;
}

.measurement__example {
    padding: var(--space-xl);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.measurement__example-title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.measurement__example-note {
    font-size: 0.75rem;
    font-style: italic;
    color: #414650;
    margin-bottom: var(--space-lg);
}

.measurement__table-wrapper {
    overflow-x: auto;
}

.measurement__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.measurement__table th,
.measurement__table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.measurement__table th {
    font-weight: 500;
    color: #003C67;
    background: #FAF5EB;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.measurement__table td {
    color: #414650;
}

.measurement__table tr:last-child td {
    font-weight: 600;
    color: #003C67;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 60, 103, 0.12);
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.faq__list {
    display: flex;
    flex-direction: column;
}

.faq__item {
    border-bottom: 1px solid rgba(0, 60, 103, 0.12);
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: #003C67;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 150ms ease;
}

.faq__question:hover {
    color: #1779C4;
}

.faq__icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: #414650;
    transition: transform 250ms ease;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease, padding 250ms ease;
}

.faq__item.is-open .faq__answer {
    max-height: 500px;
    padding-bottom: var(--space-lg);
}

.faq__answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 640px) {
    .contact__wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact__intro {
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
}

.contact__direct {
    padding: var(--space-lg);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.contact__direct p {
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.contact__email {
    font-size: 1rem;
    font-weight: 500;
    color: #1779C4;
}

.contact__form {
    padding: var(--space-xl);
    background: #FFFFFF;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
}

.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #003C67;
    margin-bottom: var(--space-sm);
}

.form__required {
    color: #F25C05;
}

.form__input {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    color: #003C67;
    background: #FAF5EB;
    border: 1px solid rgba(0, 60, 103, 0.12);
    border-radius: 4px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form__input:focus {
    outline: none;
    border-color: #1779C4;
    box-shadow: 0 0 0 3px rgba(23, 121, 196, 0.1);
}

.form__input.is-invalid {
    border-color: #F25C05;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23414650' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__error {
    display: none;
    font-size: 0.8125rem;
    color: #F25C05;
    margin-top: var(--space-xs);
}

.form__group.is-invalid .form__error {
    display: block;
}

/* Form Success State */
.contact__success {
    padding: var(--space-2xl);
    background: #FFFFFF;
    border: 2px solid #1779C4;
    border-radius: 4px;
    text-align: center;
}

.contact__success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: #1779C4;
    background: rgba(23, 121, 196, 0.1);
    border-radius: 50%;
}

.contact__success-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.contact__success-text {
    margin-bottom: var(--space-lg);
}

.contact__success-fallback {
    font-size: 0.875rem;
    color: #414650;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: #003C67;
    color: #FAF5EB;
}

.site-footer__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
    .site-footer__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.site-footer__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-footer__tagline {
    font-size: 0.875rem;
    color: rgba(250, 245, 235, 0.7);
    margin-top: var(--space-sm);
}

.site-footer__link {
    font-size: 0.9375rem;
    color: #FAF5EB;
}

.site-footer__link:hover {
    color: #FAF5EB;
    text-decoration: underline;
}

.site-footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(250, 245, 235, 0.15);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 640px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.site-footer__copyright,
.site-footer__privacy {
    font-size: 0.8125rem;
    color: rgba(250, 245, 235, 0.5);
}

/* Anchor offset for sticky header */
section[id] {
    scroll-margin-top: 80px;
}

.anchor-target {
    display: block;
    height: 0;
    visibility: hidden;
    scroll-margin-top: 100px;
}

/* ==========================================================================
   Utility: Hidden
   ========================================================================== */
[hidden] {
    display: none !important;
}