/* ==========================================================================
   Modern Corporate Luxury CSS (Apple/Stripe Aesthetic)
   ========================================================================== */
:root {
    /* Color Palette - Construction/Premium Bronze Theme (LIGHT) */
    --primary: #D97706;         /* Bronze/Amber 600 */
    --primary-hover: #B45309;   /* Bronze/Amber 700 */
    --primary-light: rgba(217, 119, 6, 0.12);
    
    --bg-page: #F8F6F2;         /* Warm off-white */
    --bg-card: #FFFFFF;         /* Pure white for cards */
    
    --text-main: #111111;       /* Near-black */
    --text-muted: rgba(17, 17, 17, 0.55);
    --text-light: rgba(17, 17, 17, 0.3);
    
    --border-color: rgba(17, 17, 17, 0.1);
    
    /* Shapes & Shadows - Soft, floating physical feel */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 30px 60px -15px rgba(217, 119, 6, 0.2); /* Tinted shadow */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --transition: all 0.4s var(--ease);
    
    /* Layout */
    --container-width: 1280px;
    --section-padding: 8rem 0;
}

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

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
    letter-spacing: -0.02em; /* Tight tracking for modern feel */
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul { list-style: none; }
img {
    max-width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

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

.section {
    padding: var(--section-padding);
    position: relative;
}

.bg-white { background-color: var(--bg-card); }
.text-center { text-align: center; }
.mb-lg { margin-bottom: 4rem; }

/* ==========================================================================
   Buttons & Tags
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(217, 119, 6, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(217, 119, 6, 0.45);
    color: #FFFFFF;
}

.btn-outline {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   Header (Premium Transparent to Dark)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    padding: 1.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
    background-color: rgba(248, 246, 242, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    height: 32px; /* Restrict height so it fits perfectly in navbar */
    width: auto;
    display: block;
}

.logo-scrolled {
    display: none;
}
.logo-unscrolled {
    display: block;
}

.header.scrolled .logo-unscrolled {
    display: none;
}
.header.scrolled .logo-scrolled {
    display: block;
}

.logo-icon {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Unscrolled: sit over dark hero — links must be light */
.nav-links a {
    color: rgba(244, 244, 240, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: #F4F4F0;
}

/* Scrolled: frosted light bg — links must be dark */
.header.scrolled .nav-links a {
    color: var(--text-muted);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--text-main);
}

/* Dropdown Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid transparent; /* Prevents layout shift */
}

.dropdown-menu a:hover {
    background-color: rgba(17, 17, 17, 0.05);
    color: var(--primary);
}

/* Unscrolled: over hero — Contact Us button must be light */
.header .btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: #F4F4F0;
    border: 1px solid rgba(244, 244, 240, 0.25);
}

.header .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #F4F4F0;
    border-color: rgba(244, 244, 240, 0.5);
}

/* Scrolled: light bg — Contact Us button must be dark */
.header.scrolled .btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.header.scrolled .btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-page);
}

/* Unscrolled: over hero image — menu toggle must be white */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #F4F4F0;
    padding: 0.5rem;
}

/* Scrolled: light background — menu toggle must be dark */
.header.scrolled .menu-toggle {
    color: var(--text-main);
}

/* ==========================================================================
   GSAP Awwwards-style Premium Hero Section
   ========================================================================== */
.gsap-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #1a1a1a;
}

.gsap-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gsap-bg-image {
    width: 100%;
    height: 120%; /* For parallax */
    object-fit: cover;
    transform-origin: center;
}

.gsap-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.8) 100%);
}

.gsap-hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.gsap-hero-top {
    display: flex;
    justify-content: flex-start;
}

.gsap-hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.gsap-line {
    width: 50px;
    height: 1px;
    background-color: var(--primary);
}

.gsap-title-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: 4rem;
}

.gsap-title-line-overflow {
    overflow: hidden;
    line-height: 1;
}

.gsap-title {
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 800;
    color: #F4F4F0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

/* Section headings: outline text — dark stroke for light theme */
.gsap-outline {
    -webkit-text-stroke: 2px rgba(17, 17, 17, 0.15);
    color: transparent;
    margin-left: 5vw;
}

/* Hero title outline stays light (it's on dark photo background) */
.gsap-hero .gsap-outline {
    -webkit-text-stroke: 1px rgba(244, 244, 240, 0.4);
}

.gsap-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(244, 244, 240, 0.1);
    padding-top: 2rem;
}

.gsap-hero-info {
    max-width: 400px;
}

.gsap-desc {
    color: rgba(244, 244, 240, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.gsap-hero .gsap-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #F4F4F0;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    transition: var(--transition);
}

.gsap-hero .gsap-btn:hover {
    gap: 1.5rem;
    color: var(--primary);
}
/* hero stats stay light as they are on top of dark hero image */

.btn-circle {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.gsap-hero .gsap-btn:hover .btn-circle {
    transform: scale(1.5);
}

.gsap-hero-stats {
    text-align: right;
}

.g-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #F4F4F0;
    line-height: 1;
}

.g-text {
    font-size: 0.85rem;
    color: rgba(244, 244, 240, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Partners Marquee Strip
   ========================================================================== */


/* ==========================================================================
   Section Headers (Reusable Premium Style)
   ========================================================================== */
.gsap-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    margin-bottom: 5rem;
}

.gsap-section-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 0;
}

.gsap-section-desc {
    max-width: 400px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Section (Premium List Style)
   ========================================================================== */
.gsap-services {
    background-color: var(--bg-page);
}

.gsap-services-list {
    display: flex;
    flex-direction: column;
}

.gsap-service-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gsap-service-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.gsap-service-row:hover {
    padding-left: 2rem;
    background-color: rgba(217, 119, 6, 0.03);
}

.gsap-service-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.1em;
    width: 50px;
    flex-shrink: 0;
}

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

.gsap-service-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    transition: color 0.4s ease;
}

.gsap-service-row:hover .gsap-service-content h3 {
    color: var(--primary);
}

.gsap-service-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0;
}

.gsap-service-image {
    width: 220px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 2rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .gsap-service-image {
        display: block;
    }
}

.gsap-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gsap-service-row:hover .gsap-service-image img {
    transform: scale(1.08);
}

.gsap-service-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.gsap-service-row:hover .gsap-service-arrow {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: rotate(45deg);
}

/* ==========================================================================
   Projects Section (Staggered Grid)
   ========================================================================== */
.gsap-projects {
    background-color: var(--bg-card);
}

.project-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-main);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.gsap-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.gsap-project-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gsap-project-item.offset {
    margin-top: 5rem;
}

.gsap-project-img {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.gsap-project-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.gsap-project-img img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: 50% 0%; /* Initial state for parallax */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gsap-project-item:hover .gsap-project-img img {
    transform: scale(1.08);
}

.gsap-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 20; /* Keep well above gradient */
}

.gsap-project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F4F4F0;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.gsap-project-info span {
    font-size: 0.85rem;
    color: rgba(244, 244, 240, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gsap-projects-footer {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.gsap-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: gap 0.4s ease;
}

.gsap-btn:hover {
    gap: 1.5rem;
    color: var(--primary);
}

.btn-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    transition: transform 0.4s ease;
}

.gsap-btn:hover .btn-circle {
    transform: scale(1.5);
}

/* ==========================================================================
   CTA Section (Split Image)
   ========================================================================== */
.gsap-cta {
    padding: 8rem 0;
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-color);
}

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cta-split-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.cta-split-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-split-content {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.gsap-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-btn {
    border: none;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.15);
}

.gsap-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--primary);
    color: #ffffff;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gsap-btn-large:hover {
    background-color: var(--text-main);
    color: var(--bg-page);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   Footer (Tall Premium)
   ========================================================================== */
.gsap-footer {
    background-color: var(--bg-card);
    position: relative;
    overflow: hidden;
}

/* --- Hero Strip --- */
.footer-hero {
    padding: 8rem 0 6rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.footer-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin: 0;
}

.footer-hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-main);
    margin: 0;
    text-transform: uppercase;
}

.footer-hero-title em {
    font-style: normal;
    color: var(--primary);
}

.footer-hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* --- Main Grid --- */
.footer-main {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    max-width: 300px;
}

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

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
}

.footer-contact-list span:not(.footer-contact-label) {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Bottom Bar --- */
.footer-bottom-bar {
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* --- Watermark --- */
.gsap-footer-watermark {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(17, 17, 17, 0.06);
    letter-spacing: -0.04em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* ==========================================================================
   Animations (Fade Up)
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ==========================================================================
   About Us Section (Editorial Magazine Layout)
   ========================================================================== */
.gsap-about-editorial {
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-color);
}

/* ---- Top: Full-bleed image with overlapping headline ---- */
.about-editorial-top {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.about-editorial-img-wrap {
    position: absolute;
    inset: 0;
}

.about-editorial-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.gsap-about-editorial:hover .about-editorial-img-wrap img {
    transform: scale(1);
}

.about-editorial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.2) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.about-editorial-headline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 6vw 4rem;
    z-index: 10;
}

.about-label-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(217, 119, 6, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

.about-big-title {
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #F4F4F0;
    margin: 0;
}

.about-big-title em {
    font-style: normal;
    -webkit-text-stroke: 2px rgba(217, 119, 6, 0.7);
    color: transparent;
}

/* ---- Body: Content strip below image ---- */
.about-editorial-body {
    background-color: var(--bg-page);
    padding: 5rem 0 0;
}

.about-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
}

.about-editorial-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 3rem;
    border-right: 1px solid var(--border-color);
}

.about-pull-quote {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
    font-style: italic;
    position: relative;
    padding-top: 2rem;
}

.about-pull-quote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 0;
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.5;
    font-style: normal;
    font-family: Georgia, serif;
}

.about-cite {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: normal;
    margin-top: 1rem;
}

.about-editorial-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.about-body-lead {
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.75;
    font-weight: 500;
    margin: 0;
}

.about-body-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.about-editorial-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 119, 6, 0.4);
    padding-bottom: 0.5rem;
    width: fit-content;
    transition: gap 0.3s ease, border-color 0.3s ease;
}

.about-editorial-cta:hover {
    gap: 1.25rem;
    border-color: var(--primary);
}

/* ---- Stats Bar ---- */
.about-stats-bar {
    display: flex;
    align-items: stretch;
    padding: 3rem 0;
    gap: 0;
}

.about-stats-bar-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0 1rem;
}

.about-stats-bar-divider {
    width: 1px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.about-stats-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.about-stats-num sup {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 700;
}

.about-stats-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-stats-bar-cta {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0.02));
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    gap: 0.75rem;
    flex: 1.2;
}

.about-stats-bar-cta p {
    font-size: 0.9rem;
    color: rgba(244, 244, 240, 0.7);
    margin: 0;
    line-height: 1.5;
}

.about-stats-bar-cta a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: letter-spacing 0.3s ease;
}

.about-stats-bar-cta a:hover {
    letter-spacing: 0.04em;
}



/* ==========================================================================
   Why Choose Us Section (Bento Grid Layout)
   ========================================================================== */
.gsap-why {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background-color: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.bento-card:hover {
    border-color: rgba(217, 119, 6, 0.4);
    background-color: rgba(217, 119, 6, 0.02);
    transform: translateY(-5px);
}

/* Span Classes */
.bento-span-2 { grid-column: span 2; }
.bento-span-1 { grid-column: span 1; }

.bento-span-2 .bento-content {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.bento-span-2 .bento-icon-small {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 65px;
    height: 65px;
}

.bento-span-2 .bento-text-wrapper {
    flex-grow: 1;
}

/* Internal Layout */
.bento-bg-icon {
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 250px;
    height: 250px;
    color: rgba(217, 119, 6, 0.03);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}

.bento-card:hover .bento-bg-icon {
    transform: scale(1.1) translate(-5%, -5%);
    color: rgba(217, 119, 6, 0.06);
}

.bento-bg-icon svg {
    width: 100%;
    height: 100%;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-icon-small {
    width: 55px;
    height: 55px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.bento-icon-small svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
}

.bento-card:hover .bento-icon-small {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

.bento-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.bento-card:hover .bento-content h3 {
    color: var(--primary);
}

.bento-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon {
    width: 52px;
    height: 52px;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--primary);
    transition: background-color 0.3s ease;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.why-card:hover .why-icon {
    background-color: var(--primary);
}

.why-card:hover .why-icon svg {
    stroke: #0A0A0A;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   FAQs Section (Numbered Editorial Rows)
   ========================================================================== */
.gsap-faqs {
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-color);
}

.faqs-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    gap: 2rem;
}

.faq-rows {
    display: flex;
    flex-direction: column;
}

.faq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
    transition: background-color 0.3s ease;
}

.faq-row:hover {
    background-color: rgba(217, 119, 6, 0.02);
}

.faq-row-left {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.faq-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.faq-row-question {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}

.faq-row-answer {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    padding-top: 0.25rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .gsap-hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .gsap-hero-stats { text-align: left; }
    .gsap-outline { margin-left: 0; }
    
    .gsap-section-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    
    .gsap-projects-grid { gap: 1.5rem; }
    
    .about-editorial-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-editorial-left { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 2rem; }
    .about-stats-bar { flex-wrap: wrap; gap: 0; }
    .about-stats-bar-item { flex: 0 0 45%; padding: 1.5rem 1rem; }
    .about-stats-bar-divider { display: none; }
    
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .bento-span-2 { grid-column: span 2; }
    .bento-span-1 { grid-column: span 1; }
    .bento-card:nth-child(6) { grid-column: span 2; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}


@media (max-width: 768px) {
    .header { width: 100%; top: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--border-color); background-color: rgba(248, 246, 242, 0.97); padding: 1rem 0; position: fixed; z-index: 100; }
    .logo-unscrolled { display: none !important; }
    .logo-scrolled { display: block !important; }
    /* On mobile, header always has light bg — force dark icon & links */
    .menu-toggle { display: block; color: var(--text-main); }
    .menu-toggle svg { width: 28px; height: 28px; display: block; }
    .nav-links a { color: var(--text-muted); }
    .nav-links a:hover, .nav-links a.active { color: var(--text-main); }
    .header .btn-outline { background-color: transparent; color: var(--text-main); border-color: var(--border-color); }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(248, 246, 242, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }
    
    .main-nav.nav-open { display: flex; }
    .nav-links { flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; }
    
    /* Make dropdown collapsible on mobile */
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-top: 1rem;
        padding-bottom: 0;
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .has-dropdown.dropdown-active .dropdown-menu {
        display: flex;
    }
    .has-dropdown .dropdown-icon { 
        display: inline-block; 
        transition: transform 0.3s ease;
        width: 28px;
        height: 28px;
        margin-left: 0.5rem;
    }
    .has-dropdown.dropdown-active .dropdown-icon { transform: rotate(180deg); }
    .has-dropdown > a { justify-content: center; width: 100%; padding: 0.5rem; }

    .header .btn-outline { width: 100%; justify-content: center; }
    
    /* Global Mobile Heading Overrides to prevent overflow */
    h1, h2, h3, .page-hero-title, .gsap-section-title, .gsap-cta-title, .gsap-title {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .page-hero-title, .gsap-section-title, .gsap-cta-title {
        font-size: clamp(1.5rem, 9vw, 3.5rem) !important;
    }
    .service-intro-grid h2, .about-cta h2, h1 {
        font-size: clamp(1.5rem, 8vw, 3rem) !important;
    }

    .gsap-hero { min-height: 100vh; height: auto; }
    .gsap-title { font-size: clamp(2.2rem, 9vw, 5rem); }
    
    .gsap-service-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2rem 0; }
    .gsap-service-arrow { align-self: flex-end; }
    .gsap-service-row:hover { padding-left: 0; }
    
    .gsap-projects-grid { grid-template-columns: 1fr; }
    .gsap-project-item.offset { margin-top: 0; }
    .gsap-project-img { height: 350px; }
    
    .gsap-cta { padding: 4rem 0; }
    .cta-split { grid-template-columns: 1fr; }
    .cta-split-img { height: 350px; min-height: auto; }
    .cta-split-content { padding: 3rem 2rem; }
    .gsap-cta-title { font-size: clamp(2rem, 8vw, 2.5rem); }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

    .about-editorial-top { height: 65vh; min-height: 450px; }
    .about-big-title { font-size: clamp(3.5rem, 10vw, 6rem); }
    .about-editorial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-stats-bar-item { flex: 0 0 100%; padding: 1rem; border-bottom: 1px solid var(--border-color); }
    .about-stats-bar-item:last-child { border-bottom: none; }
    
    .bento-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .bento-span-2, .bento-span-1, .bento-card:nth-child(6) { grid-column: span 1; }
    .bento-span-2 .bento-content { flex-direction: column; gap: 1.5rem; }
    
    .faqs-top-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .faq-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
    .faq-row-left { flex-direction: column; gap: 0.5rem; }
}

/* ==========================================================================
   Floating Quote Widget
   ========================================================================== */
.quote-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    font-family: var(--font-family);
}

.quote-widget-trigger-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.quote-widget-tooltip {
    position: absolute;
    right: calc(100% + 15px);
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.4s ease;
}

.quote-widget-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.quote-widget-tooltip-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
}

.quote-widget-tooltip-close:hover {
    color: var(--text-main);
}

.quote-widget-tooltip-close svg {
    width: 14px;
    height: 14px;
}

.quote-widget-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1a1a1a;
}

.quote-widget-trigger {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: qw-pulse 3s infinite;
}

.quote-widget-trigger:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
}

@keyframes qw-pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.quote-widget-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid transparent;
}

.quote-widget-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
}

.quote-widget-trigger .quote-widget-status-dot {
    border-color: var(--primary);
}

.quote-widget-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.quote-widget-card.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.quote-widget-header {
    background-color: var(--bg-page);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}

.quote-widget-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-avatar {
    width: 48px;
    height: 48px;
    background-color: rgba(17, 17, 17, 0.05);
    font-size: 1.3rem;
    color: var(--text-main);
}

.header-avatar .quote-widget-status-dot {
    border-color: var(--bg-page);
}

.quote-widget-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.quote-widget-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-widget-name {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
}

.quote-widget-badge {
    background-color: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.quote-widget-subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.quote-widget-trust {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.quote-widget-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-widget-close:hover {
    background-color: rgba(17, 17, 17, 0.05);
    color: var(--text-main);
}

.quote-widget-close svg {
    width: 20px;
    height: 20px;
}

.quote-widget-body {
    padding: 1.25rem;
    background-color: var(--bg-card);
    color: var(--text-main);
    max-height: 50vh;
    overflow-y: auto;
}

.quote-widget-body::-webkit-scrollbar {
    width: 6px;
}
.quote-widget-body::-webkit-scrollbar-track {
    background: transparent;
}
.quote-widget-body::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.15);
    border-radius: 10px;
}
.quote-widget-body::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 17, 17, 0.3);
}

.quote-widget-greeting {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.quote-widget-section {
    margin-bottom: 1.25rem;
}

.quote-widget-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.quote-widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.qw-toggle-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.qw-toggle-btn:hover {
    border-color: var(--primary);
    background-color: #ffffff;
    color: var(--primary);
}

.qw-toggle-btn.active {
    background-color: rgba(217, 119, 6, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.quote-widget-estimate-box {
    background-color: rgba(217, 119, 6, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    text-align: center;
    margin: 1.5rem 0;
    transition: background-color 0.3s;
}

.quote-widget-estimate-box.highlight {
    background-color: rgba(217, 119, 6, 0.15);
}

.qw-estimate-top {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.qw-estimate-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.qw-estimate-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quote-widget-cta {
    width: 100%;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-family: var(--font-family);
}

.quote-widget-cta:hover {
    background-color: #1ebc5a;
    transform: translateY(-2px);
}

.quote-widget-cta svg {
    width: 20px;
    height: 20px;
}

.quote-widget-footer {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .quote-widget-container {
        bottom: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
        pointer-events: none;
    }
    .quote-widget-trigger-wrapper {
        pointer-events: auto;
    }
    .quote-widget-card {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        transform: translateY(100%);
        pointer-events: auto;
    }
    .quote-widget-card.open {
        transform: translateY(0);
    }
    .quote-widget-tooltip {
        display: none;
    }
    .quote-widget-body {
        max-height: 70vh;
    }
}

/* ==========================================================================
   Blog Table of Contents & FAQ Accordion
   ========================================================================== */

/* Table of Contents */
.blog-toc {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin: 2rem 0 3rem 0;
}

.blog-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem 0.5rem 1.5rem;
}

.blog-toc h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-main);
    border-bottom: none;
    padding-bottom: 0;
}

.blog-toc-toggle {
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.blog-toc-toggle:hover {
    background: #f3f4f6;
}

.blog-toc-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.blog-toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    counter-reset: toc-h2;
}

.blog-toc-list > li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    counter-increment: toc-h2;
}

.blog-toc-list > li > a::before {
    content: counter(toc-h2) ". ";
    font-weight: 600;
    color: var(--primary);
}

.blog-toc-list a {
    color: #111111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.blog-toc-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.blog-toc-sublist {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    counter-reset: toc-h3;
}

.blog-toc-sublist > li {
    margin-bottom: 0.3rem;
    counter-increment: toc-h3;
}

.blog-toc-sublist > li > a::before {
    content: counter(toc-h2) "." counter(toc-h3) ". ";
    font-weight: 500;
    color: var(--primary);
}

.blog-toc-sublist a {
    font-weight: 400;
    font-size: 0.9rem;
    color: #333333;
}

/* FAQ Accordion */
.faq-accordion {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-accordion:hover {
    box-shadow: var(--shadow-sm);
}

.faq-accordion summary {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-main);
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-accordion[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-accordion p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.6;
}
