@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Minimalist Light Mode */
    --bg-primary: #fafafc;
    --bg-secondary: #f3f4f6;
    --bg-tertiary: #ffffff;
    
    --accent: #1e293b; /* Deep slate gray */
    --accent-light: #475569;
    --accent-dark: #0f172a;
    --accent-rgb: 30, 41, 59;
    
    /* Secondary Accent for warmth (Champagne Gold) */
    --gold: #b5843b;
    --gold-light: #eed09f;
    --gold-rgb: 181, 132, 59;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(181, 132, 59, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(181, 132, 59, 0.08);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

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

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

ul, ol {
    list-style: none;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

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

.section-header h1, .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: rgba(var(--gold-rgb), 0.08);
    color: var(--gold);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-dark);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(var(--gold-rgb), 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--accent-dark);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Minimalist Cards */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(var(--gold-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--accent-dark);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--accent-dark);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.4) 0%, rgba(250, 250, 252, 0) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.04) 0%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 993px) {
    .hero-content {
        display: contents;
    }
    .hero-content .badge { grid-column: 1; grid-row: 1; justify-self: start; }
    .hero-content h1 { grid-column: 1; grid-row: 2; }
    .hero-content p { grid-column: 1; grid-row: 3; }
    .hero-image-showcase { grid-column: 2; grid-row: 1 / span 5; margin: 0 !important; }
    .hero-ctas { grid-column: 1; grid-row: 4; }
    .hero-features { grid-column: 1; grid-row: 5; }
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-features {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.hero-feat-item {
    display: flex;
    flex-direction: column;
}

.hero-feat-item span:first-child {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}

.hero-feat-item span:last-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Before/After Slider Container */
.slider-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.img-after {
    z-index: 1;
}

.img-before {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--gold);
}

.img-before img {
    width: 100%;
    max-width: none; 
}

.slider-handle {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--gold);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.5);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: var(--shadow-md);
    cursor: grab;
    pointer-events: none;
}

.slider-range-input {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.slider-label {
    position: absolute;
    bottom: 1rem;
    z-index: 3;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    border: 1px solid rgba(15, 23, 42, 0.08);
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

.label-before {
    left: 1rem;
}

.label-after {
    right: 1rem;
}

/* Why Choose Us & Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--gold-rgb), 0.14);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    color: var(--accent-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 750;
    color: var(--accent-dark);
}

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

/* Portfolio Gallery Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-dark);
    color: #ffffff;
    border-color: var(--accent-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--gold-light);
}

#load-more-btn {
    min-width: 220px;
    letter-spacing: 0.02em;
}

/* Service Details Section */
.services-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 7rem;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.service-detail-row:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-detail-row:nth-child(even) .service-detail-img {
    order: -1;
}

.service-detail-img {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.service-detail-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent-dark);
}

.service-detail-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.service-details-list {
    margin-bottom: 2.5rem;
}

.service-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-details-list li i {
    color: var(--gold);
    font-size: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-details-list li div,
.service-details-list li span.list-content {
    flex: 1;
}

/* Quote Calculator Widget */
.calc-card {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-trust-features {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.calc-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.calc-trust-item i {
    color: var(--gold);
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-dark);
}

.form-select, .form-range, .form-input, .form-textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.1);
}

/* Range input styling */
.range-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.form-range {
    flex-grow: 1;
    padding: 0;
    height: 6px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-dark);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
    background: var(--gold);
    transform: scale(1.1);
}

.range-val {
    min-width: 45px;
    text-align: center;
    background-color: var(--accent-dark);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Toggle Switch */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background-color: rgba(var(--gold-rgb), 0.15);
    border-color: var(--gold);
}

input:checked + .slider-switch:before {
    transform: translateX(24px);
    background-color: var(--gold);
}

/* Calculator Result Panel */
.calc-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-primary);
    border: 1px dashed rgba(var(--gold-rgb), 0.4);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.result-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.result-vat {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    line-height: 1.4;
}

.result-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.result-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.result-meta-item span:first-child {
    font-weight: 600;
    color: var(--accent-dark);
    flex-shrink: 0;
    white-space: nowrap;
}

.result-meta-item span:last-child {
    text-align: right;
    color: var(--text-primary);
}

.result-discount-box {
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: rgba(197, 160, 89, 0.08);
    border: 1px dashed rgba(197, 160, 89, 0.4);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.45;
}

.result-discount-box i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.result-discount-box strong {
    color: var(--accent-dark);
    font-weight: 700;
}

/* Pricing Page Structure */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem 1.4rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.price-card.featured {
    border: 2px solid var(--gold);
    background: #ffffff;
    box-shadow: var(--shadow-md), 0 10px 30px rgba(var(--gold-rgb), 0.12);
}

.price-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold);
    color: #ffffff;
    transform: rotate(45deg);
    padding: 0.25rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-mini {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.badge-mini.gold {
    background: rgba(var(--gold-rgb), 0.12);
    color: var(--gold-dark);
}

.price-header {
    margin-bottom: 1.25rem;
    min-height: 105px;
}

.price-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--accent-dark);
    font-weight: 750;
    line-height: 1.25;
}

.price-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.price-tag {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.price-unit {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.price-features-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

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

.price-features-list li.has-nested {
    display: block;
}

.price-features-list li.has-nested .nested-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-nested-list {
    width: 100%;
    margin-top: 0.5rem;
    padding-left: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.price-nested-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0 !important;
}

.price-features-list li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-features-list li i {
    font-size: 1rem;
}

.price-features-list li .fa-check {
    color: var(--gold);
}

.price-features-list li .fa-times {
    color: var(--text-muted);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

/* FAQ Accordion Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-item.active .faq-answer {
    display: block !important;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 0.85rem;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--accent-dark);
}

.contact-details p {
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group-full {
    grid-column: span 2;
}

/* Upload input visual */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background: var(--bg-primary);
    transition: var(--transition-fast);
}

.file-upload-area:hover {
    border-color: var(--gold);
    background: #ffffff;
}

.file-upload-area i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.file-upload-area p {
    font-size: 0.85rem;
}

.file-upload-input {
    display: none;
}

/* Footer - Dark elegant closing */
footer {
    background-color: #0f172a; /* Deep elegant navy/slate */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2.5rem 0;
    font-size: 0.9rem;
    color: #e2e8f0;
}

footer h4 {
    color: #ffffff;
}

footer p {
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col p {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.footer-contact-list li i {
    color: var(--gold);
    width: 15px;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-fiscal-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero-grid {
        display: block;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-content .badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content h1 {
        text-align: center;
    }
    
    .hero-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
    }
    
    .hero-image-showcase {
        width: 100%;
        margin-top: 1.25rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-ctas {
        justify-content: center;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        justify-content: center;
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-detail-row, .service-detail-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-row:nth-child(even) .service-detail-img {
        order: initial;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 3rem 0;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 1005;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-group-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================
   8. COOKIE CONSENT BANNER
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100px);
    width: calc(100% - 3rem);
    max-width: 700px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
    border: 1px solid var(--gold);
}

.cookie-btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    color: #ffffff;
    border-color: var(--gold);
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 1rem;
        width: calc(100% - 1.5rem);
        padding: 1.2rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .cookie-btn:last-child {
        margin-bottom: 0;
    }
}

/* ==========================================
   9. PORTFOLIO LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img-container {
    position: relative;
    max-width: 85vw;
    max-height: 75vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(181, 132, 59, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #000;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1.25rem;
    text-align: center;
    color: #ffffff;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: var(--gold-light);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.6rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 100002;
}

.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.4rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 100001;
}

.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .lightbox-prev {
        left: 0.75rem;
    }
    .lightbox-next {
        right: 0.75rem;
    }
    .lightbox-img-container {
        max-width: 92vw;
        max-height: 70vh;
    }
    .lightbox-img {
        max-width: 92vw;
        max-height: 70vh;
    }
}

/* Article Images Lightbox Clickable Indicator */
.case-study-article-block img, 
.editorial-section img, 
.render-showcase-card img, 
.before-photo-card img {
    cursor: zoom-in;
    transition: transform 0.35 ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.render-showcase-card:hover img,
.before-photo-card:hover img {
    transform: scale(1.03);
}

/* ==========================================
   10. MASTER MOBILE RESPONSIVE ENHANCEMENTS
   ========================================== */

/* Tablets & Small Laptops (max-width: 992px) */
@media (max-width: 992px) {
    .case-study-layout {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .case-study-sidebar {
        position: static !important;
        width: 100% !important;
    }
    
    .timeline::before {
        left: 20px !important;
    }
    
    .timeline-item {
        width: 100% !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0 !important;
    }
    
    .timeline-item::after {
        left: 11px !important;
    }
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Prevent horizontal scroll overflow site-wide */
    body, html {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    /* Typography Scaling for Mobile */
    h1, .hero-content h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }
    
    h2, .section-header h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.35rem !important;
    }
    
    /* Storie di Progetto Tab Switcher Mobile Scroll */
    .tab-switcher {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 0.75rem !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .tab-switcher::-webkit-scrollbar {
        display: none !important;
    }
    
    .tab-btn {
        flex: 0 0 auto !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Fact Sheet Bar Grid Mobile */
    .fact-sheet-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
    
    /* Grids to Single Column on Mobile */
    .pricing-grid,
    .article-gallery-grid,
    .render-showcase-grid,
    .before-after-grid,
    .portfolio-grid,
    .price-cards-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
    
    /* Render Showcase Cards Mobile Optimization */
    .render-showcase-card {
        grid-column: span 1 !important;
        height: auto !important;
    }
    
    .render-showcase-card img {
        height: 210px !important;
    }
    
    .render-card-caption {
        padding: 1rem 1.15rem !important;
        flex-grow: 0 !important;
    }
    
    /* Buttons Full Width on Mobile CTAs */
    .hero-ctas {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .hero-ctas .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Live Calculator Smartphone Master Re-layout */
    .calc-card {
        padding: 1rem 0.85rem !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .calc-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .calc-form {
        gap: 0.85rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-group {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-select {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.85rem !important;
        padding: 0.7rem 0.5rem !important;
        box-sizing: border-box !important;
    }

    .range-container {
        gap: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .range-val {
        min-width: 38px !important;
        padding: 0.2rem 0.4rem !important;
        font-size: 0.88rem !important;
    }

    .toggle-group {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.75rem 0.85rem !important;
        background: rgba(var(--gold-rgb), 0.06) !important;
        border: 1px solid rgba(var(--gold-rgb), 0.2) !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .toggle-group label:not(.switch) {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        flex: 1 !important;
        margin-bottom: 0 !important;
        color: var(--accent-dark) !important;
        font-weight: 600 !important;
    }

    .switch {
        flex-shrink: 0 !important;
    }

    .calc-trust-features {
        margin-top: 0.25rem !important;
        padding-top: 0.85rem !important;
        gap: 0.5rem !important;
    }

    .calc-trust-item {
        font-size: 0.78rem !important;
    }
    
    .calc-result {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.25rem 1rem !important;
        margin-top: 0.75rem !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 2px solid var(--gold) !important;
        box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.12) !important;
    }

    .result-title {
        font-size: 0.82rem !important;
    }

    .result-price {
        font-size: 2.2rem !important;
        color: var(--gold-dark) !important;
        font-weight: 800 !important;
        margin: 0.25rem 0 !important;
    }

    .result-vat {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.85rem !important;
    }

    .result-meta {
        padding-top: 0.85rem !important;
        margin-bottom: 0.85rem !important;
    }

    .result-meta-item {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .result-discount-box {
        padding: 0.75rem 0.85rem !important;
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .fact-sheet-grid {
        grid-template-columns: 1fr !important;
    }
    
    .calc-card {
        padding: 0.85rem 0.65rem !important;
    }

    .result-price {
        font-size: 2rem !important;
    }

    .toggle-group {
        padding: 0.65rem 0.75rem !important;
    }

    .toggle-group label:not(.switch) {
        font-size: 0.78rem !important;
    }
}

