/* ============================
   Design Tokens & Variables
   ============================ */
:root {
    --navy-900: #0d1b2a;
    --navy-800: #1b2d45;
    --navy-700: #253b56;
    --navy-600: #2e4a6b;
    --navy-500: #3a5a80;
    --gold-400: #c8a96e;
    --gold-300: #d4bc8a;
    --gold-200: #e0cfa5;
    --gold-100: #f0e6cc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --white: #ffffff;
    --black: #000000;
    --green-whatsapp: #25d366;
    --green-dark: #128c7e;

    --font-primary: 'Heebo', 'Segoe UI', sans-serif;
    --font-display: 'Rubik', 'Heebo', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(200, 169, 110, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   Reset & Base
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--navy-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================
   Navbar
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--gold-400);
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   Buttons
   ============================ */
.btn svg {
    width: 20px;
    height: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-400);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 169, 110, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 169, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(200, 169, 110, 0.06) 0%, transparent 40%);
    animation: patternFloat 15s ease-in-out infinite;
}

@keyframes patternFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-10px, 10px) scale(1.02);
    }

    66% {
        transform: translate(10px, -5px) scale(0.98);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(200, 169, 110, 0.15);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 50px;
    color: var(--gold-300);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ============================
   Section Commons
   ============================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.1), rgba(200, 169, 110, 0.05));
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: 50px;
    color: var(--gold-400);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 580px;
    margin: 0 auto;
}

/* ============================
   Services Section
   ============================ */
.services {
    background: var(--slate-100);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-200), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(200, 169, 110, 0.08), transparent 70%);
    border-radius: 0 var(--radius-lg) 0 100%;
}

.service-card:hover {
    border-color: rgba(200, 169, 110, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold-400);
    stroke: var(--gold-400);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(13, 27, 42, 0.3);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ============================
   About Section
   ============================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--navy-900);
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--navy-700);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content p {
    color: var(--slate-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-slow);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--slate-500);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card-stack {
    position: relative;
    width: 300px;
    height: 340px;
}

.about-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    min-width: 240px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-slow);
}

.about-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.card-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-lucide-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-400);
}

.stat-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-400);
}

.about-card span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-800);
}

.card-1 {
    top: 0;
    right: 0;
    transition-delay: 0.1s;
}

.card-2 {
    top: 120px;
    right: 40px;
    transition-delay: 0.3s;
    border-color: rgba(200, 169, 110, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-3 {
    top: 240px;
    right: 10px;
    transition-delay: 0.5s;
}

.about-card:hover {
    transform: translateX(0) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================
   Process Section
   ============================ */
.process {
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(200, 169, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(200, 169, 110, 0.04) 0%, transparent 40%);
}

.process .section-tag {
    background: rgba(200, 169, 110, 0.15);
    border-color: rgba(200, 169, 110, 0.25);
}

.process .section-header h2 {
    color: var(--white);
}

.process .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 169, 110, 0.3);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ============================
   Contact Section
   ============================ */
.contact {
    background: var(--white);
}

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

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--navy-900);
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--slate-500);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(20px);
}

.contact-method.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-method:hover {
    border-color: rgba(200, 169, 110, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateX(0) translateY(-2px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
}

.contact-method-icon.whatsapp {
    background: linear-gradient(135deg, var(--green-whatsapp), var(--green-dark));
    color: var(--white);
}

.contact-method-icon.phone {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    color: var(--gold-400);
}

.contact-method-icon.email {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    color: var(--navy-900);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--slate-400);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-800);
}

.contact-cta-card {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -40%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.1) 0%, transparent 70%);
}

.cta-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-card-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-card-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--navy-900);
    padding: 48px 0;
    border-top: 1px solid rgba(200, 169, 110, 0.15);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    color: var(--gold-400);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 70px 0;
    }

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

    .about-visual {
        order: -1;
    }

    .about-card-stack {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .about-card {
        position: relative;
        top: auto !important;
        right: auto !important;
    }

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

    .contact-cta-card {
        padding: 36px 28px;
    }

    .about-stats {
        gap: 24px;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

    .stat-number {
        font-size: 1.5rem;
    }
}

/* ============================
   Animations (intersection observer driven)
   ============================ */
.service-card,
.process-step,
.contact-method,
.about-card,
.stat {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4) {
    transition-delay: 0.3s;
}

.process-step:nth-child(2) {
    transition-delay: 0.15s;
}

.process-step:nth-child(3) {
    transition-delay: 0.3s;
}

.process-step:nth-child(4) {
    transition-delay: 0.45s;
}

.contact-method:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-method:nth-child(3) {
    transition-delay: 0.2s;
}

.stat:nth-child(2) {
    transition-delay: 0.15s;
}

.stat:nth-child(3) {
    transition-delay: 0.3s;
}