/* ============================================
   M&C PLASTIC S.R.L. — Welding Technology
   Professional Industrial Website
   ============================================ */

:root {
    --navy-900: #0a1a35;
    --navy-800: #0f2748;
    --navy-700: #1a3a6c;
    --navy-600: #234a85;
    --navy-500: #2d5fa3;
    --blue-accent: #1e90c4;
    --blue-light: #4ab4e0;
    --peach: #f5b896;
    --peach-light: #fad6bd;
    --orange: #f08a4b;
    --white: #ffffff;
    --gray-50: #f7f9fc;
    --gray-100: #eef2f7;
    --gray-200: #dde4ec;
    --gray-300: #c2cdd9;
    --gray-500: #6b7785;
    --gray-700: #3a4452;
    --gray-900: #14181f;
    --shadow-sm: 0 2px 8px rgba(15, 39, 72, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 39, 72, 0.1);
    --shadow-lg: 0 20px 50px rgba(15, 39, 72, 0.15);
    --shadow-xl: 0 30px 80px rgba(15, 39, 72, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.accent { color: var(--blue-accent); }
.highlight {
    background: linear-gradient(135deg, var(--peach), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============== TOP BAR ============== */
.topbar {
    background: var(--navy-900);
    color: var(--gray-200);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar-item svg { color: var(--blue-light); }
.topbar-tag {
    color: var(--peach);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 11px;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 24px !important;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.35);
    filter: saturate(0.85) brightness(0.85);
}
.lang-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}
.lang-link:hover {
    transform: translateY(-2px);
    filter: saturate(1) brightness(1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 6px 14px rgba(0, 0, 0, 0.45);
}
.lang-link.active {
    filter: saturate(1.05) brightness(1);
    box-shadow:
        0 0 0 2px var(--peach),
        0 0 0 3px rgba(245, 184, 150, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.4);
}
.lang-link .flag {
    width: 100%;
    height: 100%;
    display: block;
}
.lang-link .flag svg {
    display: block;
    width: 100%;
    height: 100%;
}
.lang-link .flag-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============== HEADER ============== */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}
.logo-tag {
    font-size: 10px;
    color: var(--gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 15px;
    position: relative;
}
.nav-link:hover { color: var(--blue-accent); }
.nav-link.active { color: var(--blue-accent); }
.nav-cta {
    background: var(--navy-800);
    color: var(--white) !important;
    padding: 12px 26px;
    margin-left: 8px;
    border-radius: 999px;
    font-weight: 600;
}
.nav-cta:hover {
    background: var(--blue-accent);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--navy-900);
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    padding: 80px 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(74, 180, 224, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 184, 150, 0.12) 0%, transparent 55%),
        repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(74, 180, 224, 0.03) 40px, rgba(74, 180, 224, 0.03) 80px);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(10, 26, 53, 0.4) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text { color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--peach-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.dot {
    width: 8px;
    height: 8px;
    background: var(--peach);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--peach);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.hero-title .accent { color: var(--blue-light); }
.hero-title .highlight {
    background: linear-gradient(135deg, var(--peach) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 15px;
}
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--blue-accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(30, 144, 196, 0.4);
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 144, 196, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(30, 144, 196, 0.55);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--peach);
    color: var(--peach);
    background: rgba(245, 184, 150, 0.08);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-800);
}
.btn-large { padding: 18px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============== HERO VISUAL ============== */
.hero-visual { position: relative; }
.hero-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: var(--transition);
}
.hero-card:hover { transform: rotate(0); }
.hero-card-inner {
    text-align: center;
    margin-bottom: 30px;
}
.welding-logo {
    position: relative;
    margin-bottom: 8px;
    perspective: 600px;
}
.welding-logo.right {
    text-align: right;
}
.welding {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    letter-spacing: 0.06em;
    display: inline-block;
    transform: skewX(-15deg);
    position: relative;
}
.welding.shadow {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: transparent;
    background: linear-gradient(180deg, rgba(74,180,224,0.5), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    transform: skewX(-15deg) scaleY(-1);
    opacity: 0.5;
    filter: blur(2px);
}
.welding-logo.right .welding { color: var(--blue-light); }
.hero-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-materials span {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-down span {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ============== STATS ============== */
.stats {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    margin-top: -1px;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat { text-align: center; }
.stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============== SECTIONS ============== */
section { padding: 100px 0; }
.section-eyebrow {
    display: inline-block;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}
.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--blue-accent);
}
.section-eyebrow.light { color: var(--peach); }
.section-eyebrow.light::before { background: var(--peach); }
.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 20px;
    line-height: 1.15;
}
.section-title.light { color: var(--white); }
.section-sub {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 720px;
}
.section-sub.light { color: rgba(255,255,255,0.75); margin: 0 auto; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow { padding-left: 0; }
.section-head.center .section-eyebrow::before { display: none; }
.section-head.center .section-sub { margin: 0 auto; }

/* ============== ABOUT ============== */
.about { background: var(--gray-50); }
.about-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}
.about-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--navy-800);
    color: var(--white);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.badge-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--peach);
    line-height: 1;
}
.badge-text {
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--gray-700);
    margin-bottom: 20px;
}
.about-content p { margin-bottom: 16px; }
.about-block {
    margin-top: 28px;
    padding: 24px 28px;
    background: var(--white);
    border-left: 4px solid var(--blue-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}
.about-block h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--navy-800);
}
.about-block p { margin-bottom: 0; }
.about-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.domain-pill {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-800);
    transition: var(--transition);
}
.domain-pill:hover {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============== SERVICES ============== */
.services { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
    background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.75); }
.service-card.featured .service-icon {
    background: rgba(255,255,255,0.1);
    color: var(--peach);
}
.service-card.featured .service-list li::before { color: var(--peach); }
.service-card.featured::before {
    background: linear-gradient(90deg, var(--peach), var(--orange));
    transform: scaleX(1);
}
.featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--peach);
    color: var(--navy-900);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(30, 144, 196, 0.1);
    color: var(--blue-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
}
.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--navy-900);
}
.service-card p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}
.service-list {
    list-style: none;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.service-card.featured .service-list { border-top-color: rgba(255,255,255,0.1); }
.service-list li {
    padding: 6px 0;
    font-size: 14px;
    position: relative;
    padding-left: 22px;
}
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: bold;
}

/* ============== MATERIALS ============== */
.materials {
    background:
        linear-gradient(135deg, rgba(10, 26, 53, 0.94), rgba(15, 39, 72, 0.9)),
        url('img/102.jpeg') center / cover;
    position: relative;
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.material-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.material-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74,180,224,0.15), transparent 70%);
    top: -100px;
    right: -100px;
    transition: var(--transition);
}
.material-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blue-light);
}
.material-card:hover::after { right: -50px; top: -50px; }
.material-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--peach), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.material-card h4 {
    color: var(--white);
    font-size: 19px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.material-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============== WHY ============== */
.why { background: var(--gray-50); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-item {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--blue-accent);
    transition: var(--transition);
}
.why-item:nth-child(2) { border-top-color: var(--peach); }
.why-item:nth-child(3) { border-top-color: var(--navy-700); }
.why-item:nth-child(4) { border-top-color: var(--orange); }
.why-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.why-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 18px;
}
.why-item h4 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--navy-900);
}
.why-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============== GALLERY ============== */
.gallery { background: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
    margin-top: 30px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-100);
}
.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-wide {
    grid-column: span 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 26, 53, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    opacity: 1;
    transition: var(--transition);
}
.gallery-overlay h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 6px;
    transform: translateY(10px);
    transition: var(--transition);
}
.gallery-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    transform: translateY(10px);
    transition: var(--transition);
    transition-delay: 0.05s;
    opacity: 0;
}
.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* ============== CTA BANNER ============== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 50%, rgba(245, 184, 150, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(74, 180, 224, 0.15) 0%, transparent 50%);
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}
.cta-text h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 14px;
    line-height: 1.2;
}
.cta-text h2 .accent { color: var(--peach); }
.cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============== CONTACT ============== */
.contact { background: var(--gray-50); }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
a.contact-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 2px;
}
.contact-item strong {
    color: var(--navy-900);
    font-size: 16px;
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 28px;
    color: var(--navy-900);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--navy-900);
    background: var(--gray-50);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 144, 196, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    color: var(--blue-accent);
    font-weight: 500;
    min-height: 20px;
}

/* ============== FOOTER ============== */
.footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.footer-logo img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
}
.footer-logo strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: var(--white);
    font-weight: 800;
}
.footer-logo span {
    font-size: 11px;
    color: var(--peach);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px;
}
.footer-col h5 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--peach); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    font-size: 13px;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============== FLOAT BUTTON ============== */
.float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}
.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============== LEGAL MODAL — PREMIUM ============== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 53, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 24px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: var(--white);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

/* HEADER — navy gradient with peach glow */
.modal-header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
    color: var(--white);
    padding: 40px 44px 36px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-bottom: none;
    border-radius: 0;
}
.modal-header::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(245, 184, 150, 0.2), transparent 60%);
    top: -200px;
    right: -140px;
    pointer-events: none;
}
.modal-header::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(74, 180, 224, 0.14), transparent 60%);
    bottom: -160px;
    left: -100px;
    pointer-events: none;
}
.modal-header-content {
    position: relative;
    z-index: 1;
    flex: 1;
}
.modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--peach);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
}
.modal-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--peach);
    border-radius: 2px;
}
.modal-header h2 {
    color: var(--white);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
    line-height: 1.1;
}
.modal-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    max-width: 480px;
}

.modal-close {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    padding: 0;
    font-size: 0;
}
.modal-close:hover {
    background: rgba(245, 184, 150, 0.2);
    border-color: var(--peach);
    color: var(--peach);
    transform: rotate(90deg);
}
.modal-close svg { display: block; }

/* BODY */
.modal-body {
    overflow-y: auto;
    padding: 0;
    background: var(--white);
    flex: 1;
}
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: var(--gray-50); }
.modal-body::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* SECTIONS */
.legal-section {
    padding: 30px 44px;
    border-bottom: 1px solid var(--gray-100);
}
.legal-section:last-of-type { border-bottom: none; }

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}
.legal-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(30, 144, 196, 0.32);
}
.legal-section:nth-child(2) .legal-icon { background: linear-gradient(135deg, var(--peach), var(--orange)); box-shadow: 0 6px 16px rgba(240, 138, 75, 0.32); }
.legal-section:nth-child(3) .legal-icon { background: linear-gradient(135deg, #6b7785, #3a4452); box-shadow: 0 6px 16px rgba(58, 68, 82, 0.32); }
.legal-section:nth-child(4) .legal-icon { background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); box-shadow: 0 6px 16px rgba(26, 58, 108, 0.32); }
.legal-section:nth-child(5) .legal-icon { background: linear-gradient(135deg, #1aa564, #16895a); box-shadow: 0 6px 16px rgba(26, 165, 100, 0.32); }

.legal-section-title { flex: 1; min-width: 0; }
.legal-section-title h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-900);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 3px;
    letter-spacing: -0.015em;
    text-transform: none;
}
.legal-section-sub {
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin: 0;
}

/* COMPANY CARD */
.legal-company {
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.legal-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--peach), var(--orange));
}
.legal-company h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-900);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.legal-company-address {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* DEFINITION GRID */
.legal-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 16px 32px;
    margin: 0;
}
.legal-grid dt {
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    align-self: center;
    margin: 0;
    white-space: nowrap;
}
.legal-grid dd {
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}
.legal-grid dd a {
    color: var(--blue-accent);
    transition: color 0.2s;
    border-bottom: 1px dashed transparent;
}
.legal-grid dd a:hover {
    color: var(--navy-800);
    border-bottom-color: var(--navy-800);
}

/* TEXT PARAGRAPHS */
.legal-text {
    color: var(--gray-700);
    line-height: 1.75;
    font-size: 14.5px;
    margin: 0;
}

/* PLACEHOLDER */
.placeholder {
    display: inline-block;
    color: var(--orange);
    background: rgba(240, 138, 75, 0.08);
    border: 1px dashed rgba(240, 138, 75, 0.45);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 12.5px;
    font-style: italic;
    font-weight: 500;
}

/* MODAL FOOTER */
.legal-footer {
    padding: 18px 44px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-500);
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 5px 12px;
    color: var(--navy-700);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
}
.legal-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1aa564;
    box-shadow: 0 0 0 3px rgba(26, 165, 100, 0.2);
}

/* FOOTER LINK */
.footer-bottom-link {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    padding: 0;
}
.footer-bottom-link:hover { color: var(--peach); }

/* DESIGN CREDIT */
.footer-credit {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
}
.footer-credit a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    transition: color 0.25s;
    border-bottom: 1px solid transparent;
}
.footer-credit a:hover {
    color: var(--peach);
    border-bottom-color: rgba(245, 184, 150, 0.4);
}

@media (max-width: 768px) {
    .modal-overlay { padding: 12px; }
    .modal { max-height: 94vh; }
    .modal-header {
        padding: 28px 24px 26px;
        flex-direction: column;
    }
    .modal-header h2 { font-size: 22px; }
    .modal-subtitle { font-size: 13px; }
    .modal-close { position: absolute; top: 18px; right: 18px; }
    .legal-section { padding: 24px 24px; }
    .legal-section-header { gap: 12px; margin-bottom: 18px; }
    .legal-section-title h3 { font-size: 16px; }
    .legal-company { padding: 18px 20px; }
    .legal-company h4 { font-size: 18px; }
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .legal-grid dt { margin-top: 14px; }
    .legal-grid dt:first-child { margin-top: 0; }
    .legal-footer {
        padding: 14px 24px;
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============== ANIMATIONS ============== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 500px; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-img { height: 420px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    .gallery-large { grid-column: span 2; grid-row: span 1; }
    .gallery-wide { grid-column: span 2; }
    .cta-inner { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .topbar-left { gap: 14px; font-size: 12px; }
    .topbar-right { gap: 12px; }
    .topbar-right .topbar-tag { display: none; }
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    .nav.open { transform: translateY(0); }
    .nav-link { width: 100%; text-align: center; padding: 14px; }
    .nav-cta { margin: 8px 0 0 0; }
    .hamburger { display: flex; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero-card { transform: none; padding: 30px 24px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .stats-inner { gap: 20px; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .gallery-large { grid-column: span 1; grid-row: span 1; }
    .gallery-wide { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
    .footer { padding-top: 50px; }
    .footer-bottom-inner { text-align: center; justify-content: center; }
    .about-badge { right: 16px; bottom: -24px; padding: 16px 20px; }
    .badge-year { font-size: 32px; }
    .scroll-down { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-features { gap: 12px; flex-direction: column; align-items: flex-start; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .topbar-left { gap: 10px; }
    .topbar-item { font-size: 11px; }
    .topbar-inner { justify-content: center; }
    .lang-switch { gap: 5px; }
    .lang-link { width: 28px !important; height: 20px !important; }
}
