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

:root {
    --body-bg:
        radial-gradient(circle at 12% 0%, rgba(243, 111, 33, 0.12), transparent 28rem),
        linear-gradient(140deg, #17262d, #0f1b22);
    --surface: #16262d;
    --surface-strong: #1d3038;
    --surface-muted: #102028;
    --ink: #eef5f3;
    --ink-soft: #b9c7ca;
    --line: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(24, 38, 45, 0.88);
    --nav-bg-scrolled: rgba(24, 38, 45, 0.56);
    --nav-border: rgba(255, 255, 255, 0.14);
    --frame-border: rgba(255, 255, 255, 0.12);
    --field-bg: rgba(255, 255, 255, 0.06);
    --media-empty-bg: rgba(255, 255, 255, 0.06);
    --footer-bg: rgba(18, 28, 34, 0.78);
    --footer-ink: #ffffff;
    --footer-soft: rgba(255, 255, 255, 0.78);
    --accent: #f36f21;
    --accent-dark: #cf5715;
    --green: #23856d;
    --blue: #256d9f;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    --panel-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.theme-light {
    --body-bg:
        radial-gradient(circle at 14% 0%, rgba(243, 111, 33, 0.13), transparent 28rem),
        linear-gradient(140deg, #e0e7e4, #c9d2d0);
    --surface: #f7f8f6;
    --surface-strong: #ffffff;
    --surface-muted: #eef1ee;
    --ink: #15181a;
    --ink-soft: #4b5560;
    --line: #d9ded8;
    --nav-bg: rgba(255, 255, 255, 0.94);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.68);
    --nav-border: rgba(255, 255, 255, 0.72);
    --frame-border: rgba(255, 255, 255, 0.76);
    --field-bg: #ffffff;
    --media-empty-bg: #eef1ee;
    --footer-bg: rgba(255, 255, 255, 0.86);
    --footer-ink: #15181a;
    --footer-soft: #4b5560;
    --shadow: 0 18px 42px rgba(15, 25, 32, 0.18);
    --panel-shadow: 0 12px 28px rgba(27, 37, 43, 0.08);
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--body-bg);
    animation: pageTransition 0.45s ease-out;
    overflow-x: hidden !important;
    overflow-y: auto;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

@keyframes pageTransition {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 18px 16px 8px;
    transition: padding 0.22s ease;
}

nav {
    width: min(1240px, 100%);
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(10, 20, 28, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, min-height 0.22s ease;
}

.site-header.is-scrolled {
    padding-top: 8px;
}

.site-header.is-scrolled nav {
    min-height: 58px;
    background: var(--nav-bg-scrolled);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
}

.logo-img,
.logo-img img {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 800;
}

.logo-text--part--orange {
    color: #1688b8;
}

.logo-text--part--blue {
    color: #f36f21;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a:hover,
.phone-copy:hover,
.phone-copy:focus-visible {
    color: var(--accent);
}

.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    color: #ffffff !important;
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(243, 111, 33, 0.28);
}

.theme-toggle {
    order: 3;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface-strong);
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--surface-muted);
}

.menu-btn {
    order: 4;
    width: 36px;
    height: 28px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.phone-copy {
    appearance: none;
    border: 0;
    padding: 0;
    color: var(--ink);
    background: transparent;
    cursor: copy;
    font-weight: 700;
}

.phone-copy.copied {
    color: var(--green);
}

.messenger-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.messenger-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.messenger-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.messenger-telegram {
    color: #229ed9;
}

.messenger-max {
    color: #005ff9;
}

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

.site-frame {
    width: min(1240px, calc(100% - 32px));
    margin: 18px auto 32px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--frame-border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.container {
    width: min(100%, 1160px);
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-home {
    min-height: 420px;
    display: flex;
    align-items: center;
    margin: 16px;
    padding: 54px 56px;
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(12, 18, 22, 0.82), rgba(12, 18, 22, 0.56) 48%, rgba(12, 18, 22, 0.18)),
        url("/assets/img/background-image/nav.jpg") center center / cover no-repeat;
}

.hero-content {
    width: min(840px, 100%);
    position: relative;
    z-index: 1;
}

.hero-kicker,
.section-kicker,
.service-eyebrow,
.market-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(243, 111, 33, 0.1);
}

.hero-kicker {
    margin-bottom: 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

h1,
h2,
h3,
h4 {
    line-height: 1.18;
    color: var(--ink);
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 18px;
    font-size: 3rem;
    color: #ffffff;
}

.hero p {
    max-width: 690px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.fact,
.service-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 10px 22px rgba(243, 111, 33, 0.28);
}

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

.btn.ghost {
    color: var(--ink);
    background: var(--surface-strong);
    border-color: var(--line);
}

.hero .btn.ghost,
.service-hero .btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.section {
    padding: 54px 32px;
}

.muted-section {
    background: var(--surface-muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
    text-align: center;
}

.section-heading:not(.align-left) {
    margin-left: auto;
    margin-right: auto;
}

.section-heading.align-left {
    text-align: left;
}

.section-title {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 2.1rem;
}

.section-subtitle {
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.cards,
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card,
.service-card,
.market-card,
.process-step,
.faq-item,
.content-panel,
.feedback-form,
.footer-brand,
.footer-card,
.cta-banner {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--panel-shadow);
}

.service-card {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.service-card.has-photo {
    padding: 14px;
}

.service-card:not(.has-photo) {
    min-height: 250px;
}

.service-card:not(.has-photo)::before {
    content: "";
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
}

.service-card-image {
    display: block;
    height: 170px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--media-empty-bg);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.icon-wrap {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: 0;
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 10px 18px rgba(15, 25, 32, 0.2);
}

.service-card.has-photo .icon-wrap {
    margin-top: -38px;
    margin-left: 12px;
    border: 3px solid var(--surface-strong);
}

.service-card:not(.has-photo) .icon-wrap {
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
}

.icon-wrap.electric {
    background: #f36f21;
}

.icon-wrap.water,
.icon-wrap.septic {
    background: #1688b8;
}

.icon-wrap.vent,
.icon-wrap.drain {
    background: #23856d;
}

.icon-wrap.excavator,
.icon-wrap.heating {
    background: #76664d;
}

.service-card h3 {
    min-height: 2.4em;
    font-size: 1.18rem;
}

.service-card p {
    color: var(--ink-soft);
    flex: 1;
}

.service-card-link {
    color: var(--accent-dark);
    font-weight: 800;
}

.market-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.market-card,
.faq-item,
.process-step,
.content-panel {
    padding: 22px;
}

.market-card h3,
.faq-item h3 {
    margin: 12px 0 8px;
}

.market-card p,
.faq-item p,
.process-step p,
.content-panel p {
    color: var(--ink-soft);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--accent);
    font-weight: 900;
}

.process-step h3 {
    margin-bottom: 8px;
}

.cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(40, 57, 67, 0.96), rgba(31, 45, 53, 0.94)),
        url("/assets/img/electric/elec1.jpg") center center / cover no-repeat;
}

.cta-banner h2,
.cta-banner p {
    color: #ffffff;
}

.cta-banner h2 {
    margin: 10px 0 8px;
    font-size: 1.8rem;
}

.cta-banner .section-kicker {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 22px;
    align-items: stretch;
    margin: 16px;
    padding: 18px;
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 27, 34, 0.95), rgba(26, 45, 53, 0.94));
}

.service-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.service-eyebrow {
    align-self: flex-start;
    margin-bottom: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.service-hero h1 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 2.7rem;
}

.service-hero p {
    max-width: 640px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
}

.service-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.service-hero-media {
    min-height: 360px;
    overflow: hidden;
    border-radius: 8px;
}

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

.service-hero-placeholder {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.placeholder-mark {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 26px;
    text-align: center;
    color: #ffffff;
}

.placeholder-mark i {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--accent);
    font-size: 1.8rem;
}

.placeholder-mark span {
    max-width: 280px;
    font-size: 1.18rem;
    font-weight: 900;
}

.breadcrumbs {
    padding: 18px 18px 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.content-panel h2 {
    margin: 10px 0 10px;
}

.service-description-text {
    color: var(--ink-soft);
}

.service-feature-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.service-feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
}

.service-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
}

.gallery-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.service-gallery[hidden] {
    display: none !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--media-empty-bg);
    border: 1px solid var(--line);
}

.empty-gallery {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    color: var(--ink-soft);
}

.empty-gallery i {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--accent);
}

.gallery-item img {
    width: 100%;
    height: 210px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.feedback-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.feedback-copy h2 {
    margin: 10px 0;
    font-size: 2rem;
}

.feedback-copy p {
    color: var(--ink-soft);
}

.feedback-form {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field label {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--field-bg);
    outline: none;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.14);
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.consent-field input {
    margin-top: 4px;
}

.consent-field a {
    color: var(--accent-dark);
}

.form-status {
    min-height: 1.4em;
    color: var(--ink-soft);
}

.related-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.related-card {
    display: grid;
    gap: 8px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
}

.related-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.related-card-icon {
    width: 100%;
    height: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(243, 111, 33, 0.88), rgba(35, 133, 109, 0.88));
    font-size: 1.6rem;
}

.not-found-panel {
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
}

.price-item {
    padding: 22px;
}

.price-item .price,
.price-tag {
    color: var(--accent-dark);
    font-size: 1.45rem;
    font-weight: 900;
}

.price-item ul,
.benefits ul {
    margin-left: 1.2rem;
    color: var(--ink-soft);
}

.service-description,
.benefits {
    color: var(--ink-soft);
}

.service-item {
    margin-top: 14px;
}

.service-item h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.service-item i {
    color: var(--accent);
}

.main-content {
    padding: 36px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--panel-shadow);
}

.main-content h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.page-navigation,
.cta-section {
    width: min(1240px, calc(100% - 32px));
    margin: 18px auto;
    text-align: center;
}

.page-navigation .nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 800;
}

.policy-content {
    padding: 30px;
    color: var(--ink);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--panel-shadow);
}

.policy-content p {
    margin-bottom: 18px;
    color: var(--ink-soft);
}

.site-footer,
footer {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 28px;
    color: var(--footer-ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 18px;
}

.footer-brand,
.footer-card {
    padding: 22px;
    color: var(--footer-ink);
    background: var(--footer-bg);
    border-color: var(--line);
    box-shadow: none;
}

.footer-brand h4,
.footer-card h4 {
    margin-bottom: 10px;
    color: var(--footer-ink);
}

.footer-brand p,
.footer-card p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 10px;
    color: var(--footer-soft);
}

.footer-card a {
    color: var(--footer-ink);
}

.footer-card i,
.footer-brand i {
    margin-top: 4px;
    color: var(--accent);
}

.footer-card .phone-copy {
    color: var(--footer-ink);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 16, 20, 0.84);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
    cursor: grab;
    touch-action: none;
}

.lightbox-img.dragging {
    cursor: grabbing;
}

.lightbox-caption {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    border-radius: 8px;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--ink);
    background: var(--surface-strong);
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.lightbox-close {
    top: 10px;
    right: 10px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .cards,
    .service-cards-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-hero,
    .service-content-grid,
    .feedback-layout,
    .cta-banner {
        grid-template-columns: 1fr;
    }

    .related-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-hero-media {
        min-height: 300px;
    }
}

@media (max-width: 820px) {
    .site-header {
        padding: 10px 8px 6px;
    }

    .site-header,
    nav,
    .site-frame,
    body {
        max-width: 100%;
    }

    nav {
        min-height: 58px;
        width: calc(100% - 16px) !important;
        margin: 0 8px !important;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        right: 10px;
        width: min(86vw, 340px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
        border-radius: 8px;
        background: var(--surface-strong);
        border: 1px solid var(--line);
        box-shadow: 0 18px 42px rgba(10, 20, 28, 0.22);
        transform: translateX(calc(100% + 24px));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform, opacity;
        z-index: 1050;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li,
    .nav-links a,
    .nav-links button {
        width: 100%;
    }

    .nav-action {
        text-align: center;
    }

    body.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: rgba(10, 16, 20, 0.45);
        animation: none;
        pointer-events: auto;
    }

    .hero-home {
        margin: 8px;
        padding: 36px 20px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .service-hero {
        margin: 8px;
    }

    .site-frame {
        width: calc(100% - 16px) !important;
        margin: 8px auto 16px !important;
    }

    .service-hero-copy {
        padding: 24px;
    }

    .service-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .site-frame,
    .site-footer,
    footer,
    .page-navigation,
    .cta-section {
        width: calc(100% - 18px);
    }

    .section {
        padding: 38px 16px;
    }

    .hero-home {
        min-height: 500px;
        padding: 30px 20px;
        background:
            linear-gradient(180deg, rgba(12, 18, 22, 0.88), rgba(12, 18, 22, 0.54)),
            url("/assets/img/background-image/nav.jpg") center center / cover no-repeat;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p,
    .service-hero p {
        font-size: 1rem;
    }

    .cards,
    .service-cards-grid,
    .market-grid,
    .faq-grid,
    .process-grid,
    .gallery-grid,
    .form-row,
    .footer-grid,
    .related-services {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-hero-copy {
        padding: 18px;
    }

    .service-hero-media {
        min-height: 260px;
    }

    .gallery-item img {
        height: 230px;
    }

    .main-content,
    .policy-content {
        padding: 22px;
    }
}
