:root {
    --primary: #00a8df;
    --primary-deep: #007aa3;
    --primary-soft: #d9f3fc;
    --accent: #eef9fd;
    --accent-mist: #f8fcfe;
    --secondary: #f0c800;
    --secondary-deep: #d9b400;
    --ink: #0a1f2b;
    --ink-soft: #4d6472;
    --line: rgba(10, 31, 43, 0.09);
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.82);
    --shadow: 0 24px 64px rgba(0, 72, 98, 0.12);
    --shadow-soft: 0 8px 28px rgba(0, 72, 98, 0.08);
    --radius: 16px;
    --radius-sm: 12px;
    --header-h: 78px;
    --font-display: "Outfit", sans-serif;
    --font-body: "Manrope", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --float-gap: 0.65rem;
    --page-gutter: 1.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 10px);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: #f6fafc;
    line-height: 1.65;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open,
body.is-loading {
    overflow: hidden;
}

/* Page loader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: #ffffff;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-mark {
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
}

.page-loader-logo {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    max-width: 58px;
    margin: 0;
    object-fit: contain;
    display: block;
}

.page-loader-spinner {
    position: absolute;
    inset: 0;
    animation: page-loader-spin 0.85s linear infinite;
    will-change: transform;
}

.page-loader-spinner i {
    --i: 0;
    --o: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7.22px;
    height: 23px;
    margin: -11.5px 0 0 -3.61px;
    border-radius: 2px 80% 2px 80%;
    background: var(--primary);
    opacity: var(--o);
    transform: rotate(calc(var(--i) * 45deg)) translateY(-48px);
}

.page-loader-spinner i:nth-child(1) { --i: 0; --o: 1; }
.page-loader-spinner i:nth-child(2) { --i: 1; --o: 0.875; }
.page-loader-spinner i:nth-child(3) { --i: 2; --o: 0.75; }
.page-loader-spinner i:nth-child(4) { --i: 3; --o: 0.625; }
.page-loader-spinner i:nth-child(5) { --i: 4; --o: 0.5; }
.page-loader-spinner i:nth-child(6) { --i: 5; --o: 0.375; }
.page-loader-spinner i:nth-child(7) { --i: 6; --o: 0.25; }
.page-loader-spinner i:nth-child(8) { --i: 7; --o: 0.125; }

@keyframes page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1rem;
    z-index: 1000;
    border-radius: 8px;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(1200px, calc(100% - (var(--page-gutter) * 2)));
    max-width: 100%;
    margin-inline: auto;
}

svg,
video,
iframe {
    max-width: 100%;
}

main,
section,
.panel,
.newsletter-panel,
.profile-panel,
.form-grid,
.newsletter-form,
.contact-layout,
.split,
.profile-grid,
.footer-grid {
    min-width: 0;
}

.newsletter-form,
.form-grid {
    position: relative;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    backdrop-filter: blur(18px) saturate(1.2);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 32px rgba(10, 31, 43, 0.06);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: transparent;
    transition: transform 0.35s var(--ease);
}

.brand:hover .brand-logo {
    transform: scale(1.04);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-deep);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    background: rgba(6, 24, 33, 0.03);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.site-nav a {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink-soft);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a.is-active {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 4px 14px rgba(6, 24, 33, 0.06);
}

.site-nav a:not(.btn)::after {
    display: none;
}

.site-nav .nav-cta {
    margin-left: 0.25rem;
    min-height: 40px;
    padding: 0.5rem 1.1rem;
    font-size: 0.86rem;
    border-radius: 8px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

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

.btn-primary {
    background: linear-gradient(135deg, #0eb5e8, var(--primary-deep));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 122, 163, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 14px 30px rgba(0, 122, 163, 0.28);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(217, 180, 0, 0.18);
}

.btn-secondary:hover {
    background: var(--secondary-deep);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary-deep);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(82svh, calc(100svh - var(--header-h)));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.1s var(--ease), transform 8s linear;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    animation: hero-drift 20s var(--ease) infinite alternate;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(1rem, 2.5vw, 1.5rem);
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(4, 18, 28, 0.35);
    backdrop-filter: blur(8px);
}

.hero-dot {
    width: 0.62rem;
    height: 0.62rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-dot.is-active {
    background: var(--secondary);
    transform: scale(1.15);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 20, 30, 0.55) 0%, rgba(6, 20, 30, 0.35) 38%, rgba(6, 20, 30, 0.92) 100%),
        linear-gradient(100deg, rgba(0, 122, 163, 0.45), transparent 55%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(4.25rem, 7vw, 5.25rem);
}

.hero-content {
    max-width: 720px;
    text-align: left;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0 0 0.85rem;
    max-width: 12ch;
    text-wrap: balance;
}

.hero-brand span {
    color: var(--secondary);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 600;
    margin: 0 0 0.65rem;
    max-width: 34ch;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.98);
}

.hero-lead {
    margin: 0 0 1.35rem;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-start;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal.is-visible:nth-child(2) { transition-delay: 0.06s; }
.reveal.is-visible:nth-child(3) { transition-delay: 0.12s; }
.reveal.is-visible:nth-child(4) { transition-delay: 0.18s; }

/* Sections */
.section {
    padding: clamp(3rem, 5.5vw, 4.5rem) 0;
}

.section-alt {
    background: var(--white);
    border-block: 1px solid var(--line);
}

.section-tight {
    padding-top: 0.5rem;
}

.section-head {
    max-width: 42rem;
    margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
}

.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.section-head-center .eyebrow {
    margin-inline: auto;
}

.section-head h2,
.service-card-body h3,
.panel h2,
.newsletter-copy h2 {
    font-family: var(--font-display);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    color: var(--ink);
}

.section-head p {
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 52ch;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-deep);
    background: var(--primary-soft);
    border-radius: 999px;
}

/* Stats */
.stats-shell {
    margin-top: -2.2rem;
    position: relative;
    z-index: 3;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.stat {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 1.35rem 1.25rem;
    position: relative;
    transition: background 0.25s var(--ease);
}

.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--line);
}

.stat:hover {
    transform: none;
    box-shadow: none;
    background: var(--accent-mist);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--primary-deep);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat span {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Featured systems */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 168, 223, 0.22);
}

.service-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe9ee;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.service-card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(10, 31, 43, 0.78);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.25rem;
}

.service-card-body h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.08rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--ink);
}

.service-card-body p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
}

.service-card-body .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.88rem;
}

/* Split / about */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
}

.split-media {
    position: relative;
    min-height: 360px;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-media::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1;
}

.checklist {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.checklist li {
    padding: 0.65rem 0.85rem 0.65rem 2.1rem;
    position: relative;
    color: var(--ink);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    transform: translateY(-50%);
    background: var(--secondary);
    border-radius: 2px;
}

.about-intro h2 {
    font-family: var(--font-display);
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.about-intro p,
.profile-panel p {
    margin: 0 0 0.85rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.about-intro p:last-child,
.profile-panel p:last-child {
    margin-bottom: 0;
}

.about-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.85rem);
}

.about-goal {
    margin-top: 0.35rem !important;
}

.about-goal strong {
    display: block;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.about-close {
    margin-top: clamp(1.5rem, 2.8vw, 2rem);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--ink) 0%, #123447 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--white);
}

.about-close strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.15rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.95);
}

.about-close span {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.about-close p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    font-size: 0.98rem;
}

/* Profiles */
.profile-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 0.85rem;
}

.profile-panel {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.35rem, 2.4vw, 1.85rem);
    box-shadow: var(--shadow-soft);
}

.profile-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), #5ec9eb);
}

.profile-panel-solar::before {
    background: linear-gradient(180deg, var(--secondary), #ffe666);
}

.profile-panel h2 {
    font-family: var(--font-display);
    letter-spacing: -0.035em;
    margin: 0 0 0.45rem;
    font-size: clamp(1.25rem, 2.1vw, 1.6rem);
}

.profile-panel > p {
    margin: 0 0 0.85rem;
    color: var(--ink-soft);
}

.profile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.profile-list li {
    position: relative;
    padding: 0.62rem 0.75rem 0.62rem 1.65rem;
    background: var(--accent-mist);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.profile-list li:hover {
    transform: none;
    border-color: rgba(0, 168, 223, 0.28);
    background: var(--white);
}

.profile-panel-solar .profile-list li {
    background: #fffdf2;
}

.profile-list li::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.95rem;
    width: 0.42rem;
    height: 0.42rem;
    transform: none;
    background: var(--primary);
    border-radius: 2px;
}

.profile-panel-solar .profile-list li::before {
    background: var(--secondary-deep);
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0.35rem;
}

.offerings-services {
    margin-top: 0.85rem;
}

.offering-card {
    background: var(--accent-mist);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.offering-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(0, 168, 223, 0.22);
}

.offering-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe9ee;
}

.offering-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.offering-card h3 {
    margin: 0;
    padding: 0.8rem 0.9rem 0.95rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.offering-card-text {
    display: flex;
    align-items: center;
    min-height: 88px;
    background: var(--white);
}

.offering-card-text h3 {
    padding: 0.9rem 1rem;
}

/* CTA */
.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/projects/wtp.jpg") center/cover;
    transform: scale(1.04);
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(0, 150, 195, 0.94), rgba(0, 180, 235, 0.88) 55%, rgba(8, 40, 55, 0.9));
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-family: var(--font-display);
    margin: 0 0 0.55rem;
    letter-spacing: -0.04em;
    max-width: 16ch;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.cta-band p {
    margin: 0;
    max-width: 40ch;
    color: rgba(255, 255, 255, 0.88);
}

/* Credentials */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.doc-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 0.9rem;
    text-align: center;
    min-height: 148px;
    display: grid;
    place-items: center;
    gap: 0.6rem;
    box-shadow: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.doc-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(0, 168, 223, 0.22);
}

.doc-item img {
    max-height: 84px;
    width: auto;
    margin-inline: auto;
    object-fit: contain;
}

.doc-item span {
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Newsletter + contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.85rem;
    align-items: start;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 2.2vw, 1.65rem);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.newsletter-section {
    padding-top: 0;
}

.newsletter-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    align-items: center;
    padding: clamp(1.35rem, 2.5vw, 1.85rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.newsletter-copy p {
    margin: 0;
    color: var(--ink-soft);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
}

.newsletter-form input[type="email"],
.form-grid input,
.form-grid textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    background: #f8fcfe;
    padding: 0.9rem 1.05rem;
    border-radius: 12px;
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.newsletter-form input[type="email"] {
    min-height: 50px;
}

.newsletter-form input[type="email"]:focus,
.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 180, 235, 0.15);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.contact-list strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-deep);
    margin-bottom: 0.25rem;
}

.contact-list li {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-list a {
    font-weight: 700;
    transition: color 0.25s;
}

.contact-list a:hover {
    color: var(--primary-deep);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-social img {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 8px;
}

.form-grid {
    display: grid;
    gap: 0.75rem;
}

.form-grid label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
}

.security-check .security-question {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.security-check input {
    max-width: 180px;
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.form-feedback {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.form-feedback.success {
    background: #e8faf0;
    color: #0f6b3c;
}

.form-feedback.error {
    background: #ffecec;
    color: #9b1c1c;
}

.map-embed {
    margin-top: 0.85rem;
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-embed iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

/* Footer */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0.5rem;
    background:
        linear-gradient(180deg, rgba(0, 180, 235, 0.08), transparent 42%),
        #061821;
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 0 1.4rem;
}

.footer-glow {
    position: absolute;
    inset: auto auto -30% -10%;
    width: min(520px, 80vw);
    height: min(520px, 80vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 235, 0.22), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
    animation: footer-glow-drift 10s var(--ease) infinite alternate;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr;
    gap: 1.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-brand .brand-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: transform 0.45s var(--ease);
}

.footer-brand:hover .brand-logo {
    transform: scale(1.05) rotate(-2deg);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.footer-social img {
    width: 26px;
    height: 26px;
    display: block;
    border-radius: 7px;
}

.footer-brand h2,
.site-footer h3 {
    font-family: var(--font-display);
    color: var(--white);
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
}

.footer-brand h2 {
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}

.footer-brand p {
    margin: 0;
    max-width: 34ch;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.45rem;
}

.site-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform-origin: left center;
    animation: footer-line-in 0.7s var(--ease) both;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-list a {
    position: relative;
    display: inline-block;
    transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease);
}

.footer-list a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-list a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.site-footer.is-inview .footer-reveal {
    opacity: 1;
    transform: none;
}

.site-footer.is-inview .footer-grid .footer-reveal:nth-child(1) { transition-delay: 0.05s; }
.site-footer.is-inview .footer-grid .footer-reveal:nth-child(2) { transition-delay: 0.14s; }
.site-footer.is-inview .footer-grid .footer-reveal:nth-child(3) { transition-delay: 0.23s; }
.site-footer.is-inview .footer-bottom.footer-reveal { transition-delay: 0.32s; }

@keyframes footer-glow-drift {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
    to { transform: translate3d(18%, -12%, 0) scale(1.12); opacity: 1; }
}

@keyframes footer-line-in {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Float actions */
.float-actions {
    position: fixed;
    right: 1rem;
    bottom: 3.55rem;
    z-index: 70;
    display: grid;
    gap: var(--float-gap);
    max-width: calc(100vw - 1.5rem);
    pointer-events: none;
}

.float-actions > * {
    pointer-events: auto;
}

.float-btn {
    position: relative;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.float-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.float-tip {
    position: absolute;
    right: calc(100% + 0.65rem);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    background: rgba(6, 24, 33, 0.92);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.float-btn:hover .float-tip,
.float-btn:focus-visible .float-tip {
    opacity: 1;
    transform: translateY(-50%);
}

.call-float {
    background: linear-gradient(145deg, #22c3f5, var(--primary-deep));
}

.call-float img {
    width: 24px;
    height: 24px;
}

.whatsapp-float {
    background: #25d366;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.support-float {
    background: #111827;
}

.support-float img {
    width: 34px;
    height: 34px;
}

.top-float {
    background: linear-gradient(145deg, #1b3444, #0c2433);
}

.top-float img {
    width: 22px;
    height: 22px;
}

.top-float[hidden] {
    display: none !important;
}

.crafted-by {
    position: fixed;
    bottom: 12px;
    right: 12px;
    left: auto;
    z-index: 2147483647;
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    font: 500 12px/1 system-ui, sans-serif;
    padding: 7px 12px;
    border-radius: 9999px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.crafted-by:hover {
    opacity: 1;
    transform: translateY(-1px);
}

@keyframes hero-drift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1.14) translate3d(-1.4%, -1.2%, 0); }
}

/* Responsive — tablet landscape / small desktop */
@media (max-width: 1100px) {
    .site-nav {
        gap: 0.1rem;
        padding: 0.25rem;
    }

    .site-nav a {
        padding: 0.48rem 0.55rem;
        font-size: 0.78rem;
    }

    .site-nav .nav-cta {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }

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

    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Responsive — tablet */
@media (max-width: 980px) {
    :root {
        --header-h: 76px;
        --page-gutter: 1.25rem;
    }

    .container,
    .hero-shell {
        width: min(1200px, calc(100% - (var(--page-gutter) * 2)));
    }

    .split,
    .contact-layout,
    .footer-grid,
    .profile-grid,
    .about-blocks,
    .newsletter-panel,
    .form-row {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .stat {
        padding: 0.85rem 0.7rem;
    }

    .stat strong {
        font-size: clamp(1.45rem, 3.5vw, 1.9rem);
    }

    .stat span {
        font-size: 0.78rem;
    }

    .stats-shell {
        margin-top: -1.5rem;
    }

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

    .split-media {
        min-height: 260px;
        max-height: 320px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .cta-band .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band .hero-actions {
        width: 100%;
    }
}

/* Responsive — mobile menu */
@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
        z-index: 60;
    }

    .site-nav {
        position: fixed;
        inset: calc(var(--header-h) + 0.35rem) 0.75rem auto;
        max-height: calc(100svh - var(--header-h) - 1.25rem);
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--line);
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 0.65rem;
        gap: 0.2rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
        box-shadow: var(--shadow);
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 0.85rem 0.95rem;
        font-size: 0.98rem;
        border-radius: 12px;
    }

    .site-nav a:not(.btn):hover,
    .site-nav a.is-active {
        background: var(--accent);
        box-shadow: none;
    }

    .site-nav .nav-cta {
        margin: 0.4rem 0 0;
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-sub {
        font-size: 0.66rem;
    }
}

/* Responsive — phones */
@media (max-width: 640px) {
    :root {
        --header-h: 70px;
        --float-gap: 0.5rem;
        --page-gutter: 1.25rem;
        --radius: 14px;
        --radius-sm: 12px;
    }

    .container,
    .hero-shell {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: max(var(--page-gutter), env(safe-area-inset-left)) max(var(--page-gutter), env(safe-area-inset-right));
        box-sizing: border-box;
    }

    .site-header {
        padding-inline: 0;
    }

    .header-inner {
        gap: 0.65rem;
        min-width: 0;
        align-items: center;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 0.65rem;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .brand-text {
        min-width: 0;
        max-width: none;
    }

    .brand-name {
        font-size: 0.98rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-sub {
        font-size: 0.64rem;
        letter-spacing: 0.14em;
    }

    .site-nav {
        inset: calc(var(--header-h) + 0.4rem) max(var(--page-gutter), env(safe-area-inset-left)) auto max(var(--page-gutter), env(safe-area-inset-right));
        border-radius: 16px;
    }

    .form-row,
    .newsletter-form,
    .contact-layout,
    .profile-grid,
    .about-blocks,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .hero {
        min-height: min(70svh, 540px);
    }

    .hero-shell {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .hero-content {
        max-width: none;
        text-align: left;
    }

    .hero-brand {
        font-size: clamp(2.15rem, 10.5vw, 3rem);
        max-width: 100%;
        margin-bottom: 0.85rem;
    }

    .hero h1 {
        font-size: 1.15rem;
        max-width: 100%;
        line-height: 1.35;
    }

    .hero-lead {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1.15rem;
        line-height: 1.55;
    }

    .hero-actions,
    .cta-band .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .hero-actions .btn,
    .cta-band .hero-actions .btn,
    .newsletter-form .btn,
    .form-grid .btn,
    .service-card-body .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .section {
        padding: 2.1rem 0;
    }

    .section-tight {
        padding-top: 0.25rem;
    }

    .section-head {
        margin-bottom: 1.15rem;
        max-width: none;
    }

    .section-head h2,
    .service-card-body h3,
    .panel h2,
    .newsletter-copy h2,
    .cta-band h2,
    .profile-panel h2,
    .about-intro h2 {
        font-size: clamp(1.4rem, 6.4vw, 1.8rem);
        line-height: 1.15;
    }

    .section-head p,
    .newsletter-copy p,
    .cta-band p,
    .service-card-body p,
    .profile-panel > p,
    .about-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .stats-shell {
        margin-top: 0.9rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .stat {
        display: block;
        padding: 1rem 1.1rem;
    }

    .stat + .stat::before {
        left: 1.1rem;
        right: 1.1rem;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .stat strong {
        margin: 0;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .stat span {
        text-align: right;
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .split {
        gap: 1rem;
    }

    .split-media {
        min-height: 210px;
        max-height: 240px;
        border-radius: var(--radius);
    }

    .checklist,
    .profile-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

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

    .checklist li,
    .profile-list li {
        font-size: 0.9rem;
        padding: 0.68rem 0.75rem 0.68rem 1.55rem;
        border-radius: var(--radius-sm);
    }

    .docs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .doc-item {
        min-height: 118px;
        padding: 0.9rem 0.7rem;
        border-radius: var(--radius-sm);
    }

    .doc-item img {
        max-height: 60px;
    }

    .doc-item span {
        font-size: 0.88rem;
    }

    .panel,
    .newsletter-panel,
    .profile-panel {
        border-radius: var(--radius);
        padding: 1.15rem;
    }

    .newsletter-panel {
        gap: 1rem;
    }

    .security-check input {
        max-width: none;
        width: 100%;
    }

    .map-embed {
        margin-top: 1rem;
        border-radius: var(--radius);
    }

    .map-embed,
    .map-embed iframe {
        min-height: 220px;
        height: 220px;
    }

    .cta-band {
        padding: 2.1rem 0;
    }

    .cta-band .container {
        gap: 1.1rem;
        align-items: stretch;
    }

    .cta-band h2 {
        max-width: none;
    }

    .cta-band p {
        max-width: none;
    }

    .site-footer {
        padding: 2.25rem 0 5.75rem;
    }

    .site-footer .container {
        width: 100%;
        max-width: 100%;
    }

    .footer-brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .footer-brand .brand-logo {
        width: 58px;
        height: 58px;
    }

    .footer-brand h2 {
        font-size: 1.1rem;
    }

    .footer-col h3 {
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding-top: 1.15rem;
    }

    .footer-list a:hover {
        transform: none;
    }

    .float-actions {
        right: max(0.85rem, env(safe-area-inset-right));
        bottom: calc(3.2rem + env(safe-area-inset-bottom));
    }

    .float-btn {
        width: 46px;
        height: 46px;
    }

    .float-btn img {
        width: 24px;
        height: 24px;
    }

    .support-float img {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float img {
        width: 26px;
        height: 26px;
    }

    .float-tip {
        display: none;
    }

    .crafted-by {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* Responsive — small phones */
@media (max-width: 400px) {
    :root {
        --page-gutter: 1.1rem;
    }

    .services-grid,
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .brand-text {
        display: none;
    }

    .hero-brand {
        font-size: 2.05rem;
    }

    .stat {
        padding: 0.9rem 0.95rem;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .service-card:hover,
    .stat:hover,
    .doc-item:hover,
    .float-btn:hover {
        transform: none;
    }

    .service-card:hover .service-card-media img {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .btn,
    .service-card,
    .service-card-media img,
    .hero-slide,
    .float-btn,
    .crafted-by,
    .stat,
    .doc-item,
    .page-loader-spinner,
    .footer-glow,
    .site-footer h3::after {
        animation: none !important;
    }

    .page-loader,
    .footer-reveal,
    .footer-list a,
    .footer-brand .brand-logo {
        transition: none !important;
    }

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