/* =============================================
   ROYAL SQUARE - Premium Building Materials
   Design System & Styles
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --gold-50: #fdf8e8;
    --gold-100: #f9edcc;
    --gold-200: #f3db99;
    --gold-300: #ecc866;
    --gold-400: #e5b533;
    --gold-500: #c9992d;
    --gold-600: #a07723;
    --gold-700: #78571d;
    --gold-800: #644a1f;
    --gold-900: #553e21;

    --dark-50: #f6f6f7;
    --dark-100: #e2e3e5;
    --dark-200: #c4c5ca;
    --dark-300: #9fa1a9;
    --dark-400: #7b7d87;
    --dark-500: #60636d;
    --dark-600: #4c4e56;
    --dark-700: #3e4047;
    --dark-800: #2a2c31;
    --dark-900: #1a1b1f;
    --dark-950: #0e0f11;

    --white: #ffffff;
    --off-white: #f8f7f4;
    --cream: #f5f0e8;

    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #e5b533, #c9992d, #a07723);
    --gradient-dark: linear-gradient(180deg, #1a1b1f 0%, #0e0f11 100%);
    --gradient-hero: linear-gradient(135deg, rgba(14,15,17,0.92) 0%, rgba(26,27,31,0.78) 50%, rgba(14,15,17,0.65) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));

    /* Typography */
    --font-display: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.3s var(--ease-out-quart);
    --transition-slow: 0.6s var(--ease-out-expo);

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-gold: 0 8px 30px rgba(229,181,51,0.25);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark-800);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-950);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    max-width: 320px;
    width: 85%;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    animation: pulse 2s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    animation: preloaderFill 1.8s var(--ease-out-expo) forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

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

/* --- Text Gradient --- */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-500);
    padding: 8px 20px;
    background: rgba(229,181,51,0.1);
    border: 1px solid rgba(229,181,51,0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--dark-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-950);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(229,181,51,0.35);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold-400);
    color: var(--gold-400);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    font-size: 17px;
    padding: 18px 40px;
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37,211,102,0.4);
}

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

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(14,15,17,0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    text-decoration: none;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 2px 8px rgba(229,181,51,0.25));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: var(--dark-950);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(229,181,51,0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}


.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}


.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--off-white);
}

.about-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.exp-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-950);
    line-height: 1;
}

.exp-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-800);
    text-align: center;
    line-height: 1.3;
}

.about-text {
    font-size: 16px;
    color: var(--dark-500);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.about-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(229,181,51,0.1);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--dark-400);
}

/* --- Products Section --- */
.products {
    background: var(--dark-950);
    position: relative;
}

.products .section-tag {
    background: rgba(229,181,51,0.08);
}

.products .section-title {
    color: var(--white);
}

.products .section-desc {
    color: rgba(255,255,255,0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    animation-delay: var(--delay);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229,181,51,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-img {
    position: relative;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,15,17,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-enquiry {
    padding: 10px 22px;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transform: translateY(20px);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-card:hover .product-enquiry {
    transform: translateY(0);
}

.product-enquiry:hover {
    background: var(--whatsapp-dark);
}

.product-info {
    padding: 20px 18px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.product-spec {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(229,181,51,0.1);
    border: 1px solid rgba(229,181,51,0.22);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.product-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* --- Why Us Section --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.advantage-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.advantage-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(229,181,51,0.12);
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(229,181,51,0.1);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.advantage-card:hover .advantage-icon {
    background: var(--gradient-gold);
    color: var(--dark-950);
}

.advantage-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-900);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--dark-500);
    line-height: 1.7;
}



/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-gold);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: url('images/emblem.png') no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--dark-950);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(14,15,17,0.7);
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn-whatsapp {
    background: var(--dark-950);
    box-shadow: 0 8px 30px rgba(14,15,17,0.3);
}

.cta-actions .btn-whatsapp:hover {
    background: var(--dark-800);
}

.cta-actions .btn-outline-light {
    border-color: rgba(14,15,17,0.3);
    color: var(--dark-950);
}

.cta-actions .btn-outline-light:hover {
    background: rgba(14,15,17,0.1);
    border-color: var(--dark-950);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-desc {
    font-size: 16px;
    color: var(--dark-500);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(229,181,51,0.1);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon.whatsapp-green {
    background: rgba(37,211,102,0.1);
    color: var(--whatsapp);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--dark-400);
    line-height: 1.5;
}

.contact-card p strong {
    color: var(--dark-900);
    font-size: 13.5px;
    display: inline-block;
    margin-bottom: 2px;
}

.contact-card p a {
    color: var(--gold-600);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-card p a:hover {
    color: var(--gold-500);
    text-decoration: underline;
}

.contact-card p a.whatsapp-link {
    color: var(--whatsapp);
}

.business-hours {
    padding: 20px 24px;
    background: rgba(229,181,51,0.08);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-400);
}

.business-hours h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 8px;
}

.business-hours p {
    font-size: 14px;
    color: var(--dark-500);
    line-height: 1.6;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-900);
    margin-bottom: 28px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark-800);
    background: var(--off-white);
    transition: var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(229,181,51,0.15);
    background: var(--white);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10L6 8z' fill='%239fa1a9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

/* --- Footer --- */
.footer {
    background: var(--dark-950);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 20px 0 24px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    max-width: 270px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-base);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.03);
}


.footer-links-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links-group ul li a,
.footer-contact li {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition-base);
}

.footer-links-group ul li a:hover {
    color: var(--gold-400);
    padding-left: 6px;
}

.footer-contact li {
    font-size: 13px;
    line-height: 1.8;
}

.footer-contact li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-contact li a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    animation: whatsappPulse 2s ease-in-out infinite;
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark-950);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-base);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark-950);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0.15); }
    100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
}

/* --- Animation on Scroll --- */
.animate-on-scroll.reveal-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Particles (Floating golden specs in hero) --- */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-400);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 48px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(14,15,17,0.98);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 20px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo-img {
        height: 38px;
        max-width: 190px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 50px);
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-secondary {
        right: 20px;
        bottom: -20px;
        width: 160px;
    }

    .about-experience-badge {
        width: 90px;
        height: 90px;
        left: -10px;
        top: -10px;
    }

    .exp-number {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 32px;
        max-width: 155px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Accessible navigation and resilient content. */
section[id], main[id] { scroll-margin-top: 100px; }
:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 5px; }
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 10001;
    padding: 12px 20px; background: var(--dark-950); color: white;
    border-radius: 8px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.form-note { margin-bottom: 20px; font-size: 14px; }
.contact-card, .footer-col { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .nav-links { visibility: hidden; }
    .nav-links.active { visibility: visible; }
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .animate-on-scroll.reveal-ready { opacity: 1; transform: none; }
}
/* Refined catalog and enquiry experience. */
:root { --radius-lg: 16px; --section-padding: 96px; }
.hero { min-height: 86svh; padding-bottom: 70px; }
.hero-content { max-width: 1000px; }
.hero-eyebrow { color: var(--gold-300); font-size: 12px; letter-spacing: .24em; font-weight: 600; margin-bottom: 28px; }
.hero-title { font-size: clamp(42px, 6.5vw, 80px); letter-spacing: -.055em; font-weight: 700; }
.hero-subtitle { max-width: 620px; line-height: 1.7; margin-top: 28px; }
.hero-img { animation: none; }
.section-title { letter-spacing: -.035em; }
.btn { border-radius: 8px; }
.catalog-toolbar { display: flex; align-items: center; gap: 18px; padding: 20px 0 28px; border-top: 1px solid #ffffff24; margin-bottom: 12px; color: #e2e3e5; }
.catalog-toolbar label { font-size: 14px; font-weight: 600; }
.catalog-toolbar input { flex: 1; min-width: 0; background: #ffffff0d; border: 1px solid #ffffff30; border-radius: 8px; padding: 14px 16px; color: white; font: inherit; font-size: 16px; }
.catalog-toolbar input::placeholder { color: #aeb0b7; }
#product-count { min-width: 145px; font-size: 13px; color: #bfc1c8; }
.product-card { border-color: #ffffff20; border-radius: 12px; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #0003; }
.product-card:hover .product-img img { transform: scale(1.025); }
.product-info { align-items: flex-start; text-align: left; padding: 24px; }
.product-info h3 { font-size: 19px; line-height: 1.4; }
.product-info p { margin-bottom: 24px; }
.product-spec { background: none; border: none; padding: 0; border-radius: 0; font-size: 10px; letter-spacing: .08em; }
.product-enquiry { margin-top: auto; transform: none; box-shadow: none; background: transparent; color: var(--gold-300); padding: 12px 0 0; border-top: 1px solid #ffffff24; border-radius: 0; width: 100%; justify-content: space-between; font-size: 14px; }
.product-enquiry:hover { background: transparent; color: white; }
.order-guide { background: #f2f0eb; }
.order-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.order-steps article { border-top: 1px solid #d2cfc6; padding-top: 25px; }
.step-number { color: #94701e; font-size: 13px; letter-spacing: .1em; }
.order-steps h3 { font-family: var(--font-display); font-size: 22px; margin: 14px 0 12px; letter-spacing: -.025em; }
.order-steps p { color: #60636d; }
.faq { background: white; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-contact { display: inline-block; margin-top: 22px; color: #78571d; font-weight: 600; }
.faq-list details { border-bottom: 1px solid #e2e3e5; padding: 22px 0; }
.faq-list details:first-child { border-top: 1px solid #e2e3e5; }
.faq-list summary { cursor: pointer; font-weight: 600; padding-right: 20px; }
.faq-list p { padding-top: 16px; color: #60636d; max-width: 65ch; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    :root { --section-padding: 64px; }
    .hero { min-height: 780px; min-height: 90svh; padding-top: 130px; }
    .hero-eyebrow { font-size: 10px; }
    .catalog-toolbar { flex-wrap: wrap; gap: 12px; }
    .catalog-toolbar label { width: 100%; }
    .catalog-toolbar input { flex-basis: 100%; }
    .order-steps, .faq-layout { grid-template-columns: 1fr; gap: 30px; }
    .products-grid { grid-template-columns: 1fr; }
}