:root {
    --primary: #8a0045;
    --primary-soft: #faf5f7;
    --accent: #d4af37;
    --gold: #caa15c;
    --gold-deep: #a88446;
    --text: #333333;
    --muted: #555555;
    --surface: #ffffff;
    --border: rgba(138, 0, 69, 0.12);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #8a0045 0%, #a02058 50%, #d4af37 100%);
    color: var(--text);
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background: var(--surface);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.site-header {
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    margin-bottom: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(138, 0, 69, 0.10);
    box-shadow: inset 0 -1px 0 rgba(202, 161, 92, 0.10);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo {
    width: 110px;
    height: 142px;
    object-fit: contain;
    display: block;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px 8px;
    flex: 1;
    min-width: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 42px;
    text-decoration: none;
    color: var(--primary);
    border: 1px solid rgba(138, 0, 69, 0.12);
    border-radius: 13px;
    padding: 0 15px 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(138, 0, 69, 0.05);
    white-space: nowrap;
    line-height: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 6px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.site-nav a[aria-current="page"] {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(138, 0, 69, 0.15);
}

.site-nav a[aria-current="page"]::after {
    opacity: 1;
}

.eyebrow {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 15px;
}

h1 {
    color: var(--primary);
    font-size: 2.7rem;
    line-height: 1.15;
    margin-bottom: 18px;
}

.lead {
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.65;
    max-width: 820px;
    margin-bottom: 16px;
}

.supporting-copy,
.card p,
.card li {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.supporting-copy {
    max-width: 780px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.16);
}

.button-primary {
    background: var(--primary);
    color: #ffffff;
}

.button-secondary {
    background: #ffffff;
    color: var(--primary);
    border-color: var(--border);
}

main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card h2 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.card h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.section-intro {
    margin-bottom: 20px;
    max-width: 860px;
}

.service-grid,
.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.service-group,
.info-panel,
.faq-item {
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.service-group ul,
.checklist,
.link-list,
.plain-list {
    list-style: none;
    padding-left: 0;
}

.checklist li,
.plain-list li,
.link-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.checklist li::before,
.plain-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: 700;
}

.link-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: 700;
}

.link-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.link-list a:hover,
.button:hover,
.email-link:hover,
.footer-links a:hover,
.footer-contact-row a:hover,
.form-direct-link a:hover,
.cta-secondary-note a:hover {
    text-decoration: underline;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: none;
    background-color: var(--primary-soft);
    border-color: rgba(138, 0, 69, 0.22);
    box-shadow: 0 3px 8px rgba(138, 0, 69, 0.07);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    opacity: 0.85;
}

.site-nav a:focus-visible {
    outline: 2px solid rgba(202, 161, 92, 0.50);
    outline-offset: 2px;
}

.site-nav a[aria-current="page"]:hover,
.site-nav a[aria-current="page"]:focus-visible {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(138, 0, 69, 0.17);
}

.site-nav a[aria-current="page"]:hover::after,
.site-nav a[aria-current="page"]:focus-visible::after {
    opacity: 1;
}

.callout {
    background: #fff9f0;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 20px;
}

.cta-card {
    text-align: center;
    background: linear-gradient(135deg, #8a0045 0%, #a02058 50%, #d4af37 100%);
    color: #ffffff;
}

.cta-card h2,
.cta-card h3,
.cta-card p,
.cta-card li,
.cta-card .contact-note {
    color: rgba(255, 255, 255, 0.96);
}

.cta-card h2::after {
    background: #ffffff;
}

.cta-card .button-primary {
    background: #ffffff;
    color: var(--primary);
}

.cta-card .button-row {
    justify-content: center;
}

.cta-card .button-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.cta-secondary-note {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.98rem;
    line-height: 1.6;
}

.cta-secondary-note a {
    color: #ffffff;
    font-weight: 700;
}

.contact-note {
    max-width: 760px;
    margin: 0 auto 20px;
}

.consultation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 22px;
    align-items: start;
}

.consultation-form-card,
.consultation-side-card {
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
}

.consultation-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
    text-align: left;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(138, 0, 69, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    background: #ffffff;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(138, 0, 69, 0.18);
    border-color: rgba(138, 0, 69, 0.34);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: #b42318;
    background: #fff7f6;
}

.consultation-form .field-error {
    margin: 0;
    color: #b42318;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.form-hint {
    margin-top: -4px;
    color: #6b6266;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-direct-link {
    margin-top: -6px;
    color: #6b6266;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-direct-link a {
    color: var(--primary);
    font-weight: 600;
}

.form-direct-link .whatsapp-inline-link {
    color: #128c7e;
}

.form-feedback {
    margin-top: 12px;
    background: #fff9f0;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.6;
}

.form-feedback.is-error {
    background: #fff7f6;
    border-left-color: #b42318;
}

.form-feedback.is-success {
    background: #f7fff9;
    border-left-color: #16803c;
}

.consultation-side-card h3 + p,
.consultation-side-card p + p {
    margin-top: 12px;
}

.consultation-side-card .checklist {
    margin-top: 16px;
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.email-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.section-links {
    margin-top: 22px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.footer-contact-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.footer-contact-row a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-social-link .social-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social-link .social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-social-linkedin .social-icon {
    color: #0a66c2;
}

.footer-social-linkfacebook .social-icon {
    color: #1877f2;
}

.footer-social-linkwhatsapp .social-icon {
    color: #25d366;
}

@media (max-width: 980px) {
    .service-grid,
    .two-column,
    .three-column,
    .consultation-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .four-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding: 14px;
    }

    .container {
        padding: 24px 12px;
    }

    .card {
        padding: 24px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 14px;
        padding-bottom: 16px;
    }

    .site-nav {
        justify-content: flex-start;
        width: 100%;
        gap: 8px;
    }

    .logo {
        width: 94px;
        height: 121px;
    }

    .site-nav a {
        height: 40px;
        padding: 0 12px 2px;
        font-size: 14px;
    }

    .footer-contact-divider {
        display: none;
    }

    h1 {
        font-size: 2.1rem;
    }

    .lead {
        font-size: 1.1rem;
    }

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

    .button {
        text-align: center;
    }

    .four-column {
        grid-template-columns: 1fr;
    }
}
