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

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #000;
    background-color: #f5f5f7;
    /* Off-white background to make rounded sections pop */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: transparent;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-left {
    width: 200px;
    display: flex;
    justify-content: flex-start;
}

.btn-pill-small {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-pill-small:hover {
    transform: scale(1.05);
}

.nav-center-pill {
    background-color: rgba(255, 255, 255, 0.08);
    /* light translucent */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* top highlight mimicking glass */
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
}

.nav-links-pill {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.nav-links-pill a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    transition: opacity 0.2s, text-shadow 0.2s;
}

.nav-links-pill a:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.header-actions-right {
    width: 200px;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-actions-right {
        display: none;
    }

    .nav-center-pill {
        display: none;
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        flex-direction: column;
        background-color: rgba(30, 35, 40, 0.95);
        padding: 2rem;
        border-radius: 12px;
        text-align: center;
        border-top: none;
    }

    .nav-center-pill.nav-open {
        display: flex;
    }

    .nav-links-pill {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Ref-Style Hero Section */
.hero-ref-style {
    position: relative;
    background: radial-gradient(circle at 60% 40%, #152936 0%, #0d161b 100%);
    background-color: #0d161b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10rem;
    height: auto;
    min-height: 85vh;
    margin: 0 0 1rem 0;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.hero-bg-ref {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    z-index: 0;
}

/* Centered Hero Content */
.hero-center-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    align-self: center;
    background: rgba(255, 255, 255, 0.05);
}

.hero-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -2px;
}

.text-red {
    color: #d32f2f;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 600px;
}

.hero-center-content .hero-quote-btn {
    align-self: center;
    margin-top: 0.5rem;
}
/* Bottom Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2.5rem 0;
    margin-top: 6rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    color: #fff;
}

.stat-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.stat-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.3rem 0 0 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-center-content {
        gap: 1.5rem;
    }

    .hero-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-stats-bar {
        grid-template-columns: 1fr;
    }
}

.btn-pill {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, opacity 0.2s;
}

.btn-pill:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: #fff;
    margin: 0 0 1rem 0;
    border-radius: 40px;
    padding: 8rem 0;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 5rem;
    align-items: flex-start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pill-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.4rem 1.4rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #444;
}

.about-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: #111;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -1.5px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.about-lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    margin: 0;
}

.about-text {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-pill-red {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    background-color: #d32f2f;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-pill-red:hover {
    transform: translateY(-3px);
    background-color: #b71c1c;
}

.btn-pill-red .arrow {
    background: #fff;
    color: #d32f2f;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Advanced Accordion Section */
.services-advanced-section {
    background-color: #242528;
    padding: 6rem 0;
    margin: 0 0 1rem 0;
    border-radius: 40px;
    overflow: hidden;
}

.section-title-pro {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.section-subtitle-pro {
    font-size: 1.1rem;
    color: #bbb;
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
    margin: 0;
}

.accordion-stack {
    display: flex;
    flex-direction: row;
    height: 550px;
    gap: 1rem;
    border-radius: 16px;
    overflow: hidden;
}

.accordion-panel {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: flex-end;
}

.accordion-panel:hover {
    flex: 4;
}

.accordion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: background 0.6s ease;
}

.accordion-panel:not(:hover) .accordion-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    width: 600px;
    /* Fixed width to prevent wrapping/jumping lag */
    pointer-events: none;
    /* Let clicks pass through to panel */
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

.accordion-panel:hover .accordion-header {
    transform: translateY(-10px);
}

.accordion-index {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 6vw, 100px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.25);
    line-height: 0.9;
    transition: all 0.4s ease;
}

.accordion-panel:hover .accordion-index {
    color: rgba(255, 255, 255, 0.8);
}

.accordion-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.accordion-panel:hover .accordion-header h3 {
    opacity: 1;
    transform: translateX(0);
}

.accordion-body {
    opacity: 0;
    transform: translateY(10px) translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-top: 0.5rem;
}

.accordion-body p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    max-width: 350px;
}

.accordion-panel:hover .accordion-body {
    opacity: 1;
    transform: translateY(-10px) translateX(0);
}

@media (max-width: 900px) {
    .accordion-stack {
        flex-direction: column;
        height: 700px;
    }

    .accordion-content {
        width: 100%;
        /* Take full width of panel on mobile */
    }

    .accordion-header h3 {
        white-space: normal;
    }

    .accordion-body p {
        max-width: 100%;
    }
}

/* Bento Grid Capabilities Section */
.bento-section {
    background-color: #fff;
    padding: 8rem 0;
    margin: 0 0 1rem 0;
    border-radius: 40px;
}

.bento-top-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.bento-main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: #111;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -1.5px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 1.2rem;
}

/* Card Base */
.bento-card {
    background: #f8f8f8;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.bento-card-inner {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card Variants */
.bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-tall {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-stat {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 4;
    grid-row: span 1;
}

/* Dark Card */
.bento-card.dark {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-card.dark .bento-label {
    color: rgba(255, 255, 255, 0.5);
}

.bento-card.dark .bento-card-title {
    color: #fff;
}

.bento-card.dark .bento-card-text {
    color: rgba(255, 255, 255, 0.65);
}

/* Accent (Red) Card */
.bento-card.accent {
    background: #d32f2f;
    border: none;
}

.bento-card.accent .bento-stat-number {
    color: #fff;
}

.bento-card.accent .bento-stat-label {
    color: rgba(255, 255, 255, 0.85);
}

.bento-card.accent .bento-card-text {
    color: rgba(255, 255, 255, 0.75);
}

/* Labels */
.bento-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1.5rem;
}

/* Card Titles */
.bento-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: #111;
    margin: 0 0 1rem 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* Card Text */
.bento-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.bento-card-text.small {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: auto;
}

/* Accent Line */
.bento-card-accent-line {
    width: 60px;
    height: 3px;
    background: #d32f2f;
    border-radius: 3px;
    margin-top: 2rem;
}

/* Stat Numbers */
.bento-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #111;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.bento-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 1rem;
}

/* Services List inside bento card */
.bento-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    flex-grow: 1;
}

.bento-services-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #555;
    position: relative;
    padding-left: 1rem;
    line-height: 1.4;
}

.bento-services-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #d32f2f;
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-tall {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-tall,
    .bento-stat,
    .bento-wide {
        grid-column: span 1;
    }
}

/* Contact Section */
.contact-section {
    background-color: #fff;
    padding: 8rem 0;
    margin: 0 0 1rem 0;
    border-radius: 40px;
}

.contact-top-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-main-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: #111;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -1.5px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-map {
    width: 100%;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #eee;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Contact Info */
.contact-info-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
}

.contact-detail-value a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-detail-value a:hover {
    color: #d32f2f;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    color: #111;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-input:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
    background: #fff;
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .contact-submit-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 350px;
    }
}

.site-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 0 0 2rem 0;
    margin: 0;
    border-radius: 40px 40px 0 0;
}

/* Glassmorphism CTA Banner */
.footer-cta-glass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 3.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.footer-cta-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.footer-cta-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

.footer-col-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-icon:hover {
    background: #d32f2f;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-cta-glass {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Quote Modal */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 3rem 3.5rem;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.quote-modal-overlay.active .quote-modal {
    transform: translateY(0) scale(1);
}

.quote-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.quote-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.quote-modal-header {
    margin-bottom: 2.5rem;
}

.quote-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin: 1rem 0 0.8rem 0;
    letter-spacing: -1px;
}

.quote-modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* Modal Form */
.quote-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.quote-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quote-form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.quote-input {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
}

.quote-input:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.quote-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.quote-input option {
    background: #111;
    color: #fff;
}

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

.quote-submit-btn {
    align-self: flex-start;
    margin-top: 0.8rem;
    border: none;
    cursor: pointer;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

@media (max-width: 600px) {
    .quote-modal {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .quote-form-row {
        grid-template-columns: 1fr;
    }
}

/* Internal Page Headers */
.page-header {
    background-color: #0d161b;
    padding: 10rem 0 4rem 0;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2rem;
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem auto 0 auto;
    max-width: 600px;
}

/* Page Standard Content */
.page-content-section {
    background-color: #fff;
    border-radius: 40px;
    padding: 5rem 0;
    margin-bottom: 2rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.content-wrapper h2 {
    font-family: 'Outfit', sans-serif;
    color: #111;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-img {
    width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}