/* style.css - Luxury Industrial / Technical Blueprint Aesthetic */

:root {
    --bg-main: #fdfdfd;
    --bg-alt: #f4f4f5;
    --text-main: #171717;
    --text-muted: #525252;
    --border-color: #e5e5e5;
    
    --accent-dark: #0f172a; /* Deep Slate */
    --accent-steel: #64748b; /* Muted steel */
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Subtle blueprint background effect */
.site-blueprint-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(100, 116, 139, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, .logo, .footer-logo, .huge-title {
    font-family: var(--font-heading);
    color: var(--accent-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.bg-light {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 60px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--accent-dark);
}

.btn-primary {
    background-color: var(--accent-dark);
    color: var(--bg-main);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-dark);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 16px 0;
    background-color: rgba(253, 253, 253, 0.98);
}

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

.logo a {
    font-size: 1.8rem;
    text-transform: uppercase;
}
.logo span {
    font-size: 1rem;
    color: var(--accent-steel);
    vertical-align: super;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: var(--accent-dark);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

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

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

.header-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-dark);
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* technical green */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-dark);
}

/* HERO PARALLAX */
.hero-parallax {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.parallax-bg {
    position: absolute;
    top: -5%;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for scrolling (dezoomed from 120%) */
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: grayscale(60%) contrast(1.1);
    transform: translateY(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: -1;
}

.center-aligned {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 60px; /* Push hero text slightly downwards */
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.text-light h1 {
    color: #ffffff;
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.text-light p {
    color: #e2e8f0;
    font-size: 1.25rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-inline: auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

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

.text-light .btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}

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

.lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--accent-dark);
    margin-bottom: 30px;
    line-height: 1.5;
}

.about-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.tech-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    opacity: 0.7;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--accent-dark);
    margin-bottom: 40px;
    border-left: 3px solid var(--accent-dark);
    padding-left: 24px;
    letter-spacing: -0.01em;
}

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

.about-text-col h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.about-text-col p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.visual-frame {
    position: relative;
    padding-left: 40px;
    padding-top: 40px;
}

.visual-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 1px solid var(--border-color);
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--bg-alt) 10px, var(--bg-alt) 11px);
    z-index: -1;
}

.visual-frame img {
    filter: grayscale(50%);
    box-shadow: -20px -20px 0 var(--bg-main);
}

.visual-accent-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-dark);
    color: var(--bg-main);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accent-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.accent-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* PARCO MACCHINE & TECNOLOGIE */
.tech-specs-container {
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.sub-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-dark);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.tech-spec-card {
    background: var(--bg-main);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-top: none;
    border-left: none;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.tech-spec-card:nth-child(2),
.tech-spec-card:nth-child(3) {
    background: var(--bg-alt);
}

.tech-spec-card:hover {
    background: var(--bg-main);
    box-shadow: inset 0 0 0 1px var(--accent-dark), 0 20px 40px rgba(15, 23, 42, 0.06);
    z-index: 5;
}

.tech-spec-card:nth-child(2):hover,
.tech-spec-card:nth-child(3):hover {
    background: var(--bg-alt);
}

.tech-spec-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-dark);
    background: var(--bg-alt);
}

.tech-spec-icon i {
    width: 20px;
    height: 20px;
}

.tech-spec-card h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.tech-spec-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tech-tag-sm {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
}

/* BENTO GRID SERVIZI */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
}

.bento-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.bento-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(253, 253, 253, 0) 0%, var(--bg-main) 65%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.dark-bento::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0) 0%, var(--accent-dark) 65%);
}

.bento-item:hover {
    border-color: var(--accent-dark);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 3;
    grid-row: span 1;
}

.bento-content {
    padding: 40px;
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-large .bento-content {
    max-width: 75%;
    background: transparent;
    backdrop-filter: none;
    border-right: none;
    border-bottom: none;
}

.bento-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--accent-steel);
}
.bento-icon i {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.bento-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.65;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.bento-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.bento-large .bento-bg-image {
    opacity: 0.65;
}

.bento-item:hover .bento-bg-image {
    opacity: 0.9;
}

.bento-item:hover .bento-bg-image img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1.1) brightness(1.0);
}

.dark-bento {
    background: var(--accent-dark);
    color: var(--bg-main);
    border-color: var(--accent-dark);
}

.dark-bento h3 {
    color: var(--bg-main);
}

.dark-bento .bento-icon {
    color: var(--bg-main);
    opacity: 0.8;
}

.dark-bento p {
    color: #a3a3a3;
}

/* BENTO EXPLORE CUE & MODAL TRIGGER */
.bento-item.modal-trigger {
    cursor: pointer;
}

.bento-explore {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-main);
    color: var(--accent-dark);
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.dark-bento .bento-explore {
    background: var(--accent-dark);
    color: var(--bg-main);
    border-color: rgba(255,255,255,0.2);
}

.bento-item:hover .bento-explore {
    opacity: 1;
    transform: translateY(0);
}

.bento-row-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bento-wide-text {
    max-width: 60%;
}

.bento-wide-metric {
    text-align: right;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-dark);
}

.metric-label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-steel);
    letter-spacing: 0.1em;
}

/* TECHNICAL RULER (PERCHÉ NOI) */
.dark-section {
    background-color: var(--accent-dark);
    color: var(--bg-main);
    padding: 150px 0;
}

.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-gray { color: #a3a3a3; margin: 0 auto 80px; }

.technical-ruler {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.ruler-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.08);
    transform: translateX(-50%);
}

.ruler-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #0ea5e9, #ffffff);
    transition: height 0.1s ease-out;
}

.ruler-item {
    position: relative;
    width: 100%;
    min-height: 250px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    opacity: 0.25;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ruler-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ruler-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--bg-main);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.05);
    z-index: 2;
    transition: all 0.5s ease;
}

.ruler-item.active .ruler-marker {
    background: #0ea5e9;
    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0.2), 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.ruler-item:hover .ruler-marker {
    box-shadow: 0 0 0 12px rgba(255,255,255,0.15);
    background: #0ea5e9;
}

.ruler-content {
    width: 42%;
    position: relative;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.ruler-item:hover .ruler-content {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
}

.ruler-content.left {
    margin-right: auto;
    text-align: right;
}

.ruler-content.right {
    margin-left: auto;
    text-align: left;
}

.ruler-number {
    position: absolute;
    top: -40px;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.ruler-content.left .ruler-number { right: -20px; }
.ruler-content.right .ruler-number { left: -20px; }

.ruler-content h4 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.ruler-content p {
    color: #a3a3a3;
    font-size: 1.05rem;
}

/* REPLICA DESIGN (PERCHÉ SCEGLIERCI) */
.why-header {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.why-header h2 {
    font-size: 3.5rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.why-desc-wrapper p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.why-replica-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.dotted-arc-container {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 1;
}

.dotted-arc-svg {
    width: 100%;
    height: 100%;
}

.why-col {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.why-item {
    text-align: left;
}

.why-item h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.why-sub {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Center Concave Image */
.center-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.concave-image-wrapper {
    clip-path: url(#concave-clip);
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
}

.concave-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.05);
}

/* Replica Footer (Bracket + Button) */
.why-replica-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 60px;
    width: 100%;
}

.bracket-line {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* SVG clip-path style helper */
.clip-svg {
    position: absolute;
    width: 0;
    height: 0;
}


/* MASSIVE CONTACT SECTION */
.massive-contact {
    background: var(--accent-dark);
    color: var(--bg-main);
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

/* Abstract structural lines in bg */
.massive-contact::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    border: 1px solid rgba(255,255,255,0.05);
    transform: rotate(35deg);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    color: #a3a3a3;
}

.contact-cta .huge-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    color: var(--bg-main);
    margin-bottom: 30px;
    line-height: 1;
}

.contact-desc {
    font-size: 1.25rem;
    color: #a3a3a3;
    margin-bottom: 60px;
    max-width: 90%;
}

.huge-phone-link {
    display: inline-block;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 30px 0;
    width: 100%;
    transition: var(--transition);
}

.huge-phone-link:hover {
    border-color: var(--bg-main);
    padding-left: 20px;
}

.phone-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-steel);
    margin-bottom: 10px;
}

.phone-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--bg-main);
    font-weight: 700;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(255,255,255,0.08);
}

.highlight-card {
    background: var(--bg-main);
    color: var(--accent-dark);
}

.highlight-card:hover {
    background: #e5e5e5;
}

.info-card-icon {
    color: var(--accent-steel);
}

.highlight-card .info-card-icon {
    color: var(--accent-dark);
}

.info-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p {
    color: #a3a3a3;
    font-size: 1.05rem;
}

.highlight-card p {
    color: var(--text-muted);
}

/* FOOTER */
.site-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 100px 0 40px;
    margin-top: auto;
    width: 100%;
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1rem;
    vertical-align: super;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 350px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--accent-dark);
}

.footer-address p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* SERVICE MODAL */
.service-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-wrapper.active {
    opacity: 1;
    pointer-events: all;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.service-modal-window {
    position: relative;
    background: var(--bg-main);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-modal-wrapper.active .service-modal-window {
    transform: translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.service-modal-close:hover {
    background: var(--accent-dark);
    color: var(--bg-main);
}

.service-modal-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
    position: relative;
}

.service-modal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(100, 116, 139, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 116, 139, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
}

.modal-badge-ui {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: var(--bg-main);
}

.modal-title-ui {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-modal-body {
    padding: 40px;
}

.service-modal-body p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.service-modal-body .lead-text {
    font-size: 1.3rem;
    color: var(--accent-dark);
    font-weight: 500;
    margin-bottom: 30px;
}

.service-modal-body h4 {
    font-size: 1.2rem;
    margin: 40px 0 20px;
    font-family: var(--font-heading);
    color: var(--accent-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.service-modal-body ul {
    list-style: none;
    margin-left: 0;
}

.service-modal-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.service-modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-dark);
    border-radius: 50%;
}

/* SCROLL REVEAL ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large, .bento-wide {
        grid-column: span 2;
    }
    
    .hero-image-wrapper {
        width: 100%;
        opacity: 0.2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .why-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .why-replica-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dotted-arc-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 79px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 79px);
        background-color: var(--bg-main);
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav a {
        font-size: 1.4rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Responsive Ruler */
    .technical-ruler {
        padding: 20px 0;
    }
    .ruler-line {
        left: 20px;
        transform: none;
    }
    .ruler-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    .ruler-marker {
        left: 20px;
        top: 40px;
        transform: translate(-50%, -50%);
    }
    .ruler-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
        padding: 30px 20px;
    }
    .ruler-content.left .ruler-number,
    .ruler-content.right .ruler-number {
        left: 10px;
        right: auto;
        top: -20px;
        font-size: 5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-medium, .bento-wide {
        grid-column: span 1;
    }
    .bento-large .bento-content {
        max-width: 100%;
    }
    .bento-row-layout {
        flex-direction: column;
        align-items: flex-start;
    }
    .bento-wide-text {
        max-width: 100%;
    }
    .bento-wide-metric {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 20px;
        text-align: left;
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-specs-grid {
        grid-template-columns: 1fr;
        border-top: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
    }
    
    .tech-spec-card {
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .tech-spec-card:nth-child(even) {
        background: var(--bg-alt) !important;
    }
    
    .tech-spec-card:nth-child(odd) {
        background: var(--bg-main) !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .concave-image-wrapper {
        height: 380px;
    }

    .why-replica-footer {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .bracket-line {
        display: none;
    }
}
