:root {
    --bg: #060d18;
    --bg2: #0b1629;
    --bg3: #0f1e35;
    --accent: #0ea5e9;
    --accent2: #38bdf8;
    --accent-dim: rgba(14, 165, 233, 0.12);
    --white: #f0f6ff;
    --gray: #8899aa;
    --border: rgba(14, 165, 233, 0.18);
    --font: 'Poppins', sans-serif;
    --mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    overflow-x: hidden;
    cursor: none
}

/* ── MATRIX RAIN CANVAS ── */
#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Garante que nav e elementos fixos fiquem acima do canvas */
nav,
.nav-mobile,
.whatsapp-fab,
#cursor,
#cursor-ring {
    position: relative;
    z-index: 2;
}

/* CURSOR */
#cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--accent)
}

#cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(14, 165, 233, 1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0.55;
    transition: left .12s ease, top .12s ease
}

.php-tag {
    position: fixed;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(14, 165, 233, 0.55);
    pointer-events: none;
    z-index: 500;
    opacity: 0;
    white-space: nowrap
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 13, 24, 0.0);
    backdrop-filter: blur(0px);
    transition: background .4s, backdrop-filter .4s, box-shadow .4s
}

nav.scrolled {
    background: rgba(6, 13, 24, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border)
}

.nav-logo img {
    height: 36px;
    object-fit: contain
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none
}

.nav-links li a {
    display: block;
    padding: 8px 16px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s;
    position: relative
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .25s
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white)
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    transform: scaleX(1)
}

.nav-cta {
    background: var(--accent);
    color: #060d18;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s;
    white-space: nowrap
}

.nav-cta:hover {
    background: var(--accent2)
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6, 13, 24, 0.97);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 16px 5%;
    flex-direction: column;
    gap: 0
}

.nav-mobile.open {
    display: flex
}

.nav-mobile a {
    display: block;
    padding: 12px 0;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--border);
    transition: color .2s
}

.nav-mobile a:hover {
    color: var(--accent)
}

/* ===== HERO ===== */
#home {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

/* Sticky photo wrapper — scrolls with page but photo effect is JS-driven */
.hero-photo-sticky {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(60vh, 90vw);
    z-index: 5;
    pointer-events: none;
    transform-origin: bottom center;
}

.hero-photo-sticky img {
    width: 90%;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.55)) drop-shadow(0 0 48px rgba(14, 165, 233, 0.25));
    animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.55)) drop-shadow(0 0 48px rgba(14, 165, 233, 0.22));
    }

    50% {
        filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.75)) drop-shadow(0 0 70px rgba(56, 189, 248, 0.32));
    }
}

/* Name floats above photo */
.hero-name-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 6;
    pointer-events: none;
    white-space: nowrap;
}

.hero-name-float h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 40px rgba(6, 13, 24, .8);
}

.hero-name-float h1 em {
    color: var(--accent);
    font-style: normal
}

.hero-name-float p {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--accent);
    letter-spacing: .22em;
    margin-top: 8px;
    opacity: .9;
}

/* Text sides */
.hero-left {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    max-width: 280px;
}

.hero-right {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    max-width: 220px;
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 5px 12px;
    letter-spacing: .12em;
    margin-bottom: 16px
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.2s infinite;
    display: inline-block
}

.hero-h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px
}

.hero-h2 em {
    color: var(--accent);
    font-style: normal
}

.hero-sub {
    font-size: .82rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px
}

.hero-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono);
    line-height: 1
}

.stat-item .stat-label {
    font-size: .65rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .1em
}

.btn-solid {
    background: var(--accent);
    color: #060d18;
    padding: 11px 24px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.btn-solid:hover {
    background: var(--accent2);
    transform: translateY(-2px)
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 11px 24px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.btn-ghost:hover {
    background: var(--accent-dim);
    border-color: var(--accent)
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: .6rem;
    color: var(--gray);
    letter-spacing: .2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 8
}

.scroll-arrow {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg)
}

/* Radial glow behind photo */
.hero-glow-radial {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 90vw);
    height: 300px;
    background: radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    z-index: 4;
    pointer-events: none;
}

/* SECTIONS */
section {
    padding: 90px 5%;
    position: relative
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: .5
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto
}

.section-tag {
    font-family: var(--mono);
    font-size: .66rem;
    color: var(--accent);
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 8px
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 14px
}

.section-title span {
    color: var(--accent)
}

.section-divider {
    width: 44px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 44px
}

/* ABOUT */
#about {
    background: var(--bg2)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center
}

.about-img-wrap {
    position: relative
}

/* ── 3-D perspective container ── */
.about-img-scene {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    will-change: transform;
    max-height: 55vh;
    transition: transform 0.55s cubic-bezier(.23,1,.32,1),
                box-shadow 0.55s cubic-bezier(.23,1,.32,1);
    box-shadow:
        0 0 0 1px rgba(14,165,233,0.18),
        0 8px 32px rgba(6,13,24,0.6);
}

/* Hover state — CSS fallback (JS will also animate) */
.about-img-scene:hover {
    box-shadow:
        0 0 0 1.5px rgba(14,165,233,0.55),
        0 0 28px  rgba(14,165,233,0.35),
        0 0 70px  rgba(14,165,233,0.18),
        0 24px 48px rgba(6,13,24,0.8);
}

/* no spinner — only box-shadow glow on hover */

/* The image itself */
.about-img-scene img {
    width: 100%;
    max-height: 55vh;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    transition:
        transform   0.55s cubic-bezier(.23,1,.32,1),
        filter      0.55s cubic-bezier(.23,1,.32,1);
    filter:
        brightness(.92)
        contrast(1.05)
        drop-shadow(0 0 18px rgba(14,165,233,0.55))
        drop-shadow(0 0 48px rgba(14,165,233,0.22));
    animation: aboutGlow 4s ease-in-out infinite;
    will-change: transform, filter;
}

.about-img-scene:hover img {
    transform: scale(1.06);
    filter:
        brightness(1.05)
        contrast(1.08)
        drop-shadow(0 0 32px rgba(14,165,233,0.90))
        drop-shadow(0 0 80px rgba(56,189,248,0.45));
    animation-play-state: paused;
}

@keyframes aboutGlow {
    0%, 100% {
        filter: brightness(.92) contrast(1.05)
            drop-shadow(0 0 18px rgba(14,165,233,0.55))
            drop-shadow(0 0 48px rgba(14,165,233,0.22));
    }
    50% {
        filter: brightness(.92) contrast(1.05)
            drop-shadow(0 0 28px rgba(56,189,248,0.75))
            drop-shadow(0 0 70px rgba(56,189,248,0.32));
    }
}

/* Animated radial background glow behind image */
.about-img-scene .about-img-glow {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: radial-gradient(ellipse at 50% 110%,
        rgba(14,165,233,0.25) 0%,
        rgba(56,189,248,0.10) 40%,
        transparent 70%
    );
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.about-img-scene:hover .about-img-glow {
    opacity: 1;
}

/* ── Shine sweep overlay ── */
.about-img-shine {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,0.10) 50%,
        transparent 70%
    );
    background-size: 200% 100%;
    background-position: -100% 0;
    z-index: 2;
    pointer-events: none;
    transition: background-position 0.55s ease;
}

.about-img-scene:hover .about-img-shine {
    background-position: 200% 0;
    transition: background-position 0.75s ease;
}

/* about-frame sits on about-img-wrap (outside scene) */
.about-frame {
    position: absolute;
    inset: -10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    pointer-events: none;
    z-index: 10;
    transition: border-color 0.45s ease, box-shadow 0.45s ease
}

.about-img-wrap:hover .about-frame {
    border-color: rgba(14,165,233,0.55);
    box-shadow: 0 0 18px rgba(14,165,233,0.20)
}

.about-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--accent)
}

.about-tag-img {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 16px;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--accent)
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    font-size: .92rem;
    margin-bottom: 14px
}

.about-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px 0
}

.counter-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 12px;
    text-align: center
}

.counter-box strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--mono)
}

.counter-box span {
    font-size: .68rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .1em
}

/* SKILLS */
#skills {
    background: var(--bg);
    overflow: hidden
}

#skills-php-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 1
}

#skills .section-inner {
    position: relative;
    z-index: 1
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.skill-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px 22px;
    transition: border-color .2s, transform .2s
}

.skill-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px)
}

.skill-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px
}

.skill-years {
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--accent);
    margin-bottom: 20px
}

.skill-item {
    margin-bottom: 14px
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    margin-bottom: 5px;
    color: var(--gray)
}

.skill-label span:last-child {
    color: var(--accent);
    font-family: var(--mono)
}

.skill-bar {
    height: 4px;
    background: var(--bg3);
    border-radius: 2px;
    overflow: hidden
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1)
}

/* QUALIFICATIONS */
#qualifications {
    background: var(--bg2)
}

.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px
}

.qual-col h3 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px
}

.qual-col h3::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent)
}

.timeline {
    position: relative;
    padding-left: 20px
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--border)
}

.tl-item {
    position: relative;
    margin-bottom: 24px
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--bg2);
    border: 2px solid var(--accent);
    border-radius: 50%
}

.tl-period {
    font-family: var(--mono);
    font-size: .62rem;
    color: var(--accent);
    letter-spacing: .1em;
    margin-bottom: 3px
}

.tl-role {
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 2px
}

.tl-place {
    font-size: .76rem;
    color: var(--gray)
}

/* SERVICES */
#services {
    background: var(--bg)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.service-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all .25s;
    position: relative;
    overflow: hidden
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .3s
}

.service-card:hover::before {
    transform: scaleX(1)
}

.service-card:hover {
    border-color: rgba(14, 165, 233, .3);
    transform: translateY(-4px)
}

.service-icon {
    width: 46px;
    height: 46px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.service-list li {
    font-size: .8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px
}

.service-list li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0
}

/* PORTFOLIO */
#portfolio {
    background: var(--bg2)
}

.portfolio-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px
}

.filter-btn {
    font-size: .72rem;
    padding: 6px 16px;
    border-radius: 3px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    font-family: var(--font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: all .2s
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: #060d18;
    border-color: var(--accent)
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.port-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all .25s
}

.port-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px)
}

.port-img {
    aspect-ratio: 16/10;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--accent);
    letter-spacing: .1em;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.port-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ou contain (explico abaixo) */
    display: block;
}

.port-body {
    padding: 16px 18px
}

.port-tag {
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--accent);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 5px
}

.port-title {
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 5px
}

.port-desc {
    font-size: .76rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px
}

.port-link {
    font-size: .74rem;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: gap .2s
}

.port-link:hover {
    gap: 9px
}

.port-link::after {
    content: '→'
}

/* TESTIMONIALS */
#testimonials {
    background: var(--bg)
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.testi-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
    position: relative
}

.testi-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: .1;
    font-family: serif;
    line-height: 1
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px
}

.star {
    width: 12px;
    height: 12px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)
}

.testi-text {
    font-size: .86rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic
}

.testi-person {
    display: flex;
    align-items: center;
    gap: 12px
}

.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    color: var(--accent)
}

.testi-name {
    font-size: .86rem;
    font-weight: 600
}

.testi-company {
    font-size: .7rem;
    color: var(--gray)
}

/* CTA BANNER */
.cta-banner {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 5%;
    text-align: center
}

/* CONTACT */
#contact {
    background: var(--bg2)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.contact-ico {
    width: 42px;
    height: 42px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.contact-ico svg {
    width: 17px;
    height: 17px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8
}

.contact-item-label {
    font-size: .68rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 2px
}

.contact-item-val {
    font-size: .88rem;
    font-weight: 500
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 12px 15px;
    color: var(--white);
    font-family: var(--font);
    font-size: .86rem;
    outline: none;
    transition: border-color .2s
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent)
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray)
}

.form-field textarea {
    min-height: 120px;
    resize: vertical
}

.form-submit {
    background: var(--accent);
    color: #060d18;
    border: none;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font)
}

.form-submit:hover {
    background: var(--accent2)
}

/* FOOTER */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 36px 5%
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none
}

.footer-links a {
    font-size: .76rem;
    color: var(--gray);
    text-decoration: none;
    transition: color .2s;
    text-transform: uppercase;
    letter-spacing: .06em
}

.footer-links a:hover {
    color: var(--accent)
}

.footer-copy {
    font-size: .73rem;
    color: var(--gray)
}

/* WHATSAPP FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 900;
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .35);
    transition: transform .2s
}

.whatsapp-fab:hover {
    transform: scale(1.08)
}

.whatsapp-fab svg {
    width: 24px;
    height: 24px;
    fill: #fff
}

/* WAVE DIVIDERS */
.wave-sep {
    line-height: 0;
    margin-bottom: -2px;
    position: relative;
    z-index: 1
}

.wave-sep svg {
    display: block;
    width: 100%;
    height: 70px
}

/* FADE-IN SCROLL */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1)
}

.fade-in.visible {
    opacity: 1;
    transform: none
}

.fade-in.from-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1)
}

.fade-in.from-left.visible {
    opacity: 1;
    transform: none
}

.fade-in.from-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1)
}

.fade-in.from-right.visible {
    opacity: 1;
    transform: none
}

[data-delay="1"] {
    transition-delay: .1s
}

[data-delay="2"] {
    transition-delay: .2s
}

[data-delay="3"] {
    transition-delay: .3s
}

[data-delay="4"] {
    transition-delay: .4s
}

[data-delay="5"] {
    transition-delay: .5s
}

[data-delay="6"] {
    transition-delay: .6s
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {

    .nav-links,
    .nav-cta {
        display: none
    }

    .nav-hamburger {
        display: flex
    }

    .hero-left,
    .hero-right {
        display: none
    }

    #home {
        height: 100svh
    }

    .hero-photo-sticky {
        width: min(52vh, 88vw)
    }

    .hero-name-float h1 {
        font-size: clamp(1.6rem, 7vw, 2.8rem)
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-img-wrap {
        max-width: 400px;
        margin: 0 auto
    }

    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }

    .qual-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px
    }

    .testi-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    section {
        padding: 70px 4%
    }

    .skills-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .about-counters {
        grid-template-columns: 1fr 1fr
    }

    .hero-name-float h1 {
        font-size: clamp(1.4rem, 9vw, 2.2rem)
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(8px)
    }
}