/* ===================================================================
   MERIDIAN — Master Stylesheet
   Matching the reference: meridian-ui.lovable.app
   =================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Color Palette - Luxury Black & Gold */
    --primary: #D4AF37;
    --primary-dark: #C9A227;
    --primary-light: #F5D76E;
    --primary-foreground: #0A0A0A;
    --background: #0A0A0A;
    --foreground: #FFFFFF;
    --secondary: #111111;
    --secondary-foreground: #FFFFFF;
    --surface: #161616;
    --muted-foreground: #B8B8B8;
    --border: rgba(212,175,55,0.2);
    --white-70: rgba(255,255,255,0.7);
    --white-50: rgba(255,255,255,0.5);
    --white-40: rgba(255,255,255,0.4);
    --white-10: rgba(255,255,255,0.1);
    --primary-20: rgba(212,175,55,0.2);
    --primary-30: rgba(212,175,55,0.3);
    --primary-40: rgba(212,175,55,0.4);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --duration-500: 500ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* --- Layout --- */
.container-x {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(1rem, 5vw, 5rem);
    padding-right: clamp(1rem, 5vw, 5rem);
}

main { flex: 1; }

/* --- Utility Classes --- */
.text-primary { color: var(--primary) !important; text-shadow: 0 0 20px rgba(212,175,55,0.2); }
.text-muted { color: var(--muted-foreground); }
.text-white-70 { color: var(--white-70); }
.bg-background { background-color: var(--background); }
.bg-secondary { background-color: var(--secondary); }
.bg-surface { background-color: var(--surface); }
.bg-primary { background-color: var(--primary); color: var(--primary-foreground); }

/* --- Eyebrow / Label --- */
.eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* --- Section Title Block --- */
.section-heading {
    max-width: 48rem;
}
.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-heading h2 {
    margin-top: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}
.section-heading p {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}
.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212,175,55,0.1);
}
.btn-ghost svg {
    width: 16px;
    height: 16px;
}

/* --- Work Process Section --- */
.work-process-section {
    position: relative;
    padding: clamp(5rem, 9vw, 8rem) 0;
    overflow: hidden;
}

.work-process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(212,175,55,0.08), transparent 32%),
        radial-gradient(circle at 80% 20%, rgba(212,175,55,0.11), transparent 26%);
    pointer-events: none;
}

.work-process-section .container-x {
    position: relative;
    z-index: 1;
}

.work-process-shell {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(22,22,22,0.96), rgba(10,10,10,0.98));
    box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}

.work-process-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-bottom: 1px solid var(--border);
}

.work-process-tab {
    min-height: 6.25rem;
    padding: 1rem;
    background: transparent;
    color: var(--white-50);
    border: 0;
    border-right: 1px solid var(--border);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.45rem;
    transition: var(--transition-fast);
}

.work-process-tab:last-child {
    border-right: 0;
}

.work-process-tab.active,
.work-process-tab:hover {
    background: rgba(212,175,55,0.1);
    color: var(--foreground);
}

.work-process-tab-num {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 50%;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
}

.work-process-tab.active .work-process-tab-num {
    background: var(--primary);
    color: var(--primary-foreground);
}

.work-process-tab-title {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.work-process-panel {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    min-height: 30rem;
}

.work-process-panel.active {
    display: grid;
}

.work-process-media {
    position: relative;
    overflow: hidden;
    min-height: 26rem;
}

.work-process-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,10,10,0.08), rgba(10,10,10,0.42));
}

.work-process-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-process-content {
    padding: clamp(2rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.work-process-count {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.9;
    opacity: 0.32;
    margin-bottom: 1.5rem;
}

.work-process-content h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.work-process-content p {
    color: var(--white-70);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* --- Careers Apply Section --- */
.career-apply-section {
    padding: clamp(5rem, 9vw, 8rem) 0;
}

.career-apply-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.career-openings-panel,
.career-form-panel {
    border: 1px solid var(--border);
    background:
        linear-gradient(145deg, rgba(22,22,22,0.96), rgba(10,10,10,0.98));
    box-shadow: 0 24px 70px rgba(0,0,0,0.3);
}

.career-panel-heading {
    padding: 1.5rem 1.5rem 0;
}

.career-accordion {
    padding: 1.5rem;
}

.career-accordion-item {
    border: 1px solid rgba(212,175,55,0.18);
    background: rgba(255,255,255,0.03);
    margin-bottom: 1rem;
}

.career-accordion-item:last-child {
    margin-bottom: 0;
}

.career-accordion-toggle {
    width: 100%;
    min-height: 4.25rem;
    padding: 1rem 1.2rem;
    border: 0;
    background: transparent;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.career-accordion-toggle span {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
}

.career-accordion-toggle strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
}

.career-accordion-body {
    display: none;
    padding: 0 1.2rem 1.35rem;
    color: var(--white-70);
}

.career-accordion-item.active {
    border-color: rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.08);
}

.career-accordion-item.active .career-accordion-body {
    display: block;
}

.career-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.career-meta-line span {
    border: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
}

.career-accordion-body h5 {
    color: var(--foreground);
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem;
}

.career-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.career-skills-list li {
    color: var(--foreground);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
}

.career-form {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.career-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.career-form label {
    display: grid;
    gap: 0.5rem;
}

.career-form label span {
    color: var(--muted-foreground);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;
    border: 1px solid rgba(212,175,55,0.22);
    background: rgba(255,255,255,0.05);
    color: var(--foreground);
    padding: 0.95rem 1rem;
    border-radius: 0;
    outline: none;
    transition: var(--transition-fast);
}

.career-form select option {
    color: var(--background);
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

.career-file-field small {
    color: var(--white-50);
    font-size: 0.78rem;
}

.career-form-alert {
    margin: 1.5rem 1.5rem 0;
    border: 1px solid rgba(74,222,128,0.35);
    background: rgba(74,222,128,0.1);
    color: #bbf7d0;
    padding: 0.85rem 1rem;
}

.career-form-alert.error {
    border-color: rgba(248,113,113,0.35);
    background: rgba(248,113,113,0.1);
    color: #fecaca;
}

.career-empty {
    padding: 1.5rem;
    color: var(--white-70);
}

/* Arrow icon for buttons */
.icon-arrow-right {
    display: inline-block;
    width: 16px;
    height: 16px;
}

/* --- Glass Effect (Navbar) --- */
.glass-dark {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212,175,55,0.15);
}

/* ===================================================================
   HEADER / NAVIGATION
   =================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem 0;
    transition: all var(--duration-500) ease;
}
.header.scrolled {
    padding: 0.5rem 0;
}
.header.scrolled .header-inner {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(212,175,55,0.2);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 2px;
    padding: 0 1.25rem;
    height: 64px;
    transition: all var(--duration-500) ease;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: white;
}
.logo-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    position: relative;
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: white;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: -2px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.nav-link:hover::after {
    transform: scaleX(1);
    box-shadow: 0 0 8px rgba(212,175,55,0.4);
}
.nav-link.active {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(212,175,55,0.3);
}
.nav-link.active::after {
    transform: scaleX(1);
    box-shadow: 0 0 10px rgba(212,175,55,0.5);
}

/* Header CTA */
.header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}
.header-actions .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.6875rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
}
.mobile-toggle svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--background);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu .nav-link {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.05em;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}
.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    background: var(--secondary);
    color: white;
}
/* --- Hero Slider --- */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 1;
}

/* Slider Controls */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.hero-slider-arrow.prev {
    left: clamp(1rem, 5vw, 5rem);
}

.hero-slider-arrow.next {
    right: clamp(1rem, 5vw, 5rem);
}

.hero-slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
    background: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 0 12px rgba(212,175,55,0.5);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--secondary) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.3) 100%);
    pointer-events: none;
}
.hero-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding-top: clamp(7rem, 12vh, 9rem);
    padding-bottom: clamp(3rem, 8vh, 6rem);
}

/* Hero Flex Layout */
.hero-flex-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
}
.hero-text-side {
    flex: 1 1 48rem;
    min-width: 0;
}
.hero-form-side {
    flex: 0 1 560px;
    width: min(100%, 560px);
    align-self: center;
}

/* Premium Quote Card */
.premium-quote-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.premium-quote-card .card-header {
    margin-bottom: 2rem;
    text-align: center;
}
.premium-quote-card .card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.premium-quote-card .card-header p {
    font-size: 0.875rem;
    color: var(--white-70);
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group-custom input,
.form-group-custom select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.875rem 1rem;
    color: #fff;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}
.form-group-custom input:focus,
.form-group-custom select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}
.form-group-custom select option {
    background: #111;
    color: #fff;
}

.btn-submit-premium {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 0.5rem;
}
.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Quote form matching construction enquiry reference */
.quote-reference-card {
    --quote-accent: var(--primary);
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    background: rgba(16, 24, 30, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}
.quote-reference-card .quote-reference-header {
    margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
    text-align: left;
}
.quote-reference-card .quote-reference-header h3 {
    color: var(--quote-accent);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.quote-reference-card .quote-reference-header p {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 600;
}
.quote-alert {
    margin-bottom: 1rem;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.875rem;
}
.quote-reference-form {
    gap: clamp(1rem, 2vw, 1.25rem);
}
.quote-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}
.quote-field {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.quote-field span,
.quote-radio-group legend {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 700;
}
.quote-field input {
    width: 100%;
    min-height: 2.45rem;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    outline: none;
    padding: 0.25rem 0 0.65rem;
}
.quote-field input:focus {
    border-bottom-color: var(--quote-accent);
}
.quote-phone-field {
    position: relative;
}
.quote-phone-field small {
    position: absolute;
    left: 0.95rem;
    bottom: 0.78rem;
    display: grid;
    place-items: center;
    width: 28px;
    height: 18px;
    background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%);
    color: #1d4f91;
    border-radius: 1px;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0;
    pointer-events: none;
}
.quote-phone-field input {
    padding-left: 3.2rem;
}
.quote-radio-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    border: 0;
    padding: 0;
    margin: 0;
}
.quote-radio-group legend {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
}
.quote-radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 600;
}
.quote-radio-group input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    margin: 0;
}
.quote-radio-group input::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--quote-accent);
    transform: scale(0);
    transition: transform 0.18s ease;
}
.quote-radio-group input:checked {
    border-color: var(--quote-accent);
}
.quote-radio-group input:checked::before {
    transform: scale(1);
}
.quote-reference-card .btn-submit-premium {
    background: var(--quote-accent);
    color: var(--primary-foreground);
    border-radius: 6px;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}
.quote-reference-card .btn-submit-premium:hover {
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}
.hero-title {
    margin-top: 1.5rem;
    max-width: 1200px;
    font-size: clamp(2rem, 6.5vw, 7.5rem);
    font-weight: 700;
    line-height: 1.05;
    word-break: normal;
    overflow-wrap: normal;
}
.hero-subtitle {
    margin-top: 2rem;
    max-width: 600px;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.7;
    color: var(--white-70);
}
.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.scroll-indicator .scroll-text {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.6);
}
.scroll-indicator .scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
}
.scroll-indicator .scroll-line-fill {
    width: 100%;
    height: 50%;
    background: var(--primary);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(200%); }
}

/* ===================================================================
   STATS BAR
   =================================================================== */
.stats-bar {
    background: var(--primary);
    color: var(--primary-foreground);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3.5rem 0;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 30px rgba(212,175,55,0.2);
}
.stat-suffix { /* the + after number */ }
.stat-label {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* ===================================================================
   ABOUT SECTION (Home)
   =================================================================== */
.about-home {
    padding: 6rem 0 8rem;
}
.about-home-grid {
    display: grid;
    gap: 3.5rem;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.about-image-badge {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 2rem;
    display: none;
    box-shadow: 0 8px 24px rgba(212,175,55,0.4);
}
.about-image-badge .badge-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}
.about-image-badge .badge-label {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.about-features {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}
.about-feature {
    display: flex;
    gap: 1rem;
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 4px 12px rgba(212,175,55,0.15);
}
.about-feature-icon svg {
    width: 20px;
    height: 20px;
}
.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
}
.about-feature p {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   SERVICES SECTION
   =================================================================== */
.services-section {
    padding: 6rem 0 8rem;
}
.services-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* Original services grid (used on index.html, about.html) */
.services-grid {
    margin-top: 3.5rem;
    display: grid;
    gap: 1px;
    background: var(--border);
}

/* New alternating row layout (used on services.html) */
.services-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 500px;
}
@media (min-width: 768px) {
    .services-list {
        gap: 3rem;
    }
    .service-row {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: stretch;
    }
    .service-row.reverse .service-image-wrap {
        order: 2;
    }
    .service-row.reverse .service-card {
        order: 1;
    }
}
@media (min-width: 1024px) {
    .services-list {
        gap: 4rem;
    }
}
.service-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 350px;
}
.service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-image-wrap:hover img {
    transform: scale(1.06);
}
.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.6) 70%, rgba(10, 10, 10, 0.85) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.service-image-wrap:hover .service-image-overlay {
    opacity: 0.7;
}
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--background);
    padding: 2.75rem;
    transition: background-color var(--duration-500) ease, color var(--duration-500) ease, transform 0.1s linear, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--foreground);
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}
.service-card:hover {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(212,175,55,0.3);
    z-index: 10;
}
.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateZ(30px);
    margin-bottom: 0.5rem;
}
.service-card-top svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    transition: transform var(--duration-500) ease;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}
.service-card:hover .service-card-top svg {
    transform: scale(1.1);
}
.service-card-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}
.service-card:hover .service-card-num {
    color: var(--white-40);
}
.service-card h3 {
    margin-top: 2rem;
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.service-card p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}
.service-card:hover p {
    color: var(--white-70);
}
.service-card-link {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(212,175,55,0.2);
}
.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.service-card:hover .service-card-link svg {
    transform: translate(4px, -4px);
}

/* 3D Flip Card Styles */
.flip-card {
    perspective: 1200px;
    background: transparent !important;
    padding: 0 !important;
    min-height: 400px;
    height: 100%;
}
/* When flip-card is inside the new service-row layout */
.service-row .flip-card {
    min-height: 500px;
}
.service-row .flip-card-front {
    border-left: 3px solid var(--primary);
    justify-content: center;
}
.service-row .flip-card-back {
    border-left: 3px solid var(--primary);
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.75rem;
    background: var(--background);
}
.flip-card-back {
    transform: rotateY(180deg);
    background: var(--secondary);
    color: var(--secondary-foreground);
    justify-content: center;
    align-items: flex-start;
}
.flip-card-back h3 {
    margin-top: 0;
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.flip-card-back p {
    margin-top: 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--white-70);
}

/* ===================================================================
   PROJECTS SECTION
   =================================================================== */
.projects-section {
    padding: 6rem 0 8rem;
}
.projects-header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}
.projects-view-all {
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
}

/* Projects Slider - Responsive Slide Items */
#projectsSliderTrack .slide-item {
    flex: 0 0 100%;
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-btn {
    border-radius: 2px;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: var(--transition-fast);
}
.filter-btn:hover {
    border-color: var(--foreground);
    color: var(--foreground);
}
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
}

.projects-grid {
    margin-top: 3.5rem;
    display: grid;
    gap: 1.5rem;
}

/* Projects Showcase List - Premium Vertical Layout */
.projects-showcase-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.project-showcase-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}
.project-showcase-item.layout-left {
    grid-template-columns: 1fr;
}
.project-showcase-item.layout-right {
    grid-template-columns: 1fr;
}
.project-showcase-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/9;
    background: var(--secondary);
}
.project-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.project-showcase-item:hover .project-showcase-image img {
    transform: scale(1.05);
}
.project-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.6) 0%, transparent 60%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}
.project-showcase-item:hover .project-showcase-overlay {
    opacity: 0.6;
}
.project-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}
.project-showcase-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    width: fit-content;
}
.project-showcase-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}
.project-showcase-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.project-showcase-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white-70);
    font-size: 0.875rem;
}
.project-showcase-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}
.project-showcase-description {
    color: var(--white-70);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}
.project-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}
.project-showcase-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
.project-showcase-btn svg {
    transition: transform 0.3s ease;
}
.project-showcase-btn:hover svg {
    transform: translate(4px, -4px);
}
.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    transition: transform 0.1s linear, box-shadow 0.3s ease;
}
.project-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 10;
}
.project-card .project-img {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.project-card:hover img {
    transform: scale(1.1);
}
.project-card .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--secondary) 0%, rgba(10, 10, 10, 0.5) 40%, transparent 100%);
    opacity: 0.9;
}
.project-card .project-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    transform: translateZ(40px);
    pointer-events: none;
}
.project-card .project-cat {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(212,175,55,0.3);
}
.project-card .project-name {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.project-card .project-loc {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--white-70);
}
/* Hover Arrow Badge */
.project-card .project-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--duration-500) ease;
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
.project-card:hover .project-arrow {
    opacity: 1;
    transform: translateY(0);
}
.project-card .project-arrow svg {
    width: 20px;
    height: 20px;
}

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.why-section {
    padding: 6rem 0 8rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
}
.why-grid {
    display: grid;
    gap: 3.5rem;
}
.why-cards {
    display: grid;
    gap: 1px;
    background: var(--white-10);
}
.why-card {
    background: var(--secondary);
    padding: 2rem;
    transition: var(--transition-fast);
}
.why-card:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}
.why-card svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    transition: color 0.3s ease;
}
.why-card:hover svg {
    color: var(--secondary);
}
.why-card h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.why-card p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--white-70);
}
.why-card:hover p {
    color: rgba(13, 26, 13, 0.7);
}

/* ===================================================================
   PROCESS / HOW WE BUILD
   =================================================================== */
.process-section {
    padding: 6rem 0 8rem;
}
.process-steps {
    position: relative;
    margin-top: 5rem;
}
.process-line {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 28px;
    height: 1px;
    background: var(--border);
}
.process-line-fill {
    height: 100%;
    background: var(--primary);
    transform-origin: left;
}
.process-grid {
    display: grid;
    gap: 3rem;
}
.process-step {
    text-align: center;
}
.process-step-num {
    margin: 0 auto;
    width: 56px;
    height: 56px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--background);
    box-shadow: 0 0 15px rgba(212,175,55,0.2);
}
.process-step h4 {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}
.process-step p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   TEAM SECTION (Home)
   =================================================================== */
.team-home {
    padding: 6rem 0 8rem;
    background: var(--surface);
}
/* Custom Slider Base */
.slider-viewport {
    overflow: hidden;
    width: 100%;
}
.slider-track {
    display: flex;
    margin-right: -1.5rem;
    will-change: transform;
    /* JS handles transform */
}
.slide-item {
    flex: 0 0 100%;
    padding-right: 1.5rem;
    box-sizing: border-box;
}
.slider-nav {
    display: flex;
    gap: 0.5rem;
}
.slider-arrow {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.slider-arrow:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(212,175,55,0.4);
}

.team-grid-home {
    margin-top: 3rem;
}
.team-card {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.team-card .team-photo {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--secondary);
}
.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-photo img {
    transform: scale(1.08);
}
.team-card .team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.team-card:hover .team-photo::after {
    opacity: 1;
}
.team-card .team-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-40);
    transition: transform var(--duration-500) ease;
    text-shadow: 0 0 30px rgba(212,175,55,0.2);
}
.team-card:hover .team-initials {
    transform: scale(1.1);
}
.team-card h4 {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}
.team-card .team-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-section {
    padding: 6rem 0 8rem;
}
.testimonials-grid {
    margin-top: 3rem;
    display: grid;
    gap: 1px;
    background: var(--border);
}
.testimonial-card {
    background: var(--background);
    padding: 2.5rem;
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}
.testimonial-text {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    font-style: italic;
}
.testimonial-author {
    margin-top: 1.5rem;
}
.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
}
.testimonial-author span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   GALLERY PREVIEW (Home)
   =================================================================== */
.gallery-home {
    padding: 6rem 0 8rem;
    background: var(--surface);
}
.gallery-grid-home {
    margin-top: 3rem;
    display: grid;
    gap: 0.25rem;
}
.gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.8s var(--ease);
}
.gallery-thumb:hover img {
    transform: scale(1.08);
}
.gallery-thumb .gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-thumb:hover .gallery-hover {
    opacity: 1;
}
.gallery-hover svg {
    width: 32px;
    height: 32px;
    color: white;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
}

/* ===================================================================
   BLOG SECTION (Home)
   =================================================================== */
.blog-home {
    padding: 6rem 0 8rem;
}
.blog-grid-home {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
}
.blog-card {
    display: block;
    overflow: hidden;
    background: var(--secondary);
    transition: var(--transition-fast);
}
.blog-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.blog-card:hover img {
    transform: scale(1.05);
}
.blog-card:hover {
    border: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.blog-card-body {
    padding: 1.5rem;
}
.blog-card-date {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-foreground);
}
.blog-card h3 {
    margin-top: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}
.blog-card .read-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(212,175,55,0.2);
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
    padding: 5rem 0 7rem;
}
.cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 2.5rem;
}
.cta-circle-outline {
    position: absolute;
    right: -10rem;
    top: -10rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.3);
    pointer-events: none;
}
.cta-circle-glow {
    position: absolute;
    right: -6rem;
    top: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(212,175,55,0.25);
    filter: blur(64px);
    pointer-events: none;
}
.cta-content {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.cta-content .eyebrow { margin-bottom: 0; }
.cta-content h3 {
    margin-top: 1rem;
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
    background: var(--secondary);
    color: var(--secondary-foreground);
}
.footer-inner {
    padding: 5rem 0;
}
.footer-grid {
    display: grid;
    gap: 3rem;
}
.footer-brand {
    max-width: 24rem;
}
.footer-brand .logo {
    font-size: 1.5rem;
}
.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}
.footer-brand-desc {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--white-70);
}
.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 2px;
    border: 1px solid var(--white-10);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: var(--transition-fast);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-col a {
    font-size: 0.875rem;
    color: var(--white-70);
}
.footer-col a:hover {
    color: var(--primary);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--white-70);
}
.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,175,55,0.2);
    font-size: 0.75rem;
    color: var(--white-50);
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===================================================================
   PAGE HEADER (Interior Pages)
   =================================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
    padding-bottom: 4rem;
    padding-top: 10rem;
    color: var(--secondary-foreground);
}
.page-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: linear-gradient(var(--primary) 1px, transparent 1px),
                       linear-gradient(90deg, var(--primary) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.page-hero-glow {
    position: absolute;
    right: -8rem;
    top: 6rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: rgba(212,175,55,0.15);
    filter: blur(64px);
    pointer-events: none;
}
.page-hero h1 {
    margin-top: 1.25rem;
    max-width: 56rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    text-wrap: balance;
}
.page-hero .page-desc {
    margin-top: 1.5rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white-70);
}

/* Breadcrumb */
.breadcrumb {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
}
.breadcrumb a { color: var(--foreground); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--muted-foreground); }
.breadcrumb .current { color: var(--primary); }

/* ===================================================================
   ABOUT PAGE SPECIFICS
   =================================================================== */
.about-story {
    padding: 6rem 0 8rem;
}
.about-story-grid {
    display: grid;
    gap: 3.5rem;
    align-items: center;
}
.about-story-grid img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* ===================================================================
   MISSION & VISION REDESIGN
   =================================================================== */
.mission-vision-section {
    overflow: hidden; /* prevents issues with hover zooming */
}
.mv-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
.mv-img-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    aspect-ratio: 4/3;
}
.mv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.mv-block:hover .mv-img-wrap img {
    transform: scale(1.05);
}
.mv-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6rem 0;
    width: 100%;
}
.mv-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.mv-desc {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.mv-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}
.mv-check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 5rem auto 0;
}
.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--border);
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
}
.timeline-dot {
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(212,175,55,0.5);
}
.timeline-content {
    padding-left: 3rem;
}
.timeline-year {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.timeline-content h4 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.timeline-content p {
    margin-top: 0.25rem;
    color: var(--muted-foreground);
}

/* Certifications */
.cert-grid {
    margin-top: 3rem;
    display: grid;
    gap: 1px;
    background: var(--border);
}
.cert-card {
    background: var(--background);
    padding: 2.5rem;
}
.cert-card svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}
.cert-card h4 {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}
.cert-card p {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   PROJECT DETAIL PAGE
   =================================================================== */
.project-detail-grid {
    display: grid;
    gap: 4rem;
}
.project-meta-sidebar {
    background: var(--secondary);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6rem;
}
.meta-item h5 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.meta-item p {
    font-size: 1rem;
}

/* ===================================================================
   GALLERY PAGE
   =================================================================== */
.gallery-page-grid {
    display: grid;
    gap: 0.5rem;
}
.gallery-page-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-page-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.gallery-page-item:hover img {
    transform: scale(1.06);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,0.95);
    display: none;
    place-items: center;
}
.lightbox.active {
    display: grid;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ===================================================================
   TEAM PAGE
   =================================================================== */
.team-page-grid {
    display: grid;
    gap: 1.5rem;
}

/* ===================================================================
   BLOG PAGE
   =================================================================== */
.blog-page-grid {
    display: grid;
    gap: 1.5rem;
}

/* ===================================================================
   CAREERS PAGE
   =================================================================== */
.job-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}
.job-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(212,175,55,0.2);
}
.job-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}
.job-card .job-meta {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===================================================================
   FORMS
   =================================================================== */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-row {
    display: flex;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted-foreground);
}
.form-control {
    width: 100%;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border-radius: 2px;
    transition: var(--transition-fast);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Contact Grid */
.contact-page-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}
.contact-form-column {
    width: 100%;
}
.contact-form-column .quote-reference-card {
    max-width: none;
    margin: 0;
}
.contact-info-block {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--secondary);
    height: fit-content;
}
.contact-info-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.contact-info-intro {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}
.contact-info-photo {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
}
.contact-info-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info-item {
    display: flex;
    gap: 0.75rem;
}
.contact-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}
.contact-info-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.contact-info-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}
.contact-info-item a {
    color: inherit;
    text-decoration: none;
}
.contact-info-item a:hover {
    color: var(--primary);
}

/* ===================================================================
   WHATSAPP FAB
   =================================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fabFloat 4s ease-in-out infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}
.whatsapp-fab svg {
    width: 26px;
    height: 26px;
}
@keyframes fabFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===================================================================
   SCROLL TO TOP
   =================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 6.75rem;
    right: 2rem;
    z-index: 40;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--foreground);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    cursor: pointer;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}

.scroll-top-btn svg {
    width: 26px;
    height: 26px;
}

/* ===================================================================
   CUSTOM CURSOR
   =================================================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
    box-shadow: 0 0 10px rgba(212,175,55,0.5);
}
.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    display: none;
}
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(212,175,55,0.15);
    border-color: var(--primary);
}

/* ===================================================================
   SCROLL PROGRESS BAR
   =================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--primary);
    z-index: 999;
    width: 0%;
    transition: width 0.05s linear;
}

/* ===================================================================
   QUOTE PAGE
   =================================================================== */
.quote-section {
    padding: 6rem 0 8rem;
    background-color: var(--background);
}
.quote-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.quote-form-wrap {
    background-color: #f6f6f6;
    padding: 3rem;
    border-radius: 2px;
}
.quote-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.quote-form .form-group {
    margin-bottom: 0;
}
.quote-form label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: #555;
}
.quote-form .form-control {
    width: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #222;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.quote-form .form-control::placeholder {
    color: #999;
}
.quote-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
}
.quote-form select.form-control {
    color: #666;
    cursor: pointer;
}
.quote-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.quote-submit-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--primary);
    color: #111;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}
.quote-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}

/* Info Card */
.quote-info-wrap {
    display: flex;
}
.quote-info-card {
    background-color: var(--surface);
    color: #fff;
    padding: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 2px;
}
.quote-info-card .eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.quote-info-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.25;
    margin-bottom: 2.5rem;
    color: #fff;
}
.quote-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.quote-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: #e0e0e0;
}
.quote-check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-info-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,175,55,0.2);
    font-size: 0.875rem;
    color: #aaa;
}
.quote-info-footer a {
    font-weight: 600;
    text-decoration: none;
}
.quote-info-footer a:hover {
    text-decoration: underline;
}
