:root {
    --primary: #1a4d6d;
    --primary-dark: #0a2838;
    --primary-light: #2a6d94;
    --accent: #b8860b;
    --accent-light: #d4a84b;
    --accent-glow: rgba(184, 134, 11, 0.35);
    --logo-navy: #0d1265;
    --logo-navy-dark: #080a45;
    --logo-red: #eb1c26;
    --text: #1a2332;
    --text-muted: #5c6b7a;
    --bg: #ffffff;
    --bg-soft: #f4f7fa;
    --bg-warm: #faf8f5;
    --border: #e2e8f0;
    --shadow: 0 8px 32px rgba(10, 40, 56, 0.08);
    --shadow-md: 0 16px 48px rgba(10, 40, 56, 0.11);
    --shadow-lg: 0 24px 64px rgba(10, 40, 56, 0.14);
    --shadow-gold: 0 8px 28px rgba(184, 134, 11, 0.28);
    --radius: 20px;
    --radius-sm: 12px;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --footer-bg: #000064;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.45rem 1.1rem;
    background: rgba(184, 134, 11, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.28);
    border-radius: 999px;
}

.section-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 1.1rem auto 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(184, 134, 11, 0.45);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Header & Nav */
.site-header {
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: padding 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.navbar.scrolled {
    padding: 0.7rem 4%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(184, 134, 11, 0.2);
    box-shadow: 0 8px 32px rgba(10, 40, 56, 0.08);
}

.logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:not(.nav-login):hover {
    color: var(--primary);
}

.nav-links a:not(.nav-login)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:not(.nav-login):hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.page-wrapper {
    padding-top: 80px;
}

.page-wrapper .navbar {
    position: fixed;
}

/* Page hero (About, Products) */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-about .page-hero-bg img {
    object-fit: cover;
    object-position: center 35%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 40, 56, 0.92) 0%, rgba(26, 77, 109, 0.72) 45%, rgba(10, 40, 56, 0.85) 100%);
}

.page-hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 100%, rgba(212, 168, 75, 0.15), transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 4rem 0;
    max-width: 720px;
}

.page-hero-content .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 168, 75, 0.45);
    color: var(--accent-light);
}

.page-hero-content .section-tag::before {
    background: linear-gradient(90deg, var(--accent-light), rgba(255, 255, 255, 0.6));
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.page-hero-content h1 em {
    font-style: italic;
    color: var(--accent-light);
}

.page-hero-content p {
    opacity: 0.92;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
}

.page-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-outline-dark {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-dark:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.catalog-toolbar h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.catalog-downloads {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
}

.catalog-view-btn {
    width: auto;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.22);
}

.catalog-view-btn:hover {
    transform: translateY(-2px);
}

.catalog-empty {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.catalog-empty h2 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.catalog-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Home preview cards */
.home-preview {
    background: var(--bg-soft);
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.preview-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.preview-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.preview-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.section-stats-inline {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 2rem 0;
    position: relative;
}

.section-stats-inline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 168, 75, 0.1), transparent 55%);
    pointer-events: none;
}

.section-stats-inline .stat-card {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.section-stats-inline .stat-card:last-child {
    border-right: none;
}

.about-extra {
    background: #fff;
}

.nav-login {
    background: linear-gradient(135deg, var(--logo-navy-dark), var(--logo-navy));
    color: #fff !important;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(13, 18, 101, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13, 18, 101, 0.45);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

/* Hero */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(10, 40, 56, 0.93) 0%, rgba(26, 77, 109, 0.78) 50%, rgba(10, 40, 56, 0.88) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 85% 90%, rgba(212, 168, 75, 0.18), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1140px, 92%);
    margin: 0 auto;
    color: #fff;
    max-width: 760px;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    color: var(--accent-light);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--accent-light);
}

.hero-sub {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.92;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--logo-navy-dark) 0%, var(--logo-navy) 60%, var(--logo-navy) 100%);
    color: #fff;
    padding: 2.25rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-shadow: 0 -8px 40px rgba(13, 18, 101, 0.2);
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 168, 75, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.stat-card {
    padding: 0.75rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s var(--ease);
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: 0.15rem;
    line-height: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-light);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.1rem;
}

/* About */
.about {
    background:
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 50%, var(--bg-soft) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.35), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 480px;
    max-height: 640px;
    background: linear-gradient(165deg, #e8eef3 0%, #fff 50%, var(--bg-soft) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -14px;
    right: 14px;
    bottom: 14px;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.75;
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.2);
}

.about-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 40, 56, 0.04) 0%, transparent 30%);
    pointer-events: none;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
    padding: 1.35rem 1.65rem;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-gold);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.about-badge span {
    font-size: 0.8rem;
    font-weight: 500;
}

.about-content h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-content h2 em {
    font-style: italic;
    color: var(--primary);
}

.about-founder {
    color: var(--accent) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.75;
}

.about-features {
    list-style: none;
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.about-features li {
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    position: relative;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.92rem;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.about-features li:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 134, 11, 0.35);
    box-shadow: var(--shadow-md);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.35rem;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
}

/* Products */
.products {
    background: #fff;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.breadcrumb-bar {
    margin-bottom: 1.5rem;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 134, 11, 0.25);
}

.product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eef0f2;
}

.product-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 51, 71, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-body {
    padding: 1.5rem;
}

.product-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary-dark);
}

.products-empty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.products-empty img {
    border-radius: var(--radius);
    height: 320px;
    object-fit: cover;
    width: 100%;
}

.default-products {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.default-products li {
    margin-bottom: 0.5rem;
}

.muted {
    color: var(--text-muted);
    font-size: 0.925rem;
}

/* Services */
.services {
    background:
        linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 0;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 100%;
    height: 260px;
    margin: 0;
    background: var(--primary-dark);
    overflow: hidden;
    flex-shrink: 0;
}

.service-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 1.5rem 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card h3 {
    margin: 0 0 0.75rem;
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.65;
}

/* Partners */
.partners {
    background: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow: var(--shadow-md);
}

.partners-grid img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.9;
    transition: all 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Us */
.contact {
    background:
        linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-soft) 40%, #fff 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info .contact-grid {
    grid-template-columns: repeat(2, 1fr);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-form-panel {
    background: #fff;
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 0 0 2px 2px;
}

.contact-form-panel h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.contact-form .form-row {
    margin-bottom: 1rem;
}

.contact-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.contact-form .form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-soft);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 77, 109, 0.1);
    background: #fff;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 0.5rem;
    width: 100%;
    font-weight: 500;
}

.field-error {
    color: #b91c1c;
    font-size: 0.875rem;
}

.form-alerts {
    margin-bottom: 1rem;
}

.form-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.contact-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-phone-list {
    text-align: left;
    display: inline-block;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 4.5rem 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.925rem;
}

.footer-links h4,
.footer-contact h4,
.footer-touch h4 {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--accent-light);
    letter-spacing: 0.02em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover,
.footer-touch a:hover {
    color: var(--accent-light);
}

.footer-contact p,
.footer-touch p {
    opacity: 0.85;
    font-size: 0.925rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.75;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stats.reveal,
.page-hero-content.reveal {
    transform: translateY(16px);
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid,
    .products-empty,
    .footer-grid,
    .preview-grid {
        grid-template-columns: 1fr;
    }

    .about-image-frame {
        min-height: 400px;
        max-height: 560px;
        aspect-ratio: 3 / 4;
    }

    .about-badge {
        right: 10px;
        bottom: 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row-2 {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-icon-wrap {
        height: 200px;
    }

    .stats {
        margin-top: -1rem;
        padding: 1rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem 4%;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s ease;
        align-items: stretch;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-login {
        text-align: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 500px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
