:root {
    --teal-950: #07262c;
    --teal-900: #0a3d44;
    --teal-800: #0e4f58;
    --teal-700: #15656f;
    --teal-600: #1a7a85;
    --sage: #7fbf98;
    --sage-dark: #5a9a74;
    --whatsapp: #1f9d55;
    --whatsapp-hover: #178a48;
    --cream: #f4f8f6;
    --white: #ffffff;
    --text: #1c2e32;
    --text-muted: #4a6064;
    --border: #d5e4e2;
    --shadow: 0 10px 30px rgba(14, 79, 88, 0.08);
    --shadow-lg: 0 18px 40px rgba(14, 79, 88, 0.12);
    --radius: 18px;
    --header-h: 84px;
    --font-serif: "Source Serif 4", Georgia, serif;
    --font-sans: Inter, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    padding-bottom: 72px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--teal-700);
    text-decoration: none;
}

a:hover {
    color: var(--teal-900);
}

h1, h2, h3 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--teal-900);
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

ul {
    margin: 0;
    padding: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 0;
    transform: translateY(-100%);
    background: var(--teal-800);
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
}

.skip-link:focus {
    transform: translateY(12px);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

#main,
.site-footer {
    position: relative;
    z-index: 1;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--cream);
}

.section-head {
    max-width: 640px;
    margin-bottom: 36px;
}

.section-cta {
    margin-top: 32px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-lg {
    padding: 14px 22px;
}

.btn-primary {
    background: var(--teal-700);
    color: #fff;
    box-shadow: 0 8px 18px rgba(21, 101, 111, 0.25);
}

.btn-primary:hover {
    background: var(--teal-900);
    color: #fff;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-ghost-dark {
    background: transparent;
    color: var(--teal-800);
    border: 1.5px solid var(--teal-700);
}

.btn-ghost-dark:hover {
    background: var(--teal-800);
    color: #fff;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 400;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(7, 38, 44, 0.08);
    border-bottom-color: var(--border);
}

.header-inner {
    width: min(1180px, calc(100% - 24px));
    margin-inline: auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-900);
    min-width: 0;
    flex: 1 1 auto;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-owner {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.primary-nav {
    margin-left: 0;
}

.primary-nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
}

.primary-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 999px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    background: var(--cream);
    color: var(--teal-800);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
}

.icon-btn-call {
    background: var(--teal-700);
}

.icon-btn-call:hover {
    background: var(--teal-900);
    color: #fff;
}

.icon-btn-wa {
    background: var(--whatsapp);
}

.icon-btn-wa:hover {
    background: var(--whatsapp-hover);
    color: #fff;
}

.header-book {
    display: none;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    margin-left: -9px;
    background: var(--teal-800);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url("../images/hero.jpg") center/cover no-repeat;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 38, 44, 0.88) 0%, rgba(14, 79, 88, 0.74) 52%, rgba(10, 50, 56, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 64px 0;
    max-width: 720px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    margin-bottom: 16px;
}

.hero .eyebrow {
    color: var(--sage);
}

.hero-lead {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

/* Trust */
.trust-bar {
    background: var(--teal-900);
    color: #fff;
    padding: 36px 0;
}

.trust-grid {
    display: grid;
    gap: 22px;
}

.trust-grid article {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.trust-grid i {
    font-size: 1.4rem;
    color: var(--sage);
    margin-top: 4px;
}

.trust-grid h2 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.trust-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

/* Cards */
.card-grid {
    display: grid;
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--teal-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.service-card h3,
.service-card p {
    margin-bottom: 8px;
}

.card-link {
    margin-top: auto;
    padding-top: 12px;
    font-weight: 600;
    color: var(--teal-700);
    font-size: 0.92rem;
}

.about-preview {
    display: grid;
    gap: 28px;
}

.why-list {
    list-style: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.why-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.why-list li:last-child {
    border-bottom: 0;
}

.why-list i {
    color: var(--sage-dark);
    margin-top: 4px;
}

.contact-preview {
    display: grid;
    gap: 28px;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--teal-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-list-lg li {
    padding: 6px 0;
}

.sep {
    margin: 0 6px;
    color: var(--text-muted);
}

.cta-panel,
.quote-card,
.form-card,
.value-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    border: 1px solid var(--border);
}
.form-card{
    height: 100%;
}

.cta-panel {
    background: var(--cream);
}

/* Page hero */
.page-hero {
    background:
        linear-gradient(105deg, rgba(7, 38, 44, 0.9), rgba(14, 79, 88, 0.78)),
        url("../images/hero.jpg") center/cover no-repeat;
    color: #fff;
    padding: 72px 0 64px;
}

.page-hero h1,
.page-hero p {
    color: #fff;
}

.page-hero .eyebrow {
    color: var(--sage);
}

.page-hero p {
    max-width: 62ch;
}

/* Accordion */
.services-full {
    display: grid;
    gap: 16px;
}

.accordion-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-margin-top: 100px;
    overflow: hidden;
}

.accordion-card h2 {
    margin: 0;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: none;
    border: 0;
    padding: 20px 22px;
    cursor: pointer;
    font-family: inherit;
}

.accordion-trigger .service-icon {
    margin: 0;
    flex-shrink: 0;
}

.accordion-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.accordion-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal-900);
}

.accordion-summary {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.accordion-caret {
    margin-left: auto;
    color: var(--teal-700);
    transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-caret {
    transform: rotate(180deg);
}

.accordion-panel {
    padding: 0 22px 22px;
}

.treatment-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.treatment-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.treatment-list i {
    color: var(--sage-dark);
    margin-top: 4px;
}

.accordion-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* About */
.prose-grid {
    display: grid;
    gap: 24px;
}

.prose p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.quote-card {
    background: var(--teal-900);
    color: #fff;
    border: 0;
    align-self: start;
}

.quote-card p {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.45;
    color: #fff;
}

.quote-card footer {
    color: var(--sage);
    font-weight: 600;
}

.values-grid {
    display: grid;
    gap: 18px;
}

.value-card i {
    font-size: 1.4rem;
    color: var(--teal-700);
    margin-bottom: 10px;
}

.cta-banner {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    gap: 18px;
}

/* Contact */
.contact-layout {
    display: grid;
    gap: 32px;
}

.map-wrap {
    margin-top: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    box-shadow: var(--shadow);
}

.map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--teal-600);
    outline-offset: 1px;
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.alert ul {
    padding-left: 18px;
}

.alert-success {
    background: #e8f7ee;
    color: #1b5c38;
}

.alert-error {
    background: #fdecec;
    color: #8a1f1f;
}

/* Footer */
.site-footer {
    background: var(--teal-950);
    color: rgba(255, 255, 255, 0.86);
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    gap: 28px;
    padding-bottom: 32px;
}

.footer-brand img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 12px;
}

.site-footer h2 {
    color: #fff;
    font-size: 1.1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
    color: var(--sage);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--sage);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 24px;
    font-size: 0.88rem;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Mobile CTA bar */
.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 60px;
}

.mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
}

.mobile-cta-call {
    background: var(--teal-700);
}

.mobile-cta-wa {
    background: var(--whatsapp);
}

body.nav-open {
    overflow: hidden;
}

@media (min-width: 720px) {
    .trust-grid,
    .card-grid,
    .values-grid,
    .about-preview,
    .contact-preview,
    .prose-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .treatment-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 980px) {
    body {
        padding-bottom: 0;
    }

    .nav-toggle,
    .mobile-cta {
        display: none;
    }

    .header-book {
        display: inline-flex;
    }

    .brand {
        flex: 0 1 auto;
    }

    .primary-nav {
        position: static;
        inset: auto;
        width: auto;
        height: auto;
        margin-left: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        overflow: visible;
        transform: none;
        display: block;
    }

    .header-actions {
        margin-left: 0;
    }

    .card-grid,
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 0.8fr 1.1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .cta-banner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 979px) {
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 60px;
        width: 100%;
        margin: 0;
        padding: 16px 20px 24px;
        background: #fff;
        z-index: 401;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: none;
        box-shadow: none;
        border-top: 1px solid var(--border);
        display: none;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
        max-width: 1180px;
        margin-inline: auto;
    }

    .primary-nav a {
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .brand-owner {
        display: none;
    }
}

@media (min-width: 720px) and (max-width: 979px) {
    .primary-nav {
        left: auto;
        right: 0;
        width: 50%;
        box-shadow: -16px 0 40px rgba(7, 38, 44, 0.14);
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 50%;
        bottom: 60px;
        z-index: 400;
        background: rgba(7, 38, 44, 0.28);
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    body.nav-open .nav-backdrop {
        display: block;
    }
}

@media (max-width: 480px) {
    :root {
        --header-h: 72px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .icon-btn,
    .nav-toggle {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .service-card,
    .primary-nav {
        transition: none;
    }
}
