/* Explain: Styling for reusable UI components like buttons, cards, section headings, and keyword tags. */
/* ===== Buttons ===== */
.btn-call,
.btn-wa,
.btn-wa-sm,
.btn-ghost-sm,
.hero-btn-primary,
.hero-btn-wa,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-call {
    background: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.15rem;
    min-height: 44px;
    font-size: 0.95rem;
}

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

.btn-wa {
    background: var(--whatsapp-color);
    color: #fff;
    padding: 0.6rem 1.15rem;
    min-height: 44px;
    font-size: 0.95rem;
}

.btn-wa:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

.hero-btn-primary {
    background: var(--accent-color);
    color: #1a1200;
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    min-height: 52px;
}

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

.hero-btn-wa {
    background: var(--whatsapp-color);
    color: #fff;
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    min-height: 52px;
}

.hero-btn-wa:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-wa-sm {
    background: var(--whatsapp-color);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-height: 40px;
}

.btn-wa-sm:hover {
    background: var(--whatsapp-hover);
}

.btn-ghost-sm {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-height: 40px;
}

.btn-ghost-sm:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 0.95rem 2rem;
    font-size: 1rem;
    min-height: 52px;
    border: none;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ===== Section headings ===== */
.section-head {
    max-width: 42rem;
}

.eyebrow {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(15, 81, 50, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-title {
    margin-top: 0.9rem;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-color);
}

.section-sub {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.dark-band .eyebrow {
    color: var(--accent-color);
    background: rgba(217, 155, 43, 0.15);
}

.dark-band .section-title {
    color: #fff;
}

.dark-band .section-sub {
    color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
}

/* ===== Service cards ===== */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(15, 81, 50, 0.35);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-media img {
    transition: transform 0.5s ease;
}

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

.service-icon {
    position: absolute;
    inset-block-end: 0.75rem;
    inset-inline-start: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
}

.service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.service-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
}

.service-body p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.9;
}

.service-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.4rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-color);
}

.service-list li i {
    color: var(--primary-color);
    margin-top: 0.28rem;
    font-size: 0.72rem;
}

/* ===== Gallery + lightbox ===== */
.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-color);
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 26, 19, 0.85), rgba(8, 26, 19, 0) 60%);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-caption {
    position: absolute;
    inset-block-end: 0.7rem;
    inset-inline: 0.8rem;
    z-index: 2;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: start;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(6, 18, 13, 0.92);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(100%, 60rem);
    max-height: 84vh;
    width: auto;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== Feature / step / area / review ===== */
.feature-card,
.step-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover,
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: rgba(15, 81, 50, 0.1);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature-card h3,
.step-card h3 {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-color);
}

.feature-card p,
.step-card p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #1a1200;
    font-family: var(--font-heading);
    font-weight: 800;
}

.area-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.25s ease;
}

.area-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.area-chip i {
    color: var(--accent-color);
}

.area-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.review-card blockquote {
    margin-top: 0.9rem;
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.review-card figcaption {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
}

.review-name {
    font-weight: 800;
    color: var(--text-color);
    font-size: 0.95rem;
}

.review-city {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== FAQ ===== */
.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item + .faq-item {
    margin-top: 0.75rem;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: start;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.faq-question i {
    color: var(--primary-color);
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.9;
}

.faq-answer[hidden] {
    display: none;
}

/* ===== Contact + form ===== */
.contact-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    transition: all 0.3s ease;
}

a.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.05rem;
    flex: 0 0 auto;
}

.contact-icon.is-wa {
    background: var(--whatsapp-color);
}

.contact-card > span {
    display: block;
    min-width: 0;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-value {
    display: block;
    font-weight: 800;
    color: var(--text-color);
    font-size: 0.98rem;
}

.contact-value.is-num {
    direction: ltr;
    unicode-bidi: embed;
}

.quote-form {
    display: grid;
    gap: 1rem;
    margin-top: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    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 {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.12);
}

.form-status {
    min-height: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.is-error {
    color: #b42318;
}

.form-status.is-success {
    color: var(--primary-color);
}

.form-status.is-loading {
    color: var(--text-muted);
}

/* ===== Keyword tags ===== */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 81, 50, 0.07);
    color: var(--primary-color);
    border: 1px solid rgba(15, 81, 50, 0.16);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

.keyword-tag i {
    color: var(--accent-color);
    font-size: 0.68rem;
}

.dark-band .keyword-tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}