:root {
    /* Brand Colors Derived From Logo */
    --brand-red: #e63519; 
    --brand-red-dark: #c02a12;
    --brand-blue: #009fe3; 
    --brand-blue-dark: #007bb5;
    --brand-black: #111827;
    
    --nav-bg: #ffffff;
    --nav-text: #1f2937;
    --text-main: #4b5563;
    --text-dark: #111827;
    --bg-ice: #f3f4f6;
    --border-color: #e5e7eb;
    --max-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text-main); background-color: #ffffff; line-height: 1.7; display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }

/* Scroll Reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger-children.active > * { opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }

/* Header & Nav */
.top-ribbon { background-color: var(--brand-red); color: #ffffff; text-align: center; padding: 12px 20px; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; }
.top-ribbon a { color: #ffffff; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.4); margin-left: 8px; transition: var(--transition-smooth); }
.top-ribbon a:hover { border-bottom-color: #ffffff; }
header { background-color: var(--nav-bg); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100px; display: flex; justify-content: space-between; align-items: center; }

/* Desktop Logo Sizing */
.logo-space img { height: 80px; width: auto; object-fit: contain; }
.footer-logo-space img { height: 90px; width: auto; object-fit: contain; margin-bottom: 16px; border-radius: 8px; background: white; padding: 5px; }

.menu-checkbox { display: none; }
.menu-btn { display: none; cursor: pointer; padding: 10px; }
.menu-btn .bar { display: block; width: 24px; height: 3px; background-color: var(--brand-black); margin: 5px 0; border-radius: 2px; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--nav-text); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 0; transition: var(--transition-smooth); position: relative; }
nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background-color: var(--brand-blue); transition: var(--transition-smooth); }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a:hover, nav a.active { color: var(--brand-blue); }
.nav-cta { background-color: var(--brand-blue); color: #ffffff !important; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 4px 15px rgba(0, 159, 227, 0.3); }
.nav-cta::after { display: none; }
.nav-cta:hover { background-color: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 159, 227, 0.4); }

/* Video Hero System */
.hero-epic { position: relative; background-color: var(--brand-black); color: #ffffff; padding: 180px 24px; text-align: center; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 1; transform: translate(-50%, -50%); object-fit: cover; filter: brightness(0.65) contrast(1.1); pointer-events: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(230,53,25,0.70) 0%, rgba(0,159,227,0.85) 100%); z-index: 2; mix-blend-mode: multiply; }
.hero-content { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; width: 100%; }
.hero-micro-badge { display: inline-flex; align-items: center; gap: 8px; background-color: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero-stars { color: #facc15; letter-spacing: 2px; }
.hero-epic h1 { color: #ffffff; font-size: 64px; letter-spacing: -0.02em; margin-bottom: 24px; font-weight: 900; line-height: 1.1; text-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.hero-epic p { font-size: 20px; color: #f3f4f6; max-width: 780px; margin: 0 auto 35px auto; line-height: 1.6; font-weight: 500; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }

/* Pulse Animation */
@keyframes emergencyPulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 53, 25, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 53, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 53, 25, 0); }
}
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-fixed-btn-emergency { display: inline-block; background-color: var(--brand-red); color: #ffffff !important; padding: 16px 32px; font-size: 1.1rem; font-weight: 800; text-decoration: none; border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition-smooth); text-transform: uppercase; letter-spacing: 0.5px; animation: emergencyPulse 2s infinite; }
.hero-fixed-btn-emergency:hover { background-color: var(--brand-red-dark) !important; transform: translateY(-3px); }
.hero-fixed-btn-standard { display: inline-block; background-color: #ffffff; color: var(--brand-black) !important; padding: 16px 32px; font-size: 1.1rem; font-weight: 800; text-decoration: none; border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: var(--transition-smooth); }
.hero-fixed-btn-standard:hover { background-color: var(--bg-ice) !important; transform: translateY(-3px); }

/* Structural Grid Rules */
.container { max-width: var(--max-width); margin: 100px auto; padding: 0 24px; width: 100%; }
.section-head { max-width: 760px; margin: 0 auto 55px auto; text-align: center; }
.section-head h2 { font-size: 44px; margin-bottom: 20px; color: var(--text-dark); }
.section-head p { font-size: 19px; color: var(--text-main); }
.grid-locked-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; width: 100%; max-width: var(--max-width); margin: 0 auto; align-items: stretch; }

/* Service Cards */
.service-block { padding: 20px; border: 1px solid var(--border-color); border-radius: 16px; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.service-block::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand-red), var(--brand-blue)); opacity: 0; transition: var(--transition-smooth); }
.service-block:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: transparent; }
.service-block:hover::before { opacity: 1; }
.service-block img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 20px; }
.service-content { padding: 8px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }
.service-content h3 { font-size: 1.45rem; margin: 0 0 12px 0; font-weight: 800; color: var(--text-dark); }
.service-content p { font-size: 1rem; line-height: 1.6; margin-bottom: 24px; color: var(--text-main); flex-grow: 1; }
.service-link { font-size: 1rem; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition-smooth); color: var(--brand-blue); }
.service-link:hover { color: var(--brand-red); gap: 10px; }

/* Trust Banner */
.trust-banner { background-color: var(--bg-ice); border-bottom: 1px solid var(--border-color); padding: 40px 24px; }
.trust-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; color: var(--text-dark); font-size: 16px; background: #ffffff; padding: 20px 24px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: var(--transition-smooth); }
.trust-item:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.trust-item svg { width: 28px; height: 28px; fill: var(--brand-red); flex-shrink: 0; }

/* Layout Grid - Story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 80px; }
.story-text h2 { font-size: 40px; margin-bottom: 28px; }
.story-text p { color: var(--text-main); margin-bottom: 24px; font-size: 18px; text-align: left; }
.story-img img { border-radius: 20px; width: 100%; height: 460px; object-fit: cover; box-shadow: 0 25px 50px rgba(0,0,0,0.12); }

/* Completed Work */
.gallery-node-card { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); aspect-ratio: 16/9; background-color: var(--bg-ice); display: block; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.gallery-node-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-node-card:hover img { transform: scale(1.08); }
.gallery-node-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 24, 39, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(4px); }
.gallery-node-card:hover .gallery-node-overlay { opacity: 1; }
.gallery-node-overlay span { color: #ffffff; font-weight: 800; font-size: 16px; border: 2px solid #ffffff; padding: 12px 28px; border-radius: 30px; transition: var(--transition-smooth); }
.gallery-node-overlay span:hover { background-color: var(--brand-red); border-color: var(--brand-red); color: #ffffff; }

.lightbox-shield-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(17, 24, 39, 0.98); align-items: center; justify-content: center; padding: 24px; }
.lightbox-shield-content { max-width: 90%; max-height: 85vh; border-radius: 12px; object-fit: contain; box-shadow: 0 25px 60px rgba(0,0,0,0.6); }
.lightbox-shield-close { position: absolute; top: 25px; right: 35px; color: #ffffff; font-size: 44px; cursor: pointer; transition: color 0.2s; }
.lightbox-shield-close:hover { color: var(--brand-red); }

/* Elements & Forms */
.jumbo-sub { background-color: var(--brand-black); color: #ffffff; padding: 110px 24px; text-align: center; border-bottom: 6px solid var(--brand-blue); background-image: radial-gradient(circle at top right, rgba(0,159,227,0.15), transparent 40%); }
.jumbo-sub h1 { color: #ffffff; font-size: 48px; letter-spacing: -0.02em; }
.jumbo-sub p { color: #d1d5db; margin-top: 18px; font-size: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.job-list { list-style: none; margin: 28px 0; }
.job-list li { position: relative; padding-left: 36px; margin-bottom: 16px; font-size: 17px; color: var(--text-main); font-weight: 500; text-align: left; }
.job-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-red); font-weight: 900; font-size: 20px; }

/* Reviews */
.reviews-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 50px; }
.review-card { background: #ffffff; border: 1px solid var(--border-color); padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: var(--transition-smooth); position: relative; }
.review-card::before { content: '"'; position: absolute; top: 20px; right: 30px; font-size: 80px; color: rgba(0,159,227,0.1); font-family: serif; line-height: 1; }
.review-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--brand-blue); }
.review-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--bg-ice); padding-bottom: 20px; position: relative; z-index: 2; }
.reviewer-name { font-weight: 800; color: var(--text-dark); font-size: 18px; }
.review-platform { font-size: 13px; background: #e0f2fe; color: var(--brand-blue-dark); padding: 6px 14px; border-radius: 30px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.review-text { font-size: 17px; font-style: italic; text-align: left; line-height: 1.7; color: var(--text-main); position: relative; z-index: 2; }

/* Badges & Geolocation */
.badge-card { background-color: var(--bg-ice); border: 1px solid var(--border-color); padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: var(--transition-smooth); }
.badge-card:hover { background-color: #ffffff; border-color: var(--brand-blue); }
.badge-card h3 { font-size: 24px; color: var(--text-dark); border-bottom: 3px solid var(--brand-red); display: inline-block; padding-bottom: 8px; margin-bottom: 24px; }
.geo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 45px; }
.geo-node { text-decoration: none; background-color: #ffffff; border: 1px solid var(--border-color); padding: 24px; border-radius: 12px; font-weight: 700; display: flex; align-items: center; font-size: 17px; color: var(--text-dark); box-shadow: 0 6px 15px rgba(0,0,0,0.03); transition: var(--transition-smooth); }
.geo-node:hover { background-color: var(--brand-blue); color: #ffffff; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,159,227,0.2); border-color: var(--brand-blue); }
.geo-node::before { content: ""; width: 10px; height: 10px; background-color: var(--brand-red); border-radius: 50%; margin-right: 16px; transition: var(--transition-smooth); }
.geo-node:hover::before { background-color: #ffffff; }

/* Contact Dashboard */
.split-dashboard { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.pane-dark { background-color: var(--brand-black); color: #ffffff; padding: 60px 50px; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); background-image: linear-gradient(135deg, rgba(230,53,25,0.05), transparent); }
.pane-dark h2 { color: #ffffff; margin-bottom: 32px; font-size: 34px; }
.metric-row { background-color: rgba(255,255,255,0.05); padding: 28px; border-radius: 12px; margin-bottom: 24px; border-left: 4px solid var(--brand-red); text-align: left; transition: var(--transition-smooth); }
.metric-row:hover { background-color: rgba(255,255,255,0.08); border-left-color: var(--brand-blue); }
.metric-row span { display: block; font-size: 14px; text-transform: uppercase; color: #9ca3af; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.05em; }
.metric-row a, .metric-row strong { font-size: 26px; color: #ffffff; text-decoration: none; font-weight: 800; }
.pane-form { border: 1px solid var(--border-color); padding: 60px 50px; border-radius: 16px; background-color: #ffffff; box-shadow: 0 20px 50px rgba(0,0,0,0.05); }
.pane-form h2 { margin-bottom: 16px; font-size: 34px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-unit { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.field-unit label { font-size: 15px; font-weight: 800; color: var(--text-dark); }
.field-unit input, .field-unit textarea { width: 100%; padding: 18px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 16px; background-color: var(--bg-ice); transition: var(--transition-smooth); }
.field-unit input:focus, .field-unit textarea:focus { outline: none; border-color: var(--brand-blue); background-color: #ffffff; box-shadow: 0 0 0 4px rgba(0,159,227,0.15); }
.form-submit { background-color: var(--brand-blue); color: #fff; border: none; padding: 18px 32px; font-size: 18px; font-weight: 800; border-radius: 30px; cursor: pointer; transition: var(--transition-smooth); width: 100%; }
.form-submit:hover { background-color: var(--brand-blue-dark); box-shadow: 0 10px 25px rgba(0,159,227,0.3); transform: translateY(-2px); }

/* Master Footer */
footer { background-color: var(--brand-black); color: #9ca3af; padding: 90px 24px 40px 24px; border-top: 1px solid #1f2937; }
.footer-matrix { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid #374151; }
.footer-column h4 { color: #ffffff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 28px; font-weight: 800; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 16px; }
.footer-column ul li a { color: #9ca3af; text-decoration: none; font-size: 16px; transition: var(--transition-smooth); display: inline-block; }
.footer-column ul li a:hover { color: var(--brand-blue); transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 35px; font-size: 15px; color: #6b7280; }

/* Responsive Viewports */
@media (max-width: 991px) {
    .grid-locked-3 { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .split-dashboard, .story-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-matrix { grid-template-columns: 1fr 1fr; }
    .hero-epic h1 { font-size: 52px; }
    .hero-epic { min-height: 70vh; }
}

@media (max-width: 768px) {
    .logo-space img { height: 60px; } 
    .footer-logo-space img { height: 80px; } 
    .grid-locked-3 { grid-template-columns: 1fr; } 
    .menu-btn { display: block; }
    .nav-container { height: 80px; }
    nav { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background-color: #ffffff; padding: 30px 24px; border-bottom: 1px solid var(--border-color); gap: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
    .nav-cta { width: 100%; text-align: center; }
    .menu-checkbox:checked ~ nav { display: flex; }
    .container { margin: 70px auto; }
    .hero-epic { padding: 130px 16px; min-height: 80vh; }
    .hero-epic h1 { font-size: 42px; }
    .hero-epic p { font-size: 18px; }
    .trust-grid { grid-template-columns: 1fr; }
    .field-pair { grid-template-columns: 1fr; }
    .footer-matrix { grid-template-columns: 1fr; gap: 50px; }
    .pane-form, .pane-dark { padding: 40px 30px; }
}