/* ==========================================================================
   PT Yushu Utama Pratama – Stylesheet utama
   Warna diambil dari logo: navy (teks), emas (emblem), hijau (daun).
   ========================================================================== */

:root {
    --navy-950: #061430;
    --navy-900: #0a2350;
    --navy-800: #0d2f6b;
    --navy-700: #123d88;
    --gold-300: #f1d98c;
    --gold-400: #e2c063;
    --gold-500: #c9a043;
    --gold-600: #a8822d;
    --gold-grad: linear-gradient(135deg, #f3dc8f 0%, #d4ab4c 45%, #a67d27 100%);
    --leaf: #5bb531;
    --ink: #0f1b2d;
    --text: #4a5568;
    --muted: #718096;
    --line: #e3e8ef;
    --soft: #f4f6fa;
    --white: #fff;

    --font-head: "Barlow", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 10px rgba(10, 35, 80, .06);
    --shadow: 0 14px 40px rgba(10, 35, 80, .10);
    --container: 1240px;
    --header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 110px); }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.bg-navy .section-title { color: var(--white); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Typography helpers ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600);
    margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.kicker--light { color: var(--gold-400); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; }
.section-head--split .section-title { margin-bottom: 0; max-width: 620px; }
.prose p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 6px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .03em;
    text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 8px 22px rgba(201, 160, 67, .35); }
.btn--gold:hover { color: var(--navy-950); box-shadow: 0 12px 28px rgba(201, 160, 67, .5); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy-900); }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy-800); font-size: .92rem; }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .75); font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.topbar__info, .topbar__right { display: flex; align-items: center; gap: 24px; }
.topbar__info li, .topbar__right > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--gold-400); }
.topbar a:hover { color: var(--gold-300); }

.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold-grad); color: var(--navy-950); }
.socials--sm a { width: 28px; height: 28px; background: transparent; }
.socials--sm .icon { color: inherit; width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy-800); letter-spacing: .02em; }
.brand__text small { font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.brand:hover { color: inherit; }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__item { position: relative; }
.main-nav__link {
    display: inline-flex; align-items: center; gap: 4px; padding: 30px 12px; white-space: nowrap;
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); text-transform: uppercase; letter-spacing: .03em;
}
.main-nav__link.is-active, .main-nav__link:hover { color: var(--gold-600); }
.main-nav__caret { width: .9em; height: .9em; transition: transform .2s; }
.main-nav__toggle, .main-nav__cta-mobile { display: none; }
.main-nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 290px; padding: 10px; background: var(--white);
    border-top: 3px solid var(--gold-500); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.main-nav__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-weight: 500; color: var(--ink); }
.main-nav__sub a .icon { color: var(--gold-600); }
.main-nav__sub a:hover { background: var(--soft); color: var(--navy-700); }
.has-sub:hover .main-nav__sub, .has-sub:focus-within .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .main-nav__caret { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-call { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.header-call__icon, .link-call__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--navy-800); }
.header-call small, .link-call small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.header-call strong, .link-call strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 8px; background: var(--navy-900); color: var(--white); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 48, .95) 0%, rgba(6, 20, 48, .78) 45%, rgba(6, 20, 48, .25) 100%); }
.hero__content { position: relative; z-index: 2; padding-block: 90px 120px; }
.hero__content > * { max-width: 700px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.hero__kicker span { width: 40px; height: 3px; background: var(--gold-grad); border-radius: 3px; }
.hero__title { color: var(--white); font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 20px; }
.hero__text { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--gold-400); }
.hero.is-animated .hero__slide.is-active .hero__content > * { animation: rise .8s both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .3s; }
.hero__slide.is-active .hero__content > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.hero__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); cursor: pointer; transition: .2s; }
.hero__arrow:hover { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 30px; background: var(--gold-400); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs--center { justify-content: center; margin-bottom: 40px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; transition: .2s; }
.tabs--pill button { padding: 12px 20px; border-radius: 40px; background: var(--soft); color: var(--ink); font-size: .92rem; }
.tabs--pill button[aria-selected="true"] { background: var(--navy-900); color: var(--white); }
.tabs--pill button[aria-selected="true"] .icon { color: var(--gold-400); }
.tabs--pill button:hover:not([aria-selected="true"]) { background: #e8edf5; }
.tabs--line { border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 28px; gap: 0; }
.tabs--line button { background: none; padding: 14px 22px; color: rgba(255, 255, 255, .6); font-size: 1.05rem; position: relative; }
.tabs--line button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .25s; }
.tabs--line button[aria-selected="true"] { color: var(--white); }
.tabs--line button[aria-selected="true"]::after { transform: scaleX(1); }
[data-panel]:not([hidden]) { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2350' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 160, 67, .18); }
.field textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field--full { grid-column: 1 / -1; }
.form-grid__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-note a { color: var(--navy-700); text-decoration: underline; }

/* ---------- Clients ---------- */
.clients__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.client-logo { display: grid; place-items: center; height: 110px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.client-logo:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.client-logo img { max-width: 100%; max-height: 70px; width: auto; height: auto; object-fit: contain; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; inset: auto 0 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(6, 20, 48, .85)); color: var(--white); font-size: .88rem; font-weight: 600; }

/* ---------- Features ---------- */
.features__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; align-items: stretch; }
.features__intro .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.features__stat { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; background: var(--navy-900); border-radius: var(--radius); color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.4; }
.features__stat strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-card { position: relative; padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 14px; background: var(--navy-900); color: var(--gold-400); }
.feature-card__icon .icon { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.35rem; }
.feature-card p { margin: 0; }
.feature-card__num { position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 3.6rem; color: var(--soft); line-height: 1; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 6 / 7; object-fit: cover; }
.about__img-sm { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); border: 8px solid var(--white); box-shadow: var(--shadow); }
.about__badge { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--gold-grad); color: var(--navy-950); border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.25; max-width: 220px; }
.about__badge .icon { width: 34px; height: 34px; }
.about__badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.link-call { display: flex; align-items: center; gap: 12px; }
.link-call__icon { background: var(--gold-grad); color: var(--navy-950); }

.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist--2col { grid-template-columns: repeat(2, 1fr); }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); margin-top: 2px; }
.checklist--light li { color: var(--white); }
.checklist--light .icon { background: var(--gold-grad); color: var(--navy-950); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900) url("../../images/pattern.svg") center / 600px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 20px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat__value { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin: 10px 0 0; color: rgba(255, 255, 255, .8); font-weight: 500; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 44px 26px 28px; }
.service-card__icon { position: absolute; top: -32px; left: 26px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 8px 20px rgba(201, 160, 67, .4); }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.3rem; }
.service-card h3 a:hover { color: var(--navy-700); }
.service-card p { flex: 1; font-size: .96rem; }

/* ---------- Banner ---------- */
.banner { position: relative; padding-block: 90px; background: var(--navy-950) url("../../images/banner-bg.jpg") center / cover; color: rgba(255, 255, 255, .8); overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 48, .95), rgba(6, 20, 48, .7)); }
.banner__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.banner__inner > div:first-child { max-width: 700px; }
.banner__title { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.banner p:last-child { margin: 0; font-size: 1.08rem; }

/* ---------- Industries ---------- */
.industries__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.industry-card { padding: 34px 22px; text-align: center; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: .3s; }
.industry-card:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-6px); }
.industry-card:hover h3 { color: var(--white); }
.industry-card:hover p { color: rgba(255, 255, 255, .7); }
.industry-card__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: var(--soft); color: var(--navy-800); transition: .3s; }
.industry-card:hover .industry-card__icon { background: var(--gold-grad); color: var(--navy-950); }
.industry-card__icon .icon { width: 34px; height: 34px; }
.industry-card h3 { font-size: 1.25rem; margin-bottom: 8px; transition: color .3s; }
.industry-card p { margin: 0; font-size: .93rem; transition: color .3s; }

/* ---------- Values (tabs) ---------- */
.values__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.values__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; }
.values__vision { font-size: 1.2rem; color: var(--white); font-weight: 500; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-list li { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.value-list strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--gold-400); margin-bottom: 4px; }
.value-list span { font-size: .95rem; }

/* ---------- Products ---------- */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-item { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.product-item:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.product-item__media { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--soft); color: var(--navy-800); }
.product-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-item:hover .product-item__media img { transform: scale(1.05); }
.product-item__media .icon { width: 56px; height: 56px; opacity: .5; }
.product-item__name { flex: 1; font-weight: 700; color: var(--ink); line-height: 1.35; }
.product-item__link { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--gold-600); white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.products__more { text-align: center; margin: 36px 0 0; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 34px 28px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.process-step::after { content: ""; position: absolute; top: 62px; right: -24px; width: 24px; height: 2px; background: var(--gold-500); }
.process-step:last-child::after { display: none; }
.process-step__num { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.process-step h3 { font-size: 1.25rem; }
.process-step p { margin: 0; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: var(--soft); }
.testimonial__quote { width: 40px; height: 40px; color: var(--gold-500); }
.testimonial blockquote { margin: 16px 0 20px; font-size: 1.02rem; color: var(--ink); }
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.testimonial figcaption span { font-size: .9rem; color: var(--muted); }

/* ---------- Quote form + CTA cards ---------- */
.quote__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: stretch; }
.quote__form-wrap { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--soft); }
.quote__cards { display: grid; gap: 24px; }
.cta-card { padding: 34px; border-radius: var(--radius-lg); }
.cta-card h3 { font-size: 1.5rem; }
.cta-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 14px; }
.cta-card__icon .icon { width: 28px; height: 28px; }
.cta-card--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.cta-card--navy h3 { color: var(--white); }
.cta-card--navy .cta-card__icon { background: rgba(255, 255, 255, .08); color: var(--gold-400); }
.cta-card--gold { background: var(--gold-grad); color: var(--navy-950); }
.cta-card--gold .cta-card__icon { background: rgba(6, 20, 48, .12); color: var(--navy-950); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.accordion { display: grid; gap: 14px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.accordion__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary h3 { margin: 0; font-size: 1.15rem; }
.accordion__item summary .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--navy-800); transition: transform .25s, background .25s; }
.accordion__item[open] summary .icon { transform: rotate(45deg); background: var(--gold-grad); color: var(--navy-950); }
.accordion__body { padding: 0 24px 20px; }
.accordion__body p { margin: 0; }
.accordion .link-more { margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(64px, 9vw, 110px); }
.cta__box { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--navy-900) url("../../images/pattern.svg") center / 600px; color: rgba(255, 255, 255, .8); overflow: hidden; }
.cta__leaf { width: 110px; }
.cta__title { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.cta__box p { margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Page header ---------- */
.page-header { position: relative; padding-block: clamp(70px, 10vw, 120px); background: var(--navy-950) url("../../images/banner-bg.jpg") center / cover; color: rgba(255, 255, 255, .8); text-align: center; }
.page-header::before { content: ""; position: absolute; inset: 0; background: rgba(6, 20, 48, .82); }
.page-header__inner { position: relative; }
.page-header__title { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 12px; }
.page-header__subtitle { max-width: 640px; margin: 0 auto 20px; font-size: 1.08rem; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: 40px; background: rgba(255, 255, 255, .08); font-size: .92rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold-400); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* ---------- About page ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }

/* ---------- Service detail ---------- */
.detail__grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 32px; }
.detail__subtitle { font-size: 1.6rem; margin-top: 44px; }
.detail__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.detail__products li { display: flex; flex-direction: column; gap: 10px; }
.detail__product-media { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--navy-800); }
.detail__product-media img { width: 100%; height: 100%; object-fit: cover; }
.detail__product-media .icon { width: 48px; height: 48px; opacity: .5; }
.detail__features { display: grid; gap: 16px; }
.mini-feature { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--soft); }
.mini-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--gold-400); flex-shrink: 0; }
.mini-feature h4 { margin: 0 0 4px; font-size: 1.15rem; }
.mini-feature p { margin: 0; font-size: .95rem; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-box { padding: 28px; border-radius: var(--radius-lg); background: var(--soft); }
.side-box__title { font-size: 1.35rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--line); }
.side-menu { display: grid; gap: 8px; }
.side-menu a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 700; transition: .2s; }
.side-menu a .icon { color: var(--gold-600); }
.side-menu__arrow { margin-left: auto; }
.side-menu a:hover, .side-menu a.is-active { background: var(--navy-900); color: var(--white); }
.side-menu a:hover .icon, .side-menu a.is-active .icon { color: var(--gold-400); }
.side-box--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); text-align: center; }
.side-box--navy .side-box__title { color: var(--white); border-color: rgba(255, 255, 255, .12); }
.side-box__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); }
.side-box__icon .icon { width: 30px; height: 30px; }
.side-box__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-card { padding: 30px 24px; border-radius: var(--radius-lg); background: var(--soft); text-align: center; }
.contact-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); }
.contact-card__icon .icon { width: 28px; height: 28px; }
.contact-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.contact-card p { margin: 0 0 4px; font-size: .95rem; overflow-wrap: anywhere; }
.contact-card a { color: var(--navy-700); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact__map { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 404 ---------- */
.error-page__inner { text-align: center; max-width: 620px; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; margin: 0 0 10px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: .96rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; padding-block: 80px 56px; }
.site-footer__about p { margin: 20px 0 24px; }
.site-footer__title { position: relative; color: var(--white); font-size: 1.3rem; padding-bottom: 14px; margin-bottom: 22px; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-300); }
.footer-contact p { display: flex; gap: 10px; margin-bottom: 12px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--gold-400); margin-top: 4px; }
.footer-hours { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 6px; font-size: .9rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.wa-float, .to-top { position: fixed; right: 20px; z-index: 90; display: grid; place-items: center; border-radius: 50%; box-shadow: var(--shadow); transition: transform .2s, opacity .3s, visibility .3s; }
.wa-float { bottom: 86px; width: 56px; height: 56px; background: #25d366; color: var(--white); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: var(--white); transform: scale(1.08); }
.to-top { bottom: 24px; width: 48px; height: 48px; border: 0; background: var(--gold-grad); color: var(--navy-950); cursor: pointer; opacity: 0; visibility: hidden; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1359px) {
    .header-call { display: none; }
}

@media (max-width: 1199px) {
    .features__grid { grid-template-columns: repeat(3, 1fr); }
    .features__intro { grid-column: 1 / -1; max-width: 720px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .industries__grid { grid-template-columns: repeat(3, 1fr); }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
    :root { --header-h: 72px; }
    .topbar__info li:first-child { display: none; }
    .nav-toggle { display: grid; }
    .header-cta { display: none; }
    .site-header__actions { margin-left: auto; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
        padding: 16px 20px 32px; background: var(--white); overflow-y: auto;
        transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open { overflow: hidden; }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
    .main-nav__link { flex: 1; padding: 16px 0; }
    .main-nav__caret { display: none; }
    .main-nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--soft); cursor: pointer; }
    .main-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
    .main-nav__sub { position: static; width: 100%; min-width: 0; padding: 0 0 12px; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
    .main-nav__sub.is-open { display: block; }
    .main-nav__cta-mobile { display: flex; margin-top: 24px; }

    .hero__controls { bottom: 40px; }
    .about__grid, .values__grid, .quote__grid, .faq__grid, .why__grid, .detail__grid, .contact__grid { grid-template-columns: 1fr; }
    .about__media { max-width: 560px; }
    .values__media { display: none; }
    .faq__intro, .detail__aside { position: static; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .products__grid, .gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .clients__grid { grid-template-columns: repeat(4, 1fr); }
    .process__grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .cta__box { grid-template-columns: 1fr; text-align: center; }
    .cta__leaf { margin-inline: auto; }
    .cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .topbar { display: none; }
    .brand__text small { display: none; }
    .brand__text strong { font-size: 1.02rem; }
    .brand img { width: 44px; }
    .hero__slide { min-height: 640px; align-items: flex-start; }
    .hero__content { padding-block: 70px 110px; }
    .hero__slide::after { background: linear-gradient(180deg, rgba(6, 20, 48, .9), rgba(6, 20, 48, .82)); }
    .hero__controls { justify-content: center; bottom: 32px; }
    .hero__trust { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .tabs--pill button { padding: 10px 14px; font-size: .82rem; }
    .products__grid, .gallery__grid, .clients__grid, .detail__products { grid-template-columns: repeat(2, 1fr); }
    .client-logo { height: 90px; padding: 14px; }
    .features__grid, .services__grid, .process__grid, .contact-cards, .value-list { grid-template-columns: 1fr; }
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
    .checklist--2col { grid-template-columns: 1fr; }
    .about__media { padding: 0 30px 30px 0; }
    .about__badge { left: 12px; bottom: 12px; padding: 12px 14px; }
    .section-head--split { align-items: flex-start; }
    .site-footer__grid { grid-template-columns: 1fr; padding-block: 60px 40px; }
    .site-footer__bottom-inner { justify-content: center; text-align: center; }
    .btn { white-space: normal; text-align: center; }
}
