:root {
    --bg: #121212;
    --bg-soft: #1b1b1b;
    --panel: rgba(32, 32, 32, 0.92);
    --panel-alt: rgba(242, 242, 242, 0.08);
    --stroke: rgba(255, 255, 255, 0.08);
    --text: #f4f1ea;
    --muted: rgba(244, 241, 234, 0.7);
    --accent: #7c78ff;
    --accent-strong: #5f5af6;
    --accent-bright: #958fff;
    --accent-soft: rgba(124, 120, 255, 0.2);
    --accent-glow: rgba(124, 120, 255, 0.45);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/SpaceGrotesk.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background-color: #0f0f10;
    background:
        radial-gradient(circle at 20% 25%, rgba(124, 120, 255, 0.24), transparent 28%),
        radial-gradient(circle at 84% 52%, rgba(124, 120, 255, 0.14), transparent 18%),
        radial-gradient(circle at 16% 88%, rgba(124, 120, 255, 0.13), transparent 20%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #0f0f10 0%, #171717 100%);
}

body {
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #0f0f10;
    background: transparent;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    overscroll-behavior-y: none;
}

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

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

button {
    font: inherit;
}

.page-shell {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 10px 14px 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: 8px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    background: rgba(18, 18, 18, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: block;
    flex: 0 0 36px;
    filter: drop-shadow(0 3px 10px rgba(95, 90, 246, 0.22));
}

.brand-text {
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    background: transparent;
    color: var(--text);
}

.burger span {
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.active span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.burger.active span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

.nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--stroke);
    border-radius: 20px;
    background: rgba(24, 24, 24, 0.96);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    filter: blur(10px);
    transition:
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.32s ease,
        visibility 0s linear 0.42s;
}

.nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.32s ease,
        visibility 0s linear 0s;
}

.nav-links a {
    position: relative;
    z-index: 1;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    transition: color 0.24s ease, background 0.24s ease;
}

.nav-links a:hover {
    background: var(--panel-alt);
    color: var(--text);
}

.nav-progress {
    display: none;
}

.nav-links .nav-contact {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(149, 143, 255, 0.24) 0%, rgba(95, 90, 246, 0.34) 100%);
    border: 1px solid rgba(149, 143, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 0 4px rgba(124, 120, 255, 0.12),
        0 12px 30px rgba(95, 90, 246, 0.24);
}

.nav-links .nav-contact:hover {
    background: linear-gradient(135deg, rgba(149, 143, 255, 0.34) 0%, rgba(95, 90, 246, 0.46) 100%);
    border-color: rgba(149, 143, 255, 0.58);
    color: #ffffff;
}

.hero {
    position: relative;
    min-height: 360px;
    margin-top: 12px;
    padding: 28px 22px;
    border-radius: 30px;
    overflow: hidden;
    background: #202020;
    box-shadow: var(--shadow);
}

.hero-image,
.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-backdrop {
    background:
        linear-gradient(180deg, rgba(14, 16, 20, 0.25) 0%, rgba(14, 16, 20, 0.78) 68%, rgba(14, 16, 20, 0.94) 100%),
        linear-gradient(130deg, rgba(124, 120, 255, 0.25) 0%, transparent 35%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 240px;
    margin-top: 110px;
}

.eyebrow,
.section-kicker {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.panel h2,
.panel h1 {
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero h1 {
    margin-top: 8px;
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 0.96;
}

.hero-copy {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.98rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-strong) 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(95, 90, 246, 0.45);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 42px rgba(95, 90, 246, 0.52);
    filter: saturate(1.08) brightness(1.03);
}

.panel {
    position: relative;
    margin-top: 16px;
    padding: 22px 18px;
    border: 1px solid var(--stroke);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: auto auto -40px -20px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(22px);
}

.section-heading {
    margin-bottom: 20px;
}

.panel h2 {
    font-size: 1.55rem;
}

.panel h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 0.96;
}

.about-layout {
    display: grid;
    gap: 20px;
}

.about-copy p {
    color: var(--muted);
    font-size: 0.96rem;
}

.about-intro {
    line-height: 1.7;
}

.about-copy p + p {
    margin-top: 12px;
}

.about-focus {
    margin-top: 26px;
    padding: 16px 18px;
    border: 1px solid var(--stroke);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.about-focus-label {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-focus-copy {
    margin-top: 10px;
    color: var(--text);
    line-height: 1.68;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px;
    max-width: 520px;
}

.stat-card,
.service-card,
.testimonial-card {
    border: 1px solid var(--stroke);
    border-radius: 22px;
    background: var(--panel-alt);
    backdrop-filter: blur(12px);
}

.stat-card {
    padding: 14px;
}

.stat-card-plain {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.stat-card-location {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-bottom: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    color: rgba(244, 241, 234, 0.84);
    font-size: 0.9rem;
    font-weight: 600;
}

.location-pin {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 999px 999px 999px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-bright) 100%);
    transform: rotate(-45deg);
    box-shadow: 0 0 16px rgba(124, 120, 255, 0.28);
    margin-top: -6px;
}

.location-pin::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.9);
}

.stat-card strong {
    display: block;
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

.journey-list {
    position: relative;
    display: grid;
    gap: 14px;
    margin-top: 28px;
    padding-left: 8px;
}

.journey-list::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 18px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.12) 100%);
    opacity: 0.9;
}

.journey-item {
    position: relative;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 16px;
    align-items: start;
}

.journey-marker {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.journey-marker::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    box-shadow: 0 0 14px var(--accent-glow);
}

.journey-content {
    padding: 10px 0 12px;
}

.journey-content h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.journey-period {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(244, 241, 234, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-item:last-child .journey-content {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0px -18px -22px;
}

.phone-frame {
    width: min(100%, 238px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.phone-frame img {
    width: 100%;
    border-radius: 0;
    margin-bottom: -1px;
}

.services-grid,
.testimonials-grid {
    display: grid;
    gap: 12px;
}

.service-card,
.testimonial-card {
    min-height: 140px;
}

.service-card h3,
.reference-meta h3 {
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 1.02rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.3s ease;
}

.service-card h3,
.service-card p {
    padding-left: 18px;
    padding-right: 18px;
}

.service-card h3 {
    margin-top: 18px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 120, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}

.service-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.service-card:hover h3 {
    color: #ffffff;
}

.service-card:hover p {
    color: rgba(244, 241, 234, 0.9);
}

.service-card p,
.reference-meta p,
.testimonial-card p,
.testimonial-card span {
    color: var(--muted);
}

.service-card p,
.reference-meta p,
.testimonial-card p {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.testimonial-card {
    padding: 18px;
}

.testimonials-panel {
    background:
        radial-gradient(circle at 18% 18%, rgba(124, 120, 255, 0.08), transparent 26%),
        radial-gradient(circle at 82% 78%, rgba(124, 120, 255, 0.06), transparent 24%),
        rgba(32, 32, 32, 0.92);
}

.testimonials-panel .section-heading {
    margin-bottom: 10px;
}

.testimonial-quote-mark {
    margin-left: 2px;
    color: rgba(124, 120, 255, 0.34);
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: clamp(3.2rem, 9vw, 5.5rem);
    line-height: 0.6;
}

.testimonials-grid {
    gap: 18px;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease, background 0.34s ease;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
}

.testimonial-card::after {
    content: "";
    position: absolute;
    inset: auto -14% -34% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(149, 143, 255, 0.16) 0%, rgba(149, 143, 255, 0) 72%);
    opacity: 0;
    transform: translate3d(18px, 18px, 0) scale(0.82);
    transition: opacity 0.34s ease, transform 0.34s ease;
}

.testimonial-card-muted {
    background: linear-gradient(180deg, rgba(26, 26, 30, 0.9), rgba(21, 21, 24, 0.92));
    border-color: rgba(124, 120, 255, 0.12);
}

.testimonial-card-accent {
    background: linear-gradient(180deg, rgba(38, 35, 52, 0.96) 0%, rgba(29, 27, 40, 0.98) 100%);
    border-color: rgba(149, 143, 255, 0.24);
}

.testimonial-card-light {
    background: linear-gradient(180deg, rgba(31, 31, 36, 0.92), rgba(24, 24, 29, 0.94));
    border-color: rgba(149, 143, 255, 0.16);
}

.testimonial-tag,
.testimonial-text,
.testimonial-person {
    position: relative;
    z-index: 1;
    transition: transform 0.34s ease, opacity 0.34s ease, color 0.34s ease;
}

.testimonial-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border: 1px solid rgba(124, 120, 255, 0.18);
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.76);
    background: rgba(124, 120, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.testimonial-text {
    margin-top: 16px;
    margin-bottom: 0;
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.05rem, 2.6vw, 1.5rem);
    line-height: 1.28;
}

.testimonial-person {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 18px;
}

.testimonial-person strong {
    display: block;
    font-size: 0.98rem;
}

.testimonial-person span {
    display: block;
    margin-top: 4px;
    font-size: 0.84rem;
    letter-spacing: 0;
    text-transform: none;
}

.testimonial-card-accent .testimonial-tag,
.testimonial-card-accent .testimonial-text,
.testimonial-card-accent .testimonial-person strong,
.testimonial-card-accent .testimonial-person span {
    color: #f4f1ea;
}

.testimonial-card-light .testimonial-tag {
    border-color: rgba(124, 120, 255, 0.18);
    color: rgba(244, 241, 234, 0.72);
}

.testimonial-card-light .testimonial-text,
.testimonial-card-light .testimonial-person strong,
.testimonial-card-light .testimonial-person span {
    color: #f4f1ea;
}

.testimonial-card:hover {
    transform: translateY(-7px) scale(1.008);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover::after {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.testimonial-card:hover .testimonial-tag {
    transform: translateY(-2px);
}

.testimonial-card:hover .testimonial-text {
    transform: translateY(-4px);
}

.testimonial-card:hover .testimonial-person {
    transform: translateY(-3px);
}

.testimonial-card-muted:hover {
    border-color: rgba(149, 143, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(25, 25, 29, 0.94);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(149, 143, 255, 0.06);
}

.testimonial-card-muted:hover .testimonial-text,
.testimonial-card-muted:hover .testimonial-person strong {
    color: #ffffff;
}

.testimonial-card-accent:hover {
    border-color: rgba(149, 143, 255, 0.34);
    background: linear-gradient(180deg, rgba(44, 40, 60, 0.98) 0%, rgba(32, 30, 44, 0.99) 100%);
    box-shadow:
        0 26px 58px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(149, 143, 255, 0.1);
}

.testimonial-card-accent:hover .testimonial-tag {
    border-color: rgba(149, 143, 255, 0.28);
    background: rgba(124, 120, 255, 0.1);
}

.testimonial-card-light:hover {
    border-color: rgba(149, 143, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(36, 35, 44, 0.96), rgba(28, 27, 34, 0.98));
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(149, 143, 255, 0.06);
}

.testimonial-card-light:hover .testimonial-tag {
    border-color: rgba(124, 120, 255, 0.2);
    color: rgba(244, 241, 234, 0.74);
}

.testimonial-card:focus-within {
    transform: translateY(-7px) scale(1.008);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.references-grid {
    display: grid;
    gap: 18px;
}

.reference-card {
    display: grid;
    gap: 16px;
    transition: transform 0.32s ease, filter 0.32s ease;
}

.reference-card.is-revealing {
    animation: referenceReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reference-card img {
    width: 100%;
    height: 280px;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.42s ease, filter 0.42s ease;
}

.reference-image-thermotech {
    object-position: center 72%;
}

.reference-image-stolen {
    object-position: center 64%;
}

.reference-meta {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.reference-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reference-head h3 {
    flex: 0 1 auto;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    transition: color 0.28s ease;
}

.reference-line {
    flex: 1;
    height: 1px;
    min-width: 32px;
    background: linear-gradient(90deg, rgba(124, 120, 255, 0.7) 0%, rgba(124, 120, 255, 0.05) 100%);
    transform-origin: left center;
    transition: transform 0.34s ease, opacity 0.34s ease, background 0.34s ease;
}

.reference-facts {
    display: grid;
    gap: 4px;
    margin-top: 18px;
}

.reference-facts p {
    margin-top: 0;
    margin-bottom: 0;
    color: rgba(244, 241, 234, 0.78);
    font-size: 0.82rem;
    transition: color 0.28s ease;
}

.reference-facts span {
    display: inline-block;
    min-width: 52px;
    color: rgba(244, 241, 234, 0.42);
    transition: color 0.28s ease;
}

.reference-card:hover,
.reference-card:focus-within {
    transform: translateY(-4px);
}

.reference-card:hover img,
.reference-card:focus-within img {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(124, 120, 255, 0.32);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
    filter: saturate(1.04) contrast(1.02);
}

.reference-card:hover .reference-meta,
.reference-card:focus-within .reference-meta {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(149, 143, 255, 0.16);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.reference-card:hover .reference-head h3,
.reference-card:focus-within .reference-head h3 {
    color: #ffffff;
}

.reference-card:hover .reference-line,
.reference-card:focus-within .reference-line {
    opacity: 1;
    transform: scaleX(1.05);
    background: linear-gradient(90deg, rgba(124, 120, 255, 0.92) 0%, rgba(124, 120, 255, 0.14) 100%);
}

.reference-card:hover .reference-facts p,
.reference-card:focus-within .reference-facts p {
    color: rgba(244, 241, 234, 0.9);
}

.reference-card:hover .reference-facts span,
.reference-card:focus-within .reference-facts span {
    color: rgba(244, 241, 234, 0.56);
}

.references-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    gap: 12px;
}

.references-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 22px;
    border: 1px solid rgba(124, 120, 255, 0.22);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.72);
    color: var(--text);
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.references-button:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 120, 255, 0.48);
    background: rgba(124, 120, 255, 0.08);
    box-shadow: 0 16px 34px rgba(95, 90, 246, 0.16);
}

.references-button:disabled {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(244, 241, 234, 0.45);
    cursor: default;
}

.references-note {
    color: rgba(244, 241, 234, 0.68);
    font-size: 0.88rem;
    text-align: center;
}

.references-note.is-revealing {
    animation: referenceNoteReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.references-note a {
    color: var(--accent-bright);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.testimonial-card span {
    display: block;
    margin-top: 18px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-footer {
    margin-top: 18px;
    padding: 22px 12px 10px;
}

.social-row p {
    color: var(--muted);
    font-size: 0.88rem;
}

.loc{
    padding-top: 6px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.social-links a {
    padding: 10px 12px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(149, 143, 255, 0.42);
    background: rgba(124, 120, 255, 0.12);
    color: var(--text);
    box-shadow: 0 14px 28px rgba(95, 90, 246, 0.18);
}

.contact-block {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--stroke);
    display: grid;
    justify-items: start;
}

.contact-kicker {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.availability-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 16px;
    border: 1px solid rgba(149, 143, 255, 0.38);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(149, 143, 255, 0.2) 0%, rgba(95, 90, 246, 0.18) 100%);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 34px rgba(95, 90, 246, 0.18),
        0 0 0 1px rgba(149, 143, 255, 0.08);
    backdrop-filter: blur(10px);
}

.availability-note::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #9cffc7;
    box-shadow: 0 0 18px rgba(156, 255, 199, 0.72);
    animation: availabilityPulse 1.8s ease-in-out infinite;
}

.contact-copy {
    max-width: 980px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.68;
}

.mail-link {
    display: inline-block;
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.4rem, 7vw, 2.1rem);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    margin-top: 18px;
}

@keyframes availabilityPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 16px rgba(156, 255, 199, 0.58);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.82);
        box-shadow: 0 0 8px rgba(156, 255, 199, 0.26);
    }
}

.phone-link {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.footer-meta {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--stroke);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(244, 241, 234, 0.62);
    transition: color 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--accent-bright);
    transform: translateY(-1px);
    text-shadow: 0 0 18px rgba(124, 120, 255, 0.24);
}

.legal-main {
    margin-top: 12px;
}

.legal-panel {
    padding: 24px 20px;
}

.legal-copy {
    max-width: none;
    width: 100%;
}

.legal-copy h1,
.legal-copy h2,
.legal-copy h3,
.legal-copy h4 {
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    line-height: 1.08;
}

.legal-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(2.1rem, 7vw, 3rem);
}

.legal-copy h2 {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-copy h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 1.02rem;
}

.legal-copy h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 0.94rem;
    color: rgba(244, 241, 234, 0.88);
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.72;
}

.legal-copy p + p {
    margin-top: 12px;
}

.legal-copy ul {
    margin-top: 14px;
    margin-left: 20px;
    display: grid;
    gap: 10px;
}

.legal-copy a {
    color: var(--accent-bright);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-stack {
    display: grid;
    gap: 12px;
}

.legal-item {
    padding: 18px;
    border: 1px solid var(--stroke);
    border-radius: 20px;
    background: var(--panel-alt);
    backdrop-filter: blur(12px);
}

.legal-item h2 {
    font-size: 1rem;
}

.legal-item p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-item p + p {
    margin-top: 8px;
}

.footer-meta-legal {
    margin-top: 0;
}

.site-footer-legal-page {
    margin-top: 18px;
    padding: 22px 12px 10px;
}

.site-footer-legal-page .footer-meta-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 0;
    border-top: 1px solid var(--stroke);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-footer-legal-page .footer-legal {
    margin-top: 0;
    gap: 16px;
}

.site-footer-legal-page .footer-legal a {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(244, 241, 234, 0.62);
    font-size: 0.75rem;
}

.site-footer-legal-page .footer-meta-legal > span {
    color: rgba(255, 255, 255, 0.48);
}

.site-footer-legal-page .footer-meta-legal.scroll-reveal,
.site-footer-legal-page .footer-meta-legal.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.7s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-lift {
    transform: translateY(42px) scale(0.98);
}

.scroll-reveal-lift.is-visible {
    transform: translateY(0) scale(1);
}

@keyframes referenceReveal {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
        clip-path: inset(0 0 100% 0 round 22px);
    }

    65% {
        opacity: 1;
        transform: translateY(0) scale(1);
        clip-path: inset(0 0 0 0 round 22px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        clip-path: inset(0 0 0 0 round 22px);
    }
}

@keyframes referenceNoteReveal {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .page-shell {
        width: min(100%, 1420px);
        padding: 18px 32px 44px;
    }

    .burger {
        display: none;
    }

    .nav-links {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        max-height: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        filter: none;
        transition: none;
    }

    .nav-progress {
        display: block;
        position: absolute;
        left: 0;
        bottom: -6px;
        width: var(--nav-progress-width, 0px);
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(149, 143, 255, 0.96) 100%);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.08),
            0 0 18px rgba(124, 120, 255, 0.36);
        opacity: 0;
        transform: translateX(var(--nav-progress-x, 0px));
        transform-origin: left center;
        transition:
            transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.2s ease;
        pointer-events: none;
    }

    .nav-links .nav-contact {
        padding: 10px 16px;
    }

    .hero {
        min-height: 640px;
        padding: 40px;
    }

    .hero-content {
        max-width: 520px;
        margin-top: 220px;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 6vw, 5.6rem);
    }

    .hero-copy {
        max-width: 440px;
        font-size: 1.05rem;
    }

    .panel {
        padding: 34px;
    }

    .about-panel {
        position: relative;
        padding-bottom: 34px;
    }

    .about-layout {
        display: block;
        min-height: 500px;
    }

    .about-copy {
        max-width: calc(100% - 420px);
    }

    .journey-list {
        margin-top: 42px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr 1.35fr;
        max-width: 820px;
    }

    .about-visual {
        position: absolute;
        right: 62px;
        bottom: -18px;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        margin: 0;
    }

    .phone-frame {
        width: min(100%, 430px);
        margin-right: 0;
    }

    .phone-frame img {
        transform: none;
    }

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

    .service-card img {
        height: 220px;
    }

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

    .reference-card img {
        height: 390px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1.08fr 1fr;
        align-items: stretch;
        gap: 24px;
    }

    .testimonial-card {
        min-height: 290px;
        padding: 24px;
    }

    .testimonial-text {
        font-size: clamp(1.08rem, 1.6vw, 1.5rem);
        line-height: 1.32;
    }

    .testimonial-person {
        padding-top: 20px;
    }

    .social-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .social-links {
        grid-template-columns: repeat(4, auto);
        margin-top: 0;
    }

    .footer-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .legal-panel {
        padding: 32px;
    }

    .legal-copy h1 {
        margin-bottom: 28px;
    }

    .legal-copy h2 {
        margin-top: 40px;
    }

    .legal-item {
        padding: 22px;
    }

}

@media (min-width: 1400px) {
    .page-shell {
        width: min(100%, 1580px);
        padding: 22px 40px 52px;
    }

    .hero {
        min-height: 700px;
        padding: 48px;
    }

    .hero-content {
        max-width: 600px;
        margin-top: 250px;
    }


    .panel {
        padding: 40px;
    }

    .about-copy {
        max-width: calc(100% - 470px);
    }

    .about-visual {
        right: 76px;
    }

    .phone-frame {
        width: min(100%, 470px);
    }

    .services-grid {
        gap: 18px;
    }

    .references-grid {
        gap: 48px;
    }

    .testimonials-grid {
        gap: 28px;
    }
}
