/* =========================================================
   MILA ENGINEERING
   CLEAN, RESPONSIVE & ACCESSIBLE STYLESHEET
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    /* Colors */
    --primary: #f28c00;
    --primary-dark: #d87500;

    --dark: #101820;
    --dark-2: #17232c;

    --text: #26313b;
    --muted: #68737d;

    --white: #ffffff;
    --light: #f6f8fa;

    --border: #e3e8ec;

    /* Typography */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */

    /* Shadows */
    --shadow-sm: 0 5px 20px rgba(16, 24, 32, 0.07);
    --shadow-md: 0 12px 35px rgba(16, 24, 32, 0.11);
    --shadow-lg: 0 20px 60px rgba(16, 24, 32, 0.16);

    /* Layout */
    --radius: 12px;
    --header-height: 78px;

    /* Z-index */
    --z-header: 100;
    --z-floating: 200;
    --z-back-to-top: 190;
    --z-modal: 1000;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;

    margin: 0;

    font-family: "Poppins", sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}


/* =========================================================
   ACCESSIBLE SECTION SCROLLING
========================================================= */

main section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: var(--z-header);

    height: var(--header-height);

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.10);
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}

.logo-image {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;
}

.logo-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;

    white-space: nowrap;
}

.logo-text strong {
    color: var(--dark);

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -0.6px;
}

.logo-text small {
    margin-top: 4px;

    color: var(--primary);

    font-family: "Roboto", sans-serif;

    font-size: 18px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;
}

.nav-link {
    position: relative;

    padding: 28px 9px;

    color: #3c4650;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 9px;
    right: 9px;
    bottom: 18px;

    height: 2px;

    background: var(--primary);

    transform: scaleX(0);

    transition: transform 0.2s ease;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   NAV CTA
========================================================= */

.nav-cta {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-left: 10px;

    padding: 10px 16px;

    background: var(--primary);
    color: var(--white);

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    background: #f3f5f7;
    color: var(--dark);

    border-radius: 7px;

    cursor: pointer;

    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: max(650px, 100svh);

    display: flex;
    align-items: center;

    background-image: url("images/hero4.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 25, 0.90) 0%,
            rgba(5, 15, 25, 0.72) 45%,
            rgba(5, 15, 25, 0.34) 100%
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 85px;
    padding-bottom: 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: #e4e9ed;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge span {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);
}

.hero h1 {
    max-width: 800px;

    color: var(--white);

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.hero h1 span {
    display: block;

    color: var(--primary);
}

.hero-description {
    max-width: 650px;

    margin-top: 22px;

    color: #d1d8dd;

    font-size: 15px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 21px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.04);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;

    margin-top: 55px;
}

.hero-stat {
    min-width: 180px;

    padding: 0 25px;

    border-left: 1px solid rgba(255, 255, 255, 0.20);
}

.hero-stat:first-child {
    padding-left: 0;

    border-left: 0;
}

.hero-stat strong {
    display: block;

    color: var(--primary);

    font-size: 23px;
    font-weight: 800;
}

.hero-stat span {
    color: #c8d0d5;

    font-size: 12px;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    right: 30px;
    bottom: 25px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #c5ccd1;

    font-size: 10px;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-indicator i {
    color: var(--primary);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 720px;

    margin-bottom: 50px;
}

.section-heading.centered {
    margin-inline: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 16px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--dark);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -1px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    margin-top: 14px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.about-visual {
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-main-card {
    width: min(330px, 100%);
    aspect-ratio: 1;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #236fa8,
            #101820
        );

    color: var(--white);

    border-radius: 15px;

    box-shadow: var(--shadow-lg);
}

.about-main-card i {
    margin-bottom: 22px;

    color: var(--primary);

    font-size: 52px;
}

.about-main-card span {
    font-size: 12px;

    letter-spacing: 3px;
}

.about-main-card strong {
    color: var(--primary);

    font-size: 26px;

    letter-spacing: 2px;
}

.experience-card {
    position: absolute;

    right: 0;
    bottom: 15px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px 18px;

    background: var(--white);

    border-radius: 9px;

    box-shadow: var(--shadow-md);
}

.experience-card i {
    color: var(--primary);

    font-size: 26px;
}

.experience-card strong {
    display: block;

    color: var(--dark);

    font-size: 13px;
}

.experience-card small {
    display: block;

    color: var(--muted);

    font-size: 11px;
}

.small-heading {
    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.about-content h3 {
    max-width: 600px;

    margin-top: 10px;

    color: var(--dark);

    font-size: clamp(28px, 3vw, 34px);

    line-height: 1.25;
}

.about-content h3 strong {
    color: var(--primary);
}

.about-content p {
    max-width: 650px;

    margin-top: 17px;

    color: var(--muted);

    font-size: 14px;
}

.about-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 11px;

    margin-top: 25px;
}

.about-points div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--dark);

    font-size: 13px;
    font-weight: 600;
}

.about-points i {
    color: var(--primary);
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    background: var(--light);
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.product-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-image {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #e9edf2;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.05)
        );
}

.product-icon {
    position: absolute;

    left: 20px;
    bottom: 20px;

    z-index: 2;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(242, 140, 0, 0.95);

    color: var(--white);

    font-size: 22px;
}

.product-number {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 2;

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;
    font-weight: 800;
}

.product-body {
    padding: 26px;
}

.product-category {
    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.product-body h3 {
    margin-top: 7px;

    color: var(--dark);

    font-size: 19px;

    line-height: 1.35;
}

.product-body p {
    margin-top: 11px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.product-body ul {
    margin-top: 18px;
}

.product-body li {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    padding: 7px 0;

    color: #4c5760;

    font-size: 12px;

    border-bottom: 1px solid #edf0f2;
}

.product-body li i {
    margin-top: 4px;

    color: var(--primary);

    font-size: 10px;
}

.product-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 18px;

    color: var(--dark);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   FABRICATION
========================================================= */

.fabrication-section {
    padding: 95px 0;

    background:
        linear-gradient(
            120deg,
            #111a21,
            #1a2731
        );

    color: var(--white);
}

.fabrication-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.fabrication-content h2 {
    max-width: 550px;

    margin-top: 8px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;
}

.fabrication-content h2 span {
    color: var(--primary);
}

.fabrication-content p {
    max-width: 600px;

    margin-top: 18px;

    color: #bdc7cd;

    font-size: 14px;
}

.fabrication-content .btn {
    margin-top: 26px;
}

.fabrication-features {
    display: grid;

    gap: 14px;
}

.fabrication-feature {
    display: flex;

    gap: 16px;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    background: rgba(255, 255, 255, 0.03);

    border-radius: 9px;
}

.feature-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(242, 140, 0, 0.12);

    color: var(--primary);

    border-radius: 7px;
}

.fabrication-feature h3 {
    font-size: 15px;
}

.fabrication-feature p {
    margin-top: 4px;

    color: #aeb9c0;

    font-size: 12px;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 17px;
}

.why-card {
    padding: 28px 23px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.why-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    background: #fff4e5;

    border-radius: 8px;

    font-size: 20px;
}

.why-card > span {
    display: block;

    margin-top: 22px;

    color: #aeb7be;

    font-size: 11px;
    font-weight: 800;
}

.why-card h3 {
    margin-top: 6px;

    color: var(--dark);

    font-size: 16px;
}

.why-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 65px 0;

    background: var(--primary);
}

.cta-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cta-container .section-label {
    color: rgba(255, 255, 255, 0.80);
}

.cta-container h2 {
    color: var(--white);

    font-size: clamp(28px, 4vw, 40px);

    line-height: 1.2;
}

.cta-container p {
    max-width: 650px;

    margin-top: 9px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 28px;

    align-items: stretch;
}

.contact-info {
    padding: 38px;

    background:
        linear-gradient(
            145deg,
            #17232c,
            #101820
        );

    color: var(--white);

    border-radius: var(--radius);
}

.contact-info-header h3 {
    font-size: 25px;
}

.contact-info-header p {
    margin-top: 9px;

    color: #adb7bd;

    font-size: 13px;
}

.contact-item {
    display: flex;

    gap: 13px;

    margin-top: 24px;
}

.contact-icon {
    width: 41px;
    height: 41px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(242, 140, 0, 0.12);

    color: var(--primary);

    border-radius: 7px;
}

.contact-item > div:last-child {
    min-width: 0;
}

.contact-item span {
    display: block;

    color: #9aa5ac;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.contact-item strong,
.contact-item a {
    display: block;

    margin-top: 3px;

    color: #eef2f4;

    font-size: 13px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}

.whatsapp-icon {
    color: #25d366;
}

.contact-socials {
    display: flex;

    gap: 8px;

    margin-top: 28px;
}

.contact-socials a,
.footer-socials a {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.08);

    color: #dbe1e5;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* =========================================================
   QUOTE FORM
========================================================= */

.quote-form-wrapper {
    padding: 38px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.form-header span {
    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.form-header h3 {
    margin-top: 6px;

    color: var(--dark);

    font-size: 25px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 17px;

    margin-top: 19px;
}

.form-group {
    margin-top: 18px;
}

.form-row .form-group {
    margin-top: 0;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #39434b;

    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 12px 13px;

    color: var(--dark);

    background: #fafbfc;

    border: 1px solid #dfe4e8;

    border-radius: 6px;

    outline: none;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 125px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(242, 140, 0, 0.10);
}

.form-submit {
    width: 100%;

    margin-top: 22px;
}

.form-submit:disabled {
    opacity: 0.7;

    cursor: wait;

    transform: none;
}

.form-success,
.form-error {
    margin-top: 17px;

    padding: 14px;

    border-radius: 7px;

    font-size: 12px;

    line-height: 1.6;
}

.form-success {
    display: none;

    align-items: flex-start;

    gap: 11px;

    background: #eefaf3;

    border: 1px solid #ccefd9;

    color: #207344;
}

.form-success.show {
    display: flex;
}

.form-success strong {
    display: block;

    font-size: 12px;
}

.form-success p {
    margin-top: 3px;

    font-size: 11px;
}

.form-error {
    display: none;

    background: #fff4f2;

    border: 1px solid #f2c7c1;

    color: #8c2f23;
}

.form-error.show {
    display: block;
}

.form-help {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;
}

.honeypot {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 65px 0 0;

    background: #0d151c;

    color: #c5cdd2;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        0.9fr
        1fr;

    gap: 45px;

    padding-bottom: 50px;
}

.footer-logo .logo-text strong {
    color: var(--white);
}

.footer-brand > p {
    max-width: 370px;

    margin-top: 18px;

    color: #89959e;

    font-size: 12px;

    line-height: 1.8;
}

.footer-socials {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.footer-column h4 {
    margin-bottom: 9px;

    color: var(--white);

    font-size: 14px;
}

.footer-column a,
.footer-column span {
    color: #89959e;

    font-size: 12px;

    line-height: 1.7;
}

.footer-bottom {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6f7b84;

    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: var(--z-back-to-top);

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 7px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   RIGHT FLOATING CONTACT BAR
========================================================= */

.floating-contact-bar {
    position: fixed;

    right: 0;
    top: 50%;

    z-index: var(--z-floating);

    display: flex;
    flex-direction: column;

    width: 48px;

    transform: translateY(-50%);

    border-radius: 10px 0 0 10px;

    overflow: visible;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.floating-contact {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0;

    padding: 0;

    color: var(--white);

    font-size: 18px;

    overflow: hidden;

    white-space: nowrap;

    transition:
        width 0.25s ease,
        padding 0.25s ease,
        background 0.25s ease;
}

.floating-contact span {
    max-width: 0;

    opacity: 0;

    overflow: hidden;

    white-space: nowrap;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 600;

    transition:
        max-width 0.25s ease,
        opacity 0.2s ease,
        margin 0.25s ease;
}

.floating-contact.whatsapp {
    background: #25d366;
}

.floating-contact.call {
    background: #1769aa;
}

.floating-contact.email {
    background: #e67e22;
}

.floating-contact.facebook {
    background: #1877f2;
}


/* =========================================================
   HOVER EFFECTS
   Only enabled on devices with real hover support
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .nav-link:hover {
        color: var(--primary);
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

    .nav-cta:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

    .btn:hover {
        transform: translateY(-2px);
    }

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

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

        background: rgba(242, 140, 0, 0.12);
    }

    .btn-light:hover {
        background: #f2f4f5;
    }

    .product-card:hover {
        transform: translateY(-6px);

        box-shadow: var(--shadow-md);
    }

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

    .why-card:hover {
        transform: translateY(-5px);

        box-shadow: var(--shadow-md);
    }

    .product-link:hover {
        color: var(--primary);
    }

    .contact-item a:hover,
    .footer-column a:hover {
        color: var(--primary);
    }

    .contact-socials a:hover,
    .footer-socials a:hover {
        background: var(--primary);
        color: var(--white);
    }

    .back-to-top:hover {
        background: var(--primary-dark);
    }

    /* Floating Contact Expansion */

    .floating-contact:hover {
        width: 140px;

        justify-content: flex-end;

        padding-right: 15px;
    }

    .floating-contact:hover span {
        max-width: 90px;

        margin-right: 10px;

        opacity: 1;
    }

    .floating-contact.whatsapp:hover {
        background: #1ebe5d;
    }

    .floating-contact.call:hover {
        background: #125587;
    }

    .floating-contact.email:hover {
        background: #ca6f1e;
    }

    .floating-contact.facebook:hover {
        background: #0d65d9;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(100% - 32px, 1000px);
    }

    .logo-image {
        width: 70px;
        height: 70px;
    }

    .logo-text strong {
        font-size: 30px;
    }

    .nav-link {
        padding-inline: 6px;

        font-size: 11px;
    }

    .nav-cta {
        margin-left: 5px;

        padding-inline: 12px;
    }

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

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


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 70px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;

        top: calc(100% + 8px);

        left: 14px;
        right: 14px;

        z-index: calc(var(--z-header) + 1);

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 9px;

        background: var(--white);

        border: 1px solid var(--border);

        border-radius: 9px;

        box-shadow: var(--shadow-lg);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav-link {
        padding: 12px 13px;

        font-size: 13px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        justify-content: center;

        margin: 6px 0 0;

        padding: 11px;
    }

    .hero {
        min-height: max(620px, 100svh);

        background-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 15, 25, 0.88),
                rgba(5, 15, 25, 0.62)
            );
    }

    .hero-content {
        padding-top: 80px;
    }

    .about-grid,
    .fabrication-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 50px;
    }

    .fabrication-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 25px;
    }

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


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }

    .section,
    .fabrication-section {
        padding: 70px 0;
    }

    .logo {
        gap: 6px;
    }

    .logo-image {
        width: 58px;
        height: 58px;
    }

    .logo-text strong {
        font-size: 25px;
    }

    .logo-text small {
        font-size: 12px;

        letter-spacing: 1.4px;
    }

    .hero {
        min-height: max(620px, 100svh);
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 55px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 44px);

        letter-spacing: -0.8px;
    }

    .hero-description {
        font-size: 13px;

        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

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

    .hero-stats {
        display: grid;

        grid-template-columns: 1fr;

        gap: 13px;

        margin-top: 40px;
    }

    .hero-stat,
    .hero-stat:first-child {
        min-width: 0;

        padding-left: 14px;

        border-left: 2px solid rgba(255, 255, 255, 0.20);
    }

    .scroll-indicator {
        display: none;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .about-visual {
        min-height: 320px;
    }

    .about-main-card {
        width: 260px;
    }

    .about-main-card i {
        font-size: 40px;
    }

    .about-main-card strong {
        font-size: 21px;
    }

    .experience-card {
        right: 0;
        bottom: 0;

        padding: 12px;
    }

    .about-content h3 {
        font-size: 27px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        aspect-ratio: 16 / 10;
    }

    .fabrication-feature {
        padding: 17px;
    }

    .cta-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-container .btn {
        width: 100%;
    }

    .contact-info,
    .quote-form-wrapper {
        padding: 26px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-row .form-group {
        margin-top: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .footer-bottom {
        padding: 18px 0;

        flex-direction: column;

        align-items: flex-start;
        justify-content: center;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }

    /* Floating contact stays compact on mobile */

    .floating-contact-bar {
        width: 44px;
    }

    .floating-contact {
        width: 44px;
        height: 44px;

        font-size: 16px;
    }

    .floating-contact span {
        display: none;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .mobile-menu-btn {
        width: 39px;
        height: 39px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .floating-contact-bar,
    .floating-contact {
        width: 40px;
    }

    .floating-contact {
        height: 40px;

        font-size: 15px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}
/* =========================================
   FINAL MOBILE RESPONSIVE FIX
========================================= */

@media (max-width: 900px) {

    /* Header */
    .nav-container {
        gap: 15px;
    }

    /* Mobile navigation */
    .main-nav {
        max-height: calc(100vh - var(--header-height) - 20px);
        overflow-y: auto;
    }

    /* Layout */
    .about-grid,
    .fabrication-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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


@media (max-width: 600px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 28px);
    }

    /* Header */
    .nav-container {
        gap: 10px;
    }

    .logo {
        min-width: 0;
    }

    .logo-image {
        width: 52px;
        height: 52px;
    }

    .logo-text strong {
        font-size: 22px;
    }

    .logo-text small {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .mobile-menu-btn {
        flex-shrink: 0;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        background-position: center;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    /* Hero stats */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-stat {
        min-width: 0;
        padding: 10px 0 10px 14px;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
    }

    /* Grids */
    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-visual {
        min-height: 320px;
    }

    .about-main-card {
        width: min(260px, 100%);
    }

    .experience-card {
        max-width: calc(100% - 20px);
        right: 0;
        bottom: 0;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    /* Product */
    .product-image {
        aspect-ratio: 16 / 10;
    }

    /* CTA */
    .cta-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-container .btn {
        width: 100%;
    }

    /* Contact */
    .contact-info,
    .quote-form-wrapper {
        padding: 25px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-top: 18px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }

    /* Floating contact */
    .floating-contact-bar {
        width: 44px;
    }

    .floating-contact {
        width: 44px;
        height: 44px;
    }

    .floating-contact span {
        display: none;
    }
}


@media (max-width: 380px) {

    .logo-image {
        width: 46px;
        height: 46px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
}