/* PRECISION BUILD - Architect Blueprint Design */
:root {
    --blueprint: #0A1929;
    --blueprint-dark: #05111F;
    --blueprint-light: #0F2337;
    --grid-line: #1a3a52;
    --orange: #FF6B35;
    --orange-dark: #E55A2B;
    --white: #FFFFFF;
    --grey: #8B9DAE;
    --grey-dark: #5E7182;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--blueprint);
    overflow-x: hidden;
    position: relative;
}
h1, h2, h3 { font-family: 'Roboto', sans-serif; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.05em; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Blueprint Grid Background */
.blueprint-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; position: relative; z-index: 2; }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 3rem; position: relative; z-index: 2; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, var(--blueprint) 0%, transparent 100%);
    border-bottom: 1px solid var(--grid-line);
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(10,25,41,0.95);
    backdrop-filter: blur(10px);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--orange);
}
.logo svg {
    color: var(--orange);
}
.nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.nav a:not(.nav-cta):hover { color: var(--orange); }
.nav-cta {
    padding: 0.75rem 1.75rem;
    background: var(--orange);
    color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--orange);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blueprint-dark) 0%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.spec-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
.spec-line {
    width: 60px;
    height: 1px;
    background: var(--orange);
}
.spec-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--orange);
}
.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
}
.title-line {
    display: block;
    opacity: 0;
}
.title-line:nth-child(1) { animation: fadeUp 0.8s ease forwards 0.4s; }
.title-line:nth-child(2) { animation: fadeUp 0.8s ease forwards 0.6s; }
.title-line.accent {
    color: var(--orange);
    position: relative;
}
.title-line.accent::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 200px;
    height: 4px;
    background: var(--orange);
}
.hero-desc {
    font-size: 1.25rem;
    color: var(--grey);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255,107,53,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--orange);
    color: var(--orange);
}
.btn-primary.full { width: 100%; justify-content: center; }
.hero-specs {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--grid-line);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
}
.spec {
    text-align: left;
}
.spec-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.spec-unit {
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.spec-divider {
    width: 1px;
    height: 50px;
    background: var(--grid-line);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dimension Markers */
.dimension-marker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--grey-dark);
    z-index: 3;
}
.dimension-marker.top-left {
    top: 120px;
    left: 3rem;
}
.dimension-marker.top-right {
    top: 120px;
    right: 3rem;
}
.marker-line {
    width: 40px;
    height: 1px;
    background: var(--grid-line);
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}
.section-header {
    margin-bottom: 4rem;
}
.blueprint-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.label-line {
    width: 80px;
    height: 2px;
    background: var(--orange);
}
.label-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--orange);
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Services */
.services {
    background: var(--blueprint-dark);
    border-top: 2px solid var(--grid-line);
    border-bottom: 2px solid var(--grid-line);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--blueprint-light);
    padding: 3rem;
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    position: relative;
    transition: all 0.4s ease;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateX(8px);
    border-color: var(--orange);
}
.service-card:hover::before {
    transform: scaleY(1);
}
.service-card.featured {
    border-color: var(--orange);
}
.featured-tag {
    position: absolute;
    top: -12px;
    right: 2rem;
    padding: 0.5rem 1.25rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 2px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.card-header svg {
    color: var(--orange);
}
.card-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255,107,53,0.1);
    line-height: 1;
}
.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--grey);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.service-specs {
    list-style: none;
    padding-left: 0;
}
.service-specs li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--grey);
    border-bottom: 1px solid var(--grid-line);
    position: relative;
}
.service-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--orange);
}
.service-specs li:last-child {
    border-bottom: none;
}

/* Projects */
.projects {
    background: var(--blueprint);
}
.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    border: 2px solid var(--grid-line);
    aspect-ratio: 16/10;
}
.project-item.large {
    grid-row: span 2;
    aspect-ratio: 16/12;
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: grayscale(0.3);
}
.project-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10,25,41,0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.project-item:hover .project-overlay {
    transform: translateY(0);
}
.project-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.project-specs {
    display: flex;
    gap: 1rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--grey);
}
.project-dimensions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--orange);
    background: rgba(10,25,41,0.8);
    padding: 0.5rem 1rem;
    border-radius: 2px;
}
.dim-marker {
    width: 24px;
    height: 24px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.dim-line {
    width: 30px;
    height: 1px;
    background: var(--orange);
}

/* Process Timeline */
.process {
    background: var(--blueprint-dark);
    border-top: 2px solid var(--grid-line);
}
.timeline {
    position: relative;
    padding-left: 100px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--grid-line);
}
.timeline-item {
    position: relative;
    padding: 2rem 0;
}
.timeline-marker {
    position: absolute;
    left: -100px;
    top: 2rem;
    width: 80px;
    height: 80px;
    border: 3px solid var(--orange);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    background: var(--blueprint-dark);
    z-index: 2;
}
.timeline-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.timeline-content p {
    color: var(--grey);
    line-height: 1.7;
    max-width: 700px;
}

/* Contact */
.contact {
    background: var(--blueprint);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-text {
    font-size: 1.125rem;
    color: var(--grey);
    margin-bottom: 3rem;
    line-height: 1.7;
}
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}
.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--blueprint-light);
    border: 1px solid var(--grid-line);
    border-left: 4px solid var(--orange);
    border-radius: 2px;
}
.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blueprint-dark);
    border: 2px solid var(--orange);
    border-radius: 2px;
    color: var(--orange);
}
.info-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.info-value {
    color: var(--white);
    line-height: 1.6;
}
.certifications {
    padding: 2rem;
    background: var(--blueprint-light);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
}
.cert-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.cert-badges {
    display: flex;
    gap: 2rem;
}
.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.badge svg {
    color: var(--orange);
}
.badge span {
    font-size: 0.875rem;
    color: var(--grey);
}
.quote-form {
    background: var(--blueprint-light);
    padding: 3rem;
    border: 2px solid var(--grid-line);
    border-radius: 2px;
}
.quote-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.form-field {
    margin-bottom: 1.5rem;
}
.form-field label {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--blueprint-dark);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-field textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--blueprint-dark);
    padding: 3rem 0;
    border-top: 2px solid var(--grid-line);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--orange);
    margin-bottom: 0.75rem;
}
.footer-logo svg {
    color: var(--orange);
}
.footer-brand p {
    color: var(--grey);
    font-size: 0.9375rem;
}
.footer-legal {
    text-align: right;
}
.footer-legal p {
    color: var(--grey-dark);
    font-size: 0.875rem;
}
.footer-legal a {
    color: var(--orange);
    transition: color 0.3s ease;
}
.footer-legal a:hover {
    color: var(--white);
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}
.chat-btn {
    width: 64px;
    height: 64px;
    border-radius: 2px;
    background: var(--orange);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(255,107,53,0.4);
    transition: all 0.3s ease;
}
.chat-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255,107,53,0.5);
}
.icon-close {
    display: none;
}
.chatbot.active .icon-msg {
    display: none;
}
.chatbot.active .icon-close {
    display: block;
}
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 550px;
    background: var(--blueprint-light);
    border-radius: 2px;
    border: 2px solid var(--grid-line);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
}
.chatbot.active .chat-window {
    display: flex;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--grid-line);
    background: var(--blueprint-dark);
}
.chat-header h4 {
    margin-bottom: 0.25rem;
}
.chat-status {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--orange);
}
.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}
.chat-msg {
    margin-bottom: 1.5rem;
}
.chat-msg p {
    padding: 1rem 1.25rem;
    background: var(--blueprint-dark);
    border-radius: 2px;
    border-left: 3px solid var(--orange);
    margin-bottom: 0.75rem;
}
.chat-msg.user p {
    background: var(--orange);
    color: var(--white);
    border-left: none;
}
.chat-quick {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.chat-quick button {
    padding: 0.875rem 1rem;
    background: var(--blueprint-dark);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    color: var(--white);
    font-size: 0.9375rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}
.chat-quick button:hover {
    border-color: var(--orange);
    background: var(--blueprint);
}
.chat-form {
    padding: 1rem;
    border-top: 2px solid var(--grid-line);
    display: flex;
    gap: 0.75rem;
}
.chat-form input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    background: var(--blueprint-dark);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9375rem;
}
.chat-form input:focus {
    outline: none;
    border-color: var(--orange);
}
.chat-form button {
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background: var(--orange);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.chat-form button:hover {
    background: var(--orange-dark);
}

/* Responsive */
@media (max-width: 1200px) {
    .container, .container-wide { padding: 0 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .timeline { padding-left: 60px; }
    .timeline-marker { left: -60px; width: 60px; height: 60px; font-size: 1.5rem; }
}
@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--blueprint-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 2px solid var(--grid-line);
    }
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    .hamburger { display: flex; }
    .hero-title { font-size: 3rem; }
    .hero-specs { flex-wrap: wrap; }
    .form-row { grid-template-columns: 1fr; }
    .chat-window { width: calc(100vw - 2rem); right: 1rem; }
}
