:root {
    --bg: #f7f3ea;
    --surface: #ffffff;
    --ink: #1f2933;
    --muted: #65717e;
    --line: #d9dee4;
    --brand: #0e8f83;
    --brand-dark: #08675f;
    --accent: #e66a3a;
    --deep: #263238;
    --shadow: 0 18px 50px rgba(31, 41, 51, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 24px;
    width: 100%;
}

.skip-link,
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.skip-link:focus {
    background: var(--surface);
    clip: auto;
    clip-path: none;
    height: auto;
    left: 16px;
    padding: 10px 14px;
    top: 16px;
    width: auto;
    z-index: 1000;
}

.site-header {
    background: rgba(247, 243, 234, 0.92);
    border-bottom: 1px solid rgba(31, 41, 51, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    min-height: 78px;
}

.brand {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    align-items: center;
    background: var(--ink);
    border-radius: 8px;
    color: var(--surface);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand-text {
    font-size: 1rem;
}

.custom-logo {
    max-height: 56px;
    width: auto;
}

.main-nav {
    flex: 1;
}

.menu {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    border-radius: 8px;
    color: var(--muted);
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    padding: 10px 12px;
}

.menu a:hover,
.menu a:focus {
    background: rgba(14, 143, 131, 0.1);
    color: var(--brand-dark);
}

.header-cta,
.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
    background: var(--brand);
    box-shadow: 0 12px 26px rgba(14, 143, 131, 0.22);
    color: #fff;
}

.button.secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.button.light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: none;
    height: 42px;
    padding: 9px;
    width: 42px;
}

.nav-toggle span:not(.screen-reader-text) {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 5px 0;
    width: 100%;
}

.hero {
    overflow: hidden;
    padding: 86px 0 64px;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.7fr);
}

.eyebrow {
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.45rem, 6vw, 4.8rem);
    line-height: 0.98;
    margin-bottom: 24px;
    max-width: 890px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.06rem, 2vw, 1.25rem);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.hero-meta {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 32px 0 0;
}

.hero-meta div {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.hero-meta dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-meta dd {
    font-weight: 800;
    margin: 2px 0 0;
}

.hero-panel {
    background: var(--deep);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: #fff;
    min-height: 460px;
    padding: 18px;
    position: relative;
}

.hero-panel::before {
    background:
        linear-gradient(135deg, rgba(230, 106, 58, 0.72), transparent 46%),
        linear-gradient(315deg, rgba(14, 143, 131, 0.72), transparent 42%);
    border-radius: 8px;
    bottom: 18px;
    content: "";
    left: 18px;
    position: absolute;
    right: 18px;
    top: 58px;
}

.browser-bar {
    display: flex;
    gap: 7px;
    height: 30px;
    position: relative;
    z-index: 1;
}

.browser-bar span {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    color: var(--ink);
    margin: 54px auto 0;
    max-width: 360px;
    padding: 28px;
    position: relative;
    z-index: 1;
}

.preview-card span {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.preview-card h2 {
    font-size: 1.6rem;
    margin-top: 12px;
}

.preview-card ul,
.price-card ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.preview-card li,
.price-card li {
    margin: 10px 0;
    padding-left: 24px;
    position: relative;
}

.preview-card li::before,
.price-card li::before {
    color: var(--brand);
    content: "+";
    font-weight: 900;
    left: 0;
    position: absolute;
}

.section {
    padding: 78px 0;
}

.section-contrast {
    background: #fff;
}

.section-heading {
    margin-bottom: 34px;
    max-width: 780px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.price-card,
.portfolio-card,
.post-card,
.contact-card {
    background: var(--surface);
    border: 1px solid rgba(31, 41, 51, 0.09);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, 0.07);
}

.info-card {
    min-height: 210px;
    padding: 26px;
}

.info-card p,
.portfolio-card p,
.price-card p,
.post-card p,
.contact-section p {
    color: var(--muted);
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.price-card.featured {
    background: var(--deep);
    color: #fff;
}

.price-card.featured p,
.price-card.featured span {
    color: rgba(255, 255, 255, 0.76);
}

.price-card > span {
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.price-card .button {
    margin-top: auto;
}

.portfolio-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-card h3,
.portfolio-card p {
    padding: 0 20px;
}

.portfolio-visual {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(14, 143, 131, 0.82), rgba(230, 106, 58, 0.72)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38) 8px, transparent 8px, transparent 22px);
    margin-bottom: 20px;
}

.timeline {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
    border-top: 3px solid var(--brand);
    padding-top: 20px;
}

.timeline span {
    color: var(--accent);
    font-weight: 900;
}

.timeline p {
    color: var(--muted);
}

.contact-grid {
    align-items: start;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
}

.payment-section {
    background: var(--deep);
    color: #fff;
}

.payment-grid {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
}

.payment-section .eyebrow {
    color: #8be3d8;
}

.payment-section p {
    color: rgba(255, 255, 255, 0.74);
    max-width: 660px;
}

.payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.payment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--ink);
    padding: 28px;
}

.payment-card > span {
    color: var(--brand-dark);
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.payment-card strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.1;
}

.payment-methods {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0;
}

.payment-methods em {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    font-style: normal;
    font-weight: 900;
    padding: 12px;
    text-align: center;
}

.contact-card {
    padding: 12px;
}

.contact-row {
    border-radius: 8px;
    display: block;
    padding: 18px;
}

.contact-row + .contact-row {
    border-top: 1px solid var(--line);
}

.contact-row span {
    color: var(--muted);
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
}

.contact-row strong {
    display: block;
    overflow-wrap: anywhere;
}

.content-layout {
    max-width: 860px;
}

.post-card {
    margin-bottom: 24px;
    padding: clamp(26px, 5vw, 48px);
}

.post-card h1 a {
    color: var(--ink);
}

.entry-content a {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: underline;
}

.elementor-page-shell {
    background: var(--bg);
    min-height: 60vh;
}

.elementor-page-shell .elementor-section-wrap,
.elementor-page-shell .elementor {
    width: 100%;
}

.site-footer {
    background: var(--deep);
    color: #fff;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-grid p,
.footer-bottom {
    color: rgba(255, 255, 255, 0.68);
}

.footer-grid span {
    color: rgba(255, 255, 255, 0.76);
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-grid a {
    display: block;
    margin: 6px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 36px;
    padding-top: 20px;
}

@media (max-width: 920px) {
    .header-inner {
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        display: none;
        left: 24px;
        padding: 12px;
        position: absolute;
        right: 24px;
        top: 72px;
    }

    .main-nav.is-open {
        display: block;
    }

    .menu {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-grid,
    .payment-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.three,
    .portfolio-grid,
    .timeline,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        padding-top: 56px;
    }

    h1 {
        font-size: 2.45rem;
    }

    .hero-actions,
    .payment-actions,
    .button {
        width: 100%;
    }

    .hero-meta,
    .card-grid.three,
    .portfolio-grid,
    .timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 390px;
    }

    .section {
        padding: 56px 0;
    }
}
