/* Explain: Styles for various UI components and layout elements. */
.site-header {
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.92), rgba(251, 249, 245, 0.62));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.section-kicker.justify-center::before {
    display: none;
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(251, 249, 245, 0.9), rgba(255, 255, 255, 0.6));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.signature-media {
    mix-blend-mode: multiply;
    filter: brightness(1.14) contrast(1.03);
}

.signature-media.is-clean {
    mix-blend-mode: normal;
    filter: none;
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(198, 161, 91, 0.44);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(251, 249, 245, 0.55);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(72vh, 680px);
    min-height: 480px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.floating-note {
    position: absolute;
    right: -1.25rem;
    bottom: 3.5rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.service-card,
.feature-card,
.testimonial-card,
.blog-card,
.convenio-chip,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(251, 249, 245, 0.7);
    padding: 1.25rem;
}

.service-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    border-radius: 2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(198, 161, 91, 0.55);
    box-shadow: 0 26px 80px rgba(14, 59, 67, 0.12);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    height: 3.2rem;
    width: 3.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--gold-soft);
    padding: 0.4rem 0.95rem;
    color: #8A6A2F;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feature-card {
    display: flex;
    gap: 1rem;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.feature-card i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.blog-card:hover {
    border-color: rgba(198, 161, 91, 0.5);
    box-shadow: 0 26px 80px rgba(14, 59, 67, 0.12);
    transform: translateY(-6px);
}

.blog-media {
    overflow: hidden;
}

.blog-media img {
    transition: transform 500ms ease;
}

.blog-card:hover .blog-media img {
    transform: scale(1.05);
}

.blog-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.75rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.8rem;
    padding: 2rem;
}

.testimonial-card p {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.convenio-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.dark-band .convenio-chip {
    border-color: rgba(251, 249, 245, 0.18);
    background: rgba(251, 249, 245, 0.06);
    color: #E7EFEA;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
}

.timeline-dot {
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--gold-soft);
}

.article-body {
    color: var(--text-color);
    font-size: 1.02rem;
    line-height: 1.95;
}

.article-body p {
    margin-bottom: 1.4rem;
}

.article-body h2 {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    list-style: disc;
}

.article-body li {
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.article-body strong {
    color: var(--primary-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item p {
    padding-bottom: 1.4rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #2E7D5B;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(251, 249, 245, 0.9);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.footer-logo-disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(198, 161, 91, 0.6);
    border-radius: 999px;
    padding: 0.65rem;
    background: radial-gradient(circle at 50% 32%, #FFFFFF 0%, #FBF9F5 58%, #EFEADA 100%);
    box-shadow: 0 0 0 0.45rem rgba(251, 249, 245, 0.07), 0 22px 54px rgba(0, 0, 0, 0.34);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.footer-logo-disc:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 0.45rem rgba(198, 161, 91, 0.16), 0 26px 62px rgba(0, 0, 0, 0.4);
}

.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(14, 59, 67, 0.35);
    padding: 1rem;
}

.contact-overlay.is-open {
    display: block;
}

.contact-overlay-panel {
    min-height: calc(100vh - 2rem);
    border-radius: 2.2rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 90px rgba(14, 59, 67, 0.25);
}

.service-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    overflow-y: auto;
    background: rgba(14, 59, 67, 0.45);
    padding: 1rem;
}

.service-overlay.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-overlay-panel {
    position: relative;
    width: 100%;
    max-width: 42rem;
    margin: auto;
    border: 1px solid var(--glass-border);
    border-radius: 2.2rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 90px rgba(14, 59, 67, 0.3);
}

.wa-float {
    position: fixed;
    right: 1.1rem;
    bottom: 5.5rem;
    z-index: 50;
    display: inline-flex;
    height: 3.4rem;
    width: 3.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--whatsapp);
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease, background 300ms ease;
}

.wa-float:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-4px);
}

@media (min-width: 768px) {
    .wa-float {
        right: 1.6rem;
        bottom: 1.6rem;
    }
}

.service-detail-toggle {
    display: inline-flex;
    min-height: 2.75rem;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-color);
    padding: 0.75rem 1.35rem;
    color: var(--background-color);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 300ms ease;
}

.service-detail-toggle:hover {
    background: var(--primary-hover);
}

.service-detail-label-open {
    display: none;
}

.service-detail.is-open .service-detail-label-open {
    display: inline;
}

.service-detail.is-open .service-detail-label-closed {
    display: none;
}

.service-detail-arrow {
    transition: transform 300ms ease;
}

.service-detail.is-open .service-detail-arrow {
    transform: rotate(90deg);
}

.service-detail-body {
    display: none;
    margin-top: 1.35rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.35rem;
}

.service-detail.is-open .service-detail-body {
    display: block;
}

.service-detail-body p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.service-detail-body p:last-child {
    margin-bottom: 0;
}

.service-acc > summary {
    display: block;
    list-style: none;
    cursor: pointer;
}

.service-acc > summary::-webkit-details-marker {
    display: none;
}

.service-acc-label-open {
    display: none;
}

.service-acc[open] .service-acc-label-open {
    display: inline;
}

.service-acc[open] .service-acc-label-closed {
    display: none;
}

.service-acc-arrow {
    transition: transform 300ms ease;
}

.service-acc[open] .service-acc-arrow {
    transform: rotate(90deg);
}

.service-acc-body {
    margin-top: 1.35rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.35rem;
}

.service-acc-body p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.service-acc-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large {
        height: 470px;
        min-height: 0;
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.2rem auto 0;
    }
}