/* =========================================================
   END Technologies — Site Stylesheet
   Tokens: navy/orange brand + IBM Plex Mono "systems" accents
   ========================================================= */

:root {
    /* Color */
    --navy-950: #060e1e;
    --navy-900: #0a1628;
    --navy-800: #0e1e36;
    --navy-700: #13284a;
    --navy-600: #1b3660;
    --navy-500: #274a80;
    --orange: #f37021;
    --orange-light: #ff8c42;
    --white: #ffffff;
    --grey-200: #cdd6e5;
    --grey-400: #8b98b3;
    --grey-500: #6c7a99;
    --status-green: #2fd67f;
    --danger: #ff8080;

    /* Type */
    --font-head: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Layout */
    --max-width: 1280px;
    --radius: 12px;
    --header-h: 84px;
    --utility-h: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--navy-900);
    color: var(--white);
    position: relative;
    overflow-x: hidden;
    padding-top: calc(var(--header-h) + var(--utility-h));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Background decoration ---------- */
.bg-grid {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(243, 112, 33, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 112, 33, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.16) 0%, rgba(243, 112, 33, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-pulse 2.6s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #20bd5a;
}

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

/* ---------- Utility ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-light);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(243, 112, 33, 0.1);
    border: 1px solid rgba(243, 112, 33, 0.35);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 40px);
    margin: 0 0 14px;
    line-height: 1.2;
}

.section-head p {
    color: var(--grey-200);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--navy-600); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-light); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--navy-700);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img { height: 54px; width: auto; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14.5px;
}

.main-nav a {
    color: var(--grey-200);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.2s ease;
}

.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--orange-light); }
.main-nav a.active::after,
.main-nav a:hover::after { width: 100%; }

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: 1px solid var(--navy-600);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    margin: 0 auto;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Utility bar (top tier of the two-tier header) */
.utility-bar {
    height: var(--utility-h);
    background: var(--navy-950);
    border-bottom: 1px solid var(--navy-700);
    overflow: hidden;
}

.utility-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    color: var(--grey-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utility-left a { color: var(--grey-400); transition: color 0.2s ease; }
.utility-left a:hover { color: var(--orange-light); }
.utility-left i { color: var(--orange); margin-right: 6px; font-size: 11px; }
.utility-hours { display: flex; align-items: center; }

.utility-social {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.utility-social a { color: var(--grey-400); font-size: 12.5px; transition: color 0.2s ease; }
.utility-social a:hover { color: var(--orange-light); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
    padding: 96px 0 84px;
    text-align: center;
    border-bottom: 1px solid var(--navy-700);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, rgba(6, 14, 30, 0.6), rgba(10, 22, 40, 0.8));
}

.page-header .container { position: relative; z-index: 1; }

.page-header-about     { background-image: url('../images/hero-about.webp'); }
.page-header-services  { background-image: url('../images/hero-services.webp'); }
.page-header-portfolio { background-image: url('../images/hero-portfolio.webp'); }
.page-header-contact   { background-image: url('../images/hero-contact.webp'); }

.page-header .breadcrumb {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--grey-500);
    margin: 0 0 16px;
    letter-spacing: 0.04em;
}

.page-header .breadcrumb a { color: var(--grey-400); }
.page-header .breadcrumb a:hover { color: var(--orange-light); }

.page-header h1 {
    font-weight: 800;
    font-size: clamp(30px, 4vw, 46px);
    margin: 0 0 14px;
}

.page-header p {
    color: var(--grey-200);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Home Hero ---------- */
.hero-section {
    position: relative;
    overflow: hidden;
    background: url('../images/hero-home.jpg') center/cover no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0) 55%, rgba(10, 22, 40, 0.85) 100%),
        linear-gradient(115deg, rgba(6, 14, 30, 0.78) 25%, rgba(10, 22, 40, 0.55) 60%, rgba(10, 22, 40, 0.4) 100%);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    padding: 64px 0 60px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.12;
    margin: 0 0 20px;
}

.hero h1 .accent { color: var(--orange); }

.hero-text {
    color: var(--grey-200);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 34px;
    max-width: 460px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-stats .stat-num {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 600;
    color: var(--orange-light);
}

.hero-stats .stat-label {
    font-size: 12px;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* CSS device mockups (home hero visual) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 340px;
}

.device-screen {
    background: var(--navy-950);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

.device-logo { width: 110px; margin-bottom: 14px; }
.device-logo.small { width: 56px; margin-bottom: 8px; }

.device-caption { font-size: 12px; color: var(--grey-400); margin: 10px 0 0; font-family: var(--font-mono); }
.device-caption.small { font-size: 9px; margin-top: 6px; }

.progress-bar { width: 70%; height: 4px; border-radius: 4px; background: var(--navy-700); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 55%; background: var(--orange); animation: loadbar 2.4s ease-in-out infinite; }

@keyframes loadbar {
    0% { width: 10%; } 50% { width: 80%; } 100% { width: 10%; }
}

.device.laptop { width: 380px; max-width: 80vw; z-index: 3; }
.device.laptop .device-screen { height: 220px; border: 8px solid #2a2f3a; border-bottom: none; border-radius: 10px 10px 0 0; }

.device-base { height: 14px; background: linear-gradient(180deg, #3a4152, #23272f); border-radius: 0 0 10px 10px; position: relative; }
.device-base::after { content: ""; position: absolute; left: 50%; top: 4px; transform: translateX(-50%); width: 60px; height: 4px; background: #4a5265; border-radius: 4px; }

.device.tablet { position: absolute; right: -6px; bottom: 10px; width: 110px; z-index: 2; }
.device.tablet .device-screen { height: 150px; border: 6px solid #2a2f3a; border-radius: 12px; }

.device.phone { position: absolute; left: 0; bottom: 0; width: 78px; z-index: 1; }
.device.phone .device-screen { height: 160px; border: 5px solid #2a2f3a; border-radius: 16px; }

/* ---------- Stats bar (About/Home) ---------- */
.stats-bar {
    border-top: 1px solid var(--navy-700);
    border-bottom: 1px solid var(--navy-700);
    padding: 44px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-bar .stat-value {
    font-family: var(--font-mono);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    color: var(--orange);
    line-height: 1;
}

.stats-bar .stat-label {
    margin-top: 10px;
    font-size: 13px;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---------- Services grid (cards) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: rgba(243, 112, 33, 0.5);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid rgba(243, 112, 33, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.service-card p {
    font-size: 13.5px;
    color: var(--grey-400);
    line-height: 1.6;
    margin: 0 0 16px;
}

.service-card a.card-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Services page — detailed blocks */
.service-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--navy-700);
    scroll-margin-top: calc(var(--header-h) + var(--utility-h) + 20px);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1.5px solid rgba(243, 112, 33, 0.45);
    background: rgba(243, 112, 33, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 28px;
    margin-bottom: 18px;
}

.service-detail-label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-detail h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 6px 0 0;
}

.service-detail-body p {
    color: var(--grey-200);
    line-height: 1.75;
    font-size: 15.5px;
    margin: 0 0 20px;
}

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--grey-200);
}

.feature-list li i { color: var(--status-green); margin-top: 3px; font-size: 12px; }

/* ---------- Process steps (Services page) ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-top: 8px;
}

.process-step .step-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--orange);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    display: block;
}

.process-step h3 { font-size: 16px; margin: 0 0 8px; }
.process-step p { font-size: 13.5px; color: var(--grey-400); line-height: 1.6; margin: 0; }

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -12px;
    width: 24px;
    height: 1px;
    background: var(--navy-600);
    display: none;
}

@media (min-width: 861px) {
    .process-step:not(:last-child)::after { display: block; }
}

/* ---------- Why choose us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-card i {
    font-size: 26px;
    color: var(--orange);
    margin-bottom: 16px;
}

.why-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.why-card p { font-size: 13.5px; color: var(--grey-400); line-height: 1.6; margin: 0; }

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

.filter-btn {
    font-family: var(--font-mono);
    font-size: 12.5px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--navy-600);
    background: transparent;
    color: var(--grey-200);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover { border-color: var(--orange); color: var(--orange-light); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

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

.portfolio-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(243, 112, 33, 0.5); }

.portfolio-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(243, 112, 33, 0.14), rgba(243, 112, 33, 0) 60%),
        var(--navy-950);
    border-bottom: 1px solid var(--navy-700);
    position: relative;
}

.portfolio-thumb::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: linear-gradient(rgba(243, 112, 33, 0.06) 1px, transparent 1px),
                       linear-gradient(90deg, rgba(243, 112, 33, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.portfolio-thumb i {
    font-size: 34px;
    color: var(--orange);
    position: relative;
    z-index: 1;
}

.portfolio-body { padding: 22px; }

.portfolio-category {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-body h3 { font-size: 16.5px; margin: 10px 0 8px; }
.portfolio-body p { font-size: 13.5px; color: var(--grey-400); line-height: 1.6; margin: 0; }

/* ---------- Values / mission cards (About) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.value-card i { color: var(--orange); font-size: 22px; margin-bottom: 14px; }
.value-card h3 { font-size: 15.5px; margin: 0 0 10px; }
.value-card p { font-size: 13.5px; color: var(--grey-400); line-height: 1.65; margin: 0; }

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

.mv-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 32px;
}

.mv-card .eyebrow { margin-bottom: 14px; }
.mv-card p { color: var(--grey-200); line-height: 1.75; font-size: 15px; margin: 0; }

/* Story block */
.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.story-block p {
    color: var(--grey-200);
    line-height: 1.8;
    font-size: 15.5px;
    margin: 0 0 18px;
}

.story-visual {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.story-visual .mini-stat { display: flex; align-items: center; gap: 16px; }

.story-visual .mini-stat i {
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1.5px solid rgba(243, 112, 33, 0.4);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange); font-size: 16px; flex-shrink: 0;
}

.story-visual .mini-stat strong { display: block; font-family: var(--font-mono); font-size: 18px; }
.story-visual .mini-stat span { font-size: 12.5px; color: var(--grey-400); }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    text-align: center;
    padding: 26px 18px;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
}

.team-avatar {
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(243, 112, 33, 0.12);
    border: 1.5px solid rgba(243, 112, 33, 0.4);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--orange);
    font-size: 16px;
}

.team-card h3 { font-size: 15px; margin: 0 0 4px; }
.team-card p { font-size: 12.5px; color: var(--grey-400); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
    border-top: 1px solid var(--navy-700);
    border-bottom: 1px solid var(--navy-700);
    padding: 56px 0;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 8px; }
.cta-band p { color: var(--grey-400); margin: 0; font-size: 14.5px; }

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1px solid var(--navy-600);
    background: var(--navy-950);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px; /* 16px avoids iOS Safari auto-zooming in on focus */
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-500); }

.form-msg {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--grey-400);
    min-height: 18px;
}

.form-msg.success { color: var(--status-green); }
.form-msg.error { color: var(--danger); }

.contact-info-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-700);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 20px;
}

.contact-info-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--navy-700);
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row i {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(243, 112, 33, 0.4);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
}

.contact-info-row h4 { margin: 0 0 4px; font-size: 14px; }
.contact-info-row p, .contact-info-row a { margin: 0; font-size: 13.5px; color: var(--grey-400); }
.contact-info-row a:hover { color: var(--orange-light); }

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--navy-700);
    height: 220px;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-logo { height: 50px; margin-bottom: 14px; }

.footer-brand p {
    color: var(--grey-400);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover { background: var(--orange); transform: translateY(-2px); }

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--grey-200);
    margin: 0 0 18px;
}

.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--grey-400); font-size: 13.5px; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--grey-400);
    font-size: 13.5px;
    line-height: 1.5;
}

.footer-contact i { color: var(--orange); margin-top: 3px; width: 14px; }
.footer-contact a { color: var(--grey-400); }
.footer-contact a:hover { color: var(--orange-light); }

.footer-bottom { border-top: 1px solid var(--navy-700); padding: 20px 0; }

/* Mobile-only card-based footer — hidden by default, shown below 640px
   where it replaces .footer-grid (see responsive section). */
.footer-mobile { display: none; }

.footer-mobile-brand { text-align: center; padding: 8px 0 20px; }
.footer-mobile-brand .footer-logo { margin: 0 auto; }

.footer-contact-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--navy-600);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-card-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--orange-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.footer-contact-card a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--white);
}

.footer-contact-card a i { color: var(--orange); width: 16px; }
.footer-contact-card a:hover { color: var(--orange-light); }

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.footer-link-grid-item {
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-link-grid-item:hover { border-color: rgba(243, 112, 33, 0.5); background: var(--navy-700); }
.footer-link-grid-item i { display: block; color: var(--orange); font-size: 17px; margin-bottom: 7px; }
.footer-link-grid-item span { font-size: 12px; color: var(--grey-200); }

.footer-social-mobile { justify-content: center; margin-bottom: 6px; }

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--grey-500);
}

.footer-credit i { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    :root { --utility-h: 0px; } /* utility bar is hidden below, so its height drops out of every calc() automatically */

    .utility-bar { display: none; }

    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
    .hero-text, .hero-ctas, .hero-stats { margin-left: auto; margin-right: auto; }
    .hero-ctas, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 30px; }

    .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .values-grid, .team-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid, .story-block, .contact-grid { grid-template-columns: 1fr; }
    .story-block { gap: 32px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }

    .service-detail { grid-template-columns: 1fr; gap: 20px; }
    .feature-list { grid-template-columns: 1fr; }

    .main-nav { position: fixed; top: calc(var(--header-h) + var(--utility-h)); left: 0; right: 0; background: var(--navy-950); border-bottom: 1px solid var(--navy-700); flex-direction: column; align-items: flex-start; padding: 20px 40px; gap: 6px; max-height: calc(100vh - var(--header-h) - var(--utility-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
    .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .main-nav a { width: 100%; padding: 12px 0; } /* larger touch target on mobile */
    .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; }
    .main-nav { padding: 20px; }
    .logo img { height: 42px; }

    .services-grid, .why-grid, .values-grid, .team-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .process-steps { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band-inner { text-align: center; justify-content: center; }
    .footer-grid { display: none; }
    .footer-mobile { display: block; padding-bottom: 8px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .device.laptop { width: 260px; }
    .device.tablet, .device.phone { display: none; }

    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; right: 16px; bottom: 16px; }

    /* Google's reCAPTCHA widget is a fixed ~304px wide — scale it down so
       it never causes horizontal overflow on narrow phones. */
    .g-recaptcha { transform: scale(0.87); transform-origin: 0 0; }

    .contact-form { padding: 24px 20px; }
    .contact-info-card { padding: 24px 20px; }
    .story-visual { padding: 28px 22px; }
    .mv-card { padding: 24px 20px; }
    .section { padding: 56px 0; }
    .page-header { padding: 40px 0 34px; }
}

@media (max-width: 340px) {
    .g-recaptcha { transform: scale(0.77); }
}
