:root {
    --ink: #1f2428;
    --muted: #647070;
    --surface: #ffffff;
    --soft: #f4f3ef;
    --line: #ddd8cd;
    --charcoal: #171b1f;
    --charcoal-2: #252b30;
    --brand: #8b1558;
    --brand-dark: #5d0c3c;
    --gold: #d7a739;
    --green: #2d6a5f;
    --blue: #305f7b;
    --shadow: 0 18px 45px rgba(31, 36, 40, 0.12);
    --shadow-soft: 0 10px 28px rgba(31, 36, 40, 0.08);
    --radius: 8px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
}

body.lightbox-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

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

.top-strip {
    background: var(--charcoal);
    color: #f7f2e9;
    font-size: 0.9rem;
}

.strip-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.strip-inner a,
.strip-inner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f7f2e9;
}

.strip-inner i {
    color: var(--gold);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(31, 36, 40, 0.08);
    backdrop-filter: blur(12px);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-nav.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 186px;
    height: 54px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--charcoal);
    font-weight: 700;
    font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand);
    background: #f7edf3;
}

.nav-links a.nav-cta {
    background: var(--brand);
    color: #fff;
    padding-inline: 16px;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
    background: var(--brand-dark);
    color: #fff;
}

.language-item {
    display: flex;
    align-items: center;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 62px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    outline: none;
}

.language-toggle i {
    font-size: 0.86rem;
}

.google-translate-host,
.goog-te-banner-frame,
.skiptranslate iframe,
.goog-te-gadget,
.goog-te-combo,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    position: absolute !important;
    left: -99999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    display: none !important;
}

body {
    top: 0 !important;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--brand-dark);
    place-items: center;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-dark);
    transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 640px;
    color: #fff;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-home {
    background-image: url("/assets/anicio.jpg");
    min-height: 590px;
}

.hero-home .hero-grid {
    padding: 64px 0;
}

.hero-home h1 {
    margin-top: 0;
}

.header-company {
    background-image: url("/assets/about us.jpg");
}

.header-services {
    background-image: url("/assets/services.jpeg");
}

.header-projects {
    background-image: url("/assets/Proyects.jpg");
}

.header-contact {
    background-image: url("/assets/Contac.jpeg");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(23, 27, 31, 0.92), rgba(23, 27, 31, 0.72) 48%, rgba(23, 27, 31, 0.34));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
    gap: 48px;
    align-items: end;
    padding: 90px 0;
}

.hero-copy {
    max-width: 820px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3 {
    font-family: "Outfit", Arial, sans-serif;
    line-height: 1.08;
    margin: 0;
}

h1 {
    font-size: 4.25rem;
    margin-top: 16px;
}

h2 {
    font-size: 2.45rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0;
    color: var(--muted);
}

.hero p,
.page-hero p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 700px;
    margin-top: 20px;
    font-size: 1.12rem;
}

.hero .reveal,
.page-hero .reveal {
    opacity: 1;
    transform: none;
}

.hero-actions,
.center-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn-primary {
    color: #1b1b1b;
    background: var(--gold);
}

.btn-primary:hover {
    background: #e6ba4a;
}

.btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
    color: var(--brand-dark);
    border-color: var(--brand);
    background: transparent;
}

.btn-outline:hover {
    background: #f7edf3;
}

.hero-proof {
    display: grid;
    gap: 12px;
}

.proof-item {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item strong {
    color: #fff;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.16rem;
}

.proof-item span {
    color: rgba(255, 255, 255, 0.76);
    margin-top: 6px;
    font-size: 0.94rem;
}

.section {
    padding: 94px 0;
}

.bg-soft {
    background: var(--soft);
}

.bg-charcoal {
    background: var(--charcoal);
    color: #fff;
}

.bg-charcoal p {
    color: rgba(255, 255, 255, 0.72);
}

.intro-band {
    border-bottom: 1px solid var(--line);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 58px;
    align-items: center;
}

.split-layout.reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.section-heading h2 {
    margin-top: 12px;
    color: var(--charcoal);
}

.section-heading p {
    margin: 16px auto 0;
    max-width: 700px;
}

.bg-charcoal .section-heading h2 {
    color: #fff;
}

.centered {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 42px;
}

.text-stack {
    display: grid;
    gap: 18px;
}

.scope-grid,
.service-grid,
.project-grid,
.value-grid,
.process-grid,
.conversion-grid,
.action-grid {
    display: grid;
    gap: 22px;
}

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

.scope-card-heading {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.scope-card .scope-card-heading i,
.scope-card .scope-card-heading h3 {
    margin: 0;
}

.scope-card,
.service-card,
.value-card,
.process-step,
.conversion-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.scope-card i,
.service-card i,
.value-card i {
    color: var(--brand);
    font-size: 1.65rem;
    margin-bottom: 20px;
}

.scope-card h3,
.service-card h3,
.value-card h3,
.process-step h3 {
    color: var(--charcoal);
    margin-bottom: 12px;
}

.scope-card a,
.service-card span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
}

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

.conversion-card-heading {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 14px;
}

.conversion-card .conversion-card-heading strong {
    margin: 0;
    line-height: 1.2;
}

.conversion-card .conversion-card-heading h3 {
    margin: 0;
}

.conversion-card-heading + p {
    margin: 0;
}

.conversion-card strong {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--brand);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.conversion-card h3 {
    color: var(--charcoal);
    margin-bottom: 10px;
}

.trust-stack {
    display: grid;
    gap: 14px;
}

.trust-stack div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.trust-stack strong {
    display: block;
    color: var(--charcoal);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

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

.comparison-column {
    display: grid;
    gap: 12px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.comparison-column h3 {
    color: var(--charcoal);
    margin-bottom: 8px;
}

.comparison-column span {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 800;
}

.comparison-column.weak span {
    color: #6a3b3b;
    background: #f7ece9;
}

.comparison-column.strong {
    border-color: rgba(45, 106, 95, 0.35);
}

.comparison-column.strong span {
    color: var(--green);
    background: #edf7f4;
}

.media-frame {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--charcoal);
}

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

.content-panel {
    display: grid;
    gap: 18px;
    align-content: start;
}

.content-panel h2 {
    color: var(--charcoal);
}

.mini-list {
    display: grid;
    gap: 10px;
    margin: 8px 0;
}

.mini-list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
}

.mini-list i {
    color: var(--green);
    margin-top: 5px;
}

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

.project-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(31, 36, 40, 0.08);
}

.portfolio-grid .project-card {
    cursor: pointer;
}

.project-card[hidden] {
    display: none;
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 320ms ease;
}

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

.project-card div {
    padding: 20px;
}

.project-card span,
.lightbox-panel span {
    display: inline-flex;
    color: var(--green);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.project-card h3 {
    color: var(--charcoal);
    margin: 8px 0 8px;
}

.bg-charcoal .project-card p {
    color: var(--muted);
}

.quote-preview {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.quote-preview-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.quote-preview h2 {
    margin-top: 12px;
}

.quote-preview p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 720px;
    margin-top: 12px;
}

.page-hero {
    min-height: 460px;
}

.page-hero-copy {
    padding: 92px 0;
    max-width: 850px;
}

.page-hero h1 {
    font-size: 3.35rem;
}

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

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

.process-step span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--brand);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

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

.bg-charcoal .value-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.bg-charcoal .value-card h3 {
    color: #fff;
}

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

.scope-table {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
}

.scope-table div {
    display: grid;
    gap: 10px;
    padding: 24px;
    background: var(--charcoal-2);
}

.scope-table strong {
    color: var(--gold);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.3rem;
}

.scope-table span {
    color: rgba(255, 255, 255, 0.74);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.city-grid div,
.action-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.city-grid h3,
.action-grid strong {
    display: block;
    color: var(--charcoal);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.bg-charcoal .action-grid article {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.bg-charcoal .action-grid strong {
    color: var(--gold);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-btn {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

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

.detail-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
}

.lightbox.active {
    display: flex;
}

.lightbox-panel {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 26px;
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
}

.lightbox-panel img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 6px;
}

.lightbox-panel h2 {
    color: var(--charcoal);
    margin: 10px 0;
}

.lightbox-panel p {
    margin-bottom: 22px;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

.quote-section {
    background: var(--soft);
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: 28px;
    align-items: start;
}

.quote-aside,
.quote-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.quote-aside {
    position: sticky;
    top: 112px;
    padding: 28px;
}

.quote-aside h2 {
    margin: 12px 0 10px;
    color: var(--charcoal);
}

.scope-meter {
    width: 100%;
    height: 10px;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 6px;
    background: #ece7dc;
}

.scope-meter span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    transition: width 220ms ease, background 220ms ease;
}

.quote-contact {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.micro-trust {
    display: grid;
    gap: 8px;
    margin: 18px 0 20px;
}

.micro-trust span {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 6px;
    color: var(--green);
    background: #edf7f4;
    font-size: 0.9rem;
    font-weight: 800;
}

.quote-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 800;
}

.quote-form {
    padding: 28px;
}

.form-progress {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.form-progress > span {
    color: var(--brand-dark);
    font-weight: 800;
}

.form-progress div {
    height: 8px;
    overflow: hidden;
    border-radius: 6px;
    background: #ece7dc;
}

.form-progress div span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--brand);
    transition: width 220ms ease;
}

.form-step {
    display: none;
    border: 0;
    margin: 0;
    padding: 0;
}

.form-step.active {
    display: grid;
    gap: 18px;
}

.form-step legend {
    margin-bottom: 18px;
    color: var(--charcoal);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.step-copy {
    margin-top: -8px;
    margin-bottom: 4px;
}

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

.quote-form label {
    display: grid;
    gap: 8px;
    color: var(--charcoal);
    font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    border: 1px solid #cbc5b8;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 13px 14px;
    font-weight: 500;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 3px solid rgba(139, 21, 88, 0.14);
    border-color: var(--brand);
}

.file-drop {
    min-height: 150px;
    place-items: center;
    text-align: center;
    border: 2px dashed #cbc5b8;
    border-radius: var(--radius);
    padding: 22px;
    background: #fbfaf7;
}

.file-drop i {
    color: var(--brand);
    font-size: 1.8rem;
}

.file-drop input {
    max-width: 320px;
    border: 0;
    padding: 0;
    background: transparent;
}

.file-list {
    display: grid;
    gap: 8px;
}

.file-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #f3efe7;
    color: var(--muted);
    font-size: 0.9rem;
}

.check-label {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 600;
}

.check-label input {
    width: auto;
    margin-top: 6px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 26px;
    flex-wrap: wrap;
}

#submit-quote {
    display: none;
}

.quote-result {
    display: none;
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(45, 106, 95, 0.35);
    border-radius: var(--radius);
    background: #eef7f4;
}

.quote-result.active {
    display: block;
}

.quote-result h3 {
    margin-bottom: 10px;
    color: var(--green);
}

.quote-result p {
    margin-bottom: 12px;
}

.quote-result ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--ink);
}

.not-found-section {
    min-height: 58vh;
    display: grid;
    align-items: center;
}

.not-found-card {
    max-width: 760px;
}

.not-found-card h1 {
    margin: 10px 0 14px;
}

.not-found-card p {
    max-width: 660px;
    margin-bottom: 24px;
}

.site-footer {
    background: #101316;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.9fr;
    gap: 42px;
    padding: 56px 0;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 14px;
}

.footer-grid p,
.footer-grid span {
    color: rgba(255, 255, 255, 0.68);
}

.footer-grid h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3.35rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .hero-grid,
    .split-layout,
    .split-layout.reverse,
    .quote-layout {
        grid-template-columns: 1fr;
    }

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

    .service-grid,
    .process-grid,
    .conversion-grid,
    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-aside {
        position: static;
    }
}

@media (max-width: 820px) {
    .top-strip {
        display: none;
    }

    .nav-inner {
        min-height: 72px;
    }

    .brand img {
        width: 154px;
        height: 48px;
    }

    .nav-toggle {
        display: inline-grid;
        gap: 5px;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 14px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.active {
        display: grid;
        gap: 8px;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
    }

    .language-item {
        justify-content: center;
        padding-top: 4px;
    }

    .language-toggle {
        width: 72px;
        height: 42px;
    }

    .hero,
    .page-hero {
        min-height: auto;
    }

    .hero-grid,
    .page-hero-copy {
        padding: 76px 0;
    }

    .hero-home .hero-grid {
        padding: 56px 0;
    }

    .hero-overlay {
        background: rgba(23, 27, 31, 0.88);
    }

    h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

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

    .section {
        padding: 68px 0;
    }

    .scope-grid,
    .project-grid,
    .value-grid,
    .scope-table,
    .comparison-grid,
    .city-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-proof,
    .detail-gallery,
    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-preview-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .field-grid,
    .lightbox-panel {
        grid-template-columns: 1fr;
    }

    .lightbox-panel img {
        height: 300px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-proof,
    .service-grid,
    .detail-gallery,
    .conversion-grid,
    .action-grid {
        grid-template-columns: 1fr;
    }

    .media-frame img {
        height: 340px;
    }

    .scope-card,
    .service-card,
    .value-card,
    .process-step,
    .quote-form,
    .quote-aside {
        padding: 22px;
    }
}

.integrity-secret-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2000;
    width: auto;
    min-width: 104px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: #12161a;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    font: 700 0.82rem/1 var(--font-heading);
}

.integrity-panel {
    position: fixed;
    inset: auto 18px 18px auto;
    z-index: 2100;
    display: none;
    width: min(920px, calc(100vw - 36px));
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #101316;
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.integrity-panel.active {
    display: block;
}

.integrity-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.integrity-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.integrity-head h2,
.integrity-grid h3 {
    color: #fff;
}

.integrity-head h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

.integrity-head p,
.integrity-muted {
    color: rgba(255, 255, 255, 0.64);
}

.integrity-close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.integrity-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.integrity-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

.integrity-pill.ok {
    background: rgba(45, 106, 95, 0.22);
    color: #8be0c9;
}

.integrity-pill.warn {
    background: rgba(225, 169, 47, 0.2);
    color: #f0c667;
}

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

.integrity-grid section {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.integrity-grid .integrity-wide {
    grid-column: 1 / -1;
}

.integrity-grid h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
}

.integrity-grid dl {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.integrity-grid dt {
    color: rgba(255, 255, 255, 0.56);
    font-weight: 700;
}

.integrity-grid dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.integrity-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.integrity-grid li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
}

.integrity-grid li span,
.integrity-grid li em {
    min-width: 0;
    overflow-wrap: anywhere;
}

.integrity-grid li em {
    color: rgba(255, 255, 255, 0.52);
    font-style: normal;
}

@media (max-width: 760px) {
    .integrity-panel {
        inset: 12px;
        width: auto;
        max-height: calc(100vh - 24px);
    }

    .integrity-grid {
        grid-template-columns: 1fr;
    }

    .integrity-grid dl,
    .integrity-grid li {
        grid-template-columns: 1fr;
    }
}
