:root {
    --bg: #0f1115;
    --bg-soft: #171b21;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --text: #f3efe8;
    --muted: #b4b0a7;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ffd000;
    --accent-strong: #e6b800;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background: radial-gradient(circle at top, #161b20 0%, var(--bg) 35%, #0b0d10 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.98;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

h1 span {
    display: inline-block;
    color: var(--accent);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.06;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(15, 17, 21, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1.25rem;
}

.brand {
    font-weight: 800;
    letter-spacing: -0.05em;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: linear-gradient(135deg, #fff066, var(--accent));
    border-color: transparent;
    color: #111;
    box-shadow: 0 4px 18px rgba(255, 208, 0, 0.35);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 41px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0.7rem 0.55rem;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 0.3rem 0;
    border-radius: 999px;
}

.hero {
    padding: 5.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

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

.lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
    overflow: hidden;
    isolation: isolate;
}

.button::before {
    content: none;
}

.button span,
.button {
    position: relative;
    z-index: 1;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111;
    box-shadow: none;
}

.button.primary:hover,
.button.primary:focus-visible {
    background: linear-gradient(135deg, #fff066, var(--accent));
    box-shadow: none;
    color: #111;
}

.button.secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(119, 129, 140, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: linear-gradient(135deg, #fff066, var(--accent));
    border-color: transparent;
    color: #111;
    box-shadow: none;
}

.stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stats li {
    min-width: 140px;
}

.stats strong {
    display: block;
    font-size: clamp(1.9rem, 2vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.stats span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.portrait-frame {
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 0.78;
    padding: 1.2rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(115, 87, 255, 0.28), rgba(38, 202, 181, 0.18), rgba(255, 208, 0, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32% 68% 58% 42% / 36% 33% 67% 64%;
    box-shadow: var(--shadow);
    overflow: visible;
    isolation: isolate;
    animation: driftFrame 16s ease-in-out infinite alternate;
}

.portrait-frame::before,
.portrait-frame::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.portrait-frame::before {
    inset: 8% 14% 6% 10%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02) 38%, rgba(30, 41, 59, 0.08) 72%, transparent 100%);
    transform: rotate(-12deg);
    filter: blur(10px);
    animation: pulseGlow 7s ease-in-out infinite;
}

.portrait-frame::after {
    width: 110%;
    height: 110%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 42% 58% 54% 46% / 38% 40% 60% 62%;
    animation: orbitRing 18s linear infinite;
}

.portrait-frame img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 24% 76% 39% 61% / 36% 24% 76% 64%;
    clip-path: polygon(18% 0%, 78% 2%, 100% 23%, 95% 86%, 73% 100%, 24% 97%, 0% 76%, 0% 22%);
    border: 3px solid rgba(255, 255, 255, 0.12);
    filter: saturate(1.08) contrast(1.04) brightness(1.02);
    box-shadow: 0 20px 40px rgba(7, 12, 18, 0.28);
    transform: scaleX(-1);
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(0.96) rotate(-12deg);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08) rotate(6deg);
        opacity: 1;
    }
}

@keyframes orbitRing {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.04);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes driftFrame {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    100% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.floating-card {
    position: absolute;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.2rem;
    background: rgba(18, 22, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.card-one {
    bottom: 35px;
    left: 25px;
}

.card-two {
    top: 52px;
    right: 10px;
}

.tiny-label {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.row-between {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.text-link {
    color: var(--text);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.project-trigger {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.service-grid,
.review-grid,
.blog-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

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

.service-card,
.review-card,
.blog-card,
.project-card,
.contact-form {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card {
    padding: 2rem 1.5rem;
}

.service-index {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.service-card p {
    margin-top: 0.8rem;
    line-height: 1.7;
}

.project-list {
    margin-top: 2.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 17, 23, 0.98), rgba(9, 13, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 208, 0, 0.35);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.project-preview-link {
    display: block;
    overflow: hidden;
    background: #0d1720;
}

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

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

.project-info {
    padding: 1.2rem 1.15rem 1.4rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.project-meta span {
    display: inline-flex;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-info h3 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.project-info p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    min-height: 72px;
}

.project-info .text-link {
    font-size: 0.94rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-photo-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy p {
    margin: 0 0 1rem;
}

.tools-box {
    margin-top: 2.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem;
}

.tools-box h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tool-list li {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 0.86rem;
}

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

.review-card {
    padding: 1.8rem 1.5rem;
}

.review-card blockquote {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
    font-size: 1.05rem;
}

.review-person {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.review-person strong,
.review-person span {
    display: block;
}

.review-person strong {
    color: var(--text);
}

.review-person span {
    color: var(--muted);
    font-size: 0.85rem;
}

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

.blog-card {
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.blog-body p {
    margin: 0.9rem 0 1rem;
}

.contact {
    padding-bottom: 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.contact-copy p {
    margin-bottom: 1.25rem;
}

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

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-list a:hover {
    color: #fff;
    transform: translateX(3px);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.contact-icon--email {
    color: var(--accent);
}

.contact-icon--whatsapp {
    color: #25d366;
}

.contact-icon--linkedin {
    color: #0a66c2;
}

.contact-icon--github {
    color: #f3efe8;
}

.contact-list a:hover .contact-icon {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.contact-form {
    padding: 2rem;
}

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

.contact-form label {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border-radius: 16px;
    padding: 0.9rem 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1.5rem;
    overflow-y: auto;
}

.project-modal.is-open {
    display: flex;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 12, 0.74);
    backdrop-filter: blur(6px);
}

.project-modal__panel {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100vh - 2rem);
    background: #f4f4f2;
    border-radius: 28px;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    color: #10182a;
}

.project-modal__hero {
    background: #dfe8ee;
}

.project-modal__hero img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.project-modal__content {
    padding: 2rem 2rem 2.4rem;
}

.project-modal__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5d7b8c;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.project-modal__content h3 {
    color: #111827;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -0.05em;
    margin-bottom: 0.8rem;
}

.project-modal__content p {
    margin: 0 0 1.4rem;
    color: #334155;
    font-size: 1.15rem;
    line-height: 1.7;
}

.project-modal__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-modal__features li {
    background: #ecf0f3;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #1f2937;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.project-modal__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.eco-custom-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(11, 18, 20, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-modal__custom {
    display: block;
    width: 100%;
    background: #031d1e;
}

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

.project-modal__custom--waste {
    background: linear-gradient(180deg, #021d1d 0%, #061d1d 100%);
    min-height: 600px;
}

.eco-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 640px;
    background: #061c1a;
    color: #edf6f4;
}

.eco-sidebar {
    background: rgba(7, 24, 25, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
}

.eco-brand-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0 1rem;
    margin-bottom: 0.5rem;
}

.eco-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7ce7d0, #5cc4a4);
    color: #053730;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.eco-brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.eco-brand-subtitle {
    font-size: 0.76rem;
    color: rgba(237, 246, 244, 0.7);
}

.eco-nav {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.eco-nav-item {
    border: none;
    background: transparent;
    color: rgba(237, 246, 244, 0.82);
    padding: 0.9rem 0.8rem;
    border-radius: 12px;
    text-align: left;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-family: inherit;
}

.eco-nav-item.active {
    background: rgba(29, 138, 126, 0.22);
    color: #f2f7f7;
}

.alert-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6a6a;
    color: white;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.eco-user-row {
    margin-top: auto;
    padding: 1rem 0.5rem 0.2rem;
    color: rgba(237, 246, 244, 0.78);
    font-size: 0.92rem;
}

.eco-logout {
    border: none;
    background: transparent;
    color: rgba(237, 246, 244, 0.78);
    text-align: left;
    padding: 0.6rem 0.5rem 0.2rem;
    font-family: inherit;
    font-size: 0.96rem;
    cursor: pointer;
}

.eco-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eco-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
    padding: 0.8rem 1.25rem 0.8rem 1.4rem;
    background: rgba(7, 17, 21, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eco-topbar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #edf6f4;
    letter-spacing: -0.03em;
}

.eco-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.eco-topbar-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #edf6f4;
    border-radius: 12px;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
}

.export-btn {
    background: rgba(255, 255, 255, 0.08);
}

.eco-dashboard {
    padding: 1.3rem 1.4rem 2rem;
}

.eco-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.eco-header-row h2 {
    color: #edf6f4;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 175, 120, 0.14);
    color: #98f7c8;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.eco-subheading {
    margin: 0 0 1.8rem;
    color: rgba(237, 246, 244, 0.72);
    font-size: 1.1rem;
}

.eco-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.eco-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1rem 1rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.eco-stat-card span {
    color: rgba(237, 246, 244, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

.eco-stat-card strong {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #edf6f4;
    letter-spacing: -0.06em;
}

.eco-stat-card.critical strong {
    color: #f77a90;
}

.eco-grid-panel {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 1rem;
    align-items: start;
}

.eco-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.1rem 1rem 1rem;
}

.eco-panel h3 {
    margin: 0 0 1rem;
    color: #edf6f4;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.eco-bin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
    color: #edf6f4;
}

.eco-bin-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1.04rem;
    color: #edf6f4;
}

.eco-bin-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #edf6f4;
}

.bin-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #fff;
}

.bin-red {
    background: rgba(247, 122, 144, 0.96);
}

.bin-amber {
    background: rgba(249, 177, 93, 0.96);
}

.bin-green {
    background: rgba(110, 227, 184, 0.96);
}

.eco-progress {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.eco-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.eco-bar-chart {
    height: 200px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 1rem;
}

.eco-bar-group {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-height: 160px;
    gap: 0.5rem;
}

.eco-bar {
    display: block;
    width: 100%;
    max-width: 26px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #76f0d5 0%, #4cc9c1 100%);
    min-height: 26px;
}

.eco-bar-group label {
    color: rgba(237, 246, 244, 0.72);
    font-size: 0.76rem;
}

.project-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background-color: rgba(15, 23, 42, 0.9);
    background-image: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-modal__close:not(:hover):not(:focus-visible):not(:active) {
    background-color: rgba(15, 23, 42, 0.9);
    color: #fff;
}

.project-modal__close:hover,
.project-modal__close:focus-visible,
.project-modal__close:active {
    background-color: rgba(31, 41, 55, 0.96);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.project-modal .button.secondary {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(31, 41, 55, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #fff;
    box-shadow: none;
}

.project-modal .button.secondary:hover,
.project-modal .button.secondary:focus-visible {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.98), rgba(15, 23, 42, 0.96));
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111;
    font-size: 1.65rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    box-shadow: none;
    transform: translateY(-2px);
}

.back-to-top span {
    display: inline-block;
    line-height: 1;
    transform: translateY(-1px);
}

.site-footer {
    padding: 1.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

@media (max-width: 900px) {

    .hero-grid,
    .about-grid,
    .contact-grid,
    .project-list,
    .service-grid,
    .review-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 480px;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.75rem);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        background: rgba(17, 20, 24, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero {
        padding-top: 4rem;
    }

    .project-info,
    .contact-form {
        padding: 1.3rem;
    }
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form select option {
    background-color: #171b21;
    color: #f3efe8;
}

.success-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 10, 14, 0.78);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.success-popup-overlay.is-active {
    display: flex;
    opacity: 1;
}

.success-popup-card {
    position: relative;
    width: min(440px, 100%);
    background: linear-gradient(180deg, #181d24 0%, #12151a 100%);
    border: 1px solid rgba(255, 208, 0, 0.3);
    border-radius: 24px;
    padding: 2.2rem 1.8rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 208, 0, 0.12);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.success-popup-overlay.is-active .success-popup-card {
    transform: scale(1);
}

.success-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.15);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.success-popup-icon svg {
    width: 32px;
    height: 32px;
}

.success-popup-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: -0.03em;
}

.success-popup-card p {
    margin: 0 0 1.6rem;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.success-popup-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-weight: 700;
}


.form-status {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    animation: fadeInStatus 0.3s ease;
}

.form-status.is-visible {
    display: flex;
}

.form-status.success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #4ade80;
}

.form-status svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

@keyframes fadeInStatus {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
}

.logo-text span {
    color: var(--accent);
}

.logo-text .logo-dot {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1px;
}
