/**
 * MYFO GRUP — Premium Corporate Stylesheet
 * Engineering company website · Light/Dark themes
 * Breakpoints: 1200 · 1024 · 768 · 480
 */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
    /* Colors — Light */
    --bg: #ffffff;
    --surface: #f5f7fa;
    --surface-elevated: #ffffff;
    --text: #111827;
    --text-secondary: #374151;
    --muted: #667085;
    --primary: #1a56db;
    --primary-hover: #1648c0;
    --primary-soft: rgba(26, 86, 219, 0.08);
    --primary-glow: rgba(26, 86, 219, 0.25);
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --header-bg: rgba(255, 255, 255, 0.95);
    --overlay: rgba(11, 18, 32, 0.72);
    --overlay-light: rgba(255, 255, 255, 0.92);
    --success: #059669;
    --success-soft: rgba(5, 150, 105, 0.1);
    --error: #dc2626;
    --error-soft: rgba(220, 38, 38, 0.1);
    --warning: #d97706;
    --info: #0284c7;
    --info-soft: rgba(2, 132, 199, 0.1);
    --whatsapp: #25d366;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(16, 24, 40, 0.12);
    --shadow-xl: 0 24px 64px rgba(16, 24, 40, 0.16);

    /* Typography */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --lh-tight: 1.2;
    --lh-snug: 1.35;
    --lh-normal: 1.6;
    --lh-relaxed: 1.75;

    /* Layout */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    --header-height: 72px;
    --topbar-height: 42px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;

    /* Z-index scale */
    --z-dropdown: 100;
    --z-header: 200;
    --z-mega: 250;
    --z-mobile-menu: 300;
    --z-cookie: 400;
    --z-whatsapp: 350;
    --z-lightbox: 500;
}

/* Project references and partner network */
.project-network-grid {
    align-items: start;
}

.project-network-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.project-network-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.project-network-heading i {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-soft);
}

.project-network-heading h3 {
    margin: 0;
}

.project-network-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-network-list li {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: var(--surface-elevated);
    font-size: 0.9rem;
    line-height: 1.35;
}

[data-theme="dark"] {
    --bg: #0b1220;
    --surface: #111827;
    --surface-elevated: #1a2332;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-soft: rgba(59, 130, 246, 0.12);
    --primary-glow: rgba(59, 130, 246, 0.3);
    --border: #263244;
    --border-strong: #334155;
    --header-bg: rgba(11, 18, 32, 0.95);
    --overlay: rgba(0, 0, 0, 0.78);
    --overlay-light: rgba(17, 24, 39, 0.95);
    --success-soft: rgba(5, 150, 105, 0.15);
    --error-soft: rgba(220, 38, 38, 0.15);
    --info-soft: rgba(2, 132, 199, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.mobile-menu-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--primary-hover);
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

::selection {
    background: var(--primary-soft);
    color: var(--text);
}

#main-content {
    min-height: 50vh;
}

/* ==========================================================================
   3. Typography & Prose
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--lh-tight);
    color: var(--text);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

.prose {
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
}

.prose > * + * {
    margin-top: 1.25em;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--text);
}

.prose ul,
.prose ol {
    padding-left: 1.5em;
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li + li {
    margin-top: 0.5em;
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose img {
    border-radius: var(--radius-md);
    margin: 1.5em 0;
}

.prose blockquote {
    border-left: 4px solid var(--primary);
    padding: 1em 1.5em;
    background: var(--surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.section {
    padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section.bg-muted {
    background-color: var(--surface);
}

.section.bg-dark {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #f1f5f9;
}

.section.bg-dark .section-title,
.section.bg-dark .section-label,
.section.bg-dark .why-title {
    color: #f8fafc;
}

.section.bg-dark .section-desc,
.section.bg-dark .why-text {
    color: #94a3b8;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header-left {
    text-align: left;
    margin-inline: 0;
    max-width: none;
}

.section-header-light .section-label {
    color: var(--primary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.section-header-left .section-label::before {
    display: none;
}

.section-title {
    font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: var(--fs-xl);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: var(--fs-lg);
    color: var(--muted);
    max-width: 640px;
    margin-inline: auto;
}

.section-header-left .section-desc {
    margin-inline: 0;
}

.section-footer {
    text-align: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-sidebar {
    grid-template-columns: 1fr 340px;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background-color var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        color var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-soft);
}

.section.bg-dark .btn-outline,
.hero-section .btn-outline,
.page-hero .btn-outline,
.cta-box .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.section.bg-dark .btn-outline:hover,
.hero-section .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-box .btn-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--fs-xs);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--fs-base);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   6. Forms
   ========================================================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--fs-sm);
    color: var(--text);
    background-color: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        border-color var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out),
        background-color var(--duration-base) var(--ease-out);
}

.form-control::placeholder {
    color: var(--muted);
}

.form-control:hover {
    border-color: var(--border-strong);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667085' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-check-label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: var(--lh-snug);
}

.form-message {
    display: none;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    margin-bottom: 1rem;
}

.form-message-success {
    display: block;
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.form-message-error {
    display: block;
    background: var(--error-soft);
    color: var(--error);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.contact-form-wrap,
.contact-form {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   7. Top Bar
   ========================================================================== */

.top-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-xs);
    color: var(--muted);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.top-bar-item:hover {
    color: var(--primary);
}

.top-bar-item i {
    font-size: 0.7rem;
    color: var(--primary);
}

.top-bar-address span {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    color: var(--muted);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.top-bar-right a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

/* ==========================================================================
   8. Header & Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition:
        background-color var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-dark-mode {
    display: none;
}

[data-theme="dark"] .logo-light-mode {
    display: none;
}

[data-theme="dark"] .logo-dark-mode {
    display: block;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-item.is-open > .nav-link {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-arrow {
    font-size: 0.6rem;
    transition: transform var(--duration-base) var(--ease-out);
}

.nav-item.is-open > .nav-link .nav-arrow {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cta-header {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Theme Toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
    transition:
        background-color var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        color var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: inline-block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: var(--radius-full);
    transition: transform var(--duration-base) var(--ease-out);
}

body.mobile-menu-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mobile-menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   9. Dropdown Menus
   ========================================================================== */

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition:
        opacity var(--duration-base) var(--ease-out),
        visibility var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
    z-index: var(--z-dropdown);
}

.nav-item.has-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 0.625rem 0.875rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

/* ==========================================================================
   10. Mega Menu
   ========================================================================== */

.nav-item.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 0;
    background: var(--surface-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition:
        opacity var(--duration-base) var(--ease-out),
        visibility var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
    z-index: var(--z-mega);
}

.mega-menu.is-visible,
.nav-item.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Invisible hover bridge — prevents menu disappearing on mouse move */
.mega-menu-bridge {
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: auto;
}

.mega-menu-inner {
    padding-block: 2rem;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mega-col-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.mega-col-icon {
    color: var(--primary);
    font-size: var(--fs-lg);
}

.mega-col-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
}

.mega-col-links li + li {
    margin-top: 0.125rem;
}

.mega-col-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out),
        padding-left var(--duration-base) var(--ease-out);
}

.mega-col-links a i {
    width: 16px;
    color: var(--muted);
    font-size: 0.75rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.mega-col-links a:hover {
    color: var(--primary);
    background: var(--primary-soft);
    padding-left: 0.875rem;
}

.mega-col-links a:hover i {
    color: var(--primary);
}

.mega-col-all {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
}

.mega-col-all i {
    font-size: 0.65rem;
    transition: transform var(--duration-base) var(--ease-out);
}

.mega-col-all:hover i {
    transform: translateX(3px);
}

.mega-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.mega-menu-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary);
}

.mega-menu-all-link i {
    font-size: 0.65rem;
    transition: transform var(--duration-base) var(--ease-out);
}

.mega-menu-all-link:hover i {
    transform: translateX(3px);
}

.mega-menu-contact-link {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition:
        color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.mega-menu-contact-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.nav-link-accent {
    color: var(--primary);
}

.nav-link-accent:hover {
    background: var(--primary-soft);
}

.mobile-nav-link-accent {
    color: var(--primary);
    font-weight: 700;
}

.mobile-nav-link-muted {
    color: var(--muted);
    font-size: var(--fs-sm);
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================================================
   11. Mobile Menu
   ========================================================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: calc(var(--z-mobile-menu) - 1);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--duration-base) var(--ease-out),
        visibility var(--duration-base) var(--ease-out);
}

body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 90vw);
    height: 100dvh;
    background: var(--surface-elevated);
    z-index: var(--z-mobile-menu);
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-out);
    overflow-y: auto;
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

body.mobile-menu-open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--text);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--muted);
    transition: background-color var(--duration-fast) var(--ease-out);
}

.mobile-menu-close:hover {
    background: var(--surface);
    color: var(--text);
}

.mobile-nav-list {
    padding: 0.75rem;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link,
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 0.75rem;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.mobile-nav-toggle i {
    font-size: 0.65rem;
    transition: transform var(--duration-base) var(--ease-out);
}

.mobile-nav-toggle.is-active i {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-base) var(--ease-out);
}

.mobile-submenu.is-open {
    max-height: 800px;
}

.mobile-submenu li a {
    display: block;
    padding: 0.625rem 0.75rem 0.625rem 1.5rem;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

.mobile-submenu-group {
    padding: 0.5rem 0;
}

.mobile-submenu-label {
    display: block;
    padding: 0.5rem 0.75rem 0.5rem 1.25rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.mobile-nav-item .btn {
    margin: 1rem 0.75rem;
}

/* ==========================================================================
   12. Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--duration-slow) var(--ease-in-out),
        visibility var(--duration-slow) var(--ease-in-out);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.25) 100%),
        linear-gradient(to top, rgba(11, 18, 32, 0.6) 0%, transparent 50%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 720px;
    padding-block: 6rem 4rem;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0.375rem 0.875rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    width: fit-content;
}

.hero-title {
    font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero-desc {
    font-size: clamp(var(--fs-base), 2vw, var(--fs-xl));
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-nav {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition:
        background-color var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    transition:
        background-color var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
}

.hero-dot.active,
.hero-dot:hover {
    background: #ffffff;
    transform: scale(1.2);
}

/* ==========================================================================
   13. Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    background-color: var(--surface);
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.65) 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.page-hero-label {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.page-hero-title {
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
    color: #ffffff;
}

.page-hero .breadcrumb-list a,
.page-hero .breadcrumb-list span {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb-list a:hover {
    color: #ffffff;
}

.page-hero .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   14. Breadcrumb
   ========================================================================== */

.breadcrumb {
    margin-bottom: 1.25rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-sm);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.breadcrumb-item a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active span {
    color: var(--text);
    font-weight: 500;
}

.breadcrumb-sep {
    color: var(--border-strong);
    font-size: 0.6rem;
}

/* ==========================================================================
   15. Cards (Base)
   ========================================================================== */

.card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.card-link {
    display: block;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.card-link:hover {
    color: inherit;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: var(--fs-xl);
    margin-bottom: 1.25rem;
    transition: background-color var(--duration-base) var(--ease-out);
}

.card:hover .card-icon {
    background: var(--primary);
    color: #ffffff;
}

.card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.625rem;
    color: var(--text);
}

.card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: var(--lh-relaxed);
    margin-bottom: 1rem;
}

.card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
}

.card-more i {
    font-size: 0.65rem;
    transition: transform var(--duration-base) var(--ease-out);
}

.card:hover .card-more i {
    transform: translateX(4px);
}

/* Service Cards */
.service-card .card-link {
    height: 100%;
}

/* Project Cards */
.project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card-link:hover {
    color: inherit;
}

.project-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-xs);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.project-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
}

/* Blog Cards */
.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-card-link:hover {
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.blog-category {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 0.625rem;
}

.blog-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.625rem;
    line-height: var(--lh-snug);
}

.blog-card-excerpt {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 0.875rem;
}

.blog-date,
.blog-card-meta {
    font-size: var(--fs-xs);
    color: var(--muted);
}

/* Region Cards */
.region-card a {
    display: block;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.region-card a:hover {
    color: inherit;
}

.region-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: var(--fs-lg);
    margin-bottom: 1rem;
}

.region-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.region-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Category Cards */
.category-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.category-card-image {
    min-height: 220px;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.category-card-title {
    font-size: var(--fs-xl);
    margin-bottom: 0.75rem;
}

.category-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 1.25rem;
}

/* Province / District Cards */
.province-card-link,
.district-card-link {
    display: block;
    padding: 1.75rem;
    color: inherit;
    text-decoration: none;
}

.province-card-icon,
.district-card-header {
    margin-bottom: 1rem;
}

.province-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: var(--fs-xl);
}

.province-card-title,
.district-card-title {
    font-size: var(--fs-xl);
    margin-bottom: 0.5rem;
}

.province-card-text,
.district-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 1rem;
}

.district-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.district-card-disabled {
    opacity: 0.65;
}

.district-card-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Gallery Cards */
.gallery-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.gallery-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-count {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: rgba(11, 18, 32, 0.8);
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.gallery-card-body {
    padding: 1.25rem 1.5rem;
}

.gallery-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.gallery-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
}

/* Video Cards */
.video-embed {
    aspect-ratio: 16 / 9;
    background: var(--surface);
    position: relative;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--border) 100%);
}

.video-play-btn {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: var(--fs-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--duration-base) var(--ease-out);
}

.video-play-btn:hover {
    transform: scale(1.08);
    color: #ffffff;
}

.video-card-body {
    padding: 1.25rem 1.5rem;
}

.video-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.video-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
}

/* ==========================================================================
   16. About, Why, Process, Stats
   ========================================================================== */

.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: -3rem;
    margin-left: 2rem;
    position: relative;
    z-index: 1;
}

.about-stat {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    min-width: 140px;
}

.about-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.about-stat-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.about-features {
    margin: 1.5rem 0 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.about-features i {
    color: var(--success);
}

.why-item {
    text-align: center;
    padding: 1.5rem;
}

.why-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-radius: var(--radius-md);
    font-size: var(--fs-2xl);
    margin-bottom: 1.25rem;
}

.why-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.625rem;
    color: #f8fafc;
}

.why-text {
    font-size: var(--fs-sm);
    color: #94a3b8;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--border) 100%);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.process-title {
    font-size: var(--fs-base);
    margin-bottom: 0.625rem;
}

.process-text {
    font-size: var(--fs-sm);
    color: var(--muted);
}

/* ==========================================================================
   17. Contact Preview & Info
   ========================================================================== */

.contact-preview-text {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.contact-preview-list {
    margin-bottom: 2rem;
}

.contact-preview-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.contact-preview-list i {
    width: 20px;
    color: var(--primary);
}

.contact-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-map-placeholder {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.contact-info-title {
    font-size: var(--fs-2xl);
    margin-bottom: 0.75rem;
}

.contact-info-text {
    color: var(--muted);
    margin-bottom: 2rem;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-info-item a,
.contact-info-item span {
    font-size: var(--fs-sm);
    color: var(--text);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-map-block {
    margin-top: 2.5rem;
}

.contact-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1rem;
}

.contact-map-head h2 {
    font-size: var(--fs-xl);
    margin: 0;
}

.contact-map-head p {
    color: var(--muted);
    margin: 0;
}

.contact-map-link {
    margin-left: auto;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    background: var(--surface);
}

@media (max-width: 768px) {
    .contact-map-link {
        margin-left: 0;
    }

    .contact-map iframe {
        height: 320px;
    }
}

/* ==========================================================================
   18. FAQ Accordion
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease-out);
}

.faq-item.is-open,
.faq-item[open] {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 1.25rem;
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--muted);
    transition: transform var(--duration-base) var(--ease-out);
}

.faq-item.is-open .faq-question::after,
.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
}

/* ==========================================================================
   19. CTA Section
   ========================================================================== */

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 48px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cta-box .section-label {
    color: rgba(255, 255, 255, 0.85);
}

.cta-box .section-label::before {
    background: rgba(255, 255, 255, 0.5);
}

.cta-title {
    font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-base);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cta-box .btn-primary {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

.cta-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-hover);
}

/* ==========================================================================
   20. Footer
   ========================================================================== */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-main {
    padding-block: clamp(3rem, 5vw, 4.5rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
}

.footer-brand {
    padding-right: 1rem;
}

.footer-logo img {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: var(--fs-sm);
    color: var(--muted);
    line-height: var(--lh-relaxed);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--muted);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.footer-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 0.625rem;
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--muted);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    width: 16px;
}

.footer-contact a {
    color: var(--muted);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-block: 1.25rem;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.footer-dev a {
    color: var(--muted);
}

.footer-dev a:hover {
    color: var(--primary);
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a {
    color: var(--muted);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ==========================================================================
   21. Cookie Bar
   ========================================================================== */

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    background: var(--surface-elevated);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    padding-block: 1rem;
    transform: translateY(0);
    transition:
        transform var(--duration-base) var(--ease-out),
        opacity var(--duration-base) var(--ease-out);
}

.cookie-bar.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-bar p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0;
}

.cookie-bar a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   22. WhatsApp Float
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-whatsapp);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: var(--fs-2xl);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition:
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

/* ==========================================================================
   23. Mobile Bottom Bar
   ========================================================================== */

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-header) - 10);
    background: var(--surface-elevated);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.mobile-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.mobile-bar-item i {
    font-size: var(--fs-lg);
}

.mobile-bar-item:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.mobile-bar-whatsapp:hover {
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.1);
}

.mobile-bar-cta {
    color: var(--primary);
}

/* ==========================================================================
   24. Lightbox
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-lightbox);
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: lightboxFadeIn var(--duration-base) var(--ease-out);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: var(--radius-full);
    transition: background-color var(--duration-fast) var(--ease-out);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ==========================================================================
   25. 404 Page
   ========================================================================== */

.error-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.error-title {
    font-size: var(--fs-3xl);
    margin-bottom: 1rem;
}

.error-text {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.error-links-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.error-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.error-links-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.error-links-list a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.error-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   26. Sidebar, Pagination, Alerts, Badges, Filters
   ========================================================================== */

.sidebar-widget {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget.sidebar-cta {
    background: var(--primary-soft);
    border-color: rgba(26, 86, 219, 0.2);
}

.sidebar-title {
    font-size: var(--fs-base);
    margin-bottom: 1rem;
}

.sidebar-cta .btn + .btn {
    margin-top: 0.75rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-prev,
.pagination-next {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out);
}

.pagination-prev:hover,
.pagination-next:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.pagination-list {
    display: flex;
    gap: 0.375rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out);
}

.pagination-link.active,
.pagination-link:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    margin-bottom: 2rem;
}

.alert-info {
    background: var(--info-soft);
    color: var(--info);
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-success,
.badge-active {
    background: var(--success-soft);
    color: var(--success);
}

.badge-warning,
.badge-planned {
    background: rgba(217, 119, 6, 0.12);
    color: var(--warning);
}

.badge-muted {
    background: var(--surface);
    color: var(--muted);
}

.filter-tab {
    display: inline-flex;
    padding: 0.5rem 1rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out);
}

.filter-tab.active,
.filter-tab:hover {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: var(--primary);
}

.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.blog-search {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 400px;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted);
    font-size: var(--fs-lg);
}

/* Gallery Masonry */
.gallery-masonry {
    columns: 3;
    column-gap: 1.25rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item-link img {
    width: 100%;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item-link:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    padding: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--muted);
    background: var(--surface-elevated);
}

/* Blog Detail */
.blog-detail-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.blog-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 18, 32, 0.95) 0%, rgba(11, 18, 32, 0.4) 100%);
}

.blog-detail-header-inner {
    position: relative;
    z-index: 1;
    padding-block: 3rem;
}

.blog-detail-category {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.blog-detail-title {
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
    color: #ffffff;
    margin-bottom: 1rem;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.75);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-tag {
    padding: 0.375rem 0.875rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: var(--radius-full);
}

.blog-share {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

.blog-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--muted);
    transition:
        color var(--duration-fast) var(--ease-out),
        background-color var(--duration-fast) var(--ease-out),
        border-color var(--duration-fast) var(--ease-out);
}

.blog-share a:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.region-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.region-info-list i {
    color: var(--primary);
    margin-top: 2px;
}

/* ==========================================================================
   27. Scroll Reveal Animations
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-out);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }

/* ==========================================================================
   28. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* ==========================================================================
   29. Responsive — 1200px
   ========================================================================== */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   30. Responsive — 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --header-height: 64px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-cta-header {
        display: none;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-sidebar {
        grid-template-columns: 1fr;
    }

    .category-card {
        grid-template-columns: 1fr;
    }

    .category-card-image {
        min-height: 200px;
    }

    .about-stats {
        margin-left: 1rem;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .error-section .container {
        grid-template-columns: 1fr;
    }

    .error-visual {
        order: -1;
        max-width: 400px;
        margin-inline: auto;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .gallery-masonry {
        columns: 2;
    }
}

/* ==========================================================================
   31. Responsive — 768px
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .top-bar {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 480px;
    }

    .hero-slide-content {
        padding-block: 5rem 3rem;
    }

    .hero-controls {
        bottom: 1.5rem;
    }

    .about-stats {
        flex-direction: column;
        margin-top: 1rem;
        margin-left: 0;
    }

    .about-stat {
        min-width: auto;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body:has(.mobile-bottom-bar) {
        padding-bottom: 72px;
    }

    .whatsapp-float {
        bottom: calc(5rem + env(safe-area-inset-bottom));
    }

    .mega-menu-footer {
        flex-direction: column;
        text-align: center;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        max-width: none;
    }

    .gallery-masonry {
        columns: 1;
    }
}

/* ==========================================================================
   32. Responsive — 480px
   ========================================================================== */

@media (max-width: 480px) {
    .header-actions .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .contact-preview-actions {
        flex-direction: column;
    }

    .contact-preview-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Layout & inner-page fixes — engineering visual system
   ========================================================================== */

.hero-section {
    height: calc(100vh - var(--topbar-height) - var(--header-height));
    min-height: 620px;
    max-height: 860px;
}

.hero-slide-bg img {
    object-position: center center;
}

.hero-title {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.service-card {
    overflow: hidden;
}

.service-card .card-link {
    padding: 0 0 1.5rem;
}

.service-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--surface);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

.service-card .card-icon,
.service-card .card-title,
.service-card .card-text,
.service-card .card-more {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.service-card .card-icon {
    margin-top: -2.25rem;
    position: relative;
    z-index: 1;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.category-card-image img {
    min-height: 240px;
}

.about-stat-number {
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: 0;
}

.page-hero {
    min-height: 340px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 2rem;
}

.filter-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--muted);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.service-list-card,
.project-list-card,
.gallery-card,
.corporate-card,
.video-card {
    overflow: hidden;
}

.service-list-link,
.project-list-link,
.gallery-card-link,
.corporate-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-list-image,
.project-list-image,
.gallery-card-image,
.corporate-card-image,
.blog-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--surface);
}

.service-list-image img,
.project-list-image img,
.gallery-card-image img,
.corporate-card-image img,
.blog-card-image img,
.about-image,
.contact-map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-list-body,
.project-list-body,
.gallery-card-body,
.corporate-card-body,
.blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.service-list-category,
.project-badge,
.gallery-count {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1;
    background: rgba(11, 18, 32, 0.78);
    color: #ffffff;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-full);
}

.service-list-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.service-list-title,
.gallery-card-title,
.corporate-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}

.service-list-text,
.gallery-card-text {
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.service-hero,
.blog-detail-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-color: #0b1220;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.service-hero-overlay,
.blog-detail-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.45) 0%, rgba(11, 18, 32, 0.88) 100%);
}

.service-hero-inner,
.blog-detail-header .container {
    position: relative;
    z-index: 1;
    padding-block: 4rem 2.5rem;
}

.service-hero-category,
.blog-detail-header .blog-category {
    color: #93c5fd;
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-hero h1,
.blog-detail-header h1 {
    color: #ffffff;
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
    margin-top: 0.5rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b1220;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.corporate-intro-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

@media (max-width: 1024px) {
    .hero-section {
        height: auto;
        min-height: 560px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 520px;
    }

    .service-card .card-icon,
    .service-card .card-title,
    .service-card .card-text,
    .service-card .card-more {
        margin-left: 1.15rem;
        margin-right: 1.15rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

.theme-toggle {
    display: none !important;
}

html[data-theme="light"],
html {
    color-scheme: light;
}

.contact-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-action-buttons .btn {
    min-height: 48px;
}

.btn-call {
    background: #0f172a;
    color: #fff;
    border: 0;
}

.btn-call:hover {
    background: #1e293b;
    color: #fff;
}

.btn-whatsapp {
    background: #16a34a;
    color: #fff;
    border: 0;
}

.btn-whatsapp:hover {
    background: #15803d;
    color: #fff;
}

.pulse-btn {
    animation: myfoPulse 2.4s ease-in-out infinite;
}

@keyframes myfoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
}

.btn-call.pulse-btn {
    animation-name: myfoPulseDark;
}

@keyframes myfoPulseDark {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.28); }
    50% { box-shadow: 0 0 0 10px rgba(15, 23, 42, 0); }
}

.phone-float {
    position: fixed;
    right: 1.5rem;
    bottom: 6.25rem;
    z-index: var(--z-whatsapp);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}

.phone-float:hover {
    color: #fff;
    transform: scale(1.06);
}

.pulse-float {
    animation: myfoPulse 2.6s ease-in-out infinite;
}

.mega-col {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
}

.mega-col-visual {
    position: relative;
    display: block;
    height: 108px;
}

.mega-col-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-col-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.72));
}

.mega-col-visual-label {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 1;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mega-col-links {
    padding: 0.5rem;
}

.mega-col-links a img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.mega-col-all {
    margin: 0 0.85rem 0.9rem;
}

.svc-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 520px;
    background: #0f172a;
}

.svc-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.svc-hero-panel {
    padding: 3.5rem 3rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-hero-panel .breadcrumb-list a,
.svc-hero-panel .breadcrumb-list span,
.svc-hero-panel .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.7);
}

.svc-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93c5fd;
    margin: 0.75rem 0;
    font-weight: 700;
}

.svc-hero-panel h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0.85rem;
}

.svc-hero-panel p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    max-width: 42ch;
}

.svc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 2.5rem;
}

.svc-main h2 {
    margin: 2rem 0 1rem;
}

.svc-steps ol {
    display: grid;
    gap: 0.85rem;
    counter-reset: step;
}

.svc-steps li {
    list-style: none;
    padding: 1rem 1rem 1rem 3.2rem;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}

.svc-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0.9rem;
    top: 1rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.svc-card {
    border: 1px solid var(--border);
    background: #fff;
    padding: 1.4rem;
}

.svc-card h3 {
    margin-bottom: 0.6rem;
}

.svc-meta {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.svc-meta li {
    display: grid;
    gap: 0.15rem;
}

.svc-meta span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.svc-related-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    color: inherit;
    border-bottom: 1px solid var(--border);
}

.svc-related-item img {
    width: 64px;
    height: 48px;
    object-fit: cover;
}

.contact-direct-intro {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(125deg, #071327 0%, #102b55 58%, #1455ba 100%);
    box-shadow: 0 24px 60px rgba(7, 19, 39, 0.18);
}

.contact-direct-intro::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -110px;
    top: -160px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.035), 0 0 0 120px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.contact-intro-copy,
.contact-intro-actions {
    position: relative;
    z-index: 1;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 0.8rem;
    color: #7fb0ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.contact-intro-copy h2 {
    max-width: 620px;
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.15;
}

.contact-intro-copy p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.contact-intro-actions .contact-action-buttons {
    flex-wrap: nowrap;
}

.contact-intro-actions .btn {
    flex: 1;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-response-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.contact-response-note i {
    color: #57dc8a;
}

.contact-direct-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
}

.contact-direct-cards .contact-channel-card {
    position: relative;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.2rem 0.9rem;
    min-height: 184px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.055);
    transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.contact-direct-cards .contact-channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 86, 219, 0.3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.contact-card-icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.05rem;
}

.contact-channel-card-whatsapp .contact-card-icon {
    color: #128c4b;
    background: rgba(22, 163, 74, 0.1);
}

.contact-card-label {
    align-self: end;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-card-value {
    min-width: 0;
    align-self: start;
    color: var(--text);
    font-size: clamp(0.93rem, 1.2vw, 1.08rem);
    font-weight: 750;
    line-height: 1.35;
}

.contact-card-email {
    overflow-wrap: anywhere;
}

.contact-card-action {
    grid-column: 1 / -1;
    align-self: end;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 750;
}

.contact-card-action i {
    font-size: 0.72rem;
    transition: transform 180ms ease;
}

.contact-channel-card:hover .contact-card-action i {
    transform: translateX(4px);
}

.contact-map-block {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
    min-height: 430px;
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.contact-location-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: linear-gradient(155deg, #fff 0%, #f4f7fc 100%);
}

.contact-map-block .contact-map-head {
    display: block;
    margin: 0;
}

.contact-map-block .contact-map-head h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.contact-map-block .contact-map-head p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-map-block .contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(26, 86, 219, 0.2);
    border-radius: 10px;
    background: var(--primary-soft);
}

.contact-warehouse {
    display: flex;
    gap: 0.9rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
}

.contact-warehouse > div {
    display: grid;
    gap: 0.35rem;
}

.contact-warehouse span:not(.contact-card-icon) {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-warehouse strong {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-map-block .contact-map {
    border: 0;
    border-radius: 0;
}

.contact-map-block .contact-map iframe {
    height: 100%;
    min-height: 430px;
}

@media (max-width: 1024px) {
    .contact-direct-intro {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .contact-direct-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 2.5rem;
    }

    .contact-direct-intro {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .contact-intro-actions .contact-action-buttons {
        flex-direction: column;
    }

    .contact-direct-cards,
    .contact-map-block {
        grid-template-columns: 1fr;
    }

    .contact-direct-cards .contact-channel-card {
        min-height: 170px;
    }

    .contact-map-block .contact-map iframe {
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .contact-direct-cards {
        grid-template-columns: 1fr;
    }
}

/* Premium homepage experience */
.hero-premium {
    isolation: isolate;
    min-height: 680px;
    background: #06101f;
}

.hero-premium .hero-slide-bg {
    transform: scale(1.045);
    transition: transform 8s cubic-bezier(.2,.65,.25,1);
}

.hero-premium .hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-premium .hero-slide-bg img {
    filter: saturate(.78) contrast(1.07);
}

.hero-premium .hero-slide-overlay {
    background:
        linear-gradient(90deg, rgba(3, 10, 23, .94) 0%, rgba(5, 16, 34, .82) 42%, rgba(5, 16, 34, .26) 75%, rgba(5, 16, 34, .46) 100%),
        linear-gradient(0deg, rgba(3, 10, 23, .72) 0%, transparent 48%);
}

.hero-ambient {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(109, 161, 255, .22);
    border-radius: 50%;
    animation: heroOrbit 16s linear infinite;
}

.hero-orbit::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: -4px;
    border-radius: 50%;
    background: #4d8eff;
    box-shadow: 0 0 22px #4d8eff;
}

.hero-orbit-one { width: 460px; height: 460px; right: -120px; top: -180px; }
.hero-orbit-two { width: 680px; height: 680px; right: -290px; bottom: -420px; animation-direction: reverse; animation-duration: 22s; }

@keyframes heroOrbit { to { transform: rotate(360deg); } }

.hero-premium .hero-slide-content {
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 780px) 1fr;
    align-content: center;
    gap: 3rem;
    padding-block: clamp(5rem, 10vh, 8rem) 7rem;
}

.hero-copy {
    padding-left: 1.6rem;
    border-left: 1px solid rgba(255,255,255,.18);
}

.hero-kicker-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.35rem;
}

.hero-premium .hero-label {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a9c9ff;
    font-size: .73rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55df8a;
    box-shadow: 0 0 0 5px rgba(85,223,138,.12), 0 0 18px rgba(85,223,138,.8);
}

.hero-premium .hero-title {
    max-width: 780px;
    margin-bottom: 1.4rem;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.hero-premium .hero-desc {
    max-width: 650px;
    color: rgba(255,255,255,.7);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.75;
}

.hero-premium .hero-actions .btn {
    min-height: 56px;
    border-radius: 8px;
    padding-inline: 1.5rem;
}

.hero-premium .hero-actions .btn i { margin-left: .45rem; font-size: .8rem; }

.hero-side-note {
    align-self: end;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255,255,255,.5);
    writing-mode: vertical-rl;
}

.hero-side-note > span { color: #fff; font: 700 1.1rem var(--font-heading); }
.hero-side-note > i { width: 1px; height: 72px; background: rgba(255,255,255,.28); }
.hero-side-note > small { font-size: .62rem; letter-spacing: .22em; }

.hero-premium .hero-slide:not(.active) .hero-copy { opacity: 0; transform: translateY(28px); }
.hero-premium .hero-slide.active .hero-copy { animation: heroCopyIn .85s .18s var(--ease-out) both; }
@keyframes heroCopyIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-premium .hero-controls {
    z-index: 4;
    justify-content: flex-end;
    bottom: 2rem;
}

.hero-premium .hero-dot {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    transform: none;
}

.hero-premium .hero-dot.active { width: 58px; background: #4d8eff; transform: none; }
.hero-premium .hero-nav { width: 40px; height: 40px; }

.hero-scroll-cue {
    position: absolute;
    z-index: 5;
    left: max(1.5rem, calc((100% - var(--container-max)) / 2 + var(--container-padding)));
    bottom: 2.25rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255,255,255,.62);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-scroll-cue i { animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 50% { transform: translateY(6px); } }

.home-capability-bar {
    position: relative;
    z-index: 6;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.home-capability-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, 1fr);
    min-height: 136px;
}

.capability-intro,
.capability-item {
    display: flex;
    align-items: center;
    padding: 1.5rem clamp(1rem, 2.2vw, 2rem);
    border-right: 1px solid var(--border);
}

.capability-intro { display: grid; align-content: center; gap: .35rem; padding-left: 0; }
.capability-intro span { color: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.capability-intro strong { font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.35; }
.capability-item { gap: .9rem; color: var(--text); transition: background .25s ease, color .25s ease; }
.capability-item > i:first-child { display: grid; place-items: center; width: 42px; height: 42px; color: var(--primary); background: var(--primary-soft); border-radius: 12px; }
.capability-item > span { display: grid; gap: .15rem; margin-right: auto; }
.capability-item small { color: var(--muted); font-size: .63rem; letter-spacing: .1em; }
.capability-item strong { font-size: .9rem; }
.capability-item > i:last-child { color: var(--muted); font-size: .7rem; opacity: .6; }
.capability-item:hover { background: #0c1a30; color: #fff; }
.capability-item:hover > i:first-child { color: #fff; background: rgba(255,255,255,.1); }

.home-about-premium { padding-block: clamp(5rem, 9vw, 8rem); }
.home-about-premium .about-grid { align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.home-about-premium .about-media { position: relative; }
.home-about-premium .about-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(26,86,219,.22); border-radius: 22px; }
.home-about-premium .about-image { position: relative; min-height: 520px; object-fit: cover; border-radius: 18px; }
.home-about-premium .about-stats { position: relative; margin: -4rem -1.5rem 0 auto; justify-content: flex-end; }
.home-about-premium .about-stat { min-width: 175px; padding: 1.25rem; border-radius: 14px; box-shadow: var(--shadow-lg); }

.home-services-premium { background: #071327; color: #fff; }
.home-services-premium .section-title { color: #fff; }
.home-services-premium .section-desc { color: #91a0b5; }
.home-services-premium .service-grid { gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.home-services-premium .service-card { border: 0; border-radius: 0; background: #0c1a30; box-shadow: none; }
.home-services-premium .service-card .card-title { color: #fff; }
.home-services-premium .service-card .card-text { color: #91a0b5; }
.home-services-premium .service-card .card-icon { background: #102542; border-color: rgba(255,255,255,.12); }
.home-services-premium .service-card-image { filter: saturate(.75); }
.home-services-premium .service-card:hover { background: #10213b; transform: translateY(-5px); }

.home-categories-premium .category-card { border: 0; border-radius: 18px; box-shadow: 0 18px 55px rgba(15,23,42,.09); }
.home-categories-premium .category-card-image { overflow: hidden; }
.home-categories-premium .category-card-image img { transition: transform .7s var(--ease-out); }
.home-categories-premium .category-card:hover img { transform: scale(1.06); }

.home-why-premium { position: relative; overflow: hidden; background: linear-gradient(135deg, #071327, #0d2850); }
.home-why-premium::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; }
.home-why-premium .container { position: relative; }
.home-why-premium .why-item { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.035); backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease; }
.home-why-premium .why-item:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); }

.home-projects-premium .project-card { overflow: hidden; border: 0; border-radius: 18px; box-shadow: 0 14px 45px rgba(15,23,42,.1); }
.home-projects-premium .project-card-image { aspect-ratio: 16 / 9; }
.home-projects-premium .project-card-body { padding: 1.5rem 1.65rem 1.75rem; }

.home-process-premium { background: #f5f8fc; }
.home-process-premium .process-timeline { gap: .75rem; }
.home-process-premium .process-timeline::before { display: none; }
.home-process-premium .process-step { padding: 1.5rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.home-process-premium .process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-process-premium .process-number { margin-bottom: 1.35rem; box-shadow: none; }

@media (max-width: 1024px) {
    .hero-premium { min-height: 620px; }
    .hero-premium .hero-slide-content { grid-template-columns: minmax(0, 1fr) auto; }
    .home-capability-grid { grid-template-columns: 1fr 1fr; }
    .capability-intro { padding-left: 1.25rem; }
    .home-about-premium .about-image { min-height: 420px; }
}

@media (max-width: 768px) {
    .hero-premium { height: calc(100svh - var(--header-height)); min-height: 580px; max-height: 760px; }
    .hero-premium .hero-slide-content { display: flex; padding-block: 4rem 6rem; }
    .hero-copy { padding-left: 1rem; }
    .hero-premium .hero-title { font-size: clamp(2.25rem, 11vw, 3.6rem); }
    .hero-premium .hero-desc { font-size: .95rem; line-height: 1.6; }
    .hero-side-note, .hero-scroll-cue { display: none; }
    .hero-premium .hero-controls { justify-content: center; bottom: 1.2rem; }
    .hero-premium .hero-nav { display: none; }
    .home-capability-grid { grid-template-columns: 1fr; }
    .capability-intro, .capability-item { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--border); padding-inline: 1.25rem; }
    .home-about-premium .about-media::before { inset: -10px 10px 10px -10px; }
    .home-about-premium .about-stats { margin: -2rem .75rem 0; }
    .home-about-premium .about-stat { min-width: 0; flex: 1; }
    .home-services-premium .service-grid { gap: .75rem; border: 0; background: transparent; }
    .home-services-premium .service-card { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit, .hero-scroll-cue i { animation: none; }
    .hero-premium .hero-slide-bg, .hero-premium .hero-copy { transform: none; animation: none; }
}

.quote-points {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.5rem;
}

.quote-points li {
    padding-left: 1.2rem;
    position: relative;
}

.quote-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

@media (max-width: 1024px) {
    .svc-hero,
    .svc-layout {
        grid-template-columns: 1fr;
    }

    .svc-hero-media img {
        min-height: 280px;
    }

    .svc-hero-panel {
        padding: 2rem 1.25rem 2.5rem;
    }

    .btn-cta-header {
        display: none;
    }

    .phone-float {
        bottom: calc(10.5rem + env(safe-area-inset-bottom));
    }
}

/* MYFO revizyon — üst bar, slogan, ortaklar, 4 kategori */
.top-bar-tagline {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    margin: 0 0 0.65rem;
}

.mega-menu-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .mega-menu-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-capability-grid {
    grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .home-capability-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.category-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
    .category-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.project-card-meta,
.project-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 0.5rem;
}

.project-type {
    font-size: var(--fs-xs);
    color: var(--primary);
    font-weight: 600;
}

.partners-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: partners-scroll 45s linear infinite;
}

.partner-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0.75rem 1.25rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.partner-logo-item img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
}

.partner-name-fallback {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-tagline {
        max-width: none;
    }
}

/* ==========================================================================
   Premium UI Components
   ========================================================================== */

/* Home Capability Premium */
.home-capability-premium {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
}

.capability-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.capability-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.capability-glow-1 {
    background: var(--primary);
    top: -200px;
    left: -100px;
}

.capability-glow-2 {
    background: #3b82f6;
    bottom: -200px;
    right: -100px;
}

.capability-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.capability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.capability-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.capability-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.capability-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 1rem;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.capability-card:hover .capability-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.capability-card-content {
    flex: 1;
}

.capability-card-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.capability-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.capability-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.capability-card-arrow {
    align-self: flex-end;
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.capability-card:hover .capability-card-arrow {
    transform: translateX(6px);
}

/* Categories Premium */
.categories-section-premium {
    padding: 6rem 0;
    background: var(--surface);
}

.categories-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-premium-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.category-premium-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.category-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-premium-card:hover .category-premium-image img {
    transform: scale(1.08);
}

.category-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6));
}

.category-premium-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-premium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 12px;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.category-premium-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.category-premium-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.category-premium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.category-premium-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.category-premium-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.category-premium-card:hover .category-premium-link {
    gap: 0.75rem;
}

/* Partners Premium */
.partners-section-premium {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.partners-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.partners-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.partners-gradient-1 {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    top: -400px;
    right: -200px;
}

.partners-gradient-2 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -400px;
    left: -200px;
}

.partners-premium-wrapper {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.partners-premium-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-premium-track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    animation: partners-premium-scroll 32s linear infinite;
}

.partners-premium-marquee:hover .partners-premium-track {
    animation-play-state: paused;
}

.partner-premium-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 96px;
    padding: 1.25rem 1.75rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-premium-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.partner-premium-item img {
    max-width: 140px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.85);
    transition: filter 0.3s ease;
}

.partner-premium-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.partner-premium-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    white-space: nowrap;
}

.partners-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    text-align: center;
}

.partners-note i {
    color: var(--primary);
}

@keyframes partners-premium-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-premium-track {
        animation: partners-premium-scroll 60s linear infinite !important;
        animation-iteration-count: infinite !important;
    }
}

@media (max-width: 768px) {
    .partners-premium-track {
        animation-duration: 22s;
        gap: 1rem;
    }
    .partner-premium-item {
        min-width: 160px;
        height: 84px;
        padding: 1rem 1.25rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .capability-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .capability-grid-premium,
    .categories-premium-grid {
        grid-template-columns: 1fr;
    }
    
    .capability-title {
        font-size: 2rem;
    }
    
    .partners-premium-track {
        gap: 2rem;
    }
    
    .partner-premium-item {
        min-width: 140px;
        height: 80px;
        padding: 1rem 1.25rem;
    }
}

/* Eski HTML yapısıyla uyumluluk için ek stiller */
.capability-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.capability-card i.fas {
    font-size: 2rem;
    color: var(--primary);
}

.capability-card span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.capability-card small {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.capability-card strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.capability-card i.fa-arrow-up-right-from-square {
    margin-left: auto;
    font-size: 1rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.capability-card:hover i.fa-arrow-up-right-from-square {
    opacity: 1;
    transform: translate(4px, -4px);
}

/* Capability Header Basit Stil */
.capability-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.capability-header span {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.capability-header strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .capability-header strong {
        font-size: 1.875rem;
    }
}

/* ============================================================================
   Testimonials Section Premium
   ========================================================================== */

.testimonials-section-premium {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.testimonials-premium-wrapper {
    position: relative;
    margin-top: 3rem;
}

.testimonials-premium-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.testimonials-premium-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: testimonials-scroll 90s linear infinite;
}

.testimonials-premium-track:hover {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

.testimonial-premium-card {
    flex: 0 0 auto;
    width: 420px;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.testimonial-premium-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-premium-avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
}

.testimonial-premium-info {
    flex: 1;
    min-width: 0;
}

.testimonial-premium-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.testimonial-premium-role {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.testimonial-premium-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-premium-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-premium-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section-premium {
        padding: 4rem 0;
    }
    
    .testimonial-premium-card {
        width: 340px;
        padding: 1.5rem;
    }
    
    .testimonials-premium-track {
        animation-duration: 60s;
    }
}

/* ==========================================================================
   Project Sectors + References
   ========================================================================== */

.project-sector-grid { gap: 1.5rem; }

.project-sector-card { overflow: hidden; padding: 0; }

.project-sector-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.project-sector-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

.project-sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.project-sector-link:hover .project-sector-image img {
    transform: scale(1.05);
}

.project-sector-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, .55));
}

.project-sector-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    font-size: .8rem;
    font-weight: 700;
}

.project-sector-body { padding: 1.25rem 1.35rem 1.5rem; }

.project-sector-region {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .45rem;
}

.project-sector-title {
    font-size: 1.25rem;
    margin: 0 0 .5rem;
    line-height: 1.3;
}

.project-sector-text {
    color: var(--text-muted, #64748b);
    font-size: .95rem;
    margin: 0 0 1rem;
}

.home-references-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-references-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.home-reference-item {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
    text-align: center;
}

.home-reference-item img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(20%);
}

.home-reference-item span {
    font-size: .85rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.3;
}

.references-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}

.reference-logo-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.1rem;
    min-height: 120px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.reference-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .1);
}

.reference-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.reference-logo-link img {
    max-width: 140px;
    max-height: 56px;
    object-fit: contain;
}

.reference-logo-name {
    font-size: .95rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .home-references-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .references-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .home-references-grid,
    .references-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
