﻿/* Dark mode styles */
.dark body {
    background-color: #1a202c;
    color: #e2e8f0;
}

.dark .bg-white {
    background-color: #2d3748;
    color: #e2e8f0;
}

.dark .text-gray-900 {
    color: #e2e8f0;
}

.dark .text-gray-600 {
    color: #a0aec0;
}

.dark .bg-gray-50 {
    background-color: #4a5568;
}

.dark .border-gray-300 {
    border-color: #4a5568;
}

.dark .text-gray-300 {
    color: #cbd5e0;
}

.dark .bg-gray-900 {
    background-color: #1a202c;
}

.dark .border-gray-700 {
    border-color: #4a5568;
}

/* Image loading animation */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 1;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Loading spinner */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

main > section:not(:first-child),
.page-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

img {
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Back to top button */
#back-to-top {
    transition: all 0.3s ease;
    z-index: 1000;
    right: 6rem !important;
}

#back-to-top:hover {
    transform: translateY(-2px);
}

/* Form validation styles */
#contact input.error,
#contact textarea.error {
    border-color: rgb(239 68 68);
    background-color: rgb(254 242 242);
}

#contact input.success,
#contact textarea.success {
    border-color: rgb(34 197 94);
    background-color: rgb(240 253 244);
}

/* Card hover effects */
#portfolio .bg-white,
#services .bg-gray-50 {
    transition: transform 0.3s ease;
}

/* Hero Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    touch-action: pan-y;
}

.slider-container h1,
.slider-container h2,
.slider-container p {
    color: #ffffff;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a; /* Default background if image fails */
    transform: translateX(100%);
    transition: transform 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    transform: translateX(0);
    z-index: 2;
}

.hero-slide-overlay {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.42), rgba(2, 6, 23, 0.62)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.30), rgba(2, 6, 23, 0.18));
}

.hero-copy {
    text-shadow: 0 2px 24px rgba(2, 6, 23, 0.55);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background-color: #ffffff;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.8s ease-in-out;
}

/* Homepage offers showcase */
.offer-carousel__header {
    color: #ffffff;
}

.offers-copy--card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.offers-copy__eyebrow {
    color: #ea580c;
}

.offer-carousel__header p {
    color: #fed7aa;
}

.offers-copy__title {
    color: #0f172a;
}

.offers-copy__panel-title {
    color: #111827;
}

.offer-carousel__header h3 {
    color: #ffffff;
}

/* Service pages */
.service-hero {
    background:
        radial-gradient(circle at top left, rgba(251, 146, 60, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.30), transparent 34%),
        linear-gradient(135deg, #020617 0%, #0f172a 46%, #1d4ed8 100%);
}

.service-surface {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    border-radius: 2rem;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.20);
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-card-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.service-card-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
    border-color: rgba(59, 130, 246, 0.24);
}

.service-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
}

.service-outline-link {
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.service-outline-link:hover {
    background: rgba(255, 255, 255, 0.10);
}

/* Project pages */
.project-page {
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 26%, #ffffff 100%);
}

.project-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 24%),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.22), transparent 24%),
        linear-gradient(135deg, #020617 0%, #0f172a 42%, #1d4ed8 100%);
}

.project-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -18% auto;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(12px);
}

.project-shell {
    position: relative;
    z-index: 1;
}

.project-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.1rem;
    border-radius: 9999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
}

.project-glass {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(16px);
}

.project-panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.75rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.project-panel-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.project-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10);
    border-color: rgba(59, 130, 246, 0.22);
}

.project-stat-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    min-width: 10rem;
    backdrop-filter: blur(12px);
}

.project-image-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.30);
}

.project-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-floating-note {
    position: absolute;
    max-width: 16rem;
    border-radius: 1.25rem;
}

.project-metric {
    border-left: 4px solid #f97316;
}

.project-tech-card i,
.project-icon-badge {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.95), rgba(255, 237, 213, 0.95));
}

.project-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0));
}

.project-timeline-item {
    position: relative;
    padding-left: 2rem;
}

.project-timeline-item::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.3rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: #2563eb;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.project-timeline-item::after {
    content: "";
    position: absolute;
    left: 0.73rem;
    top: 1.25rem;
    bottom: -1.25rem;
    width: 1px;
    background: rgba(148, 163, 184, 0.45);
}

.project-timeline-item:last-child::after {
    display: none;
}

.project-legacy section.pt-24.pb-16 {
    position: relative;
    overflow: hidden;
    padding-top: 7rem;
    padding-bottom: 5rem;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 24%),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.22), transparent 24%),
        linear-gradient(135deg, #020617 0%, #0f172a 42%, #1d4ed8 100%) !important;
}

.project-legacy section.pt-24.pb-16::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% auto;
    width: 22rem;
    height: 22rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(10px);
}

.project-legacy section.pt-24.pb-16 > .container {
    position: relative;
    z-index: 1;
}

.project-legacy section.pt-24.pb-16 .lg\:w-1\/2:first-child > .flex.items-center.mb-4 span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.1rem;
    border-radius: 9999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
}

.project-legacy section.pt-24.pb-16 .lg\:w-1\/2:first-child > .flex.items-center.mb-4 span:last-child {
    color: #e0f2fe !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.project-legacy section.pt-24.pb-16 h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem) !important;
    line-height: 1.05;
}

.project-legacy section.pt-24.pb-16 p.text-xl {
    color: #cbd5e1;
    max-width: 42rem;
    line-height: 1.75;
}

.project-legacy section.pt-24.pb-16 .flex.flex-wrap.gap-4 > div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    min-width: 10rem;
    backdrop-filter: blur(12px);
}

.project-legacy section.pt-24.pb-16 img.rounded-lg.shadow-2xl {
    width: 100%;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.30);
}

.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md,
.project-legacy section.py-16 .bg-white.rounded-lg.shadow-md,
.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md.overflow-hidden {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.project-legacy section.py-20 .bg-gray-50.rounded-lg {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.25rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-legacy section.py-20 .bg-gray-50.rounded-lg:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10);
    border-color: rgba(59, 130, 246, 0.22);
}

.project-legacy section.py-20 .text-3xl.font-bold,
.project-legacy section.py-16 .text-3xl.font-bold {
    color: #0f172a;
}

.project-legacy section.py-20 .text-gray-600 {
    color: #475569;
}

.project-legacy section.py-20 .lg\:col-span-2 > .bg-white.rounded-lg.shadow-md:first-of-type h3.text-xl.font-semibold {
    color: #0f172a;
}

.project-legacy section.py-20 .lg\:col-span-2 > .bg-white.rounded-lg.shadow-md:first-of-type ul li,
.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md p,
.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md span {
    line-height: 1.7;
}

.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md.overflow-hidden,
.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md.overflow-hidden img {
    border-radius: 1.5rem;
}

.project-legacy section.py-20 .bg-white.rounded-lg.shadow-md.overflow-hidden img {
    height: 13rem;
    object-fit: cover;
}

.project-legacy section.py-16.bg-white {
    background: transparent !important;
}

.project-legacy section.py-16.bg-white .container > h2,
.project-legacy section.py-16.bg-white .container > .text-3xl {
    margin-bottom: 2rem;
}

.project-legacy section.py-16.bg-white .container {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.75rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.project-legacy section.py-16.bg-white a[class*="bg-"] {
    border-radius: 9999px !important;
}

@media (max-width: 1024px) {
    .project-floating-note {
        position: static;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .project-hero::after {
        width: 18rem;
        height: 18rem;
    }

    .project-panel,
    .project-panel-soft {
        border-radius: 1.25rem;
    }

    .project-legacy section.pt-24.pb-16 .flex.flex-wrap.gap-4 > div {
        min-width: calc(50% - 0.5rem);
    }

    .project-legacy section.py-16.bg-white .container {
        border-radius: 1.25rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.service-jump-link {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-jump-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.service-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-stat {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.service-image-frame {
    overflow: hidden;
    border-radius: 1.75rem;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
}

.service-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-process-step {
    position: relative;
    padding-left: 4.5rem;
}

.service-process-step__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #ea580c 100%);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.28);
}

.service-grid-hero,
.service-grid-overview,
.service-grid-highlight,
.service-grid-related {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .service-grid-highlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid-related {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .service-grid-hero {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .service-grid-overview {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.offers-copy__lead {
    color: #475569;
}

.offers-showcase-section {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.26), transparent 24%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.3), transparent 28%),
        linear-gradient(135deg, #020617 0%, #0f172a 42%, #1e293b 72%, #ea580c 100%);
}

.offers-copy__panel {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.offers-copy__panel-text {
    color: #57534e;
}

.offers-copy__stats {
    margin-top: 1.25rem;
}

.offers-copy__stat {
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
    border-radius: 1.25rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.offers-copy__stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.offers-copy__stat-label {
    font-size: 0.9rem;
    color: #57534e;
    line-height: 1.5;
}

.offer-carousel {
    position: relative;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    padding: 1.5rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
    overflow: hidden;
}

.offer-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.1), transparent 26%);
    pointer-events: none;
}

.offer-carousel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.offer-carousel__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fdba74;
}

.offer-carousel__subtext {
    color: #e2e8f0;
    line-height: 1.7;
    max-width: 36rem;
    margin-top: 0.65rem;
}

.offer-carousel__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.offer-carousel__status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.offer-carousel__status-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    animation: offerPulse 1.8s infinite;
}

@keyframes offerPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.offer-carousel__count {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.offer-carousel__controls {
    display: flex;
    gap: 0.75rem;
}

.offer-carousel__arrow {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.offer-carousel__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.offer-carousel__quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.offer-carousel__quick-pill {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    border-radius: 9999px;
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.offer-carousel__quick-pill:hover,
.offer-carousel__quick-pill.is-active {
    background: #ffffff;
    color: #111827;
    transform: translateY(-1px);
}

.offer-carousel__live-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-carousel__live-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fdba74;
    margin-bottom: 0.35rem;
}

.offer-carousel__live-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.offer-carousel__live-text {
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 40rem;
}

.offer-carousel__live-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #111827;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.offer-carousel__live-cta:hover {
    background: #fed7aa;
    transform: translateY(-1px);
}

.offer-carousel__viewport {
    overflow: hidden;
}

.offer-carousel__track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.offer-carousel__progress {
    height: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 1rem;
}

.offer-carousel__progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316 0%, #ffffff 100%);
    transition: width 0.55s ease;
}

.offer-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.offer-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.offer-carousel__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.offer-card {
    flex: 0 0 100%;
    background: #fff;
    color: #111827;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
}

.offer-card--featured {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 28%),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.offer-card__media {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 48%, #ffffff 100%);
}

.offer-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__sale,
.offer-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-card__sale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.8rem;
    background: #dc2626;
    color: #fff;
}

.offer-card__body,
.offer-card--package,
.offer-card--message {
    padding: 1.75rem;
}

.offer-card__badge {
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    background: #ffedd5;
    color: #c2410c;
}

.offer-card__micro {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.9rem;
}

.offer-card__eyebrow {
    margin-bottom: 0.75rem;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.offer-card__title {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.offer-card__price {
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.offer-card__prices {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.offer-card__old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.offer-card__text {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.offer-card__list {
    margin: 0 0 1.5rem;
    padding-left: 1.1rem;
    color: #374151;
    line-height: 1.8;
}

.offer-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.offer-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #111827;
    color: #fff;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.offer-card__cta:hover {
    background: #f97316;
    transform: translateY(-1px);
}

/* Mobile and tablet optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    header nav {
        gap: 0.75rem;
    }

    header nav > a.flex.items-center,
    header nav > div.flex.items-center {
        min-width: 0;
    }

    header nav span.text-2xl {
        font-size: 1.125rem !important;
        line-height: 1.3;
    }

    #mobile-menu {
        max-height: calc(100vh - 4.5rem);
        overflow-y: auto;
    }

    main,
    section {
        scroll-margin-top: 5.5rem;
    }

    h1,
    h2 {
        overflow-wrap: anywhere;
    }

    #back-to-top {
        bottom: 10rem;
        right: 1rem !important;
    }

    .slider-container {
        height: auto;
        min-height: min(760px, calc(100svh - 1rem));
        overflow: hidden;
    }

    .slide {
        min-height: min(760px, calc(100svh - 1rem));
        background-size: cover !important;
    }

    .hero-slide-overlay {
        background:
            linear-gradient(180deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.72)),
            radial-gradient(circle at center, rgba(15, 23, 42, 0.25), rgba(2, 6, 23, 0.72));
    }

    .hero-slide-content {
        align-items: center;
        min-height: min(760px, calc(100svh - 1rem));
        padding: 1.25rem 0 3.25rem;
    }

    .hero-copy {
        max-width: 34rem;
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    .slider-container .hero-title {
        font-size: clamp(1.95rem, 9vw, 2.75rem) !important;
        line-height: 1.08;
        margin-bottom: 0.85rem !important;
    }

    .slider-container .hero-text {
        font-size: clamp(0.98rem, 4vw, 1.12rem) !important;
        line-height: 1.55;
        margin-bottom: 1.1rem !important;
    }

    .slider-container .hero-kicker {
        font-size: 0.72rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-actions {
        gap: 0.65rem !important;
        margin-bottom: 0.9rem !important;
    }

    .hero-actions a,
    .hero-single-cta {
        width: min(100%, 18rem);
        padding: 0.78rem 1.1rem !important;
        font-size: 0.95rem;
    }

    .hero-quick-links {
        gap: 0.5rem !important;
    }

    .hero-quick-links a {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.78rem;
        box-shadow: 0 12px 22px -18px rgba(2, 6, 23, 0.5);
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 1rem;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .offer-carousel {
        padding: 1rem;
    }

    .offers-copy--card {
        padding: 1.25rem;
    }

    .offer-carousel__header {
        flex-direction: column;
    }

    .offer-carousel__meta {
        align-items: flex-start;
    }

    .offer-carousel__live-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-carousel__live-cta {
        width: 100%;
    }

    .offer-card__media {
        height: 210px;
    }

    .offer-card__body,
    .offer-card--package,
    .offer-card--message {
        padding: 1.25rem;
    }

    .offer-card__title {
        font-size: 1.25rem;
    }

    .offer-card__price {
        font-size: 1.45rem;
    }

    #chatbot-widget {
        bottom: 5.5rem !important;
        right: 1rem !important;
        z-index: 9999 !important;
    }

    #chatbot-button {
        width: 56px !important;
        height: 56px !important;
    }

    #chatbot-container,
    #chatbot-window {
        width: min(92vw, 360px) !important;
        height: min(72vh, 520px) !important;
        bottom: 4.5rem !important;
        right: 0 !important;
        max-height: 520px !important;
    }

    #mobile-menu a {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .project-hero,
    .service-hero,
    .shop-hero {
        padding-top: 6.5rem !important;
    }

    .project-hero .grid,
    .service-grid-hero,
    .service-grid-overview,
    .service-grid-highlight,
    .service-grid-related,
    .shop-toolbar .grid,
    .shop-page main > section.grid,
    .shop-page .shop-results-header .grid {
        gap: 1.25rem;
    }

    .project-image-frame {
        aspect-ratio: 4 / 3;
    }

    .project-stat-card,
    .service-stat,
    .shop-toolbar-stat,
    .shop-panel,
    .shop-product-card,
    .shop-sidebar-card {
        border-radius: 1.25rem;
    }

    .project-stat-card,
    .shop-toolbar-stat {
        padding: 1rem;
    }

    .service-process-step {
        padding-left: 0;
        padding-top: 4rem;
    }

    .service-process-step__number {
        left: 0;
        top: 0;
    }

    .shop-page .container,
    .shop-shell {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .product-page-actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .product-page-actions > a {
        width: auto;
        justify-content: center;
        text-align: center;
        padding: 0.55rem 0.8rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    #product-grid {
        grid-template-columns: 1fr;
    }

    .shop-page .shop-brand-strip .flex,
    .shop-page .shop-results-header .flex {
        gap: 0.75rem;
    }

    .shop-page .shop-results-header h2,
    .project-page h1,
    .service-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.1;
    }

    .project-page .grid.sm\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .product-page-cta-group a {
        width: 100%;
    }

    .product-page-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Shop page styles */
.shop-page {
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 28%),
        linear-gradient(180deg, #fffaf0 0%, #f8fafc 18%, #eef2f7 100%);
    color: #111827;
}

.shop-shell {
    max-width: 1360px;
}

.shop-toolbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.35);
}

.shop-toolbar-stat {
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.85), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(251, 146, 60, 0.18);
}

.shop-hero {
    background:
        linear-gradient(125deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.9)),
        linear-gradient(90deg, rgba(245, 158, 11, 0.55), rgba(249, 115, 22, 0.25));
    overflow: hidden;
}

.shop-hero::after {
    content: "";
    position: absolute;
    inset: auto -4rem -5rem auto;
    width: 15rem;
    height: 15rem;
    border-radius: 9999px;
    background: rgba(251, 191, 36, 0.14);
    filter: blur(6px);
}

.shop-accent-card {
    background: linear-gradient(145deg, #fff7ed, #ffffff);
    border: 1px solid rgba(251, 146, 60, 0.28);
}

.shop-sidebar-card,
.shop-panel,
.shop-product-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.4);
}

.shop-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    color: #334155;
    transition: all 0.25s ease;
}

.shop-sidebar-link:hover,
.shop-sidebar-link.active {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #c2410c;
    transform: translateX(4px);
}

.shop-sidebar-sticky {
    position: sticky;
    top: 6.5rem;
}

.shop-sidebar-group-title {
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.shop-category-count {
    min-width: 2rem;
    padding: 0.3rem 0.6rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.14);
    color: #64748b;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.shop-sidebar-link.active .shop-category-count,
.shop-sidebar-link:hover .shop-category-count {
    background: rgba(251, 146, 60, 0.18);
    color: #c2410c;
}

.shop-sidebar-note {
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.75), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(251, 146, 60, 0.18);
}

.shop-brand-chip {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    transition: all 0.2s ease;
}

.shop-brand-chip:hover,
.shop-brand-chip.active {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff7ed;
}

.shop-chip {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    transition: all 0.2s ease;
}

.shop-chip:hover,
.shop-chip.active {
    background: #111827;
    border-color: #111827;
    color: #fff7ed;
}

.shop-product-card {
    border-radius: 1.15rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px -28px rgba(15, 23, 42, 0.4);
}

.shop-product-visual {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.shop-product-visual::before {
    content: "";
    position: absolute;
    inset: 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.18);
}

.shop-product-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-product-icon {
    position: relative;
    z-index: 1;
    width: 5rem;
    height: 5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 20px 35px -20px rgba(15, 23, 42, 0.5);
}

.shop-product-icon-corner {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.72);
    font-size: 0.9rem;
    box-shadow: 0 10px 20px -12px rgba(15, 23, 42, 0.7);
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shop-badge-hot {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.shop-badge-new {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.shop-badge-deal {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.product-page {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 34rem),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.10), transparent 30rem),
        #f8fafc;
}

.product-page-main {
    max-width: 1240px;
}

.product-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.82);
    color: #64748b;
    font-size: 0.88rem;
    box-shadow: 0 18px 35px -30px rgba(15, 23, 42, 0.45);
}

.product-breadcrumb a {
    color: #2563eb;
    font-weight: 800;
}

.product-breadcrumb i {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.product-breadcrumb strong {
    color: #0f172a;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.75rem;
}

.product-detail-grid > *,
.product-details-grid > *,
.product-media-card,
.product-summary-card,
.product-content-card,
.product-related-section {
    min-width: 0;
}

.product-media-card,
.product-summary-card,
.product-content-card,
.product-related-section {
    border-radius: 2rem;
    padding: 1.25rem;
}

.product-main-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #ffffff, #e2e8f0);
}

.product-main-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.product-page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.product-gallery-thumb {
    display: grid;
    gap: 0.45rem;
    padding: 0.35rem;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 1rem;
    background: #ffffff;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    border-color: #f97316;
    box-shadow: 0 12px 24px -20px rgba(249, 115, 22, 0.85);
    transform: translateY(-1px);
}

.product-gallery-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem;
    object-fit: cover;
}

.product-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.product-info-strip div {
    padding: 1rem;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.96));
}

.product-info-strip span,
.product-price-card p,
.product-summary-note p,
.product-assurance-box p,
.product-section-heading p,
.product-note-card p:first-child,
.product-spec-list span {
    display: block;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-info-strip strong {
    display: block;
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1rem;
}

.product-summary-card {
    position: sticky;
    top: 6rem;
}

.product-summary-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-summary-topline > span:last-child {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-title {
    margin: 0 0 0.75rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 950;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    margin-bottom: 1.1rem;
    color: #f59e0b;
    font-size: 0.9rem;
}

.product-rating-row span {
    margin-left: 0.5rem;
    color: #64748b;
    font-weight: 700;
}

.product-price-card {
    margin-bottom: 1rem;
    padding: 1.15rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #111827, #1e293b);
    color: #ffffff;
    box-shadow: 0 22px 38px -30px rgba(15, 23, 42, 0.8);
}

.product-price-card p {
    color: rgba(255, 255, 255, 0.58);
}

.product-price-card div {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
}

.product-price-card strong {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
}

.product-price-card span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: line-through;
}

.product-price-card small {
    display: inline-flex;
    margin-top: 0.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
    font-weight: 800;
}

.product-summary-note {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 1.15rem;
    background: rgba(255, 247, 237, 0.78);
}

.product-summary-note p {
    margin-bottom: 0.4rem;
    color: #ea580c;
}

.product-summary-note span {
    color: #475569;
    line-height: 1.65;
}

.product-page-cta-group {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.product-primary-cta,
.product-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-primary-cta {
    background: #2563eb;
    color: #ffffff;
}

.product-primary-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.product-secondary-cta {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    color: #334155;
}

.product-secondary-cta:hover {
    border-color: #f97316;
    color: #ea580c;
    transform: translateY(-1px);
}

.product-assurance-box {
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.product-assurance-box p {
    margin-bottom: 0.75rem;
}

.product-assurance-box ul {
    display: grid;
    gap: 0.65rem;
    color: #475569;
    font-size: 0.92rem;
}

.product-assurance-box li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.product-assurance-box i {
    margin-top: 0.2rem;
    color: #22c55e;
}

.product-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.product-section-heading {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.product-section-heading h2 {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 950;
}

.product-section-heading--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-section-heading--row a {
    color: #2563eb;
    font-weight: 900;
}

.product-copy {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.product-note-card {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.95);
}

.product-note-card p:first-child {
    margin-bottom: 0.4rem;
}

.product-spec-list {
    display: grid;
    gap: 0.75rem;
}

.product-spec-list div {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.product-spec-list strong {
    color: #0f172a;
    font-weight: 850;
}

.product-related-section {
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .product-detail-grid,
    .product-details-grid {
        grid-template-columns: 1fr;
    }

    .product-summary-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-page header nav {
        gap: 0.65rem;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        flex-wrap: nowrap;
    }

    .product-page header img {
        width: 2.35rem;
        height: 2.35rem;
        object-fit: contain;
    }

    .product-page header .text-2xl {
        font-size: 1.05rem !important;
    }

    .product-page-actions {
        flex: 0 0 auto;
    }

    .product-page-actions > a:last-child {
        display: none;
    }

    .product-page-actions > a:first-child {
        padding: 0.55rem 0.8rem;
        border-radius: 9999px;
        font-size: 0.75rem;
    }

    .product-page-main {
        padding-top: 1rem !important;
        padding-bottom: 2.5rem !important;
    }

    .product-media-card,
    .product-summary-card,
    .product-content-card,
    .product-related-section {
        border-radius: 1.35rem;
        padding: 1rem;
    }

    .product-breadcrumb {
        display: flex;
        width: 100%;
        overflow-x: auto;
        border-radius: 1rem;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .product-detail-grid,
    .product-details-grid {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .product-main-frame {
        border-radius: 1.1rem;
        aspect-ratio: 1 / 1;
    }

    .product-gallery-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .product-gallery-thumb {
        min-width: 5.75rem;
        scroll-snap-align: start;
    }

    .product-info-strip {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .product-info-strip div {
        padding: 0.85rem;
    }

    .product-info-strip strong,
    .product-title,
    .product-price-card strong,
    .product-spec-list strong {
        overflow-wrap: anywhere;
    }

    .product-summary-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .product-title {
        font-size: clamp(1.8rem, 10vw, 2.45rem);
        line-height: 1.02;
    }

    .product-price-card {
        padding: 1rem;
    }

    .product-price-card div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .product-price-card strong {
        font-size: clamp(1.8rem, 10vw, 2.35rem);
    }

    .product-page-cta-group {
        position: static;
        margin: 0 0 1rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .product-primary-cta,
    .product-secondary-cta {
        min-height: 3rem;
        padding: 0.85rem;
    }

    .product-section-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .product-page-actions > a {
        padding: 0.5rem 0.65rem;
        font-size: 0.72rem;
    }

    .product-page header .text-2xl {
        max-width: 8.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-summary-note,
    .product-assurance-box,
    .product-spec-list div {
        font-size: 0.92rem;
    }
}

@media (max-width: 360px) {
    .product-page header .text-2xl {
        display: none;
    }

    .product-page-actions > a:first-child {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .product-gallery-thumb {
        min-width: 5rem;
    }

    .product-primary-cta,
    .product-secondary-cta {
        font-size: 0.9rem;
    }
}

.shop-rating i {
    color: #f59e0b;
}

.shop-banner {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.88)),
        linear-gradient(180deg, rgba(251, 191, 36, 0.26), transparent);
}

.shop-results-header {
    background:
        linear-gradient(145deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(251, 146, 60, 0.18);
}

.shop-results-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.45rem 0.9rem;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.shop-results-pill-accent {
    background: rgba(251, 146, 60, 0.14);
    color: #c2410c;
}

.shop-feature-card {
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(251, 146, 60, 0.18);
    border-radius: 1.5rem;
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -28px rgba(15, 23, 42, 0.38);
    border-color: rgba(249, 115, 22, 0.35);
}

.shop-feature-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #ea580c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shop-feature-link {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 800;
}

.shop-brand-strip {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    padding: 1rem 0;
}

.shop-filters-row {
    align-items: center;
}

.shop-stat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.shop-empty {
    border: 1px dashed rgba(148, 163, 184, 0.6);
}

.shop-gradient-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.shop-gradient-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.shop-gradient-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.shop-gradient-emerald { background: linear-gradient(135deg, #059669, #22c55e); }
.shop-gradient-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }
.shop-gradient-violet { background: linear-gradient(135deg, #4338ca, #7c3aed); }

@media (max-width: 1024px) {
    .shop-shell,
    .project-shell {
        max-width: 100%;
    }

    .shop-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .shop-page .container,
    .shop-shell {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .shop-product-visual {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: auto;
        min-height: min(760px, calc(100svh - 1rem));
    }

    .slider-container .px-6,
    .service-hero .px-6,
    .project-hero .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .slider-container .rounded-full,
    .service-hero .rounded-full,
    .project-hero .rounded-full,
    .shop-page .rounded-full {
        width: 100%;
        justify-content: center;
    }

    .slider-container .hero-quick-links .rounded-full {
        width: auto;
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 8.25rem;
    }

    .text-5xl {
        font-size: 2rem;
    }

    .text-4xl {
        font-size: 1.75rem;
    }

    .text-2xl {
        font-size: 1.2rem;
    }

    .text-xl {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Accessibility: reduce motion when requested */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3730a3;
}
