:root {
    --ink: #172322;
    --muted: #5c6764;
    --paper: #faf8f3;
    --white: #ffffff;
    --line: #dcd7cd;
    --evergreen: #103c3a;
    --evergreen-2: #1f5b54;
    --clay: #a44f3e;
    --ochre: #c28b2c;
    --mist: #e7efeb;
    --shadow: 0 20px 50px rgba(16, 60, 58, .14);
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    z-index: 30;
    padding: .75rem 1rem;
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    padding: .75rem;
}

.nav-shell {
    width: min(1180px, calc(100% - 1rem));
    margin: 0 auto;
    min-height: 68px;
    padding: .55rem .65rem .55rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(250, 248, 243, .9);
    border: 1px solid rgba(220, 215, 205, .78);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(23, 35, 34, .1);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--evergreen);
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: .98rem;
    line-height: 1.15;
    max-width: 270px;
}

.brand small {
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.2;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.4rem;
}

.nav-links a,
.site-footer a {
    text-decoration: none;
}

.nav-links a {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.is-active,
.site-footer a:hover {
    color: var(--clay);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .85rem 1.1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.nav-cta {
    display: none;
    color: var(--white);
    background: var(--evergreen);
    font-size: .9rem;
}

.button:hover,
.nav-cta:hover {
    transform: translateY(-1px);
}

.button.primary,
.button.submit {
    color: var(--white);
    background: var(--evergreen);
}

.button.primary:hover,
.button.submit:hover,
.nav-cta:hover {
    background: var(--evergreen-2);
}

.button.secondary {
    color: var(--white);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .52);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, .22);
}

.button.outline {
    color: var(--evergreen);
    background: transparent;
    border-color: rgba(16, 60, 58, .34);
}

.button.outline:hover {
    border-color: var(--evergreen);
    background: rgba(16, 60, 58, .06);
}

.hero {
    position: relative;
    min-height: 91svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--evergreen);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(9, 28, 27, .88), rgba(16, 60, 58, .58) 45%, rgba(9, 28, 27, .28)),
        linear-gradient(0deg, rgba(9, 28, 27, .8), rgba(9, 28, 27, .02) 58%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 8.8rem 0 4.5rem;
}

.eyebrow {
    margin: 0 0 .9rem;
    color: var(--ochre);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.proof-content h2,
.contact-copy h2,
.legal-hero h1 {
    margin: 0;
    font-family: var(--serif);
    line-height: .98;
    letter-spacing: 0;
}

.hero h1 {
    width: min(820px, 100%);
    font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-copy {
    width: min(640px, 100%);
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 2rem;
}

.trust-row span {
    padding: .48rem .72rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 6px;
    color: rgba(255, 255, 255, .84);
    font-size: .84rem;
    font-weight: 700;
}

.section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5rem 0;
}

.intro-strip {
    padding: 2rem 0 0;
}

.intro-strip p {
    margin: 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--evergreen);
    font-family: var(--serif);
    font-size: clamp(1.65rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.06;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2,
.proof-content h2,
.contact-copy h2,
.legal-hero h1 {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.section-heading p,
.proof-content p,
.contact-copy p,
.legal-hero p {
    color: var(--muted);
    font-size: 1.05rem;
}

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

.service-card {
    min-height: 420px;
    padding: 1.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-card.accent {
    background: var(--mist);
}

.service-number {
    display: inline-block;
    margin-bottom: 2.6rem;
    color: var(--clay);
    font-weight: 900;
}

.service-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    line-height: 1.02;
}

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

.service-card ul {
    display: grid;
    gap: .75rem;
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--ink);
    font-weight: 600;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68rem;
    width: .48rem;
    height: .48rem;
    background: var(--ochre);
    border-radius: 50%;
}

.proof-band {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.proof-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.method-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.5rem;
}

.method-list div {
    display: grid;
    gap: .25rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.method-list strong {
    color: var(--evergreen);
    font-size: 1.05rem;
}

.method-list span {
    color: var(--muted);
}

.benefits {
    display: grid;
    gap: 1rem;
    padding-top: 1rem;
}

.benefit {
    padding: 1.2rem 0;
    border-top: 1px solid var(--line);
}

.benefit span {
    display: block;
    color: var(--clay);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.benefit strong {
    display: block;
    margin-top: .4rem;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    line-height: 1.08;
}

.contact-section {
    display: grid;
    gap: 2rem;
    align-items: start;
    padding-bottom: 6rem;
}

.contact-copy img {
    margin-top: 1.6rem;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.field-group {
    display: grid;
    gap: .45rem;
}

.field-group label {
    font-size: .9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c9c3b8;
    border-radius: 6px;
    padding: .85rem .9rem;
    color: var(--ink);
    background: #fffdf8;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(194, 139, 44, .24);
    border-color: var(--ochre);
}

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

.form-alert {
    padding: .95rem;
    border-radius: 8px;
    font-size: .95rem;
}

.form-alert.success {
    color: #123b28;
    background: #e3f4ea;
    border: 1px solid #9fd3b6;
}

.form-alert.error {
    color: #7a241c;
    background: #fae8e5;
    border: 1px solid #e0aaa1;
}

.form-alert ul {
    margin: .65rem 0 0;
    padding-left: 1.2rem;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
}

.site-footer {
    color: rgba(255, 255, 255, .84);
    background: #0f2524;
    padding: 3rem 1rem 1.2rem;
}

.footer-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.footer-brand .brand-mark {
    background: var(--ochre);
    color: #1d160a;
}

.footer-grid h2 {
    margin: 0 0 .85rem;
    color: var(--white);
    font-size: .9rem;
    text-transform: uppercase;
}

.footer-grid p {
    margin: .35rem 0;
}

.footer-grid a {
    display: block;
    margin: .35rem 0;
}

.footer-bottom {
    width: min(1180px, 100%);
    margin: 2rem auto 0;
    padding-top: 1rem;
    display: grid;
    gap: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .64);
    font-size: .82rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 25;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

.legal-page {
    padding-top: 7rem;
}

.services-page {
    padding-top: 7rem;
}

.services-hero {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0 2.5rem;
}

.services-hero h1,
.service-detail h2,
.service-image-band h2,
.services-cta h2 {
    margin: 0;
    font-family: var(--serif);
    line-height: 1;
    letter-spacing: 0;
}

.services-hero h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
}

.services-hero p,
.service-detail p,
.service-image-band p,
.services-cta p {
    color: var(--muted);
    font-size: 1.05rem;
}

.services-hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-detail-grid {
    display: grid;
    gap: 1rem;
}

.service-detail {
    display: grid;
    gap: 2rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-detail.clay {
    background: #f5ece6;
}

.service-detail h2,
.service-image-band h2,
.services-cta h2 {
    font-size: clamp(1.9rem, 4.5vw, 3.5rem);
}

.service-detail ul {
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-detail li {
    position: relative;
    padding-left: 1.35rem;
    font-weight: 700;
}

.service-detail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68rem;
    width: .48rem;
    height: .48rem;
    background: var(--ochre);
    border-radius: 50%;
}

.service-image-band {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
}

.service-image-band img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 8px;
}

.mini-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.4rem;
}

.mini-steps span {
    padding: .85rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--evergreen);
    font-size: .9rem;
    font-weight: 800;
}

.service-proof {
    padding-top: 2rem;
}

.service-benefits {
    width: 100%;
}

.services-cta {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 5rem;
    display: block;
    color: var(--white);
    border-radius: 8px;
    background: var(--evergreen);
}

.services-cta div {
    width: min(680px, 100%);
    padding: clamp(1.2rem, 5vw, 3rem);
}

.services-cta p {
    color: rgba(255, 255, 255, .82);
}

.legal-hero,
.legal-content {
    width: min(860px, calc(100% - 2rem));
    margin: 0 auto;
}

.legal-hero {
    padding: 3rem 0 2rem;
}

.legal-content {
    padding-bottom: 5rem;
}

.legal-content p {
    color: var(--muted);
    font-size: 1.06rem;
}

.legal-contact {
    display: grid;
    gap: .25rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

@media (min-width: 720px) {
    .nav-links,
    .nav-cta {
        display: flex;
    }

    .hero-content {
        padding-bottom: 5.6rem;
    }

    .service-grid,
    .benefits,
    .field-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .service-grid,
    .benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-card {
        grid-column: span 1;
    }

    .service-card:first-child {
        grid-column: span 2;
    }

    .proof-band,
    .contact-section,
    .services-hero,
    .service-image-band {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail {
        grid-template-columns: .9fr 1.1fr;
        align-items: start;
        padding: 1.7rem;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr .8fr;
    }
}

@media (max-width: 520px) {
    .site-header {
        padding: .5rem;
    }

    .nav-shell {
        width: 100%;
        min-height: 62px;
    }

    .brand small {
        display: none;
    }

    .brand strong {
        max-width: 190px;
        font-size: .88rem;
    }

    .hero-content {
        width: min(100% - 1rem, 1180px);
    }

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

    .section {
        width: min(100% - 1rem, 1180px);
        padding: 3.5rem 0;
    }

    .contact-form,
    .service-card {
        padding: 1rem;
    }

    .mini-steps {
        grid-template-columns: 1fr;
    }

    .services-cta {
        width: min(100% - 1rem, 1180px);
    }
}
