/* ============================================
   TOOLING CAN — Modern Industrial Design
   ============================================ */

/* ============ RESET & VARIABLES ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Industrial theme */
    --c-bg: #f6f8fb;
    --c-bg-alt: #ffffff;
    --c-dark: #0a1929;
    --c-dark-2: #0f2238;
    --c-navy: #14315b;
    --c-primary: #1a4480;
    --c-accent: #ff6b1a;
    --c-accent-2: #ffb01a;
    --c-text: #2a3548;
    --c-text-light: #5a6378;
    --c-text-inv: #e8eef7;
    --c-border: #e2e8f1;
    --c-white: #ffffff;

    /* Typography */
    --font-body: 'Inter', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-head: 'Inter', 'Noto Sans Thai', -apple-system, sans-serif;

    /* Spacing & layout */
    --container: 1240px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --header-h: 78px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(10, 25, 41, .06);
    --shadow: 0 10px 35px rgba(10, 25, 41, .09);
    --shadow-lg: 0 24px 60px rgba(10, 25, 41, .14);

    /* Transitions */
    --t: .35s cubic-bezier(.22, 1, .36, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ============ LAYOUT HELPERS ============ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.text-accent {
    color: var(--c-accent);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
    letter-spacing: .2px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--c-accent);
    color: var(--c-white);
    box-shadow: 0 8px 22px rgba(255, 107, 26, .35);
}

.btn-primary:hover {
    background: #e85a0a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 26, .45);
}

.btn-outline {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, .45);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--c-white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: var(--c-white);
    border-color: rgba(255, 255, 255, .3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

/* ============ SECTION HEADINGS ============ */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(255, 107, 26, .1);
    border-radius: 50px;
}

.section-label.light {
    color: var(--c-accent-2);
    background: rgba(255, 176, 26, .14);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-dark);
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--c-white);
}

.section-desc {
    font-size: 17px;
    color: var(--c-text-light);
}

.section-desc.light {
    color: rgba(232, 238, 247, .75);
}

.lead {
    font-size: 17px;
    color: var(--c-text-light);
    margin-bottom: 28px;
}

/* ============ HEADER / NAV ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(10, 25, 41, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    transition: all var(--t);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header.scrolled {
    background: rgba(10, 25, 41, .96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: var(--c-dark);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(255, 107, 26, .4);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-th {
    font-weight: 700;
    font-size: 18px;
    color: var(--c-white);
}

.logo-en {
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--c-accent-2);
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(232, 238, 247, .8);
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    transition: all var(--t);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--c-accent);
    border-radius: 2px;
    transition: width var(--t);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 22px;
}

.nav-cta {
    padding: 10px 22px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--c-white);
    border-radius: 3px;
    transition: all var(--t);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ HERO BANNER SLIDER ============ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--c-dark);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility 0s linear .8s;
    z-index: 1;
}

.slide.slide--active {
    opacity: 1;
    visibility: visible;
    transition: opacity .8s ease;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, var(--g1, #0a1929) 0%, var(--g2, #14315b) 100%);
    z-index: 0;
}

.slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 107, 26, .12), transparent 60%);
    pointer-events: none;
}

.slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 50px;
    padding-top: var(--header-h);
}

/* Reverse layout: image left, text right */
.slide[data-reverse] .slide-inner {
    grid-template-columns: 1fr 1.05fr;
}

.slide[data-reverse] .slide-text {
    order: 2;
}

.slide[data-reverse] .slide-media {
    order: 1;
}

.slide-text {
    max-width: 560px;
}

.slide-text > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.slide--active .slide-text > * {
    opacity: 1;
    transform: translateY(0);
}

.slide--active .slide-text > *:nth-child(1) { transition-delay: .25s; }
.slide--active .slide-text > *:nth-child(2) { transition-delay: .4s; }
.slide--active .slide-text > *:nth-child(3) { transition-delay: .55s; }
.slide--active .slide-text > *:nth-child(4) { transition-delay: .7s; }
.slide--active .slide-text > *:nth-child(5) { transition-delay: .85s; }

.slide-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-accent-2);
    margin-bottom: 18px;
    padding: 6px 16px;
    background: rgba(255, 176, 26, .12);
    border-radius: 50px;
    border: 1px solid rgba(255, 176, 26, .25);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    color: var(--c-text-inv);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 26, .25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 107, 26, .25); }
    50% { box-shadow: 0 0 0 8px rgba(255, 107, 26, 0); }
}

.slide-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--c-white);
    letter-spacing: .5px;
    margin-bottom: 22px;
}

.slide-title .text-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-subtitle {
    font-size: clamp(15px, 1.4vw, 17.5px);
    color: rgba(232, 238, 247, .82);
    line-height: 1.8;
    margin-bottom: 28px;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.slide-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-inv);
    padding: 8px 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.slide-features svg {
    color: var(--c-accent);
    flex-shrink: 0;
}

.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slide media (image side) */
.slide-media {
    position: relative;
    opacity: 0;
    transform: scale(.94) translateX(20px);
    transition: opacity .8s ease .35s, transform .8s ease .35s;
}

.slide[data-reverse] .slide-media {
    transform: scale(.94) translateX(-20px);
}

.slide--active .slide-media {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.slide-media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
    aspect-ratio: 4/3.4;
    background: var(--c-dark-2);
}

.slide-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-media-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 41, .4) 0%, transparent 40%);
    pointer-events: none;
}

.slide-media-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: var(--c-dark);
    padding: 16px 22px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.slide[data-reverse] .slide-media-badge {
    left: auto;
    right: -16px;
}

.smb-num {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.smb-text {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--c-white);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: all var(--t);
}

.slider-arrow:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow--prev {
    left: 30px;
}

.slider-arrow--next {
    right: 30px;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    border: none;
    cursor: pointer;
    transition: all var(--t);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, .6);
}

.slider-dot.active {
    width: 38px;
    border-radius: 6px;
    background: var(--c-accent);
}

/* Hero scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    opacity: .7;
    transition: opacity var(--t);
}

.hero-scroll:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 14px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

/* ============ HERO STATS BAR ============ */
.hero-stats-bar {
    background: var(--c-dark);
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    overflow: hidden;
}

.hero-stats-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 26, .06), transparent 60%);
    pointer-events: none;
}

.hero-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 6vw, 80px);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

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

.hero-stat-value {
    display: inline-flex;
    align-items: flex-start;
    line-height: 1;
}

.hero-stat-num {
    font-family: var(--font-head);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 800;
    color: var(--c-white);
    line-height: .9;
    display: inline-block;
    letter-spacing: -1px;
}

.hero-stat-plus {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
    margin-top: 0.1em;
    margin-left: 2px;
    text-shadow: 0 0 18px rgba(255, 107, 26, .5);
}

.hero-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(232, 238, 247, .65);
    margin-top: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .2), transparent);
}

.text-accent {
    color: var(--c-accent);
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ============ TRUST BAR / MARQUEE ============ */
.trust-bar {
    background: var(--c-dark);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: marquee 32s linear infinite;
}

.marquee-track span {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(232, 238, 247, .7);
    text-transform: uppercase;
}

.marquee-track span:first-child,
.marquee-track span:nth-child(3n) {
    color: var(--c-accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about {
    background: var(--c-bg-alt);
}

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

.about-visual {
    position: relative;
    padding-bottom: 30px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    aspect-ratio: 4/3.4;
    background: var(--c-dark);
}

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

.about-img-badge {
    position: absolute;
    bottom: 0;
    right: -10px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: var(--c-dark);
    padding: 22px 28px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

.badge-num {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.badge-num span {
    font-size: 32px;
}

.badge-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.about-img-accent {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--c-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-list {
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--c-text);
}

.about-list svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 4px;
    background: rgba(255, 107, 26, .12);
    color: var(--c-accent);
    border-radius: 50%;
    margin-top: 1px;
}

/* ============ SERVICES ============ */
.services {
    background: linear-gradient(160deg, #0a1929 0%, #102844 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 26, .12), transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Product image on top of the card */
.service-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--c-dark-2);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}

.service-body {
    padding: 26px 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.service-card:hover {
    background: rgba(255, 255, 255, .07);
    transform: translateY(-8px);
    border-color: rgba(255, 107, 26, .3);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 107, 26, .18), rgba(255, 176, 26, .1));
    color: var(--c-accent);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: all var(--t);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: var(--c-dark);
    transform: scale(1.08) rotate(-4deg);
}

.service-title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 12px;
    letter-spacing: .3px;
}

.service-desc {
    font-size: 14.5px;
    color: rgba(232, 238, 247, .7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.service-tags li {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .2px;
    color: rgba(232, 238, 247, .92);
    background: rgba(255, 255, 255, .09);
    padding: 6px 14px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: background var(--t), color var(--t);
    white-space: nowrap;
}

.service-tags li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-accent);
    margin-right: 7px;
    vertical-align: 1.5px;
}

.service-card:hover .service-tags li {
    background: rgba(255, 107, 26, .16);
}

/* Card CTA → service detail page */
.service-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-accent-2);
    background: rgba(255, 176, 26, .12);
    border: 1.5px solid rgba(255, 176, 26, .35);
    transition: all var(--t);
}

.service-detail-btn svg {
    transition: transform var(--t);
}

.service-card:hover .service-detail-btn {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-white);
}

.service-detail-btn:hover svg {
    transform: translateX(4px);
}

/* ============ WHY CHOOSE US ============ */
.why {
    background: var(--c-bg-alt);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 38px 26px;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    background: var(--c-white);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.why-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: var(--c-border);
    line-height: 1;
    transition: color var(--t);
}

.why-card:hover .why-num {
    color: rgba(255, 107, 26, .15);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c-dark), var(--c-navy));
    color: var(--c-accent);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    transition: all var(--t);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: var(--c-dark);
}

.why-title {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: 10px;
    letter-spacing: .3px;
}

.why-desc {
    font-size: 14.5px;
    color: var(--c-text-light);
    line-height: 1.7;
}

/* ============ VISION ============ */
.vision {
    background: linear-gradient(135deg, #f6f8fb 0%, #eef2f8 100%);
}

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

.vision-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.vision-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--c-text);
    font-weight: 500;
}

.vision-point svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 4px;
    background: var(--c-accent);
    color: var(--c-white);
    border-radius: 50%;
}

.vision-visual {
    position: relative;
}

.vision-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--c-dark);
}

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

.vision-quote {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background: var(--c-dark);
    color: var(--c-white);
    padding: 26px 28px;
    border-radius: var(--radius);
    max-width: 340px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--c-accent);
}

.vision-quote svg {
    color: var(--c-accent);
    opacity: .8;
    margin-bottom: 10px;
}

.vision-quote p {
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(232, 238, 247, .9);
}

/* ============ GALLERY ============ */
.gallery {
    background: linear-gradient(160deg, #0a1929 0%, #14315b 100%);
    overflow: hidden;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 176, 26, .1), transparent 70%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--c-dark-2);
}

.gallery-item-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 41, .9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity var(--t);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--c-white);
    font-weight: 600;
    font-size: 15px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--c-accent) 0%, #e85a0a 100%);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.cta-text p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-banner .btn-primary {
    background: var(--c-dark);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}

.cta-banner .btn-primary:hover {
    background: var(--c-dark-2);
}

/* ============ CONTACT ============ */
.contact {
    background: var(--c-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
}

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

.contact-card {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: all var(--t);
}

.contact-card:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: var(--c-dark);
    display: grid;
    place-items: center;
}

.contact-card-body h4 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: 4px;
    letter-spacing: .3px;
}

.contact-card-body p {
    font-size: 14.5px;
    color: var(--c-text-light);
    line-height: 1.7;
}

.contact-card-body a {
    color: var(--c-text-light);
}

.contact-card-body a:hover {
    color: var(--c-accent);
}

/* Social card in contact section (below email card) */
.contact-social-card {
    align-items: flex-start;
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.contact-social {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--c-white);
    border: 1.5px solid var(--c-border);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
}

.contact-social svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-social:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 20px rgba(10, 25, 41, .22);
    border-color: transparent;
}

.contact-map {
    flex: 1;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-form-wrap {
    background: var(--c-dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 26, .2), transparent 70%);
    pointer-events: none;
}

.contact-form h3 {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 6px;
    position: relative;
}

.form-sub {
    color: rgba(232, 238, 247, .65);
    font-size: 14.5px;
    margin-bottom: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(232, 238, 247, .85);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: var(--c-white);
    font-family: var(--font-body);
    font-size: 14.5px;
    transition: all var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(232, 238, 247, .4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, .1);
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 26, .15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffb01a' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--c-dark);
    color: var(--c-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--font-body);
}

.contact-form .btn-primary {
    margin-top: 6px;
}

.form-note {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.form-note.success {
    color: #4ade80;
}

.form-note.error {
    color: #f87171;
}

/* Form hint label */
.form-hint {
    font-weight: 400;
    color: rgba(232, 238, 247, .45);
    font-size: 12.5px;
}

/* Math CAPTCHA in contact form */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(255, 176, 26, .16), rgba(255, 107, 26, .1));
    border: 1px dashed rgba(255, 176, 26, .45);
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-accent-2);
    letter-spacing: 2px;
    user-select: none;
    white-space: nowrap;
}

.captcha-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: var(--c-white);
    font-family: inherit;
    font-size: 15px;
    transition: all var(--t);
    min-width: 0;
}

.captcha-input:focus {
    outline: none;
    background: rgba(255, 255, 255, .1);
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 26, .15);
}

.captcha-input::placeholder {
    color: rgba(232, 238, 247, .4);
}

.captcha-refresh {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(232, 238, 247, .75);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t);
}

.captcha-refresh:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-white);
    transform: rotate(90deg);
}

/* Image attachment in contact form */
.attach-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .06);
    border: 1.5px dashed rgba(255, 255, 255, .2);
    border-radius: 11px;
    color: rgba(232, 238, 247, .85);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t);
}

.attach-btn:hover {
    background: rgba(255, 107, 26, .12);
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.attach-preview {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 11px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
}

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

.attach-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(10, 25, 41, .85);
    border: none;
    color: var(--c-white);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t);
}

.attach-remove:hover {
    background: var(--c-error);
}

.attach-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 25, 41, .95));
    color: var(--c-white);
    font-size: 10.5px;
    padding: 14px 6px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ SERVICE DETAIL PAGE ============ */
.service-detail {
    padding-top: calc(var(--header-h) + 46px);
    padding-bottom: 90px;
    background: var(--c-bg);
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--c-text-light);
    margin-bottom: 30px;
}

.crumbs a {
    color: var(--c-text-light);
    transition: color var(--t);
}

.crumbs a:hover {
    color: var(--c-accent);
}

.crumbs strong {
    color: var(--c-text);
    font-weight: 600;
}

/* --- hero --- */
.sd-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
    background: linear-gradient(160deg, #0a1929 0%, #102844 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.sd-title {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-white);
    margin-bottom: 16px;
}

.sd-intro {
    font-size: 16.5px;
    line-height: 1.9;
    color: rgba(232, 238, 247, .78);
}

.sd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.sd-tags li {
    font-size: 13px;
    font-weight: 500;
    color: rgba(232, 238, 247, .92);
    background: rgba(255, 255, 255, .09);
    border-radius: 8px;
    padding: 7px 15px;
}

.sd-tags li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-accent);
    margin-right: 7px;
    vertical-align: 1.5px;
}

.sd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.sd-hero-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.sd-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- body --- */
.sd-body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    margin-top: 54px;
    align-items: start;
}

.sd-text p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--c-text-light);
    margin-bottom: 18px;
}

.sd-points {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
}

.sd-points h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 18px;
}

.sd-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--c-text-light);
    margin-bottom: 12px;
}

.sd-points svg {
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--c-accent);
}

/* --- other services --- */
.sd-more {
    margin-top: 70px;
    border-top: 1px solid var(--c-border);
    padding-top: 46px;
}

.sd-more-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 24px;
}

.sd-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sd-more-card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 14px;
    transition: all var(--t);
}

.sd-more-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-accent);
}

.sd-more-img {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sd-more-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sd-more-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sd-more-body strong {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--c-text);
}

.sd-more-body span {
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sd-more-card:hover .sd-more-body strong {
    color: var(--c-accent);
}

/* --- unknown slug --- */
.service-missing {
    text-align: center;
    padding: 80px 0;
}

.service-missing h1 {
    font-family: var(--font-head);
    font-size: 34px;
    color: var(--c-text);
    margin-bottom: 12px;
}

.service-missing p {
    color: var(--c-text-light);
    margin-bottom: 26px;
}

/* ============ QUOTE REQUEST PAGE ============ */
.quote-page {
    padding-top: calc(var(--header-h) + 46px);
    padding-bottom: 90px;
    background: var(--c-bg);
}

.quote-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.quote-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-text);
    margin-bottom: 14px;
}

.quote-sub {
    font-size: 16px;
    line-height: 1.9;
    color: var(--c-text-light);
}

.quote-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 34px;
    align-items: start;
}

/* --- form --- */
.quote-form {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow);
}

.quote-fieldset {
    border: none;
    margin-bottom: 26px;
}

.quote-fieldset legend {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    padding-bottom: 12px;
    margin-bottom: 18px;
    width: 100%;
    border-bottom: 1px solid var(--c-border);
}

.quote-fieldset legend::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--c-accent);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: -2px;
}

.quote-file {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--c-text);
}

.quote-file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-file-remove {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 38, 38, .1);
    color: #dc2626;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--t);
}

.quote-file-remove:hover {
    background: #dc2626;
    color: var(--c-white);
}

/* --- sidebar --- */
.quote-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.quote-card {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}

.quote-card h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 16px;
}

.quote-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--c-text-light);
    margin-bottom: 14px;
}

.quote-contact svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--c-accent);
}

.quote-contact a:hover {
    color: var(--c-accent);
}

.quote-steps ol {
    list-style: none;
    counter-reset: step;
}

.quote-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--c-text-light);
    margin-bottom: 14px;
}

.quote-steps li span {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-white);
    font-size: 12.5px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.quote-tip {
    background: linear-gradient(160deg, #0a1929 0%, #102844 100%);
    border-color: transparent;
}

.quote-tip h3 {
    color: var(--c-white);
}

.quote-tip p {
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(232, 238, 247, .75);
}

/* --- Light-surface form controls ---------------------------------------
   The shared .form-group / .captcha / .attach styles are tuned for the dark
   contact section (white text, translucent white fills). The quote card sits
   on white, so every one of those needs a light-surface counterpart or the
   text renders white-on-white. Scoped to .quote-form only.               */
.quote-form label {
    color: var(--c-text);
    font-weight: 600;
}

.quote-form .form-hint {
    color: var(--c-text-light);
    font-weight: 400;
}

.quote-form .form-group input,
.quote-form .form-group select,
.quote-form .form-group textarea,
.quote-form .captcha-input {
    background: var(--c-bg);
    /* darker than --c-border: the field sits on white, so the boundary has to carry itself */
    border: 1.5px solid #cbd5e1;
    color: var(--c-text);
}

.quote-form .form-group input::placeholder,
.quote-form .form-group textarea::placeholder,
.quote-form .captcha-input::placeholder {
    color: #9aa3b2;
}

.quote-form .form-group input:focus,
.quote-form .form-group select:focus,
.quote-form .form-group textarea:focus,
.quote-form .captcha-input:focus {
    background: var(--c-white);
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 26, .14);
}

.quote-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff6b1a' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.quote-form .form-group select option {
    background: var(--c-white);
    color: var(--c-text);
}

.quote-form .captcha-question {
    background: linear-gradient(135deg, rgba(255, 107, 26, .12), rgba(255, 176, 26, .1));
    border: 1px dashed rgba(255, 107, 26, .5);
    color: #c2410c;
}

.quote-form .captcha-refresh {
    background: var(--c-bg);
    border: 1.5px solid #cbd5e1;
    color: var(--c-text-light);
}

.quote-form .captcha-refresh:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-white);
}

.quote-form .attach-btn {
    background: var(--c-bg);
    border: 1.5px dashed #b9c5d6;
    color: var(--c-text);
}

.quote-form .attach-btn:hover {
    background: rgba(255, 107, 26, .08);
    border-color: var(--c-accent);
    color: var(--c-accent);
}

/* form-note greens/reds are tuned for dark too — darken for white */
.quote-form .form-note.success { color: #15803d; }
.quote-form .form-note.error   { color: #b91c1c; }
.quote-form .form-note.info    { color: var(--c-text-light); }

/* ============ FOOTER ============ */
.footer {
    background: var(--c-dark);
    color: rgba(232, 238, 247, .7);
    padding-top: 70px;
}

.footer-grid {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* ===== FOOTER MENUS (4 columns) ===== */
.footer-menus {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 54px 0;
}

.footer-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--c-white);
    margin-bottom: 20px;
    letter-spacing: .5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--c-accent);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14.5px;
    color: rgba(232, 238, 247, .65);
    transition: all var(--t);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--c-accent);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(232, 238, 247, .65);
    line-height: 1.7;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--c-accent);
}

.footer-contact a:hover {
    color: var(--c-accent);
}

/* Social buttons under the footer contact card */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(232, 238, 247, .08);
    border: 1.5px solid rgba(232, 238, 247, .16);
    transition: all var(--t);
}

.footer-social svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-social:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

/* ===== FOOTER BOTTOM BAR (copyright) ===== */
.footer-bottom {
    background: #050d17;
    border-top: 1px solid rgba(232, 238, 247, .1);
    box-shadow: inset 0 3px 0 rgba(255, 107, 26, .55);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 22px;
    padding-bottom: 22px;
}

.footer-copy {
    font-family: var(--font-head);
    font-size: 15px;
    letter-spacing: .6px;
    color: rgba(232, 238, 247, .9);
}

.footer-credit {
    font-size: 13.5px;
    color: rgba(232, 238, 247, .45);
}

/* ============ BACK TO TOP & FLOAT ============ */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-white);
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 22px rgba(255, 107, 26, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--t);
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: #e85a0a;
    transform: translateY(-3px);
}

.float-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--c-white);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
    z-index: 900;
    transition: all var(--t);
    animation: call-pulse 2.5s infinite;
}

.float-call:hover {
    transform: scale(1.1);
}

@keyframes call-pulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .4); }
    50% { box-shadow: 0 8px 22px rgba(37, 211, 102, .4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .sd-more-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 80px 0; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid,
    .vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual { max-width: 560px; margin: 0 auto; }
    .vision-visual { max-width: 560px; margin: 0 auto; }
    .vision-quote { left: 0; }

    /* Footer menus → 2 columns on tablet */
    .footer-menus {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Slider: stack text/media on tablet */
    .slide-inner {
        grid-template-columns: 1fr !important;
        gap: 28px;
        text-align: center;
        padding-top: calc(var(--header-h) + 20px);
        align-content: center;
    }
    .slide[data-reverse] .slide-text { order: 1; }
    .slide[data-reverse] .slide-media { order: 2; }
    .slide-text {
        max-width: 640px;
        margin: 0 auto;
    }
    .slide-text > * { text-align: center; }
    .slide-actions,
    .slide-features {
        justify-content: center;
    }
    .slide-media { max-width: 460px; margin: 0 auto; }
    .slide-media-frame { aspect-ratio: 4/3; }
    .slide-media-badge { bottom: -12px; left: -8px !important; right: auto !important; padding: 12px 18px; }
    .smb-num { font-size: 26px; }
    .hero-slider { height: auto; min-height: 0; max-height: none; }
    .slide { padding: 30px 0 50px; }
    .slider-arrow { width: 46px; height: 46px; }
    .slider-arrow--prev { left: 16px; }
    .slider-arrow--next { right: 16px; }
    .hero-scroll { display: none; }
}

@media (max-width: 820px) {
    .quote-layout { grid-template-columns: 1fr; gap: 26px; }
    .quote-aside { position: static; }
    .quote-form { padding: 26px 22px; }
    .sd-hero { grid-template-columns: 1fr; gap: 30px; padding: 34px 26px; }
    .sd-body { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: var(--c-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: calc(var(--header-h) + 30px) 30px 30px;
        gap: 0;
        transition: right var(--t);
        box-shadow: -10px 0 40px rgba(0, 0, 0, .3);
        overflow-y: auto;
    }

    .nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 8px;
        font-size: 17px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

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

    .nav-cta {
        margin-top: 22px;
        width: 100%;
        text-align: center;
    }

    .menu-toggle { display: flex; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gallery-item-lg { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 600px) {
    .quote-page { padding-top: calc(var(--header-h) + 26px); padding-bottom: 60px; }
    .quote-form { padding: 22px 18px; }
    .service-detail { padding-top: calc(var(--header-h) + 26px); padding-bottom: 60px; }
    .sd-hero { padding: 26px 20px; }
    .sd-more-grid { grid-template-columns: 1fr; }
    .sd-more { margin-top: 46px; padding-top: 32px; }
    .container { padding: 0 18px; }
    .section { padding: 64px 0; }

    /* Slider mobile */
    .slide { padding: 20px 0 44px; }
    .slide-title { font-size: clamp(26px, 8vw, 34px); }
    .slide-subtitle { font-size: 14.5px; }
    .slide-features li { font-size: 12.5px; padding: 6px 12px; }
    .slide-actions { gap: 10px; }
    .slide-actions .btn { width: 100%; }
    .slide-media { max-width: 100%; }
    .slide-media-frame { aspect-ratio: 1/1; }
    .slide-media-badge { left: 0 !important; padding: 10px 14px; }
    .smb-num { font-size: 22px; }
    .smb-text { font-size: 11px; }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-arrow--prev { left: 10px; }
    .slider-arrow--next { right: 10px; }
    .slider-dot { width: 9px; height: 9px; }
    .slider-dot.active { width: 28px; }
    .slider-dots { bottom: 18px; }

    .hero-stats-inner { gap: 18px; }
    .hero-stat-divider { display: none; }

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item-lg { grid-column: span 1; }

    .cta-content { flex-direction: column; text-align: center; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-menus { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom-inner { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }

    .about-img-badge {
        right: 0;
        padding: 16px 20px;
    }
    .badge-num { font-size: 40px; }
    .badge-num span { font-size: 24px; }

    .vision-quote {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        max-width: 100%;
    }

    .contact-form-wrap { padding: 28px 22px; }

    .back-top { right: 18px; bottom: 22px; }
    .float-call { left: 18px; bottom: 22px; }
}

/* Body lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* Overlay behind mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--t);
}

.nav-overlay.show {
    display: block;
    opacity: 1;
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
}
