/**
 * NetaxServices Shared Stylesheet
 * Common styles for all netaxservices pages
 */

/* ============================================
   LAYOUT & SPACING UTILITIES
   ============================================ */

/* Container padding utilities */
.main-padding-top {
    padding-top: 24px;
}

.section-padding {
    padding: 4rem 0;
}

.section-padding-bottom {
    padding: 4rem 0 2rem 0;
}

/* Margin utilities */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ============================================
   HEADER & HERO STYLES
   ============================================ */

.head {
    padding-bottom: 24px;
}

.hero {
    background: linear-gradient(135deg, var(--primary, #0C4A6E) 0%, var(--primary-dark, #0F172A) 100%);
    color: white;
    padding: 3rem 0;
}

.hero-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-inner > div {
    flex: 1;
    min-width: 280px;
}

.hero-actions {
    margin: 1.5rem 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted, #6b7280);
    margin: 0.5rem 0 1rem;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
}

.text-center {
    text-align: center;
}

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

.flex-center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: start;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.mb-48 { margin-bottom: 48px; }
.pt-12 { padding-top: 12px; }

.feature-icon-large {
    font-size: 2rem;
}

.feature-title-block {
    display: block;
    margin-top: 8px;
}

.feature-text-block {
    display: block;
    margin-top: 4px;
}

.text-center-h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.text-center-p {
    text-align: center;
    color: var(--text-muted, #6b7280);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-sm {
    font-size: 0.875rem;
}

.muted {
    color: var(--text-muted, #6b7280);
}

/* ============================================
   CARD LINK CONTAINER
   ============================================ */

.card-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.card-links-bold {
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-hero {
    background: #0C4A6E;
    background-image: none;
}

.hero-actions .btn.btn-hero,
.hero-actions .btn.btn-hero:visited,
.hero-actions .btn.btn-hero:hover,
.hero-actions .btn.btn-hero:active,
.hero-actions .btn.btn-hero:focus {
    color: #ffffff;
    text-decoration: none;
}

.hero-actions .btn.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.hero-actions .btn.btn-hero:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */

.locations-section {
    padding: 4rem 0;
}

.locations-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.locations-list {
    flex: 0 0 250px;
    min-width: 200px;
}

.location-details {
    flex: 1;
    min-width: 300px;
}

.location-item {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.location-item:hover {
    background: var(--bg-hover, #f9fafb);
}

.location-item.active {
    background: var(--primary, #0C4A6E);
    color: white;
    border-color: var(--primary, #0C4A6E);
}

.location-toggle-icon {
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.location-detail {
    display: none;
}

.location-detail.active {
    display: block;
}

.location-map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 400px;
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-map-placeholder {
    background: var(--bg-secondary, #f9fafb);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.location-map-inner {
    text-align: center;
    padding: 2rem;
}

.location-emoji {
    font-size: 64px;
    margin-bottom: 1rem;
}

.location-map-text {
    font-size: 18px;
    color: var(--text-muted, #6b7280);
    margin: 0;
}

.location-info h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-info h3:first-child {
    margin-top: 0;
}

.location-info p {
    margin: 0.25rem 0;
}

.location-book-btn {
    display: inline-block;
    margin-top: 1rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    padding: 1.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
    margin: 0 0 1rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary, #0C4A6E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author-meta {
    font-size: 0.875rem;
}

/* ============================================
   FILE OPTIONS (Homepage)
   ============================================ */

.file-options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.file-option-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.file-option-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.file-option-text {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover {
    color: var(--primary, #0C4A6E);
}

/* Service tiles used in insurance and other pages */
.service-tile {
    background: #fff;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.service-tile .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.service-learn-more {
    color: var(--primary, #0C4A6E);
    text-decoration: none;
    font-weight: 500;
}

.service-learn-more:hover {
    text-decoration: underline;
}

.service-book-btn {
    background: var(--primary, #0C4A6E);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.service-book-btn:hover {
    background: var(--primary-dark, #0F172A);
}

/* ============================================
   PLATFORMS SECTION
   ============================================ */

.platform-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.platform-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   STATS & STEPS
   ============================================ */

.stat-box {
    padding: 1.5rem;
    background: var(--bg-card, #fff);
    border-radius: 8px;
    border: 1px solid var(--border-color, #e5e7eb);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary, #0C4A6E);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    margin: 0;
}

.stat-icon-box {
    margin-bottom: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary, #0C4A6E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.section-title-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-content-center {
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content-section-text {
    margin-bottom: 1rem;
}

.content-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.content-list li {
    margin-bottom: 0.5rem;
}

.section-divider {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

/* ============================================
   CALCULATOR STYLES
   ============================================ */

.calculator-container {
    padding: 2rem;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-title {
    margin-bottom: 0.5rem;
}

.calculator-subtitle {
    margin: 0;
}

.calculator-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.calculator-toggle-label {
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary, #0C4A6E);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.calculator-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.calculator-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.calculator-field {
    flex: 1;
    min-width: 250px;
}

.calculator-field-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.calculator-field-label {
    font-weight: 500;
}

.calculator-field-value {
    font-weight: 600;
    color: var(--primary, #0C4A6E);
}

.calculator-field input[type="range"] {
    width: 100%;
    margin: 1rem 0;
}

.calculator-field-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
}

.calculator-price-box {
    flex: 0 0 250px;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary, #f9fafb);
    border-radius: 12px;
}

.calculator-price-label-text {
    font-size: 0.875rem;
    color: var(--text-muted, #6b7280);
}

.calculator-price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary, #0C4A6E);
    line-height: 1;
}

.calculator-price-period {
    font-size: 1rem;
    color: var(--text-muted, #6b7280);
}

.annual-savings {
    display: none;
    background: #d1fae5;
    color: #065f46;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin: 1rem 0;
}

.annual-savings.show {
    display: inline-block;
}

.calculator-billing-text {
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* ============================================
   NOTE BOX
   ============================================ */

.note-box {
    margin-top: 2rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.note-text {
    margin: 0;
    font-size: 0.875rem;
    color: #92400e;
}

/* ============================================
   BOOKING SECTION
   ============================================ */

.booking-section-p {
    text-align: center;
    color: var(--text-muted, #6b7280);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.booking-iframe-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Locations page */
.locations-page {
    padding-top: 24px;
}

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

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
    }
    
    .hero-inner > div {
        width: 100%;
    }
    
    .locations-container {
        flex-direction: column;
    }
    
    .locations-list {
        flex: auto;
        width: 100%;
    }
    
    .calculator-content {
        flex-direction: column;
    }
    
    .calculator-price-box {
        flex: auto;
        width: 100%;
    }
}

/* ============================================
   TAX SCHOOL SPANISH PAGE STYLES
   ============================================ */

/* Sticky bar link */
.sticky-bar-link {
    color: #fff;
    text-decoration: underline;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Instructor image */
.instructor-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Certification badges container */
.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Individual certification badge */
.cert-badge {
    text-align: center;
}

.cert-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cert-title {
    font-weight: 600;
    color: var(--primary-accent);
}

.cert-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Choice group top margin */
.choice-group-top {
    margin-top: 1rem;
}

/* Checkout buttons */
.checkout-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.checkout-btn {
    flex: 1 1 260px;
    text-align: center;
}

.checkout-btn-secondary {
    background-color: #0d6efd;
}

/* Placement assistance section */
.placement-assistance {
    text-align: center;
    margin: 1.5rem 0;
}

.placement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #e7f0f7;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--primary-accent);
    font-weight: 600;
}

.placement-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Error message global */
.error-global {
    text-align: center;
    font-size: 1rem;
    margin-top: 1.5rem;
}

/* Pay now button full width */
.pay-now-btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    display: none;
}

/* Helper text centered */
.helper-text-center {
    text-align: center;
    margin-top: 1rem;
}

/* Section alternate background */
.section-alt-bg {
    background-color: var(--bg-color);
}

/* Section narrow content */
.section-narrow {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-narrow-p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */

/* Card narrow */
.card-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* Form paragraph */
.form-paragraph {
    margin-bottom: 24px;
    color: var(--text-muted);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Honeypot fields - hidden */
.honeypot {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form label */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

/* Form input */
.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    resize: vertical;
    background: white;
}

/* Form message */
.form-message {
    display: none;
    padding: 16px;
    border-radius: 8px;
    margin-top: 8px;
}

/* Submit button margin */
.btn-submit {
    margin-top: 8px;
}

/* Full width button in card */
.btn-full {
    margin-top: 1rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Grid section margin */
.grid-section-margin {
    margin-top: 64px;
}

/* Hours display */
.hours-display {
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Button row */
.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Button secondary */
.btn-secondary {
    background: #0d6efd;
}

/* Muted margin */
.muted-margin {
    margin: 0 0 6px;
}

.muted-margin-top {
    margin: 10px 0 6px;
}

/* Footer Utility Classes */
.footer-text-secondary {
    color: #94A3B8;
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.6;
}

.footer-contact-text {
    margin: 0 0 8px;
    font-size: 14px;
}

.footer-contact-text-last {
    margin: 0;
    font-size: 14px;
}

.footer-contact-link {
    color: #CBD5E1 !important;
}

.mt-24 {
    margin-top: 24px;
}

/* Coverage / service accordions (insurance, tax resolution) */
.coverage-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
}

.coverage-accordion__item {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    background: #fff;
}

.coverage-accordion__item summary {
    cursor: pointer;
    padding: 16px 20px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.coverage-accordion__item summary::-webkit-details-marker {
    display: none;
}

.coverage-accordion__item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary, #0C4A6E);
    flex-shrink: 0;
}

.coverage-accordion__item[open] summary::after {
    content: '−';
}

.coverage-accordion__item summary h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.coverage-accordion__body {
    padding: 0 20px 18px;
}

.coverage-list {
    margin: 12px 0 0;
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 28px;
}

.coverage-list li {
    break-inside: avoid;
    margin-bottom: 6px;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 1.5rem;
}

.situation-item {
    background: var(--bg-soft, #f8fafc);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
}

.disclosure-block {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
    border-top: 1px solid var(--border-color, #e5e7eb);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.hero-cta-row {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 640px) {
    .coverage-list {
        columns: 1;
    }
}
