:root {
    --bg: #f3f0e8;
    --bg-deep: #e4ddd0;
    --ink: #1c1a17;
    --muted: #5c564c;
    --accent: #0f5c4c;
    --accent-soft: #d8ebe5;
    --line: rgba(28, 26, 23, 0.12);
    --radius: 12px;
    --space: clamp(1.25rem, 4vw, 2.5rem);
    --max: 1100px;
    --font: "DM Sans", "Segoe UI", sans-serif;
    --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.5;
    background:
        radial-gradient(circle at 12% 18%, #fff8ef 0%, transparent 42%),
        radial-gradient(circle at 88% 8%, #d9ebe4 0%, transparent 36%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: rise 0.7s ease both;
}

.logo {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone {
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: var(--radius);
    background: var(--accent);
    color: #f7fffc;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--accent);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
    background: #0c4a3d;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    min-height: calc(100vh - 4.5rem);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: 1rem 0 3rem;
}

.hero-copy {
    animation: rise 0.85s ease 0.1s both;
}

.hero-media {
    display: grid;
    place-items: center;
    animation: fade-in 1s ease 0.15s both;
}

.hero-media img {
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    background: transparent;
}

.brand {
    font-family: var(--display);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
    font-weight: 500;
    line-height: 1.25;
    max-width: 22ch;
    margin-bottom: 0.8rem;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 36ch;
    margin-bottom: 1.5rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.offer,
.pricing,
.final {
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: var(--space) 0;
}

.offer {
    border-bottom: 1px solid var(--line);
    animation: rise 0.8s ease 0.15s both;
}

.offer h2,
.pricing h2,
.final h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}

.offer p,
.section-text,
.final p {
    color: var(--muted);
    max-width: 42ch;
}

.plans {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.plan {
    padding: 1.35rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.42);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.plan:hover {
    border-color: rgba(15, 92, 76, 0.35);
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-3px);
}

.plan-num {
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.plan h3 {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.price {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.plan ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.plan li {
    color: var(--muted);
    font-size: 0.98rem;
    padding-left: 0.9rem;
    position: relative;
}

.plan li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.55em;
}

.final {
    padding-bottom: 3.5rem;
}

.socials {
    margin-top: 1.1rem;
    display: flex;
    gap: 0.75rem;
}

.socials a {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 92, 76, 0.35);
}

.socials img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 0.5rem;
    }

    .hero-media {
        order: -1;
    }

    .hero-media img {
        width: min(100%, 340px);
    }

    .plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar {
        flex-wrap: wrap;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .phone {
        font-size: 0.95rem;
    }

    .cta-group .btn {
        width: 100%;
    }

    .hero-media img {
        width: min(85%, 300px);
    }
}
