/* HEO Industri - Theme Stylesheet */

/* ================================================== */
/* # Design Tokens                                    */
/* ================================================== */
:root {
    /* Palette */
    --heo-orange:        #f47c20;
    --heo-orange-dark:   #d96a10;
    --heo-orange-glow:   rgba(244,124,32,.18);
    --heo-blue:          #1a6bcc;
    --heo-blue-light:    #2d8bff;
    --heo-blue-dim:      rgba(26,107,204,.12);
    --heo-black:         #08090d;
    --heo-black-2:       #0e1018;
    --heo-black-3:       #141720;
    --heo-surface:       #191d28;
    --heo-surface-2:     #1f2435;

    /* Text */
    --heo-text:          #a8afc2;
    --heo-text-muted:    #5c6275;
    --heo-text-light:    #ffffff;
    --heo-heading:       #e8ecf5;

    /* Borders */
    --heo-border:        rgba(255,255,255,.07);
    --heo-border-accent: rgba(244,124,32,.35);

    /* Fonts */
    --heo-font-display:  "Barlow Condensed", "Oswald", sans-serif;
    --heo-font-body:     "DM Sans", "Inter", sans-serif;

    /* Motion */
    --heo-ease:          all .3s ease;
    --heo-ease-slow:     all .55s cubic-bezier(.4,0,.2,1);
}


/* ================================================== */
/* # Google Fonts import                              */
/* ================================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500&display=swap');


/* ================================================== */
/* # Base typography                                  */
/* ================================================== */
html { font-size: 62.5%; }

body {
    background: var(--heo-black);
    color: var(--heo-text);
    font-family: var(--heo-font-body);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--heo-font-display);
    color: var(--heo-heading);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.15;
}

a { color: var(--heo-orange); transition: var(--heo-ease); }
a:hover, a:focus { color: var(--heo-orange-dark); }

p { margin-bottom: 2.4rem; }

.heo-lead {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--heo-heading);
}

.heo-subhead {
    font-family: var(--heo-font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--heo-orange);
    margin-bottom: 1.6rem;
    display: block;
}

.heo-display-1 {
    font-size: clamp(4rem, 7vw, 7.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.01em;
}
.heo-display-1--light { color: var(--heo-text-light); }

.heo-display-2 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--heo-heading);
}


/* ================================================== */
/* # Section header                                   */
/* ================================================== */
.heo-sec-header {
    padding-bottom: 6rem;
    position: relative;
}
.heo-sec-header.heo-sep::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--heo-orange), var(--heo-blue));
    margin-bottom: 4rem;
    border-radius: 2px;
}


/* ================================================== */
/* # Buttons                                          */
/* ================================================== */
.heo-btn {
    display: inline-block;
    padding: 1.4rem 3.2rem;
    font-family: var(--heo-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--heo-ease);
    text-decoration: none;
}

.heo-btn--fill {
    background: var(--heo-orange);
    border-color: var(--heo-orange);
    color: #fff;
}
.heo-btn--fill:hover, .heo-btn--fill:focus {
    background: var(--heo-orange-dark);
    border-color: var(--heo-orange-dark);
    color: #fff;
}

.heo-btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.4);
    color: var(--heo-text-light);
}
.heo-btn--outline:hover, .heo-btn--outline:focus {
    border-color: var(--heo-orange);
    color: var(--heo-orange);
}


/* ================================================== */
/* # Preloader                                        */
/* ================================================== */
#heo-preloader {
    position: fixed;
    inset: 0;
    background: var(--heo-black);
    z-index: 99999;
    display: table;
    width: 100%;
    transition: opacity .4s ease, visibility .4s ease;
}
#heo-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
#heo-loader {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    opacity: 1;
    transition: opacity .3s ease;
}
#heo-loader.fade-out { opacity: 0; }

.heo-dots-loader {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.heo-dots-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--heo-orange);
    animation: heo-pulse 1.2s ease-in-out infinite;
}
.heo-dots-loader span:nth-child(2) { animation-delay: .2s; background: var(--heo-blue-light); }
.heo-dots-loader span:nth-child(3) { animation-delay: .4s; }
@keyframes heo-pulse {
    0%, 100% { transform: scale(1); opacity: .6; }
    50%       { transform: scale(1.4); opacity: 1; }
}

/* Pace progress bar */
.pace { pointer-events: none; user-select: none; }
.pace-inactive { display: none; }
.pace .pace-progress {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--heo-orange), var(--heo-blue-light));
}


/* ================================================== */
/* # Header / Nav                                     */
/* ================================================== */
.heo-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 500;
    padding: 2.8rem 0;
    transition: var(--heo-ease-slow);
}
.heo-header.scrolled {
    background: rgba(8,9,13,.92);
    backdrop-filter: blur(12px);
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--heo-border);
}

.heo-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.heo-logo {
    font-family: var(--heo-font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--heo-text-light);
    text-transform: uppercase;
    text-decoration: none;
}
.heo-logo span { color: var(--heo-orange); }

/* Hamburger toggle */
.heo-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 600;
}
.heo-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--heo-text-light);
    border-radius: 2px;
    transition: var(--heo-ease);
}
.heo-nav-toggle span:nth-child(1) { width: 28px; }
.heo-nav-toggle span:nth-child(2) { width: 20px; }
.heo-nav-toggle span:nth-child(3) { width: 24px; }
.heo-nav-toggle:hover span,
.heo-nav-toggle.is-open span   { background: var(--heo-orange); }
.heo-nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); width: 28px; }
.heo-nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.heo-nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 28px; }

/* Off-canvas nav panel */
.heo-nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    opacity: 0; pointer-events: none;
    z-index: 550;
    transition: opacity .4s ease;
    backdrop-filter: blur(3px);
}
.heo-nav-backdrop.show { opacity: 1; pointer-events: auto; }

.heo-nav-panel {
    position: fixed;
    top: 0; right: 0;
    width: 340px; height: 100%;
    background: var(--heo-black-3);
    border-left: 1px solid var(--heo-border);
    padding: 10rem 4.8rem 4.8rem;
    transform: translateX(100%);
    transition: transform .42s cubic-bezier(.4,0,.2,1);
    z-index: 560;
    overflow-y: auto;
}
.heo-nav-panel.is-open { transform: translateX(0); }

.heo-nav-panel__close {
    position: absolute; top: 3rem; right: 3.2rem;
    width: 32px; height: 32px;
    cursor: pointer;
    color: var(--heo-text-muted);
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    transition: var(--heo-ease);
    background: none; border: none;
}
.heo-nav-panel__close:hover { color: var(--heo-orange); }

.heo-nav-panel h3 {
    font-family: var(--heo-font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--heo-text-muted);
    margin-bottom: 3.2rem;
}

.heo-nav-links { list-style: none; margin: 0; padding: 0; }
.heo-nav-links li { margin-bottom: .8rem; }
.heo-nav-links a {
    display: block;
    font-family: var(--heo-font-display);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--heo-heading);
    text-decoration: none;
    letter-spacing: .03em;
    padding: .6rem 0;
    transition: var(--heo-ease);
    border-bottom: 1px solid transparent;
}
.heo-nav-links a:hover { color: var(--heo-orange); padding-left: 1rem; }

.heo-nav-panel p {
    font-size: 1.4rem;
    color: var(--heo-text-muted);
    margin-top: 3.2rem;
    line-height: 1.8;
}

.heo-nav-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 3.2rem;
}
.heo-nav-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--heo-border);
    color: var(--heo-text-muted);
    font-size: 1.4rem;
    transition: var(--heo-ease);
    border-radius: 4px;
}
.heo-nav-socials a:hover {
    border-color: var(--heo-orange);
    color: var(--heo-orange);
}

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


/* ================================================== */
/* # Hero / Home                                      */
/* ================================================== */
.heo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--heo-black);
    overflow: hidden;
}

/* Geometric accent lines */
.heo-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 55%;
    height: 120%;
    background: linear-gradient(135deg,
        transparent 40%,
        rgba(244,124,32,.04) 40%,
        rgba(244,124,32,.04) 55%,
        transparent 55%,
        transparent 65%,
        rgba(26,107,204,.05) 65%,
        rgba(26,107,204,.05) 80%,
        transparent 80%
    );
    pointer-events: none;
}
.heo-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--heo-border-accent), var(--heo-border));
}

.heo-hero__inner {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.heo-hero__eyebrow {
    font-family: var(--heo-font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--heo-orange);
    margin-bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    opacity: 0;
    animation: heo-fade-in .8s ease .3s forwards;
}
.heo-hero__eyebrow::before {
    content: '';
    width: 40px; height: 2px;
    background: var(--heo-orange);
}

.heo-hero__title {
    font-family: var(--heo-font-display);
    font-size: clamp(5rem, 10vw, 11rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--heo-text-light);
    margin-bottom: 2.8rem;
    overflow: hidden;
}
.heo-hero__title em {
    font-style: normal;
    color: var(--heo-orange);
}
.heo-hero__title .line {
    display: block;
    transform: translateY(110%);
    animation: heo-slide-up .9s cubic-bezier(.22,1,.36,1) forwards;
}
.heo-hero__title .line:nth-child(1) { animation-delay: .5s; }
.heo-hero__title .line:nth-child(2) { animation-delay: .7s; }

.heo-hero__desc {
    font-size: 1.8rem;
    color: var(--heo-text);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 4rem;
    opacity: 0;
    animation: heo-fade-in .8s ease 1s forwards;
}

.heo-hero__actions {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heo-fade-in .8s ease 1.2s forwards;
}

.heo-hero__scroll {
    position: absolute;
    bottom: 5rem;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--heo-text-muted);
    font-size: 1.1rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    animation: heo-fade-in .8s ease 1.5s forwards;
    transition: color .3s;
}
.heo-hero__scroll::before {
    content: '';
    width: 1px; height: 50px;
    background: linear-gradient(transparent, var(--heo-orange));
}
.heo-hero__scroll:hover { color: var(--heo-orange); }

.heo-hero__socials {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    opacity: 0;
    animation: heo-fade-in .8s ease 1.4s forwards;
}
.heo-hero__socials a {
    color: var(--heo-text-muted);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: color .3s;
}
.heo-hero__socials a::after {
    content: '';
    width: 0; height: 1px;
    background: var(--heo-orange);
    transition: width .3s;
}
.heo-hero__socials a:hover { color: var(--heo-orange); }
.heo-hero__socials a:hover::after { width: 24px; }

@keyframes heo-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heo-slide-up {
    from { transform: translateY(110%); }
    to   { transform: translateY(0); }
}

.heo-hero__divider {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(transparent, var(--heo-black-2));
    pointer-events: none;
}


/* ================================================== */
/* # About                                            */
/* ================================================== */
.heo-about {
    padding: 12rem 0;
    background: var(--heo-black-2);
    position: relative;
}
.heo-about::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--heo-border-accent), transparent);
}

.heo-about__text p { font-size: 1.65rem; line-height: 1.85; color: var(--heo-text); }

/* Stats */
.heo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 6rem;
    border: 1px solid var(--heo-border);
}
.heo-stat {
    padding: 3.6rem 2.4rem;
    text-align: center;
    background: var(--heo-surface);
    position: relative;
    transition: background .3s;
}
.heo-stat:hover { background: var(--heo-surface-2); }
.heo-stat::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--heo-orange);
    transition: width .4s ease;
}
.heo-stat:hover::after { width: 80%; }

.heo-stat__num {
    font-family: var(--heo-font-display);
    font-size: 5.2rem;
    font-weight: 700;
    color: var(--heo-orange);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}
.heo-stat h5 {
    font-family: var(--heo-font-body);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--heo-text-muted);
    margin: 0;
}

.heo-about__line {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--heo-border));
}


/* ================================================== */
/* # Services                                         */
/* ================================================== */
.heo-services {
    padding: 12rem 0;
    background: var(--heo-black);
}

.heo-svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 2rem;
}
.heo-svc-item {
    background: var(--heo-surface);
    padding: 4.8rem;
    position: relative;
    overflow: hidden;
    transition: background .3s;
}
.heo-svc-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: linear-gradient(var(--heo-orange), var(--heo-blue));
    transition: height .4s ease;
}
.heo-svc-item:hover { background: var(--heo-surface-2); }
.heo-svc-item:hover::before { height: 100%; }

.heo-svc-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--heo-border-accent);
    color: var(--heo-orange);
    font-size: 2rem;
    margin-bottom: 2.8rem;
    transition: var(--heo-ease);
}
.heo-svc-item:hover .heo-svc-icon {
    background: var(--heo-orange-glow);
    border-color: var(--heo-orange);
}

.heo-svc-item h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--heo-heading);
    margin-bottom: 1.4rem;
}
.heo-svc-item p {
    font-size: 1.55rem;
    color: var(--heo-text);
    line-height: 1.8;
    margin: 0;
}


/* ================================================== */
/* # Works / Portfolio                                */
/* ================================================== */
.heo-works {
    padding: 12rem 0;
    background: var(--heo-black-2);
}

.heo-portfolio {
    column-count: 2;
    column-gap: 2px;
}
.heo-folio-item {
    break-inside: avoid;
    margin-bottom: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.heo-folio-item img {
    width: 100%;
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.heo-folio-item:hover img { transform: scale(1.06); }

.heo-folio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 30%, rgba(8,9,13,.9) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.2rem;
    transition: opacity .4s ease;
}
.heo-folio-item:hover .heo-folio-overlay { opacity: 1; }

.heo-folio-tag {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--heo-orange);
    margin-bottom: .8rem;
}
.heo-folio-title {
    font-family: var(--heo-font-display);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.2rem;
    margin-top: 0;
}
.heo-folio-caption { display: none; }

.heo-folio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 1.3rem;
    transition: var(--heo-ease);
    text-decoration: none;
    position: absolute;
    top: 2.4rem; right: 2.4rem;
    opacity: 0;
    transform: translateY(-8px);
}
.heo-folio-item:hover .heo-folio-link {
    opacity: 1;
    transform: translateY(0);
}
.heo-folio-link:hover { border-color: var(--heo-orange); color: var(--heo-orange); }


/* ================================================== */
/* # Clients                                          */
/* ================================================== */
.heo-clients {
    padding: 12rem 0;
    background: var(--heo-black);
}

/* Carousel */
.heo-logos-wrap {
    overflow: hidden;
    position: relative;
    margin: 2rem 0 8rem;
}
.heo-logos-wrap::before,
.heo-logos-wrap::after {
    content: '';
    position: absolute;
    top: 0; z-index: 2;
    width: 120px; height: 100%;
}
.heo-logos-wrap::before { left: 0; background: linear-gradient(90deg, var(--heo-black), transparent); }
.heo-logos-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--heo-black), transparent); }

.heo-logos-track {
    display: flex;
    gap: 0;
    animation: heo-scroll-logos 24s linear infinite;
    width: max-content;
    cursor: grab;
}
.heo-logos-track:active { cursor: grabbing; }
.heo-logos-track.is-paused { animation-play-state: paused; }

.heo-logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 4rem;
    border-right: 1px solid var(--heo-border);
    transition: var(--heo-ease);
}
.heo-logo-slide img {
    height: 40px;
    width: auto;
    opacity: .45;
    filter: grayscale(100%);
    transition: var(--heo-ease);
}
.heo-logo-slide:hover img { opacity: 1; filter: grayscale(0%); }

@keyframes heo-scroll-logos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Testimonials */
.heo-testimonials {
    position: relative;
    background: var(--heo-surface);
    border: 1px solid var(--heo-border);
    padding: 6rem;
}
.heo-testimonials::before {
    content: '"';
    position: absolute;
    top: 3rem; left: 4rem;
    font-family: var(--heo-font-display);
    font-size: 12rem;
    line-height: 1;
    color: var(--heo-orange);
    opacity: .15;
    pointer-events: none;
}

.heo-testi-slide { display: none; }
.heo-testi-slide.is-active { display: block; }

.heo-testi-slide p {
    font-size: 1.9rem;
    color: var(--heo-heading);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 3.2rem;
}

.heo-testi-author {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.heo-testi-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--heo-orange);
}
.heo-testi-name {
    font-family: var(--heo-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--heo-heading);
    display: block;
}
.heo-testi-role {
    font-size: 1.2rem;
    color: var(--heo-text-muted);
    display: block;
    margin-top: .3rem;
}

.heo-testi-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 3.6rem;
}
.heo-testi-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--heo-border);
    background: none;
    color: var(--heo-text-muted);
    cursor: pointer;
    transition: var(--heo-ease);
    font-size: 1.4rem;
}
.heo-testi-btn:hover { border-color: var(--heo-orange); color: var(--heo-orange); }

.heo-testi-dots {
    display: flex;
    gap: .8rem;
}
.heo-testi-dot {
    width: 24px; height: 2px;
    background: var(--heo-border);
    cursor: pointer;
    transition: var(--heo-ease);
    border: none;
    padding: 0;
}
.heo-testi-dot.is-active { background: var(--heo-orange); }
.heo-testi-dot:hover { background: var(--heo-orange-dark); }


/* ================================================== */
/* # Contact                                          */
/* ================================================== */
.heo-contact {
    padding: 12rem 0;
    background: var(--heo-black-2);
    position: relative;
    overflow: hidden;
}
.heo-contact::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse at bottom right, var(--heo-blue-dim), transparent 70%);
    pointer-events: none;
}
.heo-contact::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--heo-border-accent), transparent);
}

/* Form */
.heo-form-group {
    position: relative;
    margin-bottom: 2rem;
}
.heo-form-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--heo-text-muted);
    margin-bottom: .8rem;
}
.heo-form-group label .required {
    color: var(--heo-orange);
    margin-left: .3rem;
}
.heo-form-group input,
.heo-form-group textarea {
    width: 100%;
    background: var(--heo-surface);
    border: 1px solid var(--heo-border);
    color: var(--heo-heading);
    font-family: var(--heo-font-body);
    font-size: 1.5rem;
    padding: 1.4rem 1.8rem;
    outline: none;
    transition: border-color .3s;
    resize: none;
    border-radius: 0;
}
.heo-form-group input:focus,
.heo-form-group textarea:focus {
    border-color: var(--heo-orange);
    background: var(--heo-surface-2);
}
.heo-form-group input::placeholder,
.heo-form-group textarea::placeholder { color: var(--heo-text-muted); }

.heo-form-submit {
    margin-top: 1.2rem;
    width: 100%;
    background: var(--heo-orange);
    color: #fff;
    border: none;
    font-family: var(--heo-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 1.8rem 3.2rem;
    cursor: pointer;
    transition: var(--heo-ease);
    position: relative;
    overflow: hidden;
}
.heo-form-submit:hover { background: var(--heo-orange-dark); }
.heo-form-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    transform: translateX(-100%);
    transition: transform .5s ease;
}
.heo-form-submit:hover::after { transform: translateX(100%); }

.heo-loader-wrap { display: none; margin-top: 1.6rem; text-align: center; color: var(--heo-text-muted); font-size: 1.4rem; }
.heo-loader-wrap.is-visible { display: block; }
.heo-msg-warn, .heo-msg-ok {
    display: none;
    padding: 1.6rem 2rem;
    margin-top: 1.6rem;
    font-size: 1.4rem;
    border-left: 3px solid;
}
.heo-msg-warn { border-color: #e05555; background: rgba(224,85,85,.08); color: #e05555; }
.heo-msg-ok   { border-color: var(--heo-orange); background: var(--heo-orange-glow); color: var(--heo-orange); }
.heo-msg-warn.is-visible,
.heo-msg-ok.is-visible { display: block; }

/* Info column */
.heo-contact-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--heo-orange);
    margin-bottom: 2.4rem;
}
.heo-contact-info address {
    font-style: normal;
    font-size: 1.55rem;
    line-height: 1.9;
    color: var(--heo-text);
    margin-bottom: 3.2rem;
}
.heo-contact-list {
    list-style: none;
    margin: 0 0 3.2rem;
    padding: 0;
}
.heo-contact-list li { margin-bottom: .8rem; }
.heo-contact-list a {
    color: var(--heo-text);
    font-size: 1.55rem;
    transition: color .3s;
}
.heo-contact-list a:hover { color: var(--heo-orange); }

.heo-contact-social {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0; padding: 0;
}
.heo-contact-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--heo-border);
    color: var(--heo-text-muted);
    font-size: 1.4rem;
    transition: var(--heo-ease);
}
.heo-contact-social a:hover { border-color: var(--heo-orange); color: var(--heo-orange); }


/* ================================================== */
/* # Footer                                           */
/* ================================================== */
.heo-footer {
    background: var(--heo-black-3);
    border-top: 1px solid var(--heo-border);
}
.heo-footer__main {
    padding: 7.2rem 0;
    display: flex;
    gap: 4rem;
}
.heo-footer__brand { flex: 1; }
.heo-footer__brand .heo-logo { font-size: 2.8rem; margin-bottom: 2rem; display: block; }
.heo-footer__brand p {
    font-size: 1.5rem;
    color: var(--heo-text-muted);
    line-height: 1.8;
    max-width: 320px;
    margin: 0;
}

.heo-footer__sub { flex: 1; }
.heo-footer__sub h4 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--heo-heading);
    margin-bottom: 1.4rem;
}
.heo-footer__sub p {
    font-size: 1.4rem;
    color: var(--heo-text-muted);
    line-height: 1.75;
    margin-bottom: 2.4rem;
}

.heo-sub-form {
    display: flex;
    gap: 0;
}
.heo-sub-form input[type="email"] {
    flex: 1;
    background: var(--heo-surface);
    border: 1px solid var(--heo-border);
    border-right: none;
    color: var(--heo-heading);
    font-family: var(--heo-font-body);
    font-size: 1.4rem;
    padding: 1.2rem 1.6rem;
    outline: none;
    transition: border-color .3s;
}
.heo-sub-form input[type="email"]:focus { border-color: var(--heo-orange); }
.heo-sub-form input[type="email"]::placeholder { color: var(--heo-text-muted); }
.heo-sub-form input[type="submit"] {
    background: var(--heo-orange);
    color: #fff;
    border: 1px solid var(--heo-orange);
    font-family: var(--heo-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 1.2rem 2rem;
    cursor: pointer;
    transition: background .3s;
}
.heo-sub-form input[type="submit"]:hover { background: var(--heo-orange-dark); }
.heo-sub-msg { font-size: 1.3rem; color: var(--heo-text-muted); margin-top: 1rem; display: block; min-height: 2rem; }

.heo-footer__bottom {
    border-top: 1px solid var(--heo-border);
    padding: 2.4rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.heo-footer__bottom p {
    font-size: 1.3rem;
    color: var(--heo-text-muted);
    margin: 0;
}


/* ================================================== */
/* # Back to top                                      */
/* ================================================== */
.heo-top-btn {
    position: fixed;
    bottom: 3.2rem;
    right: 3.2rem;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--heo-orange);
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, background .3s;
    border: none;
    cursor: pointer;
}
.heo-top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.heo-top-btn:hover { background: var(--heo-orange-dark); color: #fff; }


/* ================================================== */
/* # Responsive                                       */
/* ================================================== */
@media only screen and (max-width: 1000px) {
    .heo-stats { grid-template-columns: repeat(2, 1fr); }
    .heo-svc-grid { grid-template-columns: 1fr; }
    .heo-portfolio { column-count: 1; }
    .heo-testimonials { padding: 4rem; }
    .heo-hero__socials { display: none; }
}

@media only screen and (max-width: 800px) {
    .heo-hero__title { font-size: clamp(4.5rem, 12vw, 7rem); }
    .heo-stats { grid-template-columns: repeat(2, 1fr); }
    .heo-footer__main { flex-direction: column; padding: 5.2rem 5%; }
    .heo-footer__bottom { padding: 2rem 5%; }
    .heo-testi-nav { flex-wrap: wrap; }
    .heo-testimonials::before { font-size: 8rem; }
}

@media only screen and (max-width: 600px) {
    .heo-stats { grid-template-columns: 1fr 1fr; }
    .heo-hero__actions { flex-direction: column; }
    .heo-btn { text-align: center; }
    .heo-testimonials { padding: 3.2rem 2.4rem; }
    .heo-sub-form { flex-direction: column; }
    .heo-sub-form input[type="email"] { border-right: 1px solid var(--heo-border); }
    .heo-nav-panel { width: 100%; }
}

@media only screen and (max-width: 400px) {
    .heo-stats { grid-template-columns: 1fr; }
}
