/* =========================================
   Base Styles & Variables
   ========================================= */
:root {
    --bg-color: #fffeef; /* Off-white / Cream */
    --text-color: #111111; /* Deep black */
    --accent-color: #000000;
    --border-color: rgba(0, 0, 0, 0.08);
    --font-primary: 'Open Sans', 'Google Sans', sans-serif; /* Fallback to Open Sans as Google Sans isn't perfectly public via fonts.googleapis */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 155px; /* Offset for the sticky header */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-title.center {
    text-align: center;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
p { color: #555; }

/* =========================================
   Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Global Buttons
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.25s ease, transform 0.2s ease;
    font-family: inherit;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-card {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 1px;
    transition: opacity 0.2s;
}

.btn-card:hover { opacity: 0.5; }

.btn-solution {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-solution:hover { opacity: 0.6; }

.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border: 1.5px solid #111;
    color: #111;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.btn-follow:hover {
    background: #111;
    color: #fff;
}

/* =========================================
   Section A: Hero
   ========================================= */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    flex: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 70vh;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
    left: 0;
    right: 0;
    gap: 2rem;
    pointer-events: none;
}

.hero-box {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    display: inline-block;
    max-width: fit-content;
}

.hero-text h1 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 600px;
    text-transform: uppercase;
}

.hero-sub {
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    pointer-events: all;
}

.hero-cta-sub {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin: 0;
}

/* =========================================
   Section B: How It Works
   ========================================= */
.how-section {
    padding: 7rem 0;
    background: #fffeef;
    border-bottom: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.step-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 3.5rem;
    right: -1.25rem;
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 300;
    transform: translateY(-50%);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.step-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111;
}

header {
    background-color: #fffeef;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.lang-selector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fffeef;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 4px;
    display: none;
    flex-direction: column;
    min-width: 100%;
    padding: 0.5rem 0;
    z-index: 200;
}

.lang-selector:hover .lang-dropdown {
    display: flex;
}

.lang-dropdown a {
    padding: 0.5rem 0.75rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: #f5f5f5;
}

/* Services Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fffeef;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 4px;
    min-width: 240px;
    padding: 0.5rem 0;
    z-index: 250;
    flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: flex;
}

.nav-dropdown-content a {
    padding: 0.6rem 1.25rem !important;
    text-align: left !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    opacity: 1 !important;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-content a:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    opacity: 0.8 !important;
}

nav {
    display: flex;
    justify-content: center;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    flex-wrap: wrap;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
    z-index: 10;
}

.video-container {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    line-height: 0;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Section C: Top 4 / Ātrie piedāvājumi
   ========================================= */
.dark-section {
    background-color: #111111;
    color: #ffffff;
}
.dark-section .section-title,
.dark-section h3 {
    color: #ffffff;
}
.dark-section .section-lead,
.dark-section .product-card p {
    color: rgba(255, 255, 255, 0.75);
}
.dark-section .btn-primary {
    background: #ffffff;
    color: #111111;
    border: 2px solid #ffffff;
    padding: calc(0.95rem - 2px) calc(2rem - 2px);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.dark-section .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Background textures with low opacity */
.bg-texture-large-format {
    position: relative;
    background-color: #fffeef;
}
.bg-texture-large-format::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/bg_large_format_new.png');
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    pointer-events: none;
    z-index: 1;
}
.bg-texture-large-format > * {
    position: relative;
    z-index: 2;
}

.bg-texture-docs {
    position: relative;
    background-color: #fffeef;
}
.bg-texture-docs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/bg_docs_v6.png');
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    pointer-events: none;
    z-index: 1;
}
.bg-texture-docs > * {
    position: relative;
    z-index: 2;
}

.top-sellers-section {
    padding: 7rem 0;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-lead {
    font-size: 1rem;
    color: #777;
    margin-top: 0.25rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem 1.5rem;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    cursor: pointer;
}

.product-card img {
    border-radius: 4px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: #eee;
    width: 100%;
}

.product-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* =========================================
   Section C: Premium Offerings
   ========================================= */
.premium-section {
    padding: 8rem 0;
    position: relative;
}

.bg-texture-1 {
    background-image: url('assets/bg_texture_1_1781552265136.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.premium-card .image-wrapper {
    position: relative;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.premium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.price-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.price-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.more-info-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.more-info-btn:hover {
    background: #fff;
    color: #000;
}

.premium-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.premium-card:hover .price-overlay {
    opacity: 1;
}

/* =========================================
   Modal
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    max-width: 520px;
    width: 100%;
    border-radius: 6px;
    padding: 3rem 2.5rem;
    position: relative;
    animation: modalIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #111;
}

.modal-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111;
}

.modal-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.25rem;
}

.modal-box > p:not(.modal-price) {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.modal-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.modal-box ul li {
    font-size: 0.9rem;
    color: #444;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-color);
    padding-left: 1.25rem;
    position: relative;
}

.modal-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #111;
    font-weight: 700;
}

.modal-cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.modal-cta:hover {
    background: #333;
}


/* =========================================
   Section D: Enterprise
   ========================================= */
.enterprise-section {
    padding: 8rem 0;
}

.enterprise-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.packages-list {
    margin-top: 3rem;
}

.package-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.package-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--accent-color);
}

.package-text h4 {
    margin-bottom: 0.25rem;
}

.package-item:first-child {
    border-top: 1px solid var(--border-color);
}

/* =========================================
   Section E: Clients
   ========================================= */
.clients-section {
    padding: 8rem 0;
}

.bg-texture-2 {
    background-image: linear-gradient(rgba(247, 247, 247, 0.9), rgba(247, 247, 247, 0.9)), url('https://images.unsplash.com/photo-1561089489-0268579cfd86?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Override for proof section - force black */
.proof-section.bg-texture-2 {
    background-image: none;
    background-color: #111111;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.5);
    text-align: center;
}

.client-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #333;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #777;
}

/* =========================================
   Section F: Contact
   ========================================= */
.contact-section {
    padding: 8rem 0;
    background-color: #fffeef;
}

.contact-heading {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 4rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-form-side h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #999;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 4px;
    background: #F0F0F0;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #E8E8E8;
    box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.15);
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    margin-top: 1rem;
    padding: 1.1rem 2rem;
    background: var(--text-color);
    color: #fff;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Right side */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.6fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-block h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.75rem;
}

.contact-info-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    white-space: nowrap;
}

.contact-info-block a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-block a:hover {
    color: #111;
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-map iframe {
    display: block;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%);
}

.social-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
}

.social-icon {
    color: var(--text-color);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    opacity: 0.6;
    transform: translateY(-2px);
}

/* =========================================
   Section D: Ko mēs drukājam
   ========================================= */
.services-section {
    padding: 8rem 0;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 5rem;
    align-items: start;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.service-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #111;
}

.services-cta-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    position: sticky;
    top: 140px;
}

.services-cta-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111;
}

.services-cta-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.social-follow-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.follow-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.75rem;
}

/* =========================================
   Section E: Pierādījumi
   ========================================= */
.proof-section {
    padding: 8rem 0;
    background-color: #111111;
}
.proof-section .section-title {
    color: #ffffff;
}
.proof-section .review-card {
    background: #1e1e1e !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
.proof-section .review-card strong {
    color: #ffffff !important;
}
.proof-section .review-card p {
    color: rgba(255,255,255,0.75) !important;
}
.proof-section .review-card span[style*="color: #777"] {
    color: rgba(255,255,255,0.45) !important;
}

/* =========================================
   Section G: Solutions
   ========================================= */
.solutions-section {
    padding: 8rem 0;
    background: #fffeef;
}

.dark-section.solutions-section {
    background: #111111;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.solution-card {
    padding: 2.5rem 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dark-section .solution-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: #1a1a1a;
}

.solution-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
    transform: translateY(-4px);
}

.dark-section .solution-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

.solution-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 1.25rem;
    color: #111;
    margin-left: auto;
    margin-right: auto;
}

.dark-section .solution-icon {
    color: #ffffff;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
}

.solution-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
    text-align: center;
}

.dark-section .solution-card h4 {
    color: #ffffff;
}

.solution-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    flex: 1;
}

.dark-section .solution-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Upload area
   ========================================= */
.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 1.75rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
    color: #777;
}

.upload-area:hover {
    border-color: #111;
    background: #fafafa;
}

.upload-area span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.upload-area small {
    font-size: 0.78rem;
    color: #aaa;
}

.upload-area.has-file {
    border-color: #111;
    background: #f9f9f9;
    color: #111;
}

/* =========================================
   Footer
   ========================================= */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background-color: #fffeef;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-center-col {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-center-col strong {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111;
    display: block;
}

.footer-center-col a {
    font-size: 0.8rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-center-col a:hover {
    color: #111;
}

.footer-legal strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: #111;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.9;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #111;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #bbb;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-layout {
        grid-template-columns: 1fr;
    }
    .services-cta-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 1.75rem;
    }
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-section {
    padding: 7rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.gallery-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.gallery-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.gallery-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.gallery-item.hidden {
    display: none;
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-section {
    padding: 7rem 0;
    background: #fffeef;
    border-bottom: 1px solid var(--border-color);
}

.faq-list {
    max-width: 780px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #555;
}

.faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========================================
   Project Builder — form enhancements
   ========================================= */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fffeef;
    color: var(--text-primary);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--text-primary);
}

.toggle-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s;
}

.toggle-option:has(input:checked) {
    border-color: var(--text-primary);
    background: #f5f5f5;
    color: var(--text-primary);
    font-weight: 600;
}

.toggle-option input[type="radio"] {
    display: none;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-filters {
        gap: 0.5rem;
    }
}
