/* ==========================================================================
   CrownMark CNC - Master Industrial Manufacturing Stylesheet
   Precision CNC Machining & Custom Manufacturing Workshop | Sialkot, Pakistan
   Palette:
     Industrial Charcoal: #171C22
     Dark Graphite:       #252D35
     Steel Silver:        #BDC6CE
     Precision Blue:      #1688D4
     White:               #FFFFFF
   ========================================================================== */

:root {
    --color-charcoal: #171C22;
    --color-charcoal-deep: #0e1216;
    --color-graphite: #252D35;
    --color-graphite-light: #323c46;
    --color-steel: #BDC6CE;
    --color-steel-light: #E4E8EC;
    --color-steel-muted: #8c9ba7;
    --color-precision-blue: #1688D4;
    --color-precision-blue-hover: #1274b7;
    --color-precision-blue-glow: rgba(22, 136, 212, 0.25);
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20BA5A;
    --color-border: rgba(189, 198, 206, 0.16);
    --color-border-hover: rgba(22, 136, 212, 0.45);
    --color-card-bg: #1c232a;
    --color-card-bg-alt: #222a33;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
    --shadow-blue: 0 8px 24px rgba(22, 136, 212, 0.3);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 80px;
    --container-max: 1240px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-charcoal);
    color: var(--color-steel-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--color-charcoal);
}

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

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-steel);
}

p:last-child {
    margin-bottom: 0;
}

.text-muted {
    color: var(--color-steel-muted);
}

.text-blue {
    color: var(--color-precision-blue);
}

.text-white {
    color: var(--color-white);
}

.mono {
    font-family: var(--font-mono);
}

/* Badges & Micro-tags */
.badge-industrial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 136, 212, 0.12);
    border: 1px solid rgba(22, 136, 212, 0.35);
    color: var(--color-precision-blue);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.badge-industrial::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-precision-blue);
    box-shadow: 0 0 8px var(--color-precision-blue);
}

.tag-spec {
    display: inline-block;
    background: var(--color-graphite);
    border: 1px solid var(--color-border);
    color: var(--color-steel);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin: 3px 4px 3px 0;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-header p {
    font-size: 1.1rem;
    margin-top: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-precision-blue);
    color: var(--color-white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background-color: var(--color-precision-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 136, 212, 0.45);
}

.btn-secondary {
    background-color: var(--color-graphite);
    color: var(--color-white);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-graphite-light);
    border-color: var(--color-steel-muted);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-steel-muted);
}

.btn-outline:hover {
    border-color: var(--color-precision-blue);
    color: var(--color-precision-blue);
    background-color: rgba(22, 136, 212, 0.08);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(23, 28, 34, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.header-scrolled {
    background: rgba(14, 18, 22, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(22, 136, 212, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #252D35 0%, #171C22 100%);
    border: 1px solid rgba(22, 136, 212, 0.4);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.04em;
    line-height: 1;
}

.brand-name span {
    color: var(--color-precision-blue);
}

.brand-location {
    font-size: 0.7rem;
    color: var(--color-steel-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: inline-block;
    padding: 8px 14px;
    color: var(--color-steel);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(189, 198, 206, 0.06);
}

.nav-link.active {
    color: var(--color-white);
    font-weight: 600;
    background: rgba(22, 136, 212, 0.12);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-precision-blue);
    border-radius: 2px;
}

/* Header Action */
.header-action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 8px;
    cursor: pointer;
    color: var(--color-white);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--color-graphite);
    border-color: var(--color-precision-blue);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(23, 28, 34, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-link {
    padding: 12px 16px;
    color: var(--color-steel-light);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-white);
    background: var(--color-graphite);
    border-left-color: var(--color-precision-blue);
}

.mobile-nav-drawer .btn {
    margin-top: 10px;
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 110px 0;
    background-color: var(--color-charcoal);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero-background-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.38) contrast(1.15);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 28, 34, 0.96) 0%, rgba(23, 28, 34, 0.82) 55%, rgba(14, 18, 22, 0.95) 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(189, 198, 206, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(189, 198, 206, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-precision-blue);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.hero-title {
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 36px;
    color: var(--color-steel-light);
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item svg {
    color: var(--color-precision-blue);
    flex-shrink: 0;
}

.trust-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-steel);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
    padding: 85px 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-charcoal);
}

.section-graphite {
    background-color: var(--color-graphite);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-deep {
    background-color: var(--color-charcoal-deep);
    border-top: 1px solid var(--color-border);
}

/* Cards & Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Feature & Service Card */
.service-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-lg);
}

.service-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--color-charcoal-deep);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-steel);
    margin-bottom: 18px;
    flex: 1;
}

.service-card-apps {
    margin-bottom: 20px;
}

.service-card-apps-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-steel-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

/* Product Card */
.product-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-precision-blue);
    box-shadow: var(--shadow-lg);
}

.product-card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--color-charcoal-deep);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(23, 28, 34, 0.85);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    color: var(--color-steel-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.product-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card-desc {
    font-size: 0.92rem;
    color: var(--color-steel);
    margin-bottom: 16px;
    flex: 1;
}

.product-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

/* Process Flow Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--color-precision-blue);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(22, 136, 212, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--color-steel);
}

/* Why Choose Us & Stats */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(22, 136, 212, 0.12);
    border: 1px solid rgba(22, 136, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-precision-blue);
    margin-bottom: 20px;
}

/* Gallery & Portfolio */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--color-graphite);
    border: 1px solid var(--color-border);
    color: var(--color-steel);
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-precision-blue);
    border-color: var(--color-precision-blue);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 28, 34, 0.95) 0%, rgba(23, 28, 34, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.gallery-item-tag {
    font-size: 0.8rem;
    color: var(--color-precision-blue);
    font-family: var(--font-mono);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(14, 18, 22, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.lightbox-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.lightbox-caption {
    padding: 20px 24px;
    background: var(--color-graphite);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(23, 28, 34, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--color-precision-blue);
}

/* Blog Cards & Article Pages */
.blog-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-precision-blue);
    box-shadow: var(--shadow-lg);
}

.blog-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--color-steel-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-desc {
    font-size: 0.95rem;
    color: var(--color-steel);
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-precision-blue);
    font-weight: 600;
    font-size: 0.92rem;
}

.blog-read-more:hover {
    gap: 12px;
    color: var(--color-white);
}

/* Single Article Styling */
.article-header {
    padding: 70px 0 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.article-content {
    max-width: 820px;
    margin: 50px auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin: 40px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.article-content h3 {
    margin: 30px 0 14px 0;
}

.article-content p {
    margin-bottom: 22px;
}

.article-content ul, 
.article-content ol {
    margin: 20px 0 30px 24px;
    list-style: disc;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--color-steel);
}

.article-content blockquote {
    border-left: 4px solid var(--color-precision-blue);
    padding: 16px 24px;
    background: var(--color-graphite);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
    font-style: italic;
    color: var(--color-steel-light);
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 40px;
}

/* Contact & Quote Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
}

.contact-info-panel {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(22, 136, 212, 0.12);
    border: 1px solid rgba(22, 136, 212, 0.3);
    color: var(--color-precision-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-steel-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-detail-value {
    color: var(--color-white);
    font-size: 1.02rem;
    line-height: 1.5;
}

.contact-form-panel {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-steel-light);
}

.form-label .req {
    color: var(--color-precision-blue);
}

.form-control {
    background: var(--color-graphite);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    color: var(--color-white);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-precision-blue);
    box-shadow: 0 0 0 3px var(--color-precision-blue-glow);
    background: #2a343e;
}

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

.form-feedback {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #40f085;
}

.form-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
}

.form-feedback.info {
    display: block;
    background: rgba(22, 136, 212, 0.15);
    border: 1px solid rgba(22, 136, 212, 0.4);
    color: #55b6ff;
}

/* Honeypot field (hidden from real users) */
.hp-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Embedded Map */
.map-container {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}

/* ==========================================================================
   Floating WhatsApp Button - STRICTLY LEFT SIDE
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.whatsapp-icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.whatsapp-icon-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.floating-whatsapp:hover .whatsapp-icon-btn {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-hover);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    background: rgba(23, 28, 34, 0.95);
    color: var(--color-white);
    padding: 7px 14px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Back to Top Button (On the RIGHT side, opposite of WhatsApp) */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-graphite);
    border: 1px solid var(--color-border);
    color: var(--color-steel-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-precision-blue);
    border-color: var(--color-precision-blue);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-charcoal-deep);
    border-top: 1px solid var(--color-border);
    padding: 75px 0 30px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-precision-blue);
}

.footer-desc {
    font-size: 0.92rem;
    color: var(--color-steel);
    line-height: 1.6;
    margin: 16px 0 24px 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-steel);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-precision-blue);
    transform: translateX(4px);
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--color-steel);
}

.footer-contact-list svg {
    color: var(--color-precision-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--color-graphite);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-steel-light);
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--color-precision-blue);
    border-color: var(--color-precision-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--color-steel-muted);
}

/* ==========================================================================
   Page Specific & Utility Styles
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-graphite) 100%);
    padding: 60px 0 50px 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(189, 198, 206, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(189, 198, 206, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-title {
    margin-bottom: 12px;
}

.page-lead {
    font-size: 1.15rem;
    color: var(--color-steel);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-steel-muted);
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: var(--color-steel);
}

.breadcrumbs a:hover {
    color: var(--color-precision-blue);
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, #1b2a38 0%, #17212b 100%);
    border: 1px solid rgba(22, 136, 212, 0.35);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-lg);
}

.cta-strip-content h3 {
    margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .desktop-nav {
        gap: 2px;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 0.88rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .desktop-nav,
    .header-action .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-strip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .process-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-whatsapp {
        left: 16px;
        bottom: 16px;
    }

    .whatsapp-icon-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon-btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none; /* Hide tooltip on small mobile screens */
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

    .hero-section {
        padding: 60px 0 70px 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

