/* ==========================================================================
   ALAWI SHUTTER & GARAGE DOORS - HANDCRAFTED ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

/* --- Color Variables & Design Tokens --- */
:root {
    --bg-dark-base: #0b0f19;
    --bg-dark-surface: #111827;
    --bg-dark-card: #1f2937;
    
    --bg-light-base: #f8fafc;
    --bg-light-surface: #ffffff;
    --bg-light-card: #ffffff;
    
    --accent-gold: #d97706;
    --accent-gold-hover: #b45309;
    --accent-gold-light: rgba(217, 119, 6, 0.1);
    --accent-gold-glow: rgba(217, 119, 6, 0.25);

    --accent-green: #059669;
    --accent-green-hover: #047857;
    --accent-green-light: rgba(5, 150, 105, 0.1);

    --accent-navy: #1e3a8a;
    --accent-blue: #0284c7;

    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;

    --border-light: #e2e8f0;
    --border-dark: #374151;
    --border-gold: rgba(217, 119, 6, 0.3);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 30px -10px rgba(11, 15, 25, 0.15);

    --font-heading: 'Tajawal', 'Cairo', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light-base);
    color: var(--text-body);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.3;
    font-weight: 700;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Announcement Top Bar --- */
.top-announcement {
    background-color: var(--bg-dark-base);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-dark);
}

.announcement-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.live-dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.announcement-text {
    flex-grow: 1;
    font-weight: 500;
}

.announcement-phone {
    color: var(--accent-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.announcement-phone:hover {
    color: #f59e0b;
}

/* --- Site Header & Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--bg-dark-base) 0%, var(--bg-dark-card) 100%);
    color: var(--accent-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(11, 15, 25, 0.15);
    border: 1px solid var(--border-gold);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-head-wa, .btn-head-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-head-wa {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.btn-head-wa:hover {
    background-color: var(--accent-green);
    color: #ffffff;
}

.btn-head-call {
    background-color: var(--bg-dark-base);
    color: #ffffff;
    border: 1px solid var(--border-gold);
    direction: ltr;
}

.btn-head-call:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
}

/* --- Hero Section: Asymmetric Composition --- */
.hero-section {
    position: relative;
    padding: 70px 0 80px;
    background-color: var(--bg-dark-base);
    color: var(--text-on-dark);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid var(--border-gold);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.4);
    transition: var(--transition-normal);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.5);
}

.btn-icon-wrapper {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-text-content {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.btn-val {
    font-size: 1.1rem;
    font-weight: 800;
    direction: ltr;
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.35);
}

.btn-hero-whatsapp:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 1px solid var(--border-dark);
}

.btn-hero-secondary:hover {
    color: #ffffff;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Metrics bar */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-dark);
}

.metric-card {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 4px;
}

.metric-desc {
    font-size: 0.825rem;
    color: #94a3b8;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-dark);
}

/* Hero Visual Column */
.hero-visual-card {
    background-color: var(--bg-dark-surface);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #374151;
}

.card-dots span:nth-child(1) { background-color: #ef4444; }
.card-dots span:nth-child(2) { background-color: #f59e0b; }
.card-dots span:nth-child(3) { background-color: #10b981; }

.card-tag {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hero-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, transparent 60%);
}

.floating-tech-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gold-light);
    color: var(--accent-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.badge-text strong {
    display: block;
    font-size: 0.85rem;
}

.badge-text small {
    font-size: 0.725rem;
    color: #94a3b8;
}

.floating-guarantee-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(5, 150, 105, 0.95);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* --- Section Shared Headers --- */
.section-meta-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 54px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-headline {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.section-subheadline {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- Services Section: Asymmetric & Custom Layouts --- */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-light-base);
}

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

.service-block {
    background-color: var(--bg-light-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    grid-column: span 6;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.featured-block {
    grid-column: span 12;
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.service-accent-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-badge-icon {
    width: 54px;
    height: 54px;
    background-color: var(--bg-dark-base);
    color: var(--accent-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.service-block h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-summary {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-specs-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-specs-list li {
    font-size: 0.9rem;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-specs-list li i {
    color: var(--accent-gold);
    margin-top: 3px;
}

.btn-service-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold-hover);
    font-weight: 700;
    font-size: 0.925rem;
    padding: 8px 0;
}

.btn-service-action:hover {
    color: var(--text-heading);
}

/* --- Engineering Standards & Quality Section --- */
.standards-section {
    padding: 90px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.standards-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.standards-visual {
    position: relative;
}

.visual-stack {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.stack-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.experience-card {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    gap: 14px;
}

.experience-card i {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.experience-card h4 {
    color: #ffffff;
    font-size: 0.95rem;
}

.experience-card p {
    font-size: 0.8rem;
    color: #94a3b8;
}

.standards-content .section-headline {
    text-align: right;
}

.standards-content .section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.standard-item {
    display: flex;
    gap: 14px;
}

.std-icon {
    width: 42px;
    height: 42px;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-hover);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.std-details h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.std-details p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Portfolio & Video Showcase Section --- */
.portfolio-section {
    padding: 90px 0;
    background-color: var(--bg-light-base);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #ffffff;
    color: var(--text-body);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--bg-dark-base);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.filter-btn-video {
    border-color: rgba(217, 119, 6, 0.4);
    color: var(--accent-gold-hover);
}

/* Video Showcase Highlight */
.portfolio-video-hero {
    margin-bottom: 40px;
    transition: var(--transition-normal);
}

.video-card-container {
    background-color: var(--bg-dark-surface);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    box-shadow: var(--shadow-xl);
}

.video-player-wrapper {
    position: relative;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-wrapper video {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.video-details-wrapper {
    padding: 40px 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(217, 119, 6, 0.15);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    align-self: flex-start;
}

.video-details-wrapper h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.video-details-wrapper p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.video-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.video-meta-tags span {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
}

.btn-video-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gold);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    align-self: flex-start;
}

.btn-video-call:hover {
    background: var(--accent-gold-hover);
}

/* Photo Gallery Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.portfolio-item {
    transition: var(--transition-normal);
}

.portfolio-item.hide {
    display: none !important;
}

.portfolio-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.portfolio-img-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--bg-dark-base);
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Video Portfolio Grid Items */
.video-thumb-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.35) 100%);
}

.play-btn-circle {
    width: 54px;
    height: 54px;
    background: var(--accent-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.5);
    margin: auto;
    transition: transform 0.3s ease, background 0.3s ease;
}

.portfolio-card:hover .play-btn-circle {
    transform: scale(1.18);
    background: #f59e0b;
}

.video-pill-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(6px);
    color: var(--accent-gold);
    border: 1px solid var(--border-gold);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.85) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-zoom-btn {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-card-info {
    color: #ffffff;
}

.location-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.portfolio-card-info h4 {
    color: #ffffff;
    font-size: 1rem;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
}

.lightbox-container {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    left: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.lightbox-arrow:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.lightbox-stage {
    flex-grow: 1;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-media-box {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lightbox-media-box img, .lightbox-media-box video {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    margin-top: 16px;
    color: #cbd5e1;
    text-align: center;
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
}

.caption-counter {
    color: var(--accent-gold);
    font-weight: 700;
}

/* --- Scope of Work / Keywords Section --- */
.keywords-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.keyword-card {
    background-color: var(--bg-light-base);
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.keyword-card i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.keyword-card:hover {
    background-color: var(--bg-dark-base);
    color: #ffffff;
    border-color: var(--accent-gold);
}

/* --- Direct Emergency CTA Section --- */
.cta-direct-section {
    position: relative;
    padding: 90px 0;
    background-color: var(--bg-dark-base);
    color: #ffffff;
    overflow: hidden;
}

.cta-overlay-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
}

.cta-card {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-card h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}

.cta-card p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.5);
    direction: ltr;
}

.btn-cta-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.6);
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
}

.btn-cta-wa:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
}

/* --- Architectural Footer Section --- */
.site-footer {
    background-color: var(--bg-dark-surface);
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-dark);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--accent-gold);
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 500px;
}

.footer-contact-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-contact-col p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-col i {
    color: var(--accent-gold);
}

/* --- Prominent Dedicated Developer Showcase Section --- */
.developer-showcase-section {
    margin: 36px 0 28px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.6) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.developer-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold) 0%, var(--accent-green) 100%);
}

.developer-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.developer-brand-info {
    flex: 1;
    min-width: 280px;
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.developer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.dev-brand-highlight {
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dev-brand-highlight:hover {
    color: #ffffff;
}

.developer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
}

.developer-action-box {
    flex-shrink: 0;
}

.developer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
    transition: var(--transition-fast);
}

.developer-wa-btn i {
    font-size: 1.5rem;
}

.developer-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.5);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.dev-wa-content {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.dev-wa-label {
    font-size: 0.725rem;
    opacity: 0.9;
}

.dev-wa-num {
    font-size: 1rem;
    font-weight: 800;
    direction: ltr;
    display: inline-block;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.dev-credits a {
    color: var(--accent-gold);
    font-weight: 700;
}

/* --- Mobile Sticky Contact Dock --- */
.mobile-sticky-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-dark);
    padding: 10px 16px;
    gap: 10px;
}

.dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px;
}

.dock-call {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: #ffffff;
    gap: 8px;
    direction: ltr;
}

.dock-wa {
    width: 48px;
    background-color: var(--accent-green);
    color: #ffffff;
    font-size: 1.25rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .standards-wrapper {
        grid-template-columns: 1fr;
    }

    .video-card-container {
        grid-template-columns: 1fr;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none; /* Can be toggled or integrated into mobile menu */
    }

    /* Hide WhatsApp button text on mobile header, keeping icon only */
    .btn-head-wa span {
        display: none;
    }
    .btn-head-wa {
        padding: 10px 12px;
        font-size: 1.1rem;
    }

    .top-announcement {
        display: none;
    }

    .service-block {
        grid-column: span 12;
    }

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

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary, .btn-hero-whatsapp, .btn-hero-secondary {
        justify-content: center;
        width: 100%;
    }

    .mobile-sticky-dock {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }
}