/* 
   TRINOVA - Silent Luxury Dark (Refined)
   Editorial Dark Aesthetic
*/

:root {
    /* Palette */
    --bg-body: #0f172a;
    /* Deep Navy */
    --bg-surface: #1e293b;
    /* Lighter Navy */

    --text-primary: #f8fafc;
    /* White */
    --text-secondary: #94a3b8;
    /* Muted Blue-Grey */

    --accent-primary: #3b82f6;
    /* Electric Blue */
    --accent-glow: rgba(59, 130, 246, 0.25);
    --accent-gold: #fbbf24;

    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography */
    /* EDITORIAL CHANGE: Serif for headings */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 90px;
    --radius-md: 4px;
    /* Sharper corners for luxury feel */
    --radius-lg: 8px;
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    /* Increased for elegance */
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* NOISE TEXTURE OVERLAY */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

/* NAVBAR NEW STYLES */
.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    margin-right: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover {
    color: #ffffff;
}

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

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-body);
}

/* High Contrast Black/White */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
}

/* CONTACT BUTONU - GHOST STİL & ANTIGRAVITY */
.btn-contact {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 28px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-contact:hover {
    background: #ffffff;
    color: #0b0f19;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.section {
    padding: 120px 0;
    /* Luxury Breathing Room */
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 80px;
    /* Distinct Separation */
    text-align: center;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    /* Slightly reduced for better mobile/tablet fit */
    align-items: center;
    /* Critical for vertical centering */
}

.nav-links a.nav-link {
    /* Removing margin-right as gap handles it */
    margin-right: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
    /* Reset opacity control to nav-link specific rules */
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 30%, rgba(30, 41, 59, 0.7) 0%, var(--bg-body) 90%), url('../assets/images/agence-web-creation-site-internet-savoie-haute-savoie-luxe.jpg');
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    /* Luxury Gap */
    align-items: center;
}

.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

/* GLOW EFFECT for Business Card */
.price-card.featured {
    border-color: var(--accent-gold);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.25);
    /* Gold Glow */
    transform: scale(1.05);
    z-index: 2;
}

.badge-featured {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.price-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* Playfair Numbers */
.price span {
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent-gold);
}

/* TESTIMONIALS (Silent Luxury) */
.testimonials-section {
    margin-top: 150px;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 5;
}

.testimonials-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    /* Luxury Gap */
    text-align: left;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    /* Dark Glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.testimonial-quote {
    font-family: var(--font-heading);
    /* Playfair Display */
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: 600;
}




/* Navbar Instagram Fix */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* SECTOR GRID */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    /* Luxury Gap */
}

/* BLOG SECTION SPACING FIX */
#blog {
    margin-bottom: 100px;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
    overflow: hidden;
    /* For Image Zoom */
}

/* CLICKABLE CARD UX */
.full-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.blog-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.5s ease;
    /* Enhanced Transition */
}

.blog-card:hover .blog-img {
    opacity: 1;
    transform: scale(1.05);
    /* User Requested Zoom */
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CONTACT */
.contact-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
}

/* ARTICLE PAGE STYLES */
.article-header {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 1) 100%), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding-top: var(--header-height);
    margin-bottom: 80px;
}

.article-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 1px;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

.article-container {
    max-width: 800px;
    /* Medium.com style readability */
    margin: 0 auto;
    padding: 0 2rem;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    /* Breathable text */
    color: #e2e8f0;
    /* Soft white */
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.article-content p {
    margin-bottom: 2rem;
}

.quote-block {
    border-left: 4px solid var(--accent-primary);
    padding-left: 2rem;
    margin: 4rem 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-cta {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-top: 5rem;
}

.btn-back {
    position: fixed;
    top: 110px;
    left: 40px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    transition: color 0.3s;
}

.btn-back:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .article-header {
        height: 50vh;
    }

    .btn-back {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 2rem;
        padding-left: 2rem;
    }
}

/* FOOTER */
footer {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.5;
    margin-top: 150px;
    /* Luxury Separation */
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .price-card.featured {
        transform: scale(1);
        box-shadow: none;
        border-color: var(--accent-primary);
        order: -1;
    }
}

/* MAINTENANCE BANNER */
.maintenance-banner {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold border */
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .maintenance-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

.maintenance-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-secondary);
}

.mb-content {
    flex: 1;
    min-width: 300px;
}

.mb-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.mb-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.mb-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mb-assurance {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
}

.mb-action {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mb-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
}

.mb-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

/* FAQ SECTION */
#faq {
    margin-top: 4rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent-primary);
    padding-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

@media (max-width: 768px) {
    .maintenance-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .mb-action {
        flex-direction: column;
        gap: 1rem;
    }

    .maintenance-banner::before {
        width: 100%;
        height: 4px;
    }
}

/* =========================================
   NEW CONTACT / CTA SECTION (Glassmorphism)
   ========================================= */
.contact-section-redesign {
    padding: 6rem 0;
    position: relative;
    /* Optional: background image or gradient if needed, 
       otherwise it inherits body bg or section styling */
}

/* Glassmorphism CardContainer */
.glass-cta-card {
    background: rgba(30, 41, 59, 0.7);
    /* See-through dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle Gold Border */
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Typography */
.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtext {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons Container */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Gold Button */
.btn-gold {
    background-color: var(--accent-gold);
    color: #0f172a;
    /* Dark text for contrast */
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    background-color: #e5ac20;
    /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* Light Outline Button */
.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* =========================================
   NEW 4-COLUMN FOOTER
   ========================================= */
.main-footer {
    background-color: #0b1120;
    /* Darker than body */
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    /* Attach to bottom */
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Column Styles */
.footer-col h4 {
    font-family: var(--font-body);
    /* Clean sans-serif for headers */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Gold Hover Effect */
.footer-links a:hover {
    color: #D4AF37;
    /* Gold */
    padding-left: 5px;
    /* Subtle movement */
}

/* Social Icons */
.social-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.social-icons a:hover {
    color: #D4AF37;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
        /* No movement on mobile to keep it simple */
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* 404 PAGE STYLES */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle Mountain Topography Background */
.error-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="none" stroke="rgba(255, 255, 255, 0.03)" stroke-width="0.5" d="M0,100 C50,150 150,50 200,100 M0,120 C50,170 150,70 200,120 M0,80 C50,130 150,30 200,80" /%3E%3C/svg%3E');
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.error-content {
    z-index: 2;
    max-width: 600px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    margin-bottom: -20px;
    font-weight: 700;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.error-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e5c15e 0%, #d4af37 100%);
    color: #000;
    /* Ensure text remains readable */
}

/* ABOUT SECTION (Hybrid SEO) */
.about-section {
    background: linear-gradient(to bottom, var(--bg-body), var(--bg-surface));
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: left;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}


/* Fix Blog Card Clickability */
.blog-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    /* Ensure rounded corners */
}

/* Make the link cover the entire card */
.full-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
    z-index: 10;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gold) !important;
}

.blog-img {
    transition: transform 0.6s ease;
}

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



@media (max-width: 768px) {
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===========================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   =========================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {

    /* Disable expensive effects on mobile */
    body::before {
        display: none;
        /* Remove noise texture overlay - saves GPU */
    }

    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 23, 42, 0.98);
    }

    /* Improve touch targets - minimum 44x44px */
    .btn,
    .btn-primary,
    .btn-outline,
    .btn-contact,
    .nav-link,
    a[href] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Reduce animations on mobile for smoother scrolling */
    .price-card,
    .testimonial-card,
    .blog-card,
    .sector-card {
        transition: none;
    }

    /* Tablet Breakpoint Optimizations (768px - 1024px) */
    @media (min-width: 769px) and (max-width: 1024px) {

        /* Contact form better spacing on tablets */
        .contact-section .grid {
            gap: 3rem;
        }

        /* Sector cards padding adjustment */
        .sector-card {
            padding: 2.5rem !important;
        }
    }

    .price-card:hover,
    .testimonial-card:hover,
    .blog-card:hover {
        transform: none;
    }

    /* Optimize images for mobile */
    img {
        content-visibility: auto;
    }

    .blog-img {
        will-change: auto;
        /* Reset will-change on mobile */
    }

    .blog-card:hover .blog-img {
        transform: none;
        /* No zoom on mobile */
    }

    /* Contain layout shifts */
    .section {
        contain: layout style;
    }

    /* Reduce section padding on mobile */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    /* Optimize hero for mobile */
    .hero {
        min-height: 70vh;
        background-attachment: scroll;
        /* Disable parallax on mobile */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

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

    /* Optimize sector cards for mobile */
    .sector-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Blog grid optimization */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Estimator grid mobile fix */
    #estimator .grid {
        grid-template-columns: 1fr !important;
    }

    /* Maintenance banner action mobile */
    .mb-action {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .mb-action .btn {
        width: 100%;
    }

    /* WhatsApp button mobile - avoid cookie banner */
    body:not(.cookie-accepted) a[href*="wa.me"].fixed {
        bottom: 100px !important;
    }

    /* Blog image height optimization */
    .blog-img {
        height: 180px;
    }

    /* Testimonials optimization */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    /* About section optimization */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Pricing optimization */
    .pricing-grid {
        gap: 1.5rem;
    }

    .price-card {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 3rem;
    }

    /* Contact section optimization */
    .contact-section .container>div {
        gap: 2rem !important;
    }

    /* Glass card optimization */
    .glass-cta-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(30, 41, 59, 0.95);
        padding: 2rem 1.5rem;
    }

    /* Footer optimization */
    .main-footer {
        padding-top: 3rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    /* Form inputs - larger touch targets */
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
        min-height: 48px;
        padding: 12px 16px;
    }

    /* Cookie banner optimization */
    #cookie-banner {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(17, 24, 39, 0.98);
    }

    #cookie-banner .container {
        padding: 1rem;
    }

    /* WhatsApp button - ensure good touch target */
    .whatsapp-float,
    a[href*="wa.me"] {
        min-width: 56px;
        min-height: 56px;
    }
}

/* Small mobile optimization (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

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

    .price {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.25rem;
    }
}