:root {
    --bg: #f4f2ee;
    --bg-soft: #f9f7f3;
    --panel: #ffffff;
    --panel-alt: #f1f3f2;
    --line: #dfe4df;
    --text: #18262d;
    --muted: #5f6871;
    --primary: #1d2d3a;
    --primary-soft: #edf2f4;
    --accent: #b8a378;
    --accent-soft: #efe5d2;
    --success: #4c6a5d;
    --shadow: 0 18px 45px rgba(17, 28, 34, 0.08);
    --radius: 20px;
    --container: 1180px;
    --logo-nav-width: 400px;
    --logo-nav-height: 148px;
    --logo-nav-mobile-width: 175px;
    --logo-nav-mobile-height: 105px;
    --logo-footer-width: 200px;
    --logo-footer-height: 200px;
}

/* OPSEC dashboard visual layer */
.opsec-page {
    background:
        radial-gradient(circle at 8% 0%, rgba(184, 135, 74, 0.18), transparent 28rem),
        radial-gradient(circle at 96% 18%, rgba(36, 53, 63, 0.12), transparent 26rem),
        var(--bg);
}

.opsec-shell {
    position: relative;
}

.opsec-header {
    padding: 28px 32px;
    border: 1px solid rgba(36, 53, 63, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 20px 55px rgba(36, 53, 63, 0.08);
    backdrop-filter: blur(12px);
}

.opsec-header h1 {
    max-width: 720px;
    margin: 14px 0 8px;
    letter-spacing: -0.045em;
}

.opsec-header p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

.opsec-toolbar {
    margin: 26px 0 18px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.opsec-metrics article {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--accent);
    box-shadow: 0 15px 35px rgba(36, 53, 63, 0.07);
}

.opsec-metrics article::after {
    position: absolute;
    right: -28px;
    bottom: -42px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: rgba(184, 135, 74, 0.1);
    content: "";
}

.opsec-metrics article:nth-child(2) { border-top-color: #557b8f; }
.opsec-metrics article:nth-child(3) { border-top-color: #7f9b68; }
.opsec-metrics article:nth-child(4) { border-top-color: #b66a58; }

.opsec-panel {
    box-shadow: 0 15px 35px rgba(36, 53, 63, 0.06);
}

.opsec-panel-heading {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(36, 53, 63, 0.1);
}

.status-pill {
    border: 1px solid rgba(184, 135, 74, 0.3);
    background: rgba(184, 135, 74, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.opsec-table-panel {
    overflow: hidden;
}

.opsec-table-wrap {
    margin: 0 -8px -8px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

@media (max-width: 620px) {
    .opsec-header {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .opsec-toolbar {
        padding: 12px 14px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(184, 163, 120, 0.12), transparent 22%),
        radial-gradient(circle at bottom right, rgba(29, 45, 58, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: pageReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-header,
.site-footer,
.hero,
.section-spacing,
.about-grid,
.showcase-grid,
.contact-grid,
.services-grid,
.benefits-grid,
.testimonials-grid,
.cta-banner-inner,
.service-detail-card,
.value-card {
    opacity: 0;
    animation: softReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-header { animation-delay: 0.08s; }
.site-footer { animation-delay: 0.22s; }
.hero { animation-delay: 0.12s; }
.section-spacing:nth-of-type(2) { animation-delay: 0.18s; }
.section-spacing:nth-of-type(3) { animation-delay: 0.26s; }
.section-spacing:nth-of-type(4) { animation-delay: 0.34s; }
.about-grid, .showcase-grid, .contact-grid { animation-delay: 0.15s; }
.services-grid, .benefits-grid, .testimonials-grid { animation-delay: 0.2s; }
.cta-banner-inner, .service-detail-card, .value-card { animation-delay: 0.24s; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    transition: opacity 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 18px 45px rgba(17, 28, 34, 0.08);
    }
    50% {
        box-shadow: 0 22px 50px rgba(29, 45, 58, 0.12);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-120%) skewX(-18deg);
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    100% {
        transform: translateX(120%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateX(1.2deg) rotateY(-1.8deg) translateY(-3px);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section-spacing {
    padding: 110px 0;
}

.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.topbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(244, 242, 238, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 38, 45, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 158px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--primary);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
    aspect-ratio: 400 / 148;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 12px;
}

.footer-brand .brand-logo {
    width: var(--logo-footer-width);
    height: var(--logo-footer-height);
    flex-basis: var(--logo-footer-width);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.92rem;
    transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 118px;
    padding: 10px 14px;
    border: 1px solid rgba(29, 45, 58, 0.1);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,244,239,0.82));
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(17, 28, 34, 0.05);
    transition: all 0.25s ease;
}

.main-nav .language-dropdown {
    margin-left: 8px;
}

.language-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(17, 28, 34, 0.08);
}

.language-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chevron {
    font-size: 0.78rem;
    color: var(--muted);
    transform: translateY(-1px);
}

.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 182px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(29, 45, 58, 0.08);
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(17, 28, 34, 0.12);
    backdrop-filter: blur(12px);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, max-height 0.25s ease, padding 0.25s ease;
}

.language-dropdown.open .language-menu {
    max-height: 220px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.language-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-weight: 600;
}

.language-item:hover,
.language-item.active {
    background: rgba(29, 45, 58, 0.05);
    transform: translateX(1px);
}

.flag {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(24, 38, 45, 0.08);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.flag-us {
    background:
        repeating-linear-gradient(
            180deg,
            #b22234 0,
            #b22234 11.1%,
            #ffffff 11.1%,
            #ffffff 22.2%
        );
}

.flag-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52%;
    height: 52%;
    background: #3c3b6e;
    border-radius: 0;
}

.flag-us::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(52% - 4px);
    height: calc(52% - 4px);
    background:
        radial-gradient(circle, rgba(255,255,255,0.95) 0 1.2px, transparent 1.5px) 0 0 / 8px 8px;
    opacity: 0.9;
    filter: drop-shadow(0 0 0 rgba(255,255,255,0.2));
}

.flag-es {
    background: linear-gradient(180deg, #c60b1e 0 33.33%, #ffc400 33.33% 66.66%, #c60b1e 66.66% 100%);
}

.flag-es::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 50%, rgba(255,255,255,0.2) 50% 100%);
    opacity: 0.25;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 15px 26px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    inset: -30% -10%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: translateX(-140%) skewX(-18deg);
    transition: transform 0.7s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 30px rgba(29, 45, 58, 0.18);
}

.btn:hover::before {
    transform: translateX(140%) skewX(-18deg);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 16px 32px rgba(29, 45, 58, 0.15);
}

.btn-secondary {
    background: transparent;
    border-color: var(--line);
    color: var(--primary);
}

.hero {
    padding: 70px 0 60px;
}

.hero-copy,
.hero-media,
.stats-grid > div,
.service-card,
.benefit-item,
.timeline-item,
.testimonial-card,
.contact-form,
.cta-banner-inner {
    animation: fadeUp 0.8s ease both;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.35);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dark {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(24, 38, 45, 0.08);
    color: #111111;
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
    max-width: 660px;
    color: var(--primary);
}

.hero-copy p {
    margin-top: 18px;
    max-width: 620px;
    font-size: 1.08rem;
    color: var(--muted);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-pills span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.5);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-pills span:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(17, 28, 34, 0.06);
    border-color: rgba(29, 45, 58, 0.12);
}

.hero-media {
    position: relative;
    animation: floatSoft 5.6s ease-in-out infinite;
}

.media-frame {
    position: relative;
    width: min(100%, 510px);
    height: 550px;
    margin-left: auto;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(29, 45, 58, 0.06), rgba(184, 163, 120, 0.08));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 54px rgba(17, 28, 34, 0.12);
}

.media-image {
    position: absolute;
    inset: 26px 26px 20px 26px;
    border-radius: 24px;
    background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1200&q=85');
    background-size: cover;
    background-position: center;
    box-shadow: 0 26px 50px rgba(17, 28, 34, 0.12);
}

.floating-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(24, 38, 45, 0.08);
    box-shadow: 0 18px 35px rgba(17, 28, 34, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: floatSoft 4.6s ease-in-out infinite;
}

.floating-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 38px rgba(17, 28, 34, 0.12);
}

.floating-badge strong {
    color: var(--primary);
    font-size: 1.8rem;
    letter-spacing: -0.04em;
}

.floating-badge span {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.badge-top {
    top: 18px;
    left: -18px;
}

.badge-bottom {
    right: 18px;
    bottom: 18px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.hero-metrics div {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-metrics div:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px rgba(17, 28, 34, 0.07);
    border-color: rgba(29, 45, 58, 0.12);
}

.hero-metrics strong {
    display: block;
    color: var(--primary);
    font-size: 1.6rem;
    letter-spacing: -0.05em;
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.82rem;
}

.stats {
    padding: 10px 0 30px;
}

.page-hero {
    padding: 90px 0 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0));
}

.narrow-section {
    max-width: 880px;
    text-align: center;
}

.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 1.04;
    color: var(--primary);
}

.page-hero p {
    margin: 18px auto 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 1.06rem;
}

.legal-section {
    padding-top: 32px;
}

.legal-content {
    max-width: 820px;
    padding: 42px clamp(24px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin: 30px 0 10px;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--muted);
}

.legal-content ul {
    margin: 0 0 16px 22px;
    color: var(--muted);
}

.legal-content li {
    padding-left: 6px;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--success);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
}

.showcase-visual {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(29, 45, 58, 0.08), rgba(184, 163, 120, 0.08));
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-card,
.mini-photo {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
}

.photo-large {
    position: absolute;
    inset: 26px 60px 26px 26px;
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85');
    box-shadow: 0 22px 40px rgba(17, 28, 34, 0.12);
}

.photo-badge {
    position: absolute;
    right: 22px;
    bottom: 28px;
    background: rgba(255,255,255,0.85);
    color: var(--primary);
    border: 1px solid rgba(24, 38, 45, 0.08);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.showcase-copy h2 {
    margin-top: 18px;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--primary);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.showcase-copy p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem;
}

.mini-photo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.mini-photo {
    height: 160px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(17, 28, 34, 0.06);
}

.photo-small-one {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=85');
}

.photo-small-two {
    background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=85');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stats-grid > div {
    padding: 25px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.4);
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    letter-spacing: -0.06em;
    color: var(--primary);
    margin-bottom: 8px;
}

.stats-grid span {
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    perspective: 1200px;
}

.about-image {
    position: relative;
    min-height: 500px;
    transform: translateX(-14px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.55s ease;
}

.image-frame {
    position: relative;
    width: min(100%, 460px);
    height: 500px;
    margin-left: 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(29,45,58,0.08), rgba(29,45,58,0.02));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.55s ease;
}

.about-copy {
    transform: translateX(14px);
    opacity: 0;
    transition: transform 0.55s 0.08s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.55s 0.08s ease;
}

.reveal-on-scroll.is-visible .about-image {
    opacity: 1;
    transform: translateX(0) rotateY(-4deg);
}

.reveal-on-scroll.is-visible .image-frame {
    transform: rotateX(2deg) rotateY(-6deg) translateY(-4px);
    box-shadow: 0 26px 52px rgba(17, 28, 34, 0.12);
}

.reveal-on-scroll.is-visible .about-copy {
    opacity: 1;
    transform: translateX(0);
}

.image-card {
    position: absolute;
    inset: 28px 34px 30px 34px;
    border-radius: 24px;
    background: url('https://images.unsplash.com/photo-1551836022-4c4c79ecde51?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat;
}

.about-copy h2,
.section-heading h2 {
    margin-top: 18px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--primary);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.32s ease;
}

.reveal-on-scroll.is-visible .about-copy h2,
.reveal-on-scroll.is-visible .section-heading h2,
.reveal-on-scroll.is-visible h1,
.reveal-on-scroll.is-visible h2,
.reveal-on-scroll.is-visible h3 {
    opacity: 1;
    transform: translateY(0);
}

.about-copy p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.03rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.feature-list div {
    padding: 20px 18px;
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-list div:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 26px rgba(17, 28, 34, 0.06);
    border-color: rgba(29, 45, 58, 0.12);
}

.feature-list strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-list span {
    color: var(--muted);
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading.narrow {
    max-width: 720px;
}

.services-grid,
.benefits-grid,
.testimonials-grid {
    display: grid;
    gap: 24px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    --card-rotate-x: 0deg;
    --card-rotate-y: 0deg;
    --card-lift: 0px;
    position: relative;
    padding: 28px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,247,245,0.96));
    box-shadow: 0 8px 22px rgba(17, 28, 34, 0.04);
    border: 1px solid var(--line);
    overflow: hidden;
    transform: perspective(1000px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(var(--card-lift));
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
    will-change: transform;
    animation: floatCard 5.5s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.18s);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 163, 120, 0.18), transparent 42%, rgba(29, 45, 58, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -25%;
    width: 50%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
    animation: shimmerSweep 4s ease-in-out infinite;
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card:hover,
.benefit-item:hover,
.testimonial-card:hover,
.timeline-item:hover,
.contact-form:hover,
.stats-grid > div:hover {
    box-shadow: 0 26px 52px rgba(17, 28, 34, 0.12);
    border-color: rgba(29, 45, 58, 0.16);
}

.service-card:hover {
    --card-lift: -12px;
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(244,247,246,0.98));
}

.icon-box {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-soft), rgba(184, 163, 120, 0.18));
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 10px 18px rgba(29, 45, 58, 0.08);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(-8deg);
    background: linear-gradient(135deg, rgba(29, 45, 58, 0.08), rgba(184, 163, 120, 0.28));
    box-shadow: 0 16px 28px rgba(29, 45, 58, 0.14);
}

.service-card h3 {
    position: relative;
    display: inline-block;
    transition: transform 0.25s ease;
}

.service-card:hover h3 {
    transform: translateX(4px);
}

.service-card p {
    transition: transform 0.25s ease;
}

.service-card:hover p {
    transform: translateX(2px);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
}

.benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-item {
    padding: 28px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(244,247,246,0.92));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before,
.timeline-item::before,
.testimonial-card::before,
.value-card::before,
.service-detail-card::before,
.contact-details-card::before,
.contact-form::before,
.cta-banner-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 163, 120, 0.12), transparent 45%, rgba(29, 45, 58, 0.06));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.benefit-item:hover::before,
.timeline-item:hover::before,
.testimonial-card:hover::before,
.value-card:hover::before,
.service-detail-card:hover::before,
.contact-details-card:hover::before,
.contact-form:hover::before,
.cta-banner-inner:hover::before {
    opacity: 1;
}

.benefit-item strong {
    display: inline-block;
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.benefit-item h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--muted);
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px 22px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.56), rgba(241,243,242,0.9));
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover span {
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 12px 24px rgba(29, 45, 58, 0.14);
}

.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--muted);
}

.testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    padding: 24px 22px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,247,244,0.96));
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(17, 28, 34, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184, 163, 120, 0.12), transparent 38%, rgba(29, 45, 58, 0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(17, 28, 34, 0.1);
    border-color: rgba(184, 163, 120, 0.32);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(184, 163, 120, 0.45);
    box-shadow: 0 8px 18px rgba(17, 28, 34, 0.08);
    flex-shrink: 0;
}

.avatar-one {
    background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=500&q=85');
}

.avatar-two {
    background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=500&q=85');
}

.avatar-three {
    background-image: url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=500&q=85');
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-meta strong {
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-meta span {
    color: var(--muted);
    font-size: 0.82rem;
}

.testimonial-card p {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.7;
}

.cta-banner {
    padding-top: 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 34px 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(29, 45, 58, 0.04), rgba(184, 163, 120, 0.1));
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: pulseGlow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 42px rgba(17, 28, 34, 0.08);
    border-color: rgba(29, 45, 58, 0.14);
}

.cta-banner-inner h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.about-page-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.about-page-image {
    min-height: 420px;
    aspect-ratio: 1 / 0.95;
    border-radius: 28px;
    border: 1px solid var(--line);
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.about-page-copy {
    width: min(100%, 540px);
}

.about-page-copy .eyebrow {
    margin-bottom: 14px;
}

.about-page-grid h2,
.contact-details-card h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--primary);
    letter-spacing: -0.05em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.about-page-grid p,
.contact-details-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.light-section {
    background: rgba(255,255,255,0.18);
}

.about-location {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: center;
}

.about-location-copy h2 {
    color: var(--primary);
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -0.05em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.about-location-copy p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-location-map {
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.about-location-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.center-heading {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.value-card {
    padding: 28px 22px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.72);
    box-shadow: 0 12px 28px rgba(17, 28, 34, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.value-card strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.value-card h3 {
    margin-top: 10px;
    color: var(--primary);
    font-size: 1.4rem;
}

.value-card p {
    margin-top: 10px;
    color: var(--muted);
}

.services-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-feature {
    min-height: 240px;
}

.service-detail-list {
    display: grid;
    gap: 28px;
}

.service-detail-card {
    padding: 0;
    border-radius: 30px;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    box-shadow: 0 14px 32px rgba(17, 28, 34, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-card summary {
    list-style: none;
    display: grid;
    grid-template-columns: 100%;
    align-items: end;
    cursor: pointer;
    position: relative;
    min-height: 300px;
    padding: 24px;
    background: #dfe6e5;
}

.service-detail-card summary::-webkit-details-marker {
    display: none;
}

.service-detail-card summary::after {
    content: "＋";
    position: absolute;
    right: 22px;
    top: 22px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(24, 38, 45, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
    z-index: 3;
    box-shadow: 0 10px 24px rgba(17, 28, 34, 0.08);
}

.service-detail-card[open] summary::after {
    content: "−";
}

.service-detail-card .service-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    background-size: cover;
    background-position: center;
    box-shadow: none;
    transition: transform 0.38s ease, filter 0.38s ease;
    filter: saturate(0.88) contrast(1.04);
}

.service-detail-card summary .service-summary-copy {
    position: relative;
    z-index: 2;
    max-width: 62%;
    padding: 18px 20px 8px 20px;
    border-radius: 18px;
    background: rgba(10, 18, 24, 0.42);
    backdrop-filter: blur(4px);
    color: #fff;
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-detail-card:hover .service-visual,
.service-detail-card summary:hover .service-visual {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.08);
}

.service-detail-card:hover summary .service-summary-copy,
.service-detail-card[open] summary .service-summary-copy {
    background: rgba(10, 18, 24, 0.48);
    transform: translateY(-4px);
}

.service-detail-card summary .eyebrow,
.service-detail-card summary h2 {
    color: #fff !important;
    position: relative;
    z-index: 2;
}

.service-content {
    padding: 28px;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.82);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.65s linear, opacity 0.65s linear;
}

.service-detail-card:not([open]) .service-content {
    padding-top: 0;
    padding-bottom: 0;
}

.service-detail-card[open] .service-content {
    opacity: 1;
}

.service-detail-card[open] {
    border-color: rgba(184, 163, 120, 0.65);
    box-shadow: 0 20px 42px rgba(17, 28, 34, 0.1);
}

.service-detail-card p,
.service-detail-card li {
    color: var(--muted);
}

.service-visual-legal {
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1200&q=80');
}

.service-visual-accounting {
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1200&q=80');
}

.service-visual-psychology {
    background-image: url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=1200&q=80');
}

.service-visual-marketing {
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80');
}

.service-visual-vet {
    background-image: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=1200&q=80');
}

.service-detail-card h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--primary);
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.service-detail-card p {
    color: var(--muted);
    margin-top: 16px;
    font-size: 1.02rem;
}

.service-detail-card ul {
    margin-top: 18px;
    padding-left: 20px;
    color: var(--text);
    display: grid;
    gap: 10px;
}

.service-detail-card li {
    line-height: 1.6;
    color: var(--muted);
}

.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.cta-inline h3 {
    color: var(--primary);
    font-size: clamp(1.3rem, 2vw, 2rem);
    letter-spacing: -0.04em;
}

.process-wrap {
    max-width: 980px;
}

.contact-details-card {
    padding: 30px 26px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(246,248,247,0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-copy h2 {
    margin-top: 18px;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.05em;
    line-height: 1.1;
    color: var(--primary);
}

.contact-copy p {
    margin-top: 18px;
    color: var(--muted);
}

.contact-list {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 12px;
    color: var(--muted);
    font-weight: 500;
}

.contact-form {
    padding: 30px 26px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,248,247,0.95));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.form-row {
    margin-bottom: 20px;
}

.two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.8);
    color: var(--text);
    padding: 14px 16px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(29, 45, 58, 0.28);
    box-shadow: 0 0 0 4px rgba(29, 45, 58, 0.08);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.full-width {
    width: 100%;
}

.alert-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(76, 106, 93, 0.08);
    border: 1px solid rgba(76, 106, 93, 0.22);
    color: var(--success);
    font-weight: 600;
}

.site-footer {
    padding: 38px 0 24px;
    border-top: 1px solid #dfe3e7;
    background: #f7f6f4;
    color: #5f6b78;
}

.footer-inner {
    display: block;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 56px;
    align-items: center;
    padding-bottom: 28px;
}

.footer-identity {
    max-width: 460px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 12px;
}

.site-footer .footer-logo {
    width: min(100%, 190px);
    height: auto;
    min-width: 0;
    max-width: 100%;
    flex-basis: auto;
    aspect-ratio: 400 / 148;
    object-fit: contain;
}

.site-footer .footer-identity p {
    margin: 0 0 10px;
    color: #5f6b78;
    line-height: 1.6;
}

.site-footer .footer-identity p:last-child {
    margin-bottom: 0;
}

.site-footer .footer-address {
    color: inherit;
    text-decoration-color: #b8c0c7;
    text-underline-offset: 3px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer .footer-address:hover {
    color: #0876d1;
    text-decoration-color: currentColor;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 16px;
    padding-left: 40px;
    border-left: 1px solid #dfe3e7;
    color: #5f6b78;
}

.site-footer .footer-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    color: inherit;
    line-height: 1.45;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer .footer-links a::before {
    content: "›";
    flex: 0 0 auto;
    color: #0876d1;
    font-size: 1.1em;
    font-weight: 700;
}

.site-footer .footer-links a:hover {
    color: #0876d1;
    transform: translateX(2px);
}

.site-footer a:focus-visible {
    outline: 2px solid #0876d1;
    outline-offset: 4px;
    border-radius: 2px;
}

.footer-meta {
    padding-top: 18px;
    border-top: 1px solid #dfe3e7;
    color: #5f6b78;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,0.4);
    padding: 12px 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    margin: 6px 0;
    border-radius: 10px;
}

@media (max-width: 980px) {
    .hero-grid,
    .showcase-grid,
    .about-grid,
    .about-page-grid,
    .about-location,
    .contact-grid,
    .contact-page-grid,
    .services-grid,
    .services-page-grid,
    .benefits-grid,
    .testimonials-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .nav {
        position: relative;
        gap: 12px;
        justify-content: space-between;
    }

    .brand {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
    }

    .brand-logo {
        width: 300px;
    }

    .header-actions {
        order: 1;
        margin-left: 0;
    }

    .nav-toggle {
        display: block;
        order: 3;
        flex-shrink: 0;
        margin-left: 0;
    }

    .main-nav {
        position: absolute;
        left: 0;
        top: calc(100% + 10px);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255,255,255,0.9);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 18px 22px;
        z-index: 100;
        box-shadow: var(--shadow);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        overflow: hidden;
    }

    .main-nav.open {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        overflow: visible;
    }

    .main-nav .language-dropdown {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

    .main-nav .language-toggle {
        width: 100%;
        justify-content: center;
    }

    .main-nav .language-menu {
        width: 100%;
        left: 0;
        right: auto;
        max-height: 0;
        overflow: hidden;
    }

    .main-nav .language-dropdown.open .language-menu {
        max-height: 220px;
    }

    .desktop-only {
        display: none;
    }

    .media-frame {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .about-image,
    .about-page-image {
        min-height: 380px;
        aspect-ratio: auto;
    }

    .about-location-map,
    .about-location-map iframe {
        min-height: 300px;
        height: 300px;
    }

    .service-detail-card summary .service-summary-copy {
        max-width: 78%;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .footer-links {
        column-gap: 20px;
        padding-left: 24px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .brand {
        min-width: 0;
        max-width: none;
        width: auto;
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .brand-logo {
        width: 230px;
        min-width: 230px;
    }

    .nav {
        min-height: 68px;
        gap: 10px;
        justify-content: space-between;
    }

    .header-actions {
        order: 1;
        gap: 8px;
        margin-left: 0;
    }

    .language-dropdown {
        display: inline-block;
    }

    .language-toggle {
        min-width: 0;
        padding: 8px 10px;
        gap: 6px;
    }

    .language-menu {
        right: -8px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        padding: 9px 8px;
        margin-left: auto;
    }
}

.opsec-page {
        min-height: 100vh;
        background: var(--bg);
    }

    .opsec-shell {
        width: min(1240px, calc(100% - 40px));
        margin: 0 auto;
        padding: 52px 0 72px;
    }

    .opsec-header,
    .opsec-toolbar,
    .opsec-panel-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .opsec-header {
        margin-bottom: 28px;
    }

    .opsec-header h1 {
        margin-top: 16px;
        color: var(--primary);
        font-size: clamp(2rem, 5vw, 3.8rem);
        line-height: 1;
        letter-spacing: -0.06em;
    }

    .opsec-header p,
    .opsec-login p,
    .opsec-empty,
    .opsec-note {
        margin-top: 14px;
        color: var(--muted);
    }

    .opsec-login {
        max-width: 520px;
        margin: 12vh auto 0;
        padding: 40px;
        background: rgba(255,255,255,0.86);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        text-align: center;
    }

    .opsec-login-icon {
        display: grid;
        place-items: center;
        width: 62px;
        height: 62px;
        margin: 0 auto 18px;
        border-radius: 18px;
        background: var(--primary);
        color: #fff;
        font-weight: 800;
    }

    .opsec-login h2 {
        color: var(--primary);
    }

    .opsec-login-form {
        display: grid;
        gap: 18px;
        margin-top: 24px;
        text-align: left;
    }

    .opsec-error {
        margin-top: 18px;
    }

    .opsec-toolbar {
        margin-bottom: 18px;
        color: var(--muted);
    }

    .opsec-toolbar form {
        margin: 0;
    }

    .opsec-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(140px, 1fr)) minmax(220px, 1.5fr) auto auto;
        gap: 12px;
        align-items: end;
        margin-bottom: 20px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.72);
    }

    .opsec-filters label {
        display: block;
        margin-bottom: 7px;
        color: var(--primary);
        font-size: 0.76rem;
        font-weight: 700;
    }

    .opsec-filters select,
    .opsec-filters input {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--panel);
        color: var(--text);
        font: inherit;
    }

    .opsec-pagination {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 18px;
        color: var(--muted);
        font-size: 0.82rem;
    }

    .opsec-pagination > div {
        display: flex;
        gap: 8px;
    }

    .opsec-message-cell {
        min-width: 260px;
        max-width: 420px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .opsec-data-note {
        margin: 16px 0 0;
        color: var(--muted);
        font-size: 0.78rem;
    }

    .opsec-metrics {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 20px;
    }

    .opsec-metrics article {
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,0.78);
        box-shadow: 0 10px 24px rgba(17, 28, 34, 0.04);
    }

    .opsec-metrics span,
    .opsec-metrics small {
        display: block;
        color: var(--muted);
    }

    .opsec-metrics strong {
        display: block;
        margin: 6px 0;
        color: var(--primary);
        font-size: 2rem;
        letter-spacing: -0.05em;
    }

    .opsec-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .opsec-panel {
        padding: 26px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255,255,255,0.8);
        box-shadow: 0 10px 24px rgba(17, 28, 34, 0.04);
    }

    .opsec-panel-heading {
        margin-bottom: 20px;
    }

    .opsec-panel h2 {
        color: var(--primary);
        font-size: 1.3rem;
    }

    .status-pill {
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--primary-soft);
        color: var(--primary);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .opsec-checklist {
        display: grid;
        gap: 14px;
        list-style: none;
        color: var(--muted);
    }

    .opsec-checklist li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .check-dot {
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        border-radius: 50%;
        background: rgba(76, 106, 93, 0.14);
        color: var(--success);
        font-size: 0.75rem;
        font-weight: 800;
    }

    .check-dot.pending {
        background: var(--accent-soft);
        color: #7b6330;
    }

    .opsec-campaigns {
        display: grid;
        gap: 10px;
    }

    .opsec-campaigns div {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--panel-alt);
        color: var(--muted);
    }

    .opsec-campaigns strong {
        color: var(--primary);
    }

    .opsec-table-panel {
        overflow: hidden;
    }

    .opsec-table-wrap {
        overflow-x: auto;
    }

    .opsec-table {
        width: 100%;
        min-width: 900px;
        border-collapse: collapse;
        color: var(--muted);
        font-size: 0.82rem;
    }

    .opsec-table th,
    .opsec-table td {
        padding: 13px 10px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        vertical-align: top;
    }

    .opsec-table th {
        color: var(--primary);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .opsec-table td:first-child {
        white-space: nowrap;
    }

    @media (max-width: 900px) {
        .opsec-filters {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .opsec-filter-search {
            grid-column: span 2;
        }

        .opsec-metrics {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .opsec-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 620px) {
        .opsec-shell {
            width: min(100% - 28px, 1240px);
            padding: 28px 0 48px;
        }

        .opsec-header,
        .opsec-toolbar,
        .opsec-panel-heading {
            align-items: flex-start;
            flex-direction: column;
            gap: 14px;
        }

        .opsec-header .btn,
        .opsec-toolbar .btn {
            width: 100%;
        }

        .opsec-filters {
            grid-template-columns: 1fr;
        }

        .opsec-filter-search {
            grid-column: auto;
        }

        .opsec-filters .btn {
            width: 100%;
        }

        .opsec-pagination {
            align-items: stretch;
            flex-direction: column;
        }

        .opsec-pagination > div {
            width: 100%;
        }

        .opsec-pagination .btn {
            flex: 1;
            text-align: center;
        }

        .opsec-login {
            padding: 28px 20px;
        }

        .opsec-metrics {
            gap: 10px;
        }

        .opsec-metrics article {
            padding: 16px;
        }

        .opsec-metrics strong {
            font-size: 1.6rem;
        }

        .opsec-panel {
            padding: 20px 16px;
        }
    }

@media (max-width: 620px) {
    .topbar {
        font-size: 0.72rem;
    }

    .hero {
        padding: 48px 0 42px;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 11vw, 3.8rem);
    }

    .brand {
        min-width: 0;
        max-width: calc(100% - 112px);
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .brand-logo {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        aspect-ratio: 400 / 148;
        height: auto;
    }

    .footer-brand .brand-logo {
        width: min(var(--logo-footer-width), 150px);
        height: min(var(--logo-footer-height), 90px);
        flex-basis: min(var(--logo-footer-width), 150px);
    }

    .nav {
        min-height: 68px;
        gap: 10px;
    }

    .header-actions {
        gap: 8px;
    }

    .language-toggle {
        min-width: 0;
        padding: 8px 10px;
        gap: 6px;
    }

    .language-menu {
        right: -8px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        padding: 9px 8px;
    }

    .topbar-inner {
        justify-content: flex-start;
        gap: 5px 12px;
        padding: 9px 0;
    }

    .topbar-inner span:last-child {
        width: 100%;
        overflow-wrap: anywhere;
    }

    .section-spacing {
        padding: 64px 0;
    }

    .page-hero {
        padding: 58px 0 26px;
    }

    .page-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.4rem);
    }

    .page-hero p {
        font-size: 0.96rem;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .feature-list,
    .two-cols,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 12px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-group .btn,
    .cta-inline .btn {
        width: 100%;
    }

    .hero-metrics {
        gap: 10px;
    }

    .hero-metrics div {
        padding: 14px;
    }

    .hero-metrics strong {
        font-size: 1.35rem;
    }

    .media-frame {
        height: 390px;
        border-radius: 22px;
    }

    .media-image {
        inset: 16px;
        border-radius: 18px;
    }

    .floating-badge {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .floating-badge strong {
        font-size: 1.35rem;
    }

    .badge-top {
        top: 10px;
        left: 8px;
    }

    .badge-bottom {
        right: 8px;
        bottom: 10px;
    }

    .showcase-visual {
        min-height: 320px;
    }

    .photo-large {
        inset: 16px 34px 16px 16px;
    }

    .photo-badge {
        right: 10px;
        bottom: 14px;
        padding: 8px 10px;
        font-size: 0.62rem;
    }

    .mini-photo-row {
        gap: 10px;
        margin-top: 18px;
    }

    .mini-photo {
        height: 120px;
    }

    .about-image,
    .about-page-image {
        min-height: 280px;
        aspect-ratio: 1 / 0.85;
        border-radius: 22px;
    }

    .image-frame {
        height: 360px;
        margin-left: 0;
    }

    .image-card {
        inset: 20px;
    }

    .service-detail-card {
        border-radius: 22px;
    }

    .service-detail-card summary {
        min-height: 260px;
        padding: 18px;
    }

    .service-detail-card summary .service-summary-copy {
        max-width: 100%;
        padding: 14px 16px 8px;
    }

    .service-detail-card summary::after {
        right: 14px;
        top: 14px;
        width: 36px;
        height: 36px;
    }

    .service-content,
    .contact-form,
    .contact-details-card {
        padding: 22px 18px;
    }

    .cta-banner-inner {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .cta-inline {
        align-items: stretch;
        flex-direction: column;
    }

    .legal-section {
        padding-top: 22px;
    }

    .legal-content {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .legal-content h2 {
        font-size: 1.1rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.94rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 18px;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 32px 0 22px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-links {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 12px;
        padding: 22px 0 0;
        border-top: 1px solid #dfe3e7;
        border-left: 0;
    }

    .site-footer .footer-logo {
        width: min(100%, 150px);
    }
}
