/* Contact Section Styles */
.contact-section {
    background: var(--contact-bg-color, #f8f8f8);
    padding: 3rem 2rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    color: #1f1f1f;
}

#contact-section-container .contact-container {
    max-width: 1280px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.contact-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.contact-brand-block h3 {
    margin: 0;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.15;
    color: #222222;
}

.contact-brand-logo {
    width: 176px;
    height: 176px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    margin: 0.2rem 0 1rem;
    color: #c9a96e;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-tagline {
    margin: 0;
    max-width: 34ch;
    color: rgba(30, 30, 30, 0.76);
    font-size: 1rem;
    line-height: 1.45;
}

.ssm-pill {
    margin-top: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.7);
}

.ssm-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #c9a96e;
    flex-shrink: 0;
}

.ssm-pill strong {
    display: block;
    color: #202020;
    font-size: 0.9rem;
    line-height: 1.1;
}

.ssm-pill span {
    color: rgba(0, 0, 0, 0.58);
    font-size: 0.82rem;
    line-height: 1.1;
}

.block-title {
    margin: 0 0 0.9rem;
    color: rgba(0, 0, 0, 0.52);
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 700;
}

.info-row {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
}

.info-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.13);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

.info-text span {
    display: block;
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.56);
    line-height: 1.1;
}

.info-text a,
.info-text p {
    margin: 0.12rem 0 0;
    color: #1f1f1f;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-action-block {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.action-btn {
    height: 44px;
    border-radius: 10px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background-color 0.25s ease;
    will-change: transform;
}

.action-email {
    color: #ffffff;
    border-color: #4f46e5;
    background: #6366f1;
}

.action-whatsapp {
    color: #ffffff;
    background: #25d366;
}

.action-btn i {
    transition: transform 0.25s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.action-email:hover {
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.28);
}

.action-whatsapp:hover {
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
}

.action-btn:hover i {
    transform: translateX(2px);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.qr-card-wrap {
    margin-top: 0.35rem;
    text-align: center;
    width: 100%;
}

.qr-card {
    display: flex;
    width: 100%;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.qr-card img {
    width: 220px;
    height: 220px;
    max-width: 100%;
    object-fit: contain;
}

.qr-card-wrap span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(0, 0, 0, 0.52);
    font-size: 0.95rem;
}

.feature-grid {
    margin-top: 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.64);
    border-radius: 12px;
    padding: 0.95rem 1rem;
}

.feature-no {
    color: #c9a96e;
    font-weight: 700;
    font-size: 1.05rem;
}

.feature-card h4 {
    margin: 0.28rem 0 0.2rem;
    color: #202020;
    font-size: 1.25rem;
    line-height: 1.2;
}

.feature-card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.98rem;
    line-height: 1.35;
}

.contact-bottom-bar {
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.contact-bottom-bar p,
.contact-bottom-bar a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 0.86rem;
}

.bottom-links {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
}

.back-to-top-minimal {
    margin-top: 2.6rem;
    padding: 1.4rem 0 2.4rem;
    text-align: center;
}

.back-to-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
}

.back-to-top-arrow {
    width: 14px;
    height: 14px;
    border-left: 2px solid rgba(0, 0, 0, 0.42);
    border-top: 2px solid rgba(0, 0, 0, 0.42);
    transform: rotate(45deg);
    margin: 0.1rem auto 0;
    animation: backToTopBounceUp 2s infinite;
}

@keyframes backToTopBounceUp {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(3px);
    }
    60% {
        transform: rotate(45deg) translateY(1px);
    }
}

@media (max-width: 1024px) {
    .contact-top-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2.2rem 1rem 1rem;
    }

    #contact-section-container .contact-container {
        padding: 1rem;
    }

    .contact-brand-block h3 {
        font-size: 1.55rem;
    }

    .action-btn {
        width: 100%;
    }

    .bottom-links {
        flex-wrap: wrap;
        gap: 0.7rem;
    }

    .back-to-top-minimal {
        margin-top: 2rem;
        padding-bottom: 1.8rem;
    }
}

@media (max-width: 360px) {
    .contact-section {
        padding: 1.6rem 0.65rem 0.8rem;
    }

    .contact-brand-logo {
        width: 120px;
        height: 120px;
    }

    .contact-brand-block h3 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .brand-subtitle {
        font-size: 0.78rem;
        letter-spacing: 0.05em;
    }

    .brand-tagline {
        font-size: 0.9rem;
    }

    .ssm-pill {
        width: 100%;
        max-width: 100%;
        padding: 0.55rem 0.65rem;
    }

    .action-btn {
        font-size: 0.92rem;
        padding: 0 0.75rem;
    }

    .qr-card {
        padding: 0.6rem;
    }

    .qr-card img {
        width: 150px;
        height: 150px;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}
