/* ═══════════════════════════════════════════════════════════════
   우성자동문Class - Premium Automatic Door Website
   Design: Refined Luxury Industrial | Target: 97+ Score
   ═══════════════════════════════════════════════════════════════ */

/* CSS Variables - Enhanced Color System */
:root {
    /* Gold Palette - Richer variations */
    --gold-primary: #D4AF37;
    --gold-light: #F4D03F;
    --gold-lighter: #FFEAA7;
    --gold-dark: #B8960C;
    --gold-deep: #8B7355;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4D03F 40%, #E8C547 60%, #C5A028 100%);
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.2);
    --gold-text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);

    /* Dark Palette - More depth */
    --charcoal: #1a1a1a;
    --charcoal-deep: #0a0a0a;
    --charcoal-light: #252525;
    --charcoal-lighter: #333333;

    /* Neutrals */
    --white: #ffffff;
    --white-soft: #f0f0f0;
    --white-muted: #e0e0e0;
    --gray-light: #999999;
    --gray-medium: #666666;

    /* Glass Effects - Enhanced */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(212, 175, 55, 0.25);
    --glass-blur: 20px;

    /* Typography */
    --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-snap: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--charcoal-deep);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise Texture Overlay - Global */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

body.door-opening {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   DOOR OPENING OVERLAY ANIMATION
   ═══════════════════════════════════════════════════════════════ */

.door-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.door-overlay.opened {
    pointer-events: none;
}

.door-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(180deg,
        var(--charcoal) 0%,
        var(--charcoal-light) 50%,
        var(--charcoal) 100%
    );
    transition: transform 1.2s var(--transition-smooth);
    will-change: transform;
}

.door-left {
    left: 0;
    border-right: 2px solid var(--gold-dark);
}

.door-right {
    right: 0;
    border-left: 2px solid var(--gold-dark);
}

.door-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 48%,
            rgba(212, 175, 55, 0.05) 48%,
            rgba(212, 175, 55, 0.05) 52%,
            transparent 52%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 30%,
            transparent 70%,
            rgba(0, 0, 0, 0.15) 100%
        );
}

.door-handle {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 5px;
    transform: translateY(-50%);
    box-shadow: var(--gold-glow);
}

.door-left .door-handle {
    right: 40px;
}

.door-right .door-handle {
    left: 40px;
}

.door-frame-top,
.door-frame-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gold-gradient);
    z-index: 10;
    box-shadow: var(--gold-glow);
}

.door-frame-top {
    top: 0;
}

.door-frame-bottom {
    bottom: 0;
}

.sensor-light {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--gold-primary), 0 0 60px var(--gold-primary), 0 0 90px var(--gold-light);
    animation: sensorPulse 1s ease-in-out infinite;
    z-index: 11;
}

@keyframes sensorPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.door-overlay.opened .door-left {
    transform: translateX(-100%);
}

.door-overlay.opened .door-right {
    transform: translateX(100%);
}

.door-overlay.opened .sensor-light {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.door-overlay.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING CALL BUTTON - Enhanced
   ═══════════════════════════════════════════════════════════════ */

.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 60px;
    padding: 16px;
    text-decoration: none;
    color: var(--gold-primary);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
}

.floating-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
}

.floating-call.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-call:hover {
    padding-right: 24px;
    gap: 14px;
    border-color: var(--gold-light);
    box-shadow: var(--gold-glow), 0 8px 40px rgba(0, 0, 0, 0.5);
}

.floating-call:hover::before {
    opacity: 1;
}

.floating-call:hover .call-icon,
.floating-call:hover .call-number {
    color: var(--charcoal-deep);
}

.call-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: color 0.5s var(--transition-smooth);
}

.call-icon svg {
    width: 100%;
    height: 100%;
}

.call-number {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: max-width 0.5s var(--transition-smooth), color 0.5s var(--transition-smooth);
}

.floating-call:hover .call-number {
    max-width: 160px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION - Enhanced Impact
   ═══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    filter: grayscale(10%) contrast(1.15) brightness(1.1);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center 30%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 10, 0.4) 100%),
        linear-gradient(180deg,
            rgba(10, 10, 10, 0.5) 0%,
            rgba(10, 10, 10, 0.3) 40%,
            rgba(10, 10, 10, 0.5) 70%,
            rgba(10, 10, 10, 0.95) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.2s var(--transition-smooth) 1.5s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 30px;
}

.logo-text {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--white);
    display: block;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.logo-accent {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 28px;
    text-transform: uppercase;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 10px;
    padding-left: 28px; /* Exact letter-spacing compensation for perfect centering */
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); }
    100% { filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.7)); }
}

.hero-slogan {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 6px;
    padding-left: 6px; /* letter-spacing compensation */
    margin-bottom: 35px;
    text-shadow: var(--gold-text-shadow);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0 auto 35px;
    box-shadow: var(--gold-glow);
    border-radius: 2px;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: var(--white-muted);
    line-height: 2;
    margin-bottom: 50px;
    letter-spacing: 1px;
    padding-left: 1px; /* letter-spacing compensation */
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 50px 22px 53px; /* +3px left for letter-spacing compensation */
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 3px;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transition: left 0.5s var(--transition-smooth);
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    color: var(--charcoal-deep);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
    transform: translateY(-3px);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

.cta-arrow {
    transition: transform 0.4s var(--transition-smooth);
    font-size: 1.3rem;
}

.cta-button:hover .cta-arrow {
    transform: translateX(8px);
}

/* Desktop CTA - Phone Number Display */
.cta-number {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-light);
    transition: all 0.4s var(--transition-smooth);
}

div.cta-button {
    cursor: default;
    flex-direction: column;
    gap: 8px;
}

div.cta-button .cta-text {
    font-size: 0.85rem;
    letter-spacing: 4px;
    opacity: 0.8;
}

div.cta-button:hover {
    border-color: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

div.cta-button:hover .cta-number {
    text-shadow: var(--gold-text-shadow);
}

/* Hero Instagram Button */
.hero-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-instagram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.15);
    transition: left 0.4s var(--transition-smooth);
    z-index: -1;
}

.hero-instagram-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s var(--transition-smooth);
}

.hero-instagram-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    text-shadow: var(--gold-text-shadow);
}

.hero-instagram-btn:hover::before {
    left: 0;
}

.hero-instagram-btn:hover i {
    transform: scale(1.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    font-size: 11px;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    border-radius: 1px;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 50px; }
    50% { opacity: 1; height: 70px; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TITLES - Enhanced Typography
   ═══════════════════════════════════════════════════════════════ */

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.title-ko {
    display: block;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.title-en {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 8px;
    color: var(--gold-primary);
    text-transform: uppercase;
    text-shadow: var(--gold-text-shadow);
}

/* ═══════════════════════════════════════════════════════════════
   SENSOR REVEAL ANIMATION - Smoother
   ═══════════════════════════════════════════════════════════════ */

.sensor-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--transition-smooth);
}

.sensor-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION - Enhanced Glassmorphism
   ═══════════════════════════════════════════════════════════════ */

.about {
    padding: 140px 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        var(--charcoal-deep);
    position: relative;
}

.frame-container {
    position: relative;
    padding: 70px 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--gold-primary);
    border-style: solid;
    transition: all 0.4s var(--transition-smooth);
}

.frame-container:hover .frame-corner {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    border-color: var(--gold-light);
}

.frame-tl {
    top: -1px;
    left: -1px;
    border-width: 3px 0 0 3px;
}

.frame-tr {
    top: -1px;
    right: -1px;
    border-width: 3px 3px 0 0;
}

.frame-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 3px 3px;
}

.frame-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 3px 3px 0;
}

.about-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 2.2;
    color: var(--white-soft);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.about-text strong {
    color: var(--gold-primary);
    font-weight: 700;
    text-shadow: var(--gold-text-shadow);
}

.about-badge {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 40px;
    border: 1px solid var(--gold-primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.about-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.about-badge:hover::before {
    left: 100%;
}

.about-badge:hover {
    box-shadow: var(--gold-glow);
}

.badge-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-primary);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION - Fixed Icons & Enhanced Cards
   ═══════════════════════════════════════════════════════════════ */

.services {
    padding: 140px 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, var(--charcoal-deep) 0%, var(--charcoal) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1050px;
    margin: 0 auto;
}

.service-card {
    perspective: 1000px;
}

.door-frame-card {
    position: relative;
    padding: 60px 35px;
    background: linear-gradient(145deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 2px solid var(--gold-dark);
    overflow: hidden;
    transition: all 0.6s var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.door-frame-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    pointer-events: none;
    transition: border-color 0.4s var(--transition-smooth);
}

.door-frame-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s var(--transition-smooth);
    pointer-events: none;
}

.card-glass-left,
.card-glass-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    transition: transform 0.7s var(--transition-smooth);
    pointer-events: none;
}

.card-glass-left {
    left: 0;
    border-right: 1px solid rgba(212, 175, 55, 0.15);
}

.card-glass-right {
    right: 0;
    border-left: 1px solid rgba(212, 175, 55, 0.15);
}

.door-frame-card:hover .card-glass-left {
    transform: translateX(-100%);
}

.door-frame-card:hover .card-glass-right {
    transform: translateX(100%);
}

.door-frame-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px) scale(1.02);
}

.door-frame-card:hover::before {
    border-color: rgba(212, 175, 55, 0.4);
}

.door-frame-card:hover::after {
    opacity: 1;
}

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

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.06) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), transparent, var(--gold-light));
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
    z-index: -1;
}

.door-frame-card:hover .service-icon::before {
    opacity: 0.5;
    animation: iconRingPulse 1.5s ease-in-out infinite;
}

@keyframes iconRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.08); opacity: 0.6; }
}

.service-icon i {
    font-size: 2.8rem;
    color: var(--gold-primary);
    transition: all 0.5s var(--transition-smooth);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}

.door-frame-card:hover .service-icon {
    background: var(--gold-gradient);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
    transform: scale(1.1);
}

.door-frame-card:hover .service-icon i {
    color: var(--charcoal-deep);
    filter: none;
    transform: scale(1.1);
}

/* Swing door special rotation effect */
.service-card:nth-child(2) .door-frame-card:hover .service-icon i {
    animation: swingDoor 0.8s ease-in-out;
    transform-origin: left center;
}

@keyframes swingDoor {
    0% { transform: scale(1.1) rotateY(0deg); }
    50% { transform: scale(1.1) rotateY(-45deg); }
    100% { transform: scale(1.1) rotateY(0deg); }
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 1px;
    transition: all 0.4s var(--transition-smooth);
}

.door-frame-card:hover .card-content h3 {
    color: var(--gold-primary);
    text-shadow: var(--gold-text-shadow);
}

.card-content p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT GRID - Image-based Service Cards
   ═══════════════════════════════════════════════════════════════ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 2px solid var(--gold-dark);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(212, 175, 55, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.4);
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--charcoal) 0%, transparent 100%);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition-smooth), filter 0.5s var(--transition-smooth);
    filter: grayscale(20%) contrast(1.05);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.1) brightness(1.05);
}

.product-info {
    padding: 28px 22px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.5) 0%, var(--charcoal-light) 30%);
    margin-top: -30px;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
    transition: all 0.4s var(--transition-smooth);
}

.product-card:hover .product-info h3 {
    color: var(--gold-primary);
    text-shadow: var(--gold-text-shadow);
}

.product-info p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.8;
}

/* Product Grid Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .product-info {
        padding: 22px 18px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   WHY US SECTION - Enhanced Grid
   ═══════════════════════════════════════════════════════════════ */

.why-us {
    padding: 140px 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        var(--charcoal);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.strength-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 35px 25px;
    background: var(--glass-bg-strong);
    border-left: 3px solid var(--gold-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
}

.strength-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-left-color: var(--gold-primary);
    transform: translateX(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.strength-item:hover::before {
    opacity: 1;
}

.strength-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    position: relative;
    transition: all 0.4s var(--transition-smooth);
}

.strength-item:hover .strength-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
}

.strength-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.strength-content p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS SECTION - Enhanced Timeline
   ═══════════════════════════════════════════════════════════════ */

.process {
    padding: 140px 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
}

.process-timeline {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--charcoal-lighter);
    border-radius: 2px;
    overflow: visible;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: width 1.8s var(--transition-smooth);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.3);
}

.timeline-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold-primary), 0 0 40px var(--gold-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-marker {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(145deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 3px solid var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.step-marker span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    transition: color 0.5s var(--transition-smooth);
}

.process-step.active .step-marker {
    background: var(--gold-gradient);
    border-color: var(--gold-light);
    box-shadow: var(--gold-glow), 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.2), 0 8px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 80px rgba(212, 175, 55, 0.3), 0 8px 30px rgba(0, 0, 0, 0.3);
    }
}

.process-step.active .step-marker span {
    color: var(--charcoal-deep);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.step-content p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-light);
}

/* Mobile Process Layout */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .timeline-line {
        left: 40px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 30px;
        text-align: left;
    }

    .step-marker {
        margin: 0;
        flex-shrink: 0;
    }

    .step-content {
        padding-top: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION - Enhanced with Decorative Elements
   ═══════════════════════════════════════════════════════════════ */

.contact {
    padding: 140px 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        var(--charcoal-deep);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold-primary));
}

.contact-frame {
    max-width: 650px;
    margin: 0 auto;
    padding: 70px 50px;
    background: linear-gradient(145deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    border: 2px solid var(--gold-dark);
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transition: all 0.5s var(--transition-smooth);
}

.contact-frame:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), 0 20px 80px rgba(0, 0, 0, 0.5);
}

.contact-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gold-gradient);
    box-shadow: var(--gold-glow);
}

.contact-frame::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
}

/* Decorative corner accents */
.contact-frame .contact-inner::before,
.contact-frame .contact-inner::after {
    content: '◆';
    position: absolute;
    color: var(--gold-primary);
    font-size: 10px;
    opacity: 0.6;
}

.contact-frame .contact-inner::before {
    top: 20px;
    left: 20px;
}

.contact-frame .contact-inner::after {
    bottom: 20px;
    right: 20px;
}

.contact-inner {
    text-align: center;
    position: relative;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gray-light);
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.contact-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold-dark), transparent);
}

.phone-link {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.phone-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.4s var(--transition-smooth);
}

.phone-link:hover {
    text-shadow: var(--gold-glow);
}

.phone-link:hover::after {
    width: 100%;
}

/* Desktop Phone Text */
.phone-text {
    color: var(--gold-primary);
    text-shadow: var(--gold-text-shadow);
}

/* Desktop Contact CTA - Large Phone Number Display */
.contact-cta-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 60px;
    background: linear-gradient(145deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
    border: 2px solid var(--gold-primary);
    position: relative;
    transition: all 0.5s var(--transition-smooth);
}

.contact-cta-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--transition-smooth);
}

.contact-cta-desktop:hover {
    border-color: var(--gold-light);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.contact-cta-desktop:hover::before {
    opacity: 1;
}

.contact-cta-desktop .cta-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gray-light);
    text-transform: uppercase;
}

.contact-cta-desktop .cta-phone-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    transition: all 0.4s var(--transition-smooth);
}

.contact-cta-desktop:hover .cta-phone-number {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    transform: scale(1.05);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 24px 60px;
    background: var(--gold-gradient);
    color: var(--charcoal-deep);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 3px;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.contact-cta:hover::before {
    left: 100%;
}

.contact-cta svg {
    width: 26px;
    height: 26px;
    transition: transform 0.4s var(--transition-smooth);
}

.contact-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.3), 0 15px 50px rgba(212, 175, 55, 0.3);
}

.contact-cta:hover svg {
    transform: rotate(15deg) scale(1.15);
    animation: phonePulse 0.8s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: rotate(15deg) scale(1.15); }
    25% { transform: rotate(25deg) scale(1.2); }
    75% { transform: rotate(5deg) scale(1.15); }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER - Refined
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 50px 0;
    background: var(--charcoal-deep);
    border-top: 1px solid var(--charcoal-light);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gold-gradient);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 1.6rem;
}

.footer-logo .logo-accent {
    font-size: 1.1rem;
    margin-top: 0;
    letter-spacing: 10px;
}

.footer-copy {
    font-size: 13px;
    font-weight: 300;
    color: var(--gray-medium);
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE VISIBILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

/* Mobile: 768px and below */
.mobile-only {
    display: none !important;
}

/* Desktop: above 768px */
.desktop-only {
    display: block;
}

/* Inline elements need inline display */
span.desktop-only,
a.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    /* Inline elements */
    a.mobile-only,
    span.mobile-only {
        display: inline !important;
    }

    /* Flex elements */
    .floating-call.mobile-only,
    .cta-button.mobile-only,
    .contact-cta.mobile-only {
        display: inline-flex !important;
    }

    /* Contact section mobile elements */
    .contact-item.mobile-only {
        display: flex !important;
    }

    .contact-divider.mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .frame-container {
        padding: 50px 30px;
    }

    .about-text {
        font-size: 1.05rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 25px;
    }

    .contact-divider {
        width: 50px;
        height: 2px;
    }

    .floating-call {
        bottom: 20px;
        right: 20px;
    }

    .contact-frame {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 30px 16px;
    }

    .logo-accent {
        letter-spacing: 12px;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .about, .services, .why-us, .process, .contact {
        padding: 100px 0;
    }

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

    .contact-cta {
        padding: 20px 40px;
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */

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

    .door-overlay {
        display: none;
    }
}

/* Focus States - Enhanced */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 4px;
    box-shadow: var(--gold-glow);
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}
