/* Fonts & Variables */
:root {
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

    --color-bg: #FFFFFF;
    --color-bg-alt: #F7F7F8;
    --color-text: #111111;
    --color-text-sec: #4B4B4B;
    --color-text-tert: #6B6B6B;
    --color-border: #EAEAEA;
    --color-accent: #9F2B2B;
    /* Tasteful Deep Red/Terracotta inferred */

    --radius-card: 20px;
    --radius-btn: 999px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.08);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1080px;

    --trans-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --trans-smooth: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: 1.1rem;
    color: var(--color-text-sec);
    line-height: 1.6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-sub {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-sec);
}

.micro-note {
    font-size: 0.85rem;
    color: var(--color-text-tert);
}

/* Buttons */
.btn-primary,
.btn-pack,
.btn-sticky {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-text);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover,
.btn-pack:hover,
.btn-sticky:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--color-text);
    padding: 14px 28px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
}

.btn-secondary:hover {
    background: var(--color-bg-alt);
}

.btn-tertiary {
    color: var(--color-text);
    text-decoration: underline;
    font-size: 0.95rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, border-bottom 0.3s ease;
    padding: 16px 0;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-cta {
    background: var(--color-text);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 20%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 100px;
}

.hero-sub {
    max-width: 600px;
    margin: 0 auto 20px auto;
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
}

.hero-micro {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-tert);
    margin-bottom: var(--spacing-md);
}

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

.scroll-hint {
    margin-top: 60px;
    opacity: 0.4;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Trust Strip */
.trust-strip {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-sec);
}

.trust-icon {
    color: var(--color-text);
    font-size: 1.1rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--color-border);
}

/* The Proposal */
.proposal-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.highlight-text {
    margin-top: 20px;
    font-weight: 600;
    color: var(--color-text);
}

/* Why This Matters */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.apple-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
    color: var(--color-text-sec);
    display: flex;
    gap: 10px;
}

.apple-list li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
}

/* Timeline */
.timeline-section {
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 700px;
    margin: 60px auto 0 auto;
    padding-left: 40px;
}

.timeline-line-bg {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-line-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    background: var(--color-accent);
    height: 0%;
    /* JS will animate */
    transition: height 0.1s linear;
}

.timeline-step {
    position: relative;
    padding-bottom: 80px;
    opacity: 0.3;
    transition: var(--trans-smooth);
    filter: blur(1px);
}

.timeline-step.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.02);
}

.step-marker {
    position: absolute;
    left: -45px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step.active .step-marker {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(159, 43, 43, 0.2);
}

.step-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.step-content h3 {
    font-size: 1.4rem;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.package-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: var(--trans-fast);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.featured {
    border: 2px solid var(--color-accent);
    position: relative;
}

.recommended-chip {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
}

.pack-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.pack-one-liner {
    font-size: 0.95rem;
    color: var(--color-text-sec);
    margin: 8px 0;
}

.pack-price {
    margin-top: 16px;
}

.amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.installment {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-tert);
    font-weight: 400;
}

.pack-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pack-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pack-list li::before {
    content: "✓";
    color: var(--color-accent);
}

.btn-pack {
    background: var(--color-bg-alt);
    color: var(--color-text);
    width: 100%;
    border: 1px solid transparent;
}

.btn-pack:hover {
    background: #e0e0e0;
}

/* Portfolio */
.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.full-bleed {
    grid-column: 1 / -1;
    height: 500px;
}

.img-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Accordion */
.accordion {
    border-top: 1px solid var(--color-border);
}

.acc-item {
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
}

.acc-header {
    padding: 20px 0;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
}

.acc-header::after {
    content: "+";
    color: var(--color-text-tert);
}

/* About & Social Proof */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

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

.test-card {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: 16px;
}

.test-card p {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--color-text);
}

.test-card span {
    font-size: 0.85rem;
    color: var(--color-text-sec);
    font-weight: 500;
}

/* FAQ */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Final CTA */
.big-title {
    font-size: 3.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-sec);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    background: #fafafa;
}

.footer-logo {
    height: 24px;
    margin: 0 auto 20px auto;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.legal {
    color: var(--color-text-tert);
    font-size: 0.8rem;
}

/* Sticky Mobile */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: none;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-btn);
}

.btn-sticky {
    width: 100%;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav {
        padding: 12px 0;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-img {
        object-position: center top;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .trust-grid {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding-left: 20px;
    }

    .trust-divider {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-image {
        order: -1;
    }

    .timeline-container {
        padding-left: 30px;
    }

    .step-marker {
        left: -36px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0 auto;
    }

    .portfolio-masonry {
        grid-template-columns: 1fr;
    }

    .full-bleed {
        height: 300px;
    }

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

    .sticky-cta {
        display: block;
    }

    .footer {
        padding-bottom: 90px;
    }

    /* Space for sticky button */
}