:root {
    --green: #0f2f25;
    --green-2: #123a2d;
    --gold: #c6a24b;
    --gold-2: #d8b85d;
    --text: #0f2f25;
    --white: #ffffff;
    --muted: #f6f6f4;
    --shadow: 0 8px 30px rgba(0, 0, 0, .08);
    --radius: 16px;
    --border: #0f2f25;
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Roboto Serif", ui-serif, Georgia, serif;
    color: var(--text);
    background: var(--white)
}

a:not(.btn):not(nav a):not(.brand) {
    color: var(--green);
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.16em;
    text-decoration-color: color-mix(in oklab, var(--green) 55%, transparent);
    transition: color .2s ease, text-decoration-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    border-radius: 6px;
}

a:not(.btn):not(nav a):not(.brand):hover {
    text-decoration-color: var(--gold);
}

a:not(.btn):not(nav a):not(.brand):focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 40%, transparent);
    background-color: color-mix(in oklab, var(--gold) 10%, transparent);
}

section[style*="var(--muted)"] a:not(.btn):not(nav a):not(.brand) {
    text-decoration-color: color-mix(in oklab, var(--green) 35%, transparent);
}

footer a {
    color: #fff;
    text-decoration: none
}

.container {
    width: min(1120px, 92%);
    margin: auto
}


.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: var(--gold);
    color: var(--green);
    padding: .5rem .75rem;
    border-radius: .5rem
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: var(--text)
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--green)
}

.brand strong {
    letter-spacing: .4px;
    font-weight: 700
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0
}

nav a {
    color: var(--text);
    text-decoration: none;
    padding: .5rem .6rem;
    border-radius: 10px;
}

nav a:hover, nav a.active {
    background: var(--muted)
}

.cta-top {
    display: none
}

@media (min-width: 900px) {
    .cta-top {
        display: inline-flex
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--gold);
    text-decoration: none;
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    color: #1d1a0f;
    font-weight: 600;
    width: min-content;
}

.btn.outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green)
}

.hero {
    background: var(--green);
    color: var(--white);
    padding: clamp(3rem, 6vw, 6rem) 0
}

.hero-grid {
    display: grid;
    grid-template-columns:1fr;
    gap: 2rem;
    align-items: center
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin: .2rem 0 .8rem
}

.hero p {
    opacity: .9;
}

.badges {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 1.25rem 0
}

.badge {
    border: 1px solid rgba(255, 255, 255, .3);
    padding: .4rem .7rem;
    border-radius: 999px
}

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: saturate(140%) blur(6px);
    padding: 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
}

.hero-card img {
    margin: 0 auto;
    width: min(80vw, 400px);
}

.hero-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem
}

section {
    padding: clamp(2.8rem, 6vw, 4.5rem) 0
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    margin: 0 0 1rem;
    line-height: 1.18
}

.lead {
    color: #4b635a;
    /*max-width: 62ch*/
    text-align: justify;
}

.grid {
    display: grid;
    gap: 1rem
}

.grid-3 {
    grid-template-columns:repeat(1, 1fr)
}

@media (min-width: 720px) {
    .grid-3 {
        grid-template-columns:repeat(3, 1fr)
    }
}

.card {
    background: var(--white);
    border: 1px solid #e9e6dc;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem
}

.card h3 {
    margin: .2rem 0 .4rem;
    font-size: 1.1rem
}

.divider {
    height: 1px;
    background: #ece9e0;
    margin: 2rem 0
}

.accent {
    position: relative;
    display: inline-block
}

.accent:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: .15em;
    width: 100%;
    height: .45em;
    background: linear-gradient(90deg, var(--gold), #e7d08a);
    opacity: .45;
    z-index: -1
}

.offer-list {
    display: grid;
    grid-template-columns:repeat(1, 1fr);
    gap: 1rem
}

@media (min-width: 900px) {
    .offer-list {
        grid-template-columns:repeat(3, 1fr)
    }
}

.offer {
    padding: 1rem calc(1rem + 1em) calc(1rem + 1em);
    border: 1px solid #efe8d4;
    border-radius: var(--radius)
}

.offer ul {
    padding-left: 1.2rem;
    margin: .4rem 0 0
}

.pricing {
    display: grid;
    gap: 1rem
}


.note {
    font-size: .95rem;
    color: #4b635a;
    text-align: justify;
}

.price-table {
    width: 100%;
    border-collapse: collapse
}

.price-table th, .price-table td {
    border-bottom: 1px solid #efe8d4;
    padding: .7rem;
    text-align: left
}

.price-table th {
    background: #faf8f0
}

.blog-grid {
    display: grid;
    gap: 1rem
}

@media (min-width: 900px) {
    .blog-grid {
        grid-template-columns:repeat(3, 1fr)
    }
}

.post {
    border: 1px solid #efe8d4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow)
}

.post img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #eee
}

.post .p {
    padding: 1rem
}

.contact {
    display: grid;
    gap: 1.2rem
}

@media (min-width: 900px) {
    .contact {
        grid-template-columns:1fr 1fr
    }
}

form {
    display: grid;
    gap: .8rem
}

label {
    font-weight: 600
}

input, textarea {
    font: inherit;
    padding: .8rem;
    border: 1px solid #d9d4c2;
    border-radius: 12px;
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical
}

.form-row {
    display: grid;
    gap: .8rem
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns:1fr 1fr
    }
}

.success, .error {
    display: none;
    margin-top: .6rem;
    padding: .7rem;
    border-radius: 10px
}

.success {
    background: #edf7ee;
    border: 1px solid #b9e1bf
}

.error {
    background: #fff1f0;
    border: 1px solid #ffcfcc
}

/* Footer */
footer {
    background: var(--green);
    color: var(--white);
    padding: 2rem 0
}

footer a {
    color: #fff !important;
    text-decoration: none
}

.foot-grid {
    display: grid;
    gap: 1rem
}

@media (min-width: 900px) {
    .foot-grid {
        grid-template-columns:1.2fr .8fr
    }
}

.sub {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: .6rem
}

.tiny {
    opacity: .8;
    font-size: .6rem;
    font-weight: normal;
}

.top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: .2s
}

.top.show {
    opacity: 1;
    pointer-events: auto
}

.top a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--gold);
    padding: .6rem .8rem;
    border-radius: 999px;
    color: #1d1a0f;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .06)
}


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

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border, #ddd);
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.menu-toggle .bar::before, .menu-toggle .bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
}

.menu-toggle .bar::before {
    top: -6px;
}

.menu-toggle .bar::after {
    top: 6px;
}

#primaryNav {
    display: none;
}

#primaryNav.open {
    display: block;
}

#primaryNav ul {
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#primaryNav a {
    display: block;
}

@media (min-width: 1200px) {
    .menu-toggle {
        display: none;
    }

    #primaryNav {
        display: block;
    }

    #primaryNav ul {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 0;
    }

    header .cta-top {
        display: inline-flex;
    }

    .hero-grid {
        grid-template-columns: 1.6fr 1fr;
    }

    .offer-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container.contact {
        grid-template-columns: 1fr 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .hero p {
        opacity: .9;
        max-width: 60ch
    }
}

.main-image {
    width: 400px;
}

.about-lid h3 {
    text-align: center;
    margin: 10px;
}

#top a {
    text-decoration: none;
}

.form-row input {
    margin-top: .8rem;
    width: calc(100% - 1.6rem - 2px);
}


@media (max-width: 1200px) {
    .container.nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .container.nav .brand {
        order: 1;
    }

    .container.nav .menu-toggle {
        order: 2;
        margin-left: auto;
    }

    .container.nav #primaryNav {
        order: 4;
        width: 100%;
    }

    .container.nav .cta-top {
        order: 5;
        width: 100%;
        display: none;
        text-align: center;
        margin-top: 0.25rem;
    }

    .container.nav .menu-toggle[aria-expanded="true"] ~ .cta-top {
        display: block;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 0.8rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: #fff;
    max-width: 600px;
    width: 92%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
    padding: 1.5rem;
    position: relative;
    animation: fadeIn .3s ease;
    overflow: hidden;
}

.rodo-content {
    max-height: 70vh;
    font-size: .8rem;
    overflow-y: scroll;
    overflow-x: hidden;
}

.modal h3 {
    margin-top: 0;
    font-size: .9rem;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: .6rem;
    right: .8rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #444
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}