:root {
    --bg-dark: #050505;
    --bg-accent: #1a0b2e;
    --text-color: #e0e0e0;
    --accent-color: #8a2be2;
    --accent-blue: #2f80ff;
    --accent-gold: #c9a84c;
    --accent-rose: #d46a8e;
    --font-main: 'Space Grotesk', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background: radial-gradient(circle at center, var(--bg-accent) 0%, var(--bg-dark) 80%);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

body.is-loading {
    overflow: hidden;
    height: 100vh;
}

/* --- OVERLAYS --- */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
    opacity: 0.04;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0.8;
}

/* --- 3D CANVAS --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- LOADING SECTION --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.loader-content {
    text-align: center;
}

#loader-text {
    font-size: 1.15rem;
    letter-spacing: 0.45em;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(1.6rem, 2.6vw, 3.8rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #c9a84c 40%, #b8b8b8 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    color: #999;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    position: relative;
    padding-left: 18px;
    border-left: 1px solid rgba(201,168,76,0.4);
}

.cta-group {
    display: flex;
    gap: 1.2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.35s ease;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
}

.cta-btn.primary {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201,168,76,0.35);
    position: relative;
    overflow: hidden;
}

.cta-btn.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cta-btn.primary:hover::before {
    opacity: 1;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- ACCENT DIVIDER --- */
.accent-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin-bottom: 16px;
    border-radius: 1px;
}

/* --- STORYTELLING SECTION --- */
#who-we-are {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.story-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    padding: 0 5%;
    transform: translateY(20px);
}

.story-scene .section-inner {
    width: 100%;
    max-width: 1200px;
}

/* --- DIGITAL SYSTEM SECTION --- */
#digital-system {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.system-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-text {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: min(900px, 88vw);
    text-align: center;
    opacity: 0;
    padding: 0 20px;
}

.system-lead {
    font-size: clamp(1.2rem, 1.7vw, 1.6rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.72);
    text-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

/* --- HEADER / NAV --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 14px 6%;
}

body.is-loading .site-header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.navbar:hover {
    border-color: rgba(47,128,255,0.35);
    box-shadow: 0 0 0 1px rgba(47,128,255,0.1), 0 12px 40px rgba(0,0,0,0.4);
}

.brand {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.85rem;
}

.brand:focus-visible {
    outline: none;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(47,128,255,0.16);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 220ms ease;
}

.nav-links a:hover {
    background: rgba(47,128,255,0.12);
    color: #fff;
    border-color: rgba(47,128,255,0.28);
}

.nav-links a:focus-visible {
    outline: none;
    background: rgba(47,128,255,0.12);
    color: #fff;
    border-color: rgba(47,128,255,0.35);
    box-shadow: 0 0 0 3px rgba(47,128,255,0.12);
}

.nav-cta {
    color: #000;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.nav-cta:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: rgba(47,128,255,0.6);
    box-shadow: 0 0 0 2px rgba(47,128,255,0.14);
}

.nav-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47,128,255,0.16);
}

section {
    scroll-margin-top: 100px;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 10000;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: transparent;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- CONTENT SECTIONS --- */
.content-section {
    position: relative;
    z-index: 10;
    padding: 90px 10% 90px;
}

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

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold), transparent 70%);
    border-radius: 0.5px;
}

.section-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 56ch;
    margin-bottom: 32px;
}

/* --- TRUSTED BY / CLIENTS --- */
#trusted-by {
    text-align: center;
}

#trusted-by .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
    min-height: auto;
}

#trusted-by .logo-row {
    border: 1px solid rgba(201,168,76,0.18);
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.logo-pill {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 320ms ease, border-color 280ms ease, background 280ms ease;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.35;
    position: relative;
    overflow: hidden;
}

.logo-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent 50%);
    opacity: 0;
    transition: opacity 300ms ease;
}

.logo-pill:hover {
    border-color: rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.04);
}

.logo-pill:hover::before {
    opacity: 1;
}

/* --- CARD GRID --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.card {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.18);
    border-radius: 14px;
    padding: 20px;
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
    opacity: 0;
    transition: opacity 280ms ease;
}

.card:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.12), 0 12px 40px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.28);
}

.card:hover::after {
    opacity: 1;
}

.card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.14), 0 12px 40px rgba(0,0,0,0.3);
}

.card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* --- SERVICES --- */
#services .section-inner {
    max-width: 1200px;
}

#services .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-gold);
}

#services .section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

#services .section-desc {
    font-size: 0.85rem;
    max-width: 64ch;
}

#services .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}

#services .card {
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.1);
    padding: 26px;
    backdrop-filter: blur(10px);
    min-height: 180px;
}

#services .card:hover {
    border-color: rgba(201,168,76,0.45);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.14), 0 14px 45px rgba(0,0,0,0.4);
}

#services .card h3 {
    color: rgba(255,255,255,0.92);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#services .card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    line-height: 1.6;
}

#services .card p + p {
    margin-top: 10px;
}

/* --- WHY CHOOSE US --- */
#why-choose-us {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
}

#why-choose-us .section-inner {
    text-align: center;
}

#why-choose-us .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

#why-choose-us .carousel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

#why-choose-us .carousel-viewport {
    flex: 1;
    overflow: hidden;
}

#why-choose-us .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

#why-choose-us .carousel-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.45);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

#why-choose-us .carousel-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(201,168,76,0.35);
    color: #fff;
}

#why-choose-us .feature {
    flex: 0 0 calc((100% - 20px) / 2);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: border-color 280ms ease, box-shadow 280ms ease;
}

#why-choose-us .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
    opacity: 0;
    transition: opacity 280ms ease;
}

#why-choose-us .feature:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.12), 0 12px 40px rgba(0,0,0,0.35);
}

#why-choose-us .feature:hover::before {
    opacity: 1;
}

#why-choose-us .feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#why-choose-us .feature p {
    color: rgba(255,255,255,0.68);
    font-size: 0.8rem;
    line-height: 1.6;
}

#why-choose-us .feature p + p {
    margin-top: 10px;
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- PORTFOLIO / HORIZONTAL WORK --- */
.horizontal-work {
    height: 100vh;
    padding: 80px 5% 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

.horizontal-work .section-inner {
    max-width: 1200px;
    width: 100%;
    flex-shrink: 0;
}

.horizontal-work .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.work-viewport {
    flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 0;
}

.work-track {
    display: flex;
    gap: 20px;
    padding-right: 5%;
    will-change: transform;
    height: 100%;
}

.work-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 250px;
    max-width: 420px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.6);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    transition: border-color 220ms ease, box-shadow 220ms ease;
    position: relative;
    overflow: hidden;
}

.work-thumb {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    object-position: top;
    border: none;
    margin: 0;
    position: relative;
    z-index: 0;
    filter: saturate(0.85) contrast(1.05);
    display: block;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.65) 75%, rgba(0,0,0,0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

.work-meta {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 16px 18px 18px;
    display: grid;
    gap: 4px;
    flex-shrink: 0;
    min-height: 70px;
    background: rgba(0,0,0,0.85);
}

.work-card h3 {
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 8px 16px rgba(0,0,0,0.5);
    font-weight: 600;
}

.work-card p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    line-height: 1.5;
    text-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.work-card--more {
    background: rgba(255,255,255,0.04);
    border-color: rgba(201,168,76,0.2);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.work-card--more::after {
    content: none;
}

.work-card--more .work-meta {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    width: 100%;
    text-align: center;
    gap: 8px;
    background: none;
    min-height: 0;
}

.work-card--more p {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

.work-card:hover {
    border-color: rgba(201,168,76,0.45);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.15), 0 14px 45px rgba(0,0,0,0.4);
}

.work-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.18), 0 14px 45px rgba(0,0,0,0.4);
}

/* --- PROCESS SECTION --- */
#process .section-inner {
    text-align: center;
}

#process .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

#process .step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

#process .step {
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 24px;
    min-height: 200px;
    backdrop-filter: blur(8px);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
    text-align: left;
}

#process .step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-rose));
    opacity: 0;
    transition: opacity 280ms ease;
}

#process .step:hover {
    transform: translateY(-3px);
    border-color: rgba(201,168,76,0.5);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.15), 0 14px 45px rgba(0,0,0,0.45);
}

#process .step:hover::before {
    opacity: 1;
}

#process .step-number {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.14);
    margin: 0;
    font-weight: 700;
}

#process .step-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201,168,76,0.1);
    color: var(--accent-gold);
    margin-top: 14px;
    margin-bottom: 12px;
}

#process .step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

#process .step .step-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    line-height: 1.6;
    max-width: 34ch;
}

#process .step:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.16), 0 14px 40px rgba(0,0,0,0.4);
}

#process .step-cta {
    background: linear-gradient(135deg, var(--accent-gold), #b8942e);
    border: none;
    color: rgba(0,0,0,0.85);
    text-decoration: none;
    display: block;
    text-align: left;
}

#process .step-cta:hover {
    background: linear-gradient(135deg, #d4b45a, #c49e3a);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.3), 0 14px 45px rgba(201,168,76,0.15);
}

#process .step-cta h3 {
    color: rgba(0,0,0,0.88);
}

#process .step-cta .step-desc {
    color: rgba(0,0,0,0.65);
    max-width: 28ch;
}

#process .step-cta-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.8);
}

/* --- PRICING SECTION --- */
#pricing .section-inner {
    text-align: center;
}

#pricing .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.price-card {
    text-align: left;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.price-card:nth-child(2) {
    border-color: rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.04);
}

.price-card:nth-child(2)::before {
    content: 'POPULER';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(201,168,76,0.1);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0.25);
}

.price-note {
    margin: 12px 0 18px;
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.price-card h3 + .price-note {
    margin-top: 16px;
}

.price-card p {
    margin-bottom: 18px;
    line-height: 1.6;
}

.mini-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
}

.mini-list li::before {
    content: '◆';
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 0.45rem;
    vertical-align: middle;
}

.card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    transition: background 220ms ease, border-color 220ms ease;
}

.card-action:hover {
    background: rgba(201,168,76,0.12);
    border-color: rgba(201,168,76,0.35);
}

.price-card:nth-child(2) .card-action {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    font-weight: 600;
}

.price-card:nth-child(2) .card-action:hover {
    background: #d4b45a;
}

.pricing-cta-text {
    margin-top: 48px !important;
}

/* --- TESTIMONIAL SECTION --- */
#testimonial .section-inner {
    text-align: center;
}

#testimonial .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

#testimonial .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.testimonial-rotator {
    position: relative;
    width: min(720px, 88vw);
    margin: 22px auto 0;
    min-height: 160px;
    display: grid;
    place-items: center;
}

.quote-card--rotator {
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 16px;
    padding: 28px 28px 24px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 350ms ease, transform 350ms ease, border-color 250ms ease, box-shadow 250ms ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-card--rotator blockquote {
    color: rgba(255,255,255,0.88);
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
    position: relative;
    padding-left: 18px;
    border-left: 2px solid rgba(201,168,76,0.35);
    text-align: justify;
}

.quote-card--rotator figcaption {
    color: rgba(255,255,255,0.68);
    letter-spacing: 0.04em;
    font-size: 0.75rem;
}

.quote-card--rotator.is-active {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(201,168,76,0.55);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.12), 0 14px 45px rgba(0,0,0,0.4);
    pointer-events: auto;
}

.quote-card--rotator.is-active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), transparent);
    opacity: 0.85;
}

.quote-card--rotator:focus-visible {
    outline: none;
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(201,168,76,0.7);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.14), 0 14px 45px rgba(0,0,0,0.4);
    pointer-events: auto;
}

/* --- FAQ --- */
.faq-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    max-width: 800px;
}

.faq-item {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.18);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq-item:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.1), 0 12px 40px rgba(0,0,0,0.3);
}

.faq-item:focus-within {
    box-shadow: 0 0 0 3px rgba(201,168,76,0.14), 0 12px 40px rgba(0,0,0,0.3);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    outline: none;
    font-size: 0.85rem;
}

.faq-answer {
    margin-top: 10px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    font-size: 0.8rem;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 100px 10%;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-subtitle {
    color: rgba(255,255,255,0.65);
    margin-bottom: 22px;
    line-height: 1.6;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- CONTACT SECTION --- */
#contact .section-inner {
    text-align: center;
}

#contact .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.contact-form {
    margin-top: 22px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.field {
    display: grid;
    gap: 8px;
    text-align: left;
}

.field-label {
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
    font-size: 0.75rem;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.82rem;
    outline: none;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.field input:focus {
    border-color: rgba(201,168,76,0.45);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-hint {
    margin-top: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    font-size: 0.72rem;
}

/* --- LEGACY GRID RULES --- */
.feature-grid,
.step-grid,
.portfolio-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature,
.step,
.portfolio-item,
.quote-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    padding: 20px;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.feature:hover,
.step:hover,
.portfolio-item:hover,
.quote-card:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 0 1px rgba(201,168,76,0.1), 0 12px 40px rgba(0,0,0,0.3);
}

.feature:focus-visible,
.step:focus-visible,
.portfolio-item:focus-visible,
.quote-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.14), 0 12px 40px rgba(0,0,0,0.3);
}

.feature h3,
.step h3,
.portfolio-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature p,
.step p,
.portfolio-item p {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    line-height: 1.55;
}

.step-number {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.quote-card blockquote {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.quote-card figcaption {
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
}

/* ============================================ */
/* RESPONSIVE - TABLET */
/* ============================================ */
@media (max-width: 980px) {
    .card-grid,
    .feature-grid,
    .step-grid,
    .portfolio-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    #why-choose-us .carousel {
        gap: 10px;
    }

    #why-choose-us .carousel-track {
        gap: 14px;
    }

    #why-choose-us .feature {
        flex: 0 0 100%;
        min-height: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

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

    #services .card-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .horizontal-work {
        height: auto;
        min-height: 90vh;
        padding: 80px 6% 40px;
    }

    .work-card {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: 0;
        max-width: none;
        height: auto;
    }

    .work-track {
        gap: 16px;
    }

    .site-header {
        padding: 10px 4%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 5px 7px;
    }

    .brand {
        font-size: 0.8rem;
    }

    .nav-cta {
        font-size: 0.7rem;
        padding: 7px 10px;
    }
}

/* ============================================ */
/* RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 640px) {
    .site-header {
        padding: 8px 3%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 8px;
        border-radius: 10px;
    }

    .nav-links {
        gap: 4px;
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    .nav-cta {
        font-size: 0.68rem;
        padding: 6px 10px;
    }

    .brand {
        font-size: 0.78rem;
    }

    #hero {
        padding: 0 6%;
    }

    .hero-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.75rem;
        padding-left: 12px;
    }

    .cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
    }

    .cta-group {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .content-section {
        padding: 70px 6% 70px;
    }

    .card-grid,
    .feature-grid,
    .portfolio-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .logo-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #trusted-by .logo-row {
        padding: 14px;
    }

    .logo-pill {
        min-height: 50px;
        padding: 12px 10px;
        font-size: 0.72rem;
    }

    .section-title {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
    }

    .section-kicker {
        font-size: 0.68rem;
    }

    .section-desc {
        font-size: 0.78rem;
    }

    #why-choose-us .carousel {
        flex-direction: column;
    }

    #why-choose-us .carousel-btn {
        width: 100%;
    }

    #why-choose-us .feature {
        flex: 0 0 100%;
    }

    .horizontal-work {
        padding: 70px 6% 40px;
    }

    .work-track {
        gap: 12px;
        padding-right: 6%;
    }

    .work-card {
        flex: 0 0 min(80vw, 380px);
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .work-meta {
        padding: 14px;
    }

    .work-card h3 {
        font-size: 0.9rem;
    }

    .work-card p {
        font-size: 0.7rem;
    }

    .work-card--more {
        padding: 18px;
    }

    .work-card--more .work-meta {
        padding: 0;
    }

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

    #process .step-grid {
        grid-template-columns: 1fr;
    }

    #process .step {
        min-height: 160px;
    }

    .price-card:nth-child(2)::before {
        font-size: 0.55rem;
        top: 8px;
        right: 8px;
        padding: 2px 8px;
    }

    .testimonial-rotator {
        min-height: 140px;
    }

    .quote-card--rotator {
        padding: 20px 18px 18px;
    }

    .quote-card--rotator blockquote {
        font-size: 0.8rem;
        padding-left: 12px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 10px;
        bottom: 10px;
    }

    .contact-form {
        max-width: 100%;
    }
}