/* Fonts loaded via <link> in HTML for performance — see head of each page */

:root {
    --primary: #E31E24;
    --primary-dark: #b8181d;
    --primary-light: #ff4a4f;
    --secondary: #00A651;
    --secondary-dark: #008a43;
    --dark: #0a0a14;
    --dark-light: #12121f;
    --dark-card: #1a1a2e;
    --dark-border: #2a2a3e;
    --gray: #6b7280;
    --gray-light: #b0b8c8;
    --white: #ffffff;
    --off-white: #f0f2f5;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
    --gradient-hero: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #0f1525 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(227,30,36,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--white);
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

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

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--primary);
}

/* Navigation */
.nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--white);
    background: rgba(227, 30, 36, 0.15);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: middle;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(227, 30, 36, 0.15);
    color: var(--white);
    padding-left: 20px;
}

/* Dropdown service icons */
.dropdown-menu li a::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 10px;
    opacity: 0.35;
    background: currentColor;
    -webkit-mask-image: var(--icon);
    mask-image: var(--icon);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: opacity 0.3s ease;
}

.dropdown-menu a:hover::before,
.dropdown-menu a.active::before {
    opacity: 0.8;
}

.dropdown-menu li:nth-child(1) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(2) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='9' y1='21' x2='9' y2='9'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(3) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(4) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'/%3E%3Crect x='2' y='7' width='20' height='5'/%3E%3Cline x1='12' y1='22' x2='12' y2='7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(5) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z'/%3E%3Cline x1='16' y1='8' x2='2' y2='22'/%3E%3Cline x1='17.5' y1='15' x2='9' y2='15'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(6) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(7) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(8) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='1' x2='6' y2='4'/%3E%3Cline x1='10' y1='1' x2='10' y2='4'/%3E%3Cline x1='14' y1='1' x2='14' y2='4'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(9) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(10) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(11) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E");
}

.dropdown-menu li:nth-child(12) a::before {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227,30,36,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,166,81,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content--centered {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-content--centered h1,
.hero-content--centered p,
.hero-content--centered .hero-badge {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
    letter-spacing: -0.5px;
    text-wrap: balance;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 680px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content--centered .hero p {
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-content--centered .hero-buttons {
    justify-content: center;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
}

@keyframes btnGlow {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0);
    }
    50% {
        border-color: var(--primary);
        box-shadow: 0 0 18px 4px rgba(227, 30, 36, 0.5), 0 0 40px 8px rgba(227, 30, 36, 0.2);
    }
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gradient-hero);
    color: var(--white);
}

.section-gray {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .label {
    display: inline-block;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 16px;
    color: inherit;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

.section-dark .section-header p {
    color: var(--gray-light);
}

/* ========== SERVICE CARDS ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 30, 36, 0.2);
}

.service-card-image {
    position: relative;
    height: 200px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: var(--transition);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-image .placeholder-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-card-link:hover {
    gap: 12px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

/* ========== FEATURES / STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-light);
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(227, 30, 36, 0.05);
    border-color: rgba(227, 30, 36, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* ========== CTA ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227,30,36,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--dark-border);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--gray);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227,30,36,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: var(--gray-light);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    position: relative;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    color: var(--gray);
}

.breadcrumb .current {
    color: var(--primary-light);
}

/* ========== SERVICE PAGE ========== */
.service-detail {
    padding: 80px 0;
}

.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-intro-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-intro-text p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.service-features-list {
    list-style: none;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #555;
}

.service-features-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-image-placeholder {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #f0f2f5, #e8eaef);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed #d0d5dd;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.placeholder-text {
    text-align: center;
    color: var(--gray);
}

.placeholder-text svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #ccc;
}

.placeholder-text p {
    font-size: 0.9rem;
}

/* Gallery grid */
.gallery-section {
    padding: 60px 0;
}

.gallery-section h2 {
    font-size: 1.8rem;
    margin-bottom: 32px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f0f2f5, #e8eaef);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d0d5dd;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== ABOUT PAGE ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-value {
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-value:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.about-value h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.about-value p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

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

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
    background: #fff;
}

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

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

/* ========== MAP SECTION ========== */
.map-section {
    padding: 80px 0;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.map-wrapper iframe {
    border-radius: var(--radius-lg);
}

/* ========== CATALOGS PAGE ========== */
@keyframes catalogGlow {
    0%, 100% {
        text-shadow:
            0 0 10px #e30613,
            0 0 30px #e30613,
            0 0 60px #e30613,
            0 0 100px #e30613;
        opacity: 1;
    }
    50% {
        text-shadow:
            0 0 4px #ff6b6b,
            0 0 12px #ff6b6b,
            0 0 24px #ff6b6b;
        opacity: 0.7;
    }
}

.catalog-glow-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 40px;
    padding: 24px 20px;
    background: #111;
    border-radius: var(--radius-lg);
    animation: catalogGlow 1.5s ease-in-out infinite;
}

.catalog-banners-section {
    padding: 60px 0 80px;
}

.catalog-banner-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1170 / 170;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 24px;
}

.catalog-banner-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-banner-main img[src=""] {
    display: none;
}

.catalog-banner-main img[src=""]:not([src]) + .catalog-banner-placeholder,
.catalog-banner-main img[src=""] + .catalog-banner-placeholder {
    display: flex;
}

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

.catalog-banner-small {
    position: relative;
    width: 100%;
    aspect-ratio: 498 / 598;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f0f0f0;
}

.catalog-banner-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-banner-small img[src=""] {
    display: none;
}

.catalog-banner-small img[src=""] + .catalog-banner-placeholder {
    display: flex;
}

.catalog-banner-main a,
.catalog-banner-small a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.catalog-link-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    font-family: var(--font-heading);
    transition: background 0.2s;
}

.catalog-banner-main a:hover .catalog-link-label,
.catalog-banner-small a:hover .catalog-link-label {
    background: rgba(227, 6, 19, 0.82);
}

.catalog-banner-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #e8e8e8;
    color: #aaa;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ========== RGB COLOR SWATCHES THEME ========== */

/* Spectrum palette: 52 HSL stops spanning the full color wheel (100+ interpolated colors) */
:root {
    --spectrum:
        hsl(0,90%,60%), hsl(7,90%,58%), hsl(14,88%,57%), hsl(21,86%,56%),
        hsl(28,84%,55%), hsl(35,82%,55%), hsl(42,80%,55%), hsl(49,78%,55%),
        hsl(56,76%,56%), hsl(63,74%,55%), hsl(70,75%,54%), hsl(77,78%,52%),
        hsl(84,80%,50%), hsl(91,80%,49%), hsl(98,78%,48%), hsl(105,76%,48%),
        hsl(112,74%,48%), hsl(119,72%,48%), hsl(126,73%,49%), hsl(133,75%,50%),
        hsl(140,77%,50%), hsl(147,79%,49%), hsl(154,81%,48%), hsl(161,83%,48%),
        hsl(168,85%,48%), hsl(175,87%,48%), hsl(182,88%,49%), hsl(189,88%,51%),
        hsl(196,89%,53%), hsl(203,90%,55%), hsl(210,89%,57%), hsl(217,87%,58%),
        hsl(224,85%,58%), hsl(231,83%,58%), hsl(238,81%,59%), hsl(245,79%,59%),
        hsl(252,78%,58%), hsl(259,79%,57%), hsl(266,81%,56%), hsl(273,83%,55%),
        hsl(280,85%,55%), hsl(287,85%,55%), hsl(294,85%,55%), hsl(301,86%,55%),
        hsl(308,87%,55%), hsl(315,88%,56%), hsl(322,89%,56%), hsl(329,90%,57%),
        hsl(336,90%,58%), hsl(343,90%,59%), hsl(350,90%,59%), hsl(357,90%,60%);
}

/* --- Custom Scrollbar (Rainbow) --- */
html {
    scrollbar-width: thin;
    scrollbar-color: hsl(200,85%,55%) #0a0a14;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: #0a0a14;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--spectrum));
    border-radius: 6px;
    border: 2px solid #0a0a14;
}

html::-webkit-scrollbar-thumb:hover {
    border-width: 1px;
}

/* --- Mouse glow overlay --- */
.swatch-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    background: radial-gradient(circle,
        hsla(0,100%,65%,0.22) 0%,
        hsla(0,100%,65%,0.0) 18%,
        hsla(120,100%,50%,0.16) 26%,
        hsla(120,100%,50%,0.0) 38%,
        hsla(240,100%,65%,0.10) 44%,
        hsla(240,100%,65%,0.0) 56%,
        transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform, filter;
}

/* --- Swatch flow animations --- */
@keyframes swatch-flow {
    from { background-position: 0 0, 0 0, 0% 0%, 0% 0%; }
    to   { background-position: 0 0, 0 0, 100% 0%, 0% 100%; }
}

@keyframes swatch-flow-5 {
    from { background-position: 0 0, 0 0, 0% 0%, 0% 0%, 0 0; }
    to   { background-position: 0 0, 0 0, 100% 0%, 0% 100%, 0 0; }
}

@keyframes swatch-hue {
    from { filter: hue-rotate(0deg); }
    to   { filter: hue-rotate(360deg); }
}

/* --- Body Side Spectrum Strips (left + right) — mini swatches --- */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 6px;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--spectrum));
    animation: swatch-hue 20s linear infinite;
    -webkit-mask-image: repeating-linear-gradient(to bottom, black 0 6px, transparent 6px 8px);
    mask-image: repeating-linear-gradient(to bottom, black 0 6px, transparent 6px 8px);
    border-radius: 0;
}

body::before { left: 0; }
body::after { right: 0; animation-direction: reverse; }

/* --- Swatch grid helper (16×16 px squares, 2px gaps) --- */

/* White Areas: Animated swatch-chip grid — dual spectrum flow */
body {
    background-color: var(--white);
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(255,255,255,0.72) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(255,255,255,0.72) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,62%,0.16), hsla(30,85%,56%,0.16), hsla(60,78%,55%,0.16),
            hsla(90,80%,50%,0.16), hsla(120,75%,48%,0.16), hsla(150,80%,49%,0.16),
            hsla(180,88%,48%,0.16), hsla(210,90%,55%,0.16), hsla(240,82%,58%,0.16),
            hsla(270,85%,55%,0.16), hsla(300,85%,55%,0.16), hsla(330,90%,57%,0.16),
            hsla(360,90%,60%,0.16)),
        linear-gradient(to bottom,
            hsla(180,88%,48%,0.11), hsla(210,90%,55%,0.11), hsla(240,82%,58%,0.11),
            hsla(270,85%,55%,0.11), hsla(300,85%,55%,0.11), hsla(330,90%,57%,0.11),
            hsla(0,90%,60%,0.11), hsla(30,85%,55%,0.11), hsla(60,78%,55%,0.11),
            hsla(90,80%,50%,0.11), hsla(120,75%,48%,0.11), hsla(150,80%,49%,0.11),
            hsla(180,88%,48%,0.11));
    background-size: auto, auto, 400% 100%, 100% 400%;
    animation: swatch-flow 16s ease-in-out infinite alternate;
}

/* --- Footer: Animated swatch grid + rainbow top line --- */
.footer {
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(0,0,0,0.28) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(0,0,0,0.28) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,55%,0.10), hsla(30,85%,55%,0.10), hsla(60,78%,55%,0.10),
            hsla(90,80%,50%,0.10), hsla(120,75%,48%,0.10), hsla(150,80%,49%,0.10),
            hsla(180,88%,48%,0.10), hsla(210,90%,55%,0.10), hsla(240,82%,58%,0.10),
            hsla(270,85%,55%,0.10), hsla(300,85%,55%,0.10), hsla(330,90%,57%,0.10),
            hsla(360,90%,60%,0.10)),
        linear-gradient(to bottom,
            hsla(200,90%,55%,0.07), hsla(230,85%,58%,0.07), hsla(260,85%,55%,0.07),
            hsla(290,85%,55%,0.07), hsla(320,90%,57%,0.07), hsla(350,90%,59%,0.07),
            hsla(20,85%,55%,0.07), hsla(50,78%,55%,0.07), hsla(80,80%,50%,0.07),
            hsla(110,75%,48%,0.07), hsla(140,80%,49%,0.07), hsla(170,88%,48%,0.07),
            hsla(200,90%,55%,0.07));
    background-size: auto, auto, 400% 100%, 100% 400%;
    animation: swatch-flow 18s ease-in-out infinite alternate;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(to right, var(--spectrum));
    animation: swatch-hue 18s linear infinite;
    -webkit-mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
    mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
}

/* --- Light Sections: Swatch grid overlay --- */
.section-gray {
    position: relative;
    overflow: hidden;
}

.section-gray::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(240,242,245,0.72) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(240,242,245,0.72) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,58%,0.14), hsla(30,85%,55%,0.14), hsla(60,78%,55%,0.14),
            hsla(90,80%,50%,0.14), hsla(120,75%,48%,0.14), hsla(150,80%,49%,0.14),
            hsla(180,88%,48%,0.14), hsla(210,90%,55%,0.14), hsla(240,82%,58%,0.14),
            hsla(270,85%,55%,0.14), hsla(300,85%,55%,0.14), hsla(330,90%,57%,0.14),
            hsla(360,90%,60%,0.14)),
        linear-gradient(to bottom,
            hsla(160,85%,48%,0.10), hsla(190,90%,52%,0.10), hsla(220,88%,56%,0.10),
            hsla(250,82%,56%,0.10), hsla(280,85%,55%,0.10), hsla(310,88%,56%,0.10),
            hsla(340,90%,58%,0.10), hsla(10,90%,60%,0.10), hsla(40,82%,55%,0.10),
            hsla(70,78%,52%,0.10), hsla(100,78%,48%,0.10), hsla(130,75%,49%,0.10),
            hsla(160,85%,48%,0.10));
    background-size: auto, auto, 400% 100%, 100% 400%;
    animation: swatch-flow 20s ease-in-out infinite alternate;
}

.section-gray > * {
    position: relative;
    z-index: 1;
}

/* --- Hero / Dark sections: Animated swatch grid --- */
.hero {
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,58%,0.09), hsla(30,85%,55%,0.09), hsla(60,78%,55%,0.09),
            hsla(90,80%,50%,0.09), hsla(120,75%,48%,0.09), hsla(150,80%,49%,0.09),
            hsla(180,88%,48%,0.09), hsla(210,90%,55%,0.09), hsla(240,82%,58%,0.09),
            hsla(270,85%,55%,0.09), hsla(300,85%,55%,0.09), hsla(330,90%,57%,0.09),
            hsla(360,90%,60%,0.09)),
        linear-gradient(to bottom,
            hsla(200,90%,55%,0.06), hsla(240,85%,58%,0.06), hsla(280,85%,55%,0.06),
            hsla(320,90%,56%,0.06), hsla(0,90%,60%,0.06), hsla(40,82%,55%,0.06),
            hsla(80,80%,50%,0.06), hsla(120,75%,48%,0.06), hsla(160,85%,48%,0.06),
            hsla(200,90%,55%,0.06)),
        var(--gradient-hero);
    background-size: auto, auto, 400% 100%, 100% 400%, 100%;
    animation: swatch-flow-5 20s ease-in-out infinite alternate;
}

.page-hero {
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,58%,0.09), hsla(30,85%,55%,0.09), hsla(60,78%,55%,0.09),
            hsla(90,80%,50%,0.09), hsla(120,75%,48%,0.09), hsla(150,80%,49%,0.09),
            hsla(180,88%,48%,0.09), hsla(210,90%,55%,0.09), hsla(240,82%,58%,0.09),
            hsla(270,85%,55%,0.09), hsla(300,85%,55%,0.09), hsla(330,90%,57%,0.09),
            hsla(360,90%,60%,0.09)),
        linear-gradient(to bottom,
            hsla(200,90%,55%,0.06), hsla(240,85%,58%,0.06), hsla(280,85%,55%,0.06),
            hsla(320,90%,56%,0.06), hsla(0,90%,60%,0.06), hsla(40,82%,55%,0.06),
            hsla(80,80%,50%,0.06), hsla(120,75%,48%,0.06), hsla(160,85%,48%,0.06),
            hsla(200,90%,55%,0.06)),
        var(--gradient-hero);
    background-size: auto, auto, 400% 100%, 100% 400%, 100%;
    animation: swatch-flow-5 20s ease-in-out infinite alternate;
}

/* Page Hero bottom spectrum line — mini swatches */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(to right, var(--spectrum));
    animation: swatch-hue 15s linear infinite;
    -webkit-mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
    mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
}

/* --- CTA Section: Animated swatch grid + top spectrum line --- */
.cta-section {
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        repeating-linear-gradient(0deg,
            transparent 0 16px, rgba(0,0,0,0.18) 16px 18px),
        linear-gradient(to right,
            hsla(0,90%,58%,0.09), hsla(30,85%,55%,0.09), hsla(60,78%,55%,0.09),
            hsla(90,80%,50%,0.09), hsla(120,75%,48%,0.09), hsla(150,80%,49%,0.09),
            hsla(180,88%,48%,0.09), hsla(210,90%,55%,0.09), hsla(240,82%,58%,0.09),
            hsla(270,85%,55%,0.09), hsla(300,85%,55%,0.09), hsla(330,90%,57%,0.09),
            hsla(360,90%,60%,0.09)),
        linear-gradient(to bottom,
            hsla(200,90%,55%,0.06), hsla(240,85%,58%,0.06), hsla(280,85%,55%,0.06),
            hsla(320,90%,56%,0.06), hsla(0,90%,60%,0.06), hsla(40,82%,55%,0.06),
            hsla(80,80%,50%,0.06), hsla(120,75%,48%,0.06), hsla(160,85%,48%,0.06),
            hsla(200,90%,55%,0.06)),
        var(--gradient-hero);
    background-size: auto, auto, 400% 100%, 100% 400%, 100%;
    animation: swatch-flow-5 20s ease-in-out infinite alternate;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(to right, var(--spectrum));
    animation: swatch-hue 15s linear infinite;
    -webkit-mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
    mask-image: repeating-linear-gradient(to right, black 0 5px, transparent 5px 7px);
}

/* --- Service detail: side accent strips + swatch grid --- */
.service-detail {
    position: relative;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--spectrum));
    border-radius: 0;
    opacity: 0.5;
    animation: swatch-hue 20s linear infinite;
    -webkit-mask-image: repeating-linear-gradient(to bottom, black 0 5px, transparent 5px 7px);
    mask-image: repeating-linear-gradient(to bottom, black 0 5px, transparent 5px 7px);
}

.service-detail::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--spectrum));
    border-radius: 0;
    opacity: 0.5;
    animation: swatch-hue 20s linear infinite reverse;
    -webkit-mask-image: repeating-linear-gradient(to bottom, black 0 5px, transparent 5px 7px);
    mask-image: repeating-linear-gradient(to bottom, black 0 5px, transparent 5px 7px);
}

/* ========== PREMIUM GLASS CONTAINERS ========== */

/* --- Light / white area containers --- */

/* Section headers — frosted glass card */
.section:not(.section-dark) > .container > .section-header,
.faq-section > .container > .section-header,
.contact-section > .container > .section-header,
.catalogs-grid + .section-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 48px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Service cards — frosted elevated */
.service-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(227, 30, 36, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(227, 30, 36, 0.18);
}

/* Service page text panel */
.service-intro-text {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Service image placeholder — soft glass */
.service-image-placeholder {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* About page text panel */
.about-text {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* About image placeholder */
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* About values — glass mini-cards */
.about-value {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.about-value:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Contact info cards — glass */
.contact-info-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Contact form — enhanced glass */
.contact-form {
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}


/* Gallery items */
.gallery-item {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(227, 30, 36, 0.15);
}

/* FAQ items — glass cards */
.faq-item {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.faq-item:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.07),
        0 0 0 1px rgba(227, 30, 36, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* --- Dark section containers --- */

/* Dark section headers — frosted dark glass */
.section-dark .section-header {
    background: rgba(15, 15, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 48px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Feature cards — enhanced dark glass */
.feature-card {
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card:hover {
    background: rgba(20, 20, 40, 0.7);
    border-color: rgba(227, 30, 36, 0.2);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(227, 30, 36, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* CTA content — dark glass panel */
.cta-content {
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    max-width: 840px;
    margin: 0 auto;
}

/* Stat items — dark glass cards */
.stat-item {
    background: rgba(15, 15, 30, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Footer container — dark glass panel */
.footer-grid {
    background: rgba(10, 10, 20, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    margin-bottom: 32px;
}

/* Footer bottom bar */
.footer-bottom {
    background: rgba(10, 10, 20, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ========== PREMIUM SECTION DIVIDERS ========== */

/* --- Hero: smooth curved bottom edge --- */
.hero {
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    z-index: 2;
}

/* --- Page Hero: asymmetric curved bottom --- */
.page-hero {
    border-radius: 0 0 60% 40% / 0 0 70px 45px;
    z-index: 2;
}

/* Move page-hero swatch line inside curve area */
.page-hero::after {
    bottom: 20px;
    left: 5%;
    right: 5%;
    height: 5px;
    border-radius: 0;
}

/* --- Dark section: curved top overlaps white section --- */
.section-dark {
    position: relative;
    z-index: 3;
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
    margin-top: -30px;
    padding-top: 130px;
}

/* --- CTA section: asymmetric curve top --- */
.cta-section {
    border-radius: 40% 60% 0 0 / 50px 65px 0 0;
    z-index: 4;
    margin-top: -25px;
}

/* CTA swatch line — follows inner curve */
.cta-section::after {
    top: 15px;
    left: 5%;
    right: 5%;
    height: 5px;
    border-radius: 0;
}

/* --- Footer: curved top --- */
.footer {
    border-radius: 60% 40% 0 0 / 40px 55px 0 0;
    z-index: 5;
    margin-top: -20px;
}

/* Footer swatch line — follows inner curve */
.footer::after {
    top: 12px;
    left: 4%;
    right: 4%;
    height: 5px;
    border-radius: 0;
}

/* --- Gallery/Gray section: subtle curve top --- */
.gallery-section {
    border-radius: 50% 50% 0 0 / 45px 45px 0 0;
    margin-top: -20px;
    padding-top: 80px;
    z-index: 3;
}

/* --- Service detail: curved bottom flowing into gallery --- */
.service-detail {
    border-radius: 0 0 45% 55% / 0 0 50px 40px;
    padding-bottom: 110px;
    z-index: 2;
}

/* Service detail spectrum strips — adjust for curves */
.service-detail::before {
    top: 40px;
    bottom: 60px;
}

.service-detail::after {
    top: 40px;
    bottom: 60px;
}

/* --- Contact section: curved bottom --- */
.contact-section {
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
    padding-bottom: 60px;
}

/* --- FAQ section: curved bottom --- */
.faq-section {
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
    padding-bottom: 60px;
}

/* --- About section: curved bottom --- */
.about-content {
    border-radius: 0 0 55% 45% / 0 0 40px 35px;
    padding-bottom: 90px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .service-intro { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        padding: 0 32px;
    }

    .nav-list > li > a {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.03);
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding: 4px 0 4px 16px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero p { font-size: 0.95rem; max-width: 100%; }
    .hero-content--centered { text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 2rem; }

    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }

    .about-values { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    /* Section dividers — smaller curves on mobile */
    .hero { border-radius: 0 0 50% 50% / 0 0 50px 50px; }
    .page-hero { border-radius: 0 0 50% 50% / 0 0 40px 30px; }
    .section-dark { border-radius: 50% 50% 0 0 / 35px 35px 0 0; margin-top: -18px; padding-top: 90px; }
    .cta-section { border-radius: 50% 50% 0 0 / 30px 30px 0 0; margin-top: -15px; }
    .footer { border-radius: 50% 50% 0 0 / 25px 25px 0 0; margin-top: -12px; }
    .gallery-section { border-radius: 50% 50% 0 0 / 25px 25px 0 0; margin-top: -12px; padding-top: 60px; }
    .service-detail { border-radius: 0 0 50% 50% / 0 0 30px 30px; padding-bottom: 90px; }

    /* Glass containers — responsive padding */
    .section:not(.section-dark) > .container > .section-header,
    .faq-section > .container > .section-header,
    .contact-section > .container > .section-header {
        padding: 28px 24px;
    }

    .section-dark .section-header {
        padding: 28px 24px;
    }

    .service-intro-text {
        padding: 28px 20px;
    }

    .about-text {
        padding: 28px 20px;
    }

    .cta-content {
        padding: 36px 24px;
    }

    .footer-grid {
        padding: 28px 20px;
    }

    .footer-bottom {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 12px 16px; }
    .logo img { height: 48px; }
    .logo-text { font-size: 1.1rem; }
    .container { padding: 0 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .catalog-banners-grid { grid-template-columns: 1fr; }
    .catalog-banner-main { aspect-ratio: 1170 / 170; }
    .catalog-banner-small { aspect-ratio: 498 / 598; }

    /* Glass containers — compact padding */
    .section:not(.section-dark) > .container > .section-header,
    .faq-section > .container > .section-header,
    .contact-section > .container > .section-header {
        padding: 24px 16px;
    }

    .section-dark .section-header {
        padding: 24px 16px;
    }

    .service-intro-text {
        padding: 24px 16px;
    }

    .about-text {
        padding: 24px 16px;
    }

    .cta-content {
        padding: 32px 16px;
    }

    .footer-grid {
        padding: 24px 16px;
    }

    .footer-bottom {
        padding: 14px 16px;
    }
}

/* ========== ACCESSIBILITY ========== */

/* Skip to content link */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus-visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(227, 30, 36, 0.4);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-canvas { display: none; }
    .swatch-glow { display: none; }
}
