/* Explain: Styling for reusable UI components like buttons and cards. */
/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: 0 14px 34px -28px rgba(14, 44, 29, 0.5);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1rem;
    flex: none;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.24rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

.brand-text em {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-block: 0.4rem;
    border: 0;
    background: none;
    font-family: var(--font-body);
    font-size: 0.94rem;
    letter-spacing: 0.03em;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-link.is-active {
    color: var(--primary-color);
}

.nav-drop {
    position: relative;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 12rem;
    display: flex;
    flex-direction: column;
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-drop-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.95rem;
    height: 0.95rem;
}

.nav-drop-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-drop-menu a:hover,
.nav-drop-menu a.is-active {
    background: var(--surface-color);
    color: var(--primary-color);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    color: var(--text-color);
    font-size: 1.05rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border-color);
}

.mobile-link.is-active {
    color: var(--primary-color);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.7rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-green {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(27, 127, 77, 0.85);
}

.btn-green:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-color);
    background: #fff;
}

.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--secondary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45);
}

.btn-whatsapp {
    background: #25d366;
    color: #07321c;
}

.btn-whatsapp:hover {
    background: #1eb356;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.15rem;
    font-size: 0.68rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.link-green {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.link-green i {
    transition: transform 0.3s ease;
}

.link-green:hover {
    color: var(--secondary-color);
}

.link-green:hover i {
    transform: translateX(4px);
}

.wa-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.4rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #128c4a;
}

.wa-inline i {
    font-size: 1rem;
}

.wa-inline:hover {
    color: #0d6b38;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.eyebrow.centered::after {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.display {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
}

.h-section {
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    line-height: 1.1;
}

.lede {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ---------- Cards ---------- */
.svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1.15rem;
    flex: none;
}

.info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.9rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: var(--surface-color);
    color: var(--primary-color);
    font-size: 1.15rem;
    flex: none;
}

.treat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.treat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.treat-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.treat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.treat-card:hover .treat-media img {
    transform: scale(1.06);
}

.treat-body {
    padding: 1.2rem 1.4rem 1.5rem;
}

.treat-body h3 {
    font-size: 1.3rem;
}

.treat-body p {
    margin-top: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.check-list i {
    margin-right: 0.55rem;
    font-size: 0.75rem;
    color: var(--primary-color);
}

/* ---------- Gallery ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #fff;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.gal-item {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-color);
    cursor: pointer;
}

.gal-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gal-item:hover img {
    transform: scale(1.05);
}

.gal-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.gal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(9, 34, 22, 0.88), rgba(9, 34, 22, 0.12) 62%, rgba(9, 34, 22, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gal-item:hover .gal-overlay,
.gal-item:focus-visible .gal-overlay {
    opacity: 1;
}

.gal-cap .cat {
    font-size: 0.62rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.gal-cap h3 {
    margin-top: 0.35rem;
    font-size: 1.22rem;
    color: #fff;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(7, 26, 17, 0.95);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-img {
    width: auto;
    max-width: 100%;
    max-height: 84vh;
    border-radius: var(--radius);
    box-shadow: 0 35px 70px -35px rgba(0, 0, 0, 0.85);
}

.lightbox-btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.lightbox-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.lb-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lb-prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    padding-inline: 4rem;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

/* ---------- Forms ---------- */
.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
    resize: vertical;
    min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--green-soft);
}

.status-box {
    padding: 1rem 1.15rem;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.status-ok {
    background: #eefaf2;
    border: 1px solid #c2e6d0;
    color: #14643c;
}

.status-err {
    background: #fdf1f1;
    border: 1px solid #f3d2d2;
    color: #9b2c2c;
}

.wa-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wa-continue:hover {
    background: #1eb356;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-line i {
    margin-top: 0.25rem;
    color: var(--primary-color);
}

.contact-line b {
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-color);
}

/* ---------- Quote / stats / steps ---------- */
.quote-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    height: 100%;
    padding: 2.1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.quote-mark {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
}

.quote-who {
    margin-top: auto;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat b {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-color);
}

.stat span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-light b {
    color: var(--accent-color);
}

.stat-light span {
    color: rgba(255, 255, 255, 0.75);
}

.step {
    position: relative;
    padding-left: 3.6rem;
}

.step-num {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-deep);
    color: rgba(255, 255, 255, 0.74);
}

.site-footer .brand-text {
    color: #fff;
}

.site-footer .brand-text em {
    color: var(--accent-color);
}

.footer-title {
    margin-bottom: 1.1rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 18px 34px -16px rgba(37, 211, 102, 0.9);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wa-float i {
    font-size: 1.45rem;
}

.wa-float:hover {
    background: #1eb356;
    transform: translateY(-3px);
}

.wa-float-label {
    display: none;
}

@media (min-width: 640px) {
    .wa-float-label {
        display: inline;
    }
}