/* =================================
   Shadow Falcon - CSS Stylesheet
   Mobile-first responsive design
   Using Flexbox only (NO Grid)
   ================================= */

/* =================================
   CSS RESET & BASE STYLES
   ================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
    color: #1e293b;
}

/* Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.625rem;
    }
}

/* =================================
   CONTAINER & LAYOUT UTILITIES
   ================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* =================================
   HEADER & NAVIGATION
   ================================= */

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 160px;
    height: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.menu-toggle:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 28px;
    height: 3px;
    background-color: #1e293b;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.875rem 1rem;
    color: #334155;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #eff6ff;
    color: #2563eb;
}

.nav-menu a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Tablet Navigation */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        gap: 0.25rem;
    }

    .nav-menu a {
        padding: 0.625rem 1rem;
    }
}

@media (min-width: 1024px) {
    .logo img {
        width: 180px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.75rem 1.25rem;
    }
}

/* =================================
   HERO SECTIONS
   ================================= */

.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 0;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
    }
}

/* Page Hero (smaller hero for internal pages) */
.page-hero {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 0.75rem;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .page-hero {
        padding: 4rem 0;
    }

    .page-hero-subtitle {
        font-size: 1.25rem;
    }
}

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

.section {
    padding: 3rem 0;
}

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

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.125rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    .section-intro {
        margin-bottom: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 5rem 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .section-intro {
        margin-bottom: 4rem;
    }
}

/* Background Variants */
.bg-light {
    background-color: #f8fafc;
}

.bg-dark {
    background-color: #1e293b;
    color: #e2e8f0;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: #ffffff;
}

.bg-dark p {
    color: #cbd5e1;
}

.section-title.light {
    color: #ffffff;
}

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

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.service-header img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.service-header h3 {
    margin-bottom: 0.375rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0;
}

.service-description {
    color: #64748b;
    margin-bottom: 1.25rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: #475569;
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .services-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .service-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 0;
    }
}

@media (min-width: 1024px) {
    .services-list {
        gap: 2rem;
    }
}

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

.services-featured {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-feature {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.service-feature.reverse {
    flex-direction: column;
}

.service-feature-content h3 {
    margin-bottom: 1rem;
}

.service-feature-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.service-feature-img {
    width: 100%;
    max-width: 400px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.link-arrow::after {
    content: '→';
    font-size: 1.25rem;
}

.link-arrow:hover {
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .service-feature {
        flex-direction: row;
        gap: 3rem;
    }

    .service-feature.reverse {
        flex-direction: row-reverse;
    }

    .service-feature-content {
        flex: 1;
    }

    .service-feature-img {
        flex: 1;
    }
}

/* =================================
   BENEFIT CARDS & FEATURE BLOCKS
   ================================= */

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
}

.benefit-card h3 {
    margin-bottom: 0.875rem;
    color: #1e293b;
}

.benefit-card p {
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .benefits-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .benefit-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 0;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        gap: 2rem;
    }

    .benefit-card {
        flex: 1 1 calc(33.333% - 1.334rem);
    }
}

/* =================================
   COMPANY INTRO & STATISTICS
   ================================= */

.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.intro-text h2 {
    margin-bottom: 1.25rem;
}

.intro-text p {
    color: #64748b;
    margin-bottom: 1.25rem;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background-color: #ffffff;
    border: 2px solid #dbeafe;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

@media (min-width: 768px) {
    .intro-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .intro-grid {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
    }

    .intro-text {
        flex: 1.5;
    }

    .intro-stats {
        flex: 1;
        flex-direction: column;
    }

    .stat-card {
        flex: 1;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* =================================
   TESTIMONIAL CARDS
   ================================= */

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background-color: #334155;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #e2e8f0;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: #2563eb;
    line-height: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #ffffff;
    font-size: 1rem;
}

.testimonial-author span {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .testimonial-card {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        gap: 2rem;
    }

    .testimonial-card {
        flex: 1 1 calc(33.333% - 1.334rem);
    }
}

/* =================================
   PROCESS STEPS
   ================================= */

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #64748b;
    max-width: 400px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .process-step {
        flex: 1 1 calc(33.333% - 1.334rem);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        flex-direction: row;
        justify-content: space-between;
    }

    .process-step {
        flex: 1 1 calc(20% - 1.6rem);
    }

    .process-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* =================================
   TIMELINE LAYOUTS
   ================================= */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 32px;
    width: 2px;
    height: calc(100% + 2.5rem);
    background-color: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #2563eb;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #2563eb;
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: 11px;
    }

    .timeline-marker {
        width: 24px;
        height: 24px;
    }
}

/* =================================
   TEAM MEMBER CARDS
   ================================= */

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background-color: #e2e8f0;
}

.team-card h3 {
    margin-bottom: 0.375rem;
}

.team-role {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.team-card p {
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .team-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .team-card {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        gap: 2rem;
    }

    .team-card {
        flex: 1 1 calc(33.333% - 1.334rem);
    }
}

/* =================================
   VALUE CARDS
   ================================= */

.values-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    background-color: #ffffff;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.value-card h3 {
    margin-bottom: 0.875rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .values-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .value-card {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        gap: 2rem;
    }
}

/* =================================
   EXPERTISE & CONTENT BLOCKS
   ================================= */

.expertise-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.expertise-text h3 {
    margin-bottom: 1rem;
}

.expertise-text p {
    color: #64748b;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .expertise-content {
        flex-direction: row;
        gap: 3rem;
    }

    .expertise-text {
        flex: 1;
    }
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question:focus {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #64748b;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1.25rem;
    color: #64748b;
}

.faq-answer ul {
    padding-left: 3rem;
    list-style: disc;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* =================================
   CTA SECTIONS
   ================================= */

.cta {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .cta {
        padding: 6rem 0;
    }

    .cta p {
        font-size: 1.25rem;
    }
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1e40af;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.cta .btn-primary {
    background-color: #ffffff;
    color: #2563eb;
}

.cta .btn-primary:hover {
    background-color: #f8fafc;
    color: #1e40af;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2.25rem;
        font-size: 1.0625rem;
    }

    .btn-small {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

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

.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2.5rem;
    }

    .footer-col {
        flex: 1 1 calc(50% - 1.25rem);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        gap: 3rem;
    }

    .footer-col {
        flex: 1 1 calc(25% - 2.25rem);
    }
}

/* =================================
   COOKIE BANNER
   ================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    color: #cbd5e1;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .cookie-banner {
        padding: 1.5rem 2rem;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cookie-content p {
        margin-right: 2rem;
    }
}

/* =================================
   COOKIE PREFERENCES MODAL
   ================================= */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin-bottom: 0;
    font-size: 1.375rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #64748b;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.modal-close:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.modal-body {
    padding: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option label {
    display: flex;
    gap: 1rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-option strong {
    display: block;
    margin-bottom: 0.375rem;
    color: #1e293b;
}

.cookie-option p {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .modal {
        padding: 2rem;
    }

    .modal-header {
        padding: 2rem;
    }

    .modal-body {
        padding: 2rem;
    }

    .modal-footer {
        padding: 2rem;
    }
}

/* =================================
   LEGAL PAGES & FORMS STYLING
   ================================= */

.legal-content {
    padding: 2rem 0 3rem;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1e293b;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #334155;
}

.legal-text p {
    color: #475569;
    margin-bottom: 1.25rem;
}

.legal-text ul,
.legal-text ol {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.legal-text ol {
    list-style: decimal;
}

.legal-text li {
    color: #475569;
    margin-bottom: 0.625rem;
    padding-left: 0.5rem;
}

.legal-text a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-text a:hover {
    color: #1e40af;
}

.legal-text strong {
    color: #1e293b;
}

@media (min-width: 768px) {
    .legal-content {
        padding: 3rem 0 4rem;
    }
}

@media (min-width: 1024px) {
    .legal-content {
        padding: 4rem 0 5rem;
    }
}

/* =================================
   TABLE STYLING
   ================================= */

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

thead {
    background-color: #f8fafc;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

td {
    padding: 1rem;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f8fafc;
}

@media (max-width: 767px) {
    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.75rem;
    }
}

/* =================================
   UTILITY CLASSES
   ================================= */

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

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

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

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* =================================
   ACCESSIBILITY & FOCUS STATES
   ================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* =================================
   CONTACT PAGE SPECIFIC
   ================================= */

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: #64748b;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .contact-grid {
        flex-direction: row;
        gap: 3rem;
    }

    .contact-info {
        flex: 1;
    }
}

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

.services-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-intro h2 {
    margin-bottom: 1rem;
}

.services-intro p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 0;
}

/* =================================
   ABOUT PAGE SPECIFIC
   ================================= */

.about-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .about-hero {
        flex-direction: row;
        gap: 4rem;
    }
}

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

img[width][height] {
    height: auto;
}

/* =================================
   PRINT STYLES
   ================================= */

@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .btn,
    .menu-toggle {
        display: none !important;
    }

    body {
        color: #000000;
        background-color: #ffffff;
    }

    a {
        text-decoration: underline;
    }

    .section {
        page-break-inside: avoid;
    }
}
