/* ================================================================
   Bento Grid — Business Page Stylesheet (Consolidated)
   Mobile-First | Sections: Base · Nav · Grid · Cards · Hero ·
   QuickInfo · CTA · About · Services · Testimonials · Gallery ·
   Contact · Related · Footer · Reveal · Swiper · Modal · SafeArea
   ================================================================ */

/* ===== Base ===== */
body {
    background: var(--gray-100);
    color: var(--text-default);
    -webkit-font-smoothing: antialiased;
}
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 700; line-height: 1.15; margin: 0; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; margin: 0 0 0.6rem; }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; margin: 0 0 0.4rem; }
h5 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 500; margin: 0; line-height: 1.4; }

/* ===== Nav ===== */
.bp-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}
.bp-nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0.6rem 1rem;
    display: flex; align-items: center; gap: 0.8rem;
}
.bp-nav-brand {
    font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--gray-900);
    text-decoration: none; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; flex-shrink: 1; min-width: 0;
}
.bp-nav-links {
    display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; flex-shrink: 0;
}
.bp-nav-links::-webkit-scrollbar { display: none; }
.bp-nav-links a {
    text-decoration: none; color: var(--gray-400); font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    font-weight: 500; white-space: nowrap; padding: 0.3rem 0;
    transition: color 0.2s ease;
}
.bp-nav-links a:hover, .bp-nav-links a:active { color: var(--primary); }
@media (min-width: 768px) {
    .bp-nav-inner { padding: 0.7rem 1.5rem; gap: 1.2rem; }
    .bp-nav-brand { flex-shrink: 0; }
    .bp-nav-links { gap: 1.2rem; overflow: visible; }
}

/* ===== Bento Grid Container ===== */
.bento {
    max-width: 1200px; margin: 0 auto; padding: 0.75rem;
    display: grid; grid-template-columns: 1fr; gap: 0.75rem;
}
@media (min-width: 600px) {
    .bento { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem; }
}
@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 1.5rem; }
}

/* ===== Card Base ===== */
.bento-card {
    background: #fff; border-radius: 16px; padding: 1.2rem;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; position: relative;
}
@media (min-width: 600px) { .bento-card { border-radius: 18px; padding: 1.5rem; } }
@media (min-width: 1024px) {
    .bento-card { border-radius: 20px; padding: 1.8rem; }
    .bento-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
}

/* ===== Card Spans ===== */
.span-2, .span-3, .span-4 { grid-column: span 1; }
@media (min-width: 600px) {
    .span-2, .span-3, .span-4 { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .span-2 { grid-column: span 2; }
    .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
}

/* ===== Hero ===== */
.bento-hero {
    grid-column: span 1; min-height: 200px; padding: 0; border: none;
    border-radius: 16px; overflow: hidden; display: flex;
    align-items: flex-end; background-size: cover; background-position: center;
    position: relative;
}
.bento-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
}
.bento-hero-content {
    position: relative; z-index: 1; padding: 1.2rem; color: #fff; width: 100%;
}
.bento-hero-content h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin-bottom: 0.2rem; }
.bento-hero-content h2 { color: rgba(255,255,255,0.85); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
@media (min-width: 600px) {
    .bento-hero { grid-column: span 2; min-height: 280px; border-radius: 18px; }
    .bento-hero-content { padding: 1.8rem; }
}
@media (min-width: 1024px) {
    .bento-hero { grid-column: span 3; min-height: 340px; border-radius: 20px; }
    .bento-hero-content { padding: 2rem 2.2rem; }
}

/* ===== Quick Info ===== */
.bento-quick-info {
    grid-column: span 1; display: flex; flex-direction: column;
    justify-content: center; gap: 1rem; text-align: center;
}
.bento-quick-info .location-badge {
    background: var(--gray-100); color: var(--gray-500);
    border-radius: 10px; padding: 0.6rem 0.8rem; font-size: clamp(1.2rem, 2vw, 1.3rem);
    font-weight: 500; display: flex; align-items: center;
    gap: 0.4rem; justify-content: center;
}
.bento-quick-info .location-badge .icon { color: var(--primary); font-size: 1.15rem; }
@media (min-width: 600px) {
    .bento-quick-info { grid-column: span 2; flex-direction: row; align-items: center; }
    .bento-quick-info .location-badge { border-radius: 12px; padding: 0.8rem 1rem; }
}
@media (min-width: 1024px) { .bento-quick-info { grid-column: span 1; flex-direction: column; } }

/* ===== CTA Buttons ===== */
.bento-cta-card { display: flex; justify-content: center; align-items: center; }
.span-full { grid-column: 1 / -1; }

.bt-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.bt-text { display: flex; flex-direction: column; text-align: left; }
.btn-primary-custom {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border: none; border-radius: 50px;
    transition: all 0.3s ease; padding: 0.6rem 1.2rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(13,161,112,0.3); min-height: 44px;
}
.btn-primary-custom:hover {
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,161,112,0.4); color: #fff;
}
.bt-div:hover {
    background-color: var(--gray-400); border-color: var(--gray-500);
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@media (min-width: 600px) {
    .bt-icon { width: 24px; height: 24px; }
    .btn-primary-custom { padding: 0.8rem 1.8rem; gap: 1rem; }
}

/* ===== About ===== */
.bento-about-text p { font-size: clamp(1.5rem, 2.5vw, 1.6rem); line-height: 1.7; color: var(--gray-500); margin: 0 0 1rem; text-indent: 1rem; text-align: justify; }
.bento-about-text p:last-child { margin-bottom: 0; }
.bento-about { padding: 1.8rem; }
@media (min-width: 600px) { .bento-about { padding: 2.1rem; } }
@media (min-width: 1024px) { .bento-about { padding: 2.4rem; } }

/* ===== Services ===== */
.bento-services { grid-column: span 1; }
@media (min-width: 600px) { .bento-services { grid-column: span 2; } }
@media (min-width: 1024px) { .bento-services { grid-column: span 4; } }

.bento-services-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin-top: 0.8rem;
}
@media (min-width: 600px) { .bento-services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .bento-services-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }

.bento-service-group {
    background: var(--gray-100); border-radius: 14px; padding: 1rem 1.2rem;
    border: 1px solid var(--gray-200);
}
.bento-service-group h4 {
    color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: clamp(1.5rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem;
}

.bento-service-item {
    padding: 0.3rem 0;
}
.bento-service-item h5 { color: var(--gray-500); font-size: clamp(1.5rem, 2.5vw, 1.6rem); text-align: justify; }

/* ===== Testimonials ===== */
.bento-testimonials { grid-column: span 1; }
@media (min-width: 600px) { .bento-testimonials { grid-column: span 2; } }
@media (min-width: 1024px) { .bento-testimonials { grid-column: span 4; } }

.bento-testimonials-swiper { text-align: left; padding: 0; }
.bento-testimonials-swiper .swiper-slide {
    border: none; background: transparent; padding: 0; border-radius: 0; height: auto;
}
.bento-testimonial-card {
    background: var(--gray-100); border-radius: 12px; padding: 1.2rem;
    height: 100%; display: flex; flex-direction: column; gap: 0.6rem;
}
.bento-testimonial-stars { display: flex; gap: 0.1rem; }
.bento-testimonial-stars .icon { color: #f5a623; font-size: 1.3rem; }
.bento-testimonial-text { font-size: clamp(1.5rem, 2.5vw, 1.6rem); color: var(--gray-500); line-height: 1.5; flex: 1; }
.bento-testimonial-author {
    font-weight: 600; font-size: clamp(1.5rem, 2.5vw, 1.6rem); color: var(--gray-900);
    display: flex; align-items: center; gap: 0.3rem;
}
.bento-testimonial-author .icon { color: var(--primary); font-size: 1.3rem; }
@media (min-width: 600px) {
    .bento-testimonial-card { border-radius: 14px; padding: 1.5rem; gap: 0.8rem; }
}
.bento-testimonial-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.bento-testimonial-actions .btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    border-radius: 10px; font-size: clamp(1.2rem, 2vw, 1.3rem); padding: 0.45rem 0.9rem; min-height: 44px;
}
@media (min-width: 600px) {
    .bento-testimonial-actions .btn { padding: 0.5rem 1rem; gap: 0.5rem; }
}

/* ===== Partner Disclaimer ===== */
.bento-partner-disclaimer {
    text-align: center; padding: 1rem 1.5rem; margin-top: 1.5rem;
    background: transparent; border: none;
}
.bento-partner-disclaimer p {
    font-size: clamp(1.2rem, 2vw, 1.3rem); color: var(--gray-500); margin: 0;
    line-height: 1.6;
}
.bento-partner-disclaimer p + p { margin-top: 0.2rem; }
.partner-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.partner-link:hover { text-decoration: underline; }

/* ===== Gallery / Carousel ===== */
.bento-gallery { grid-column: span 1; }
@media (min-width: 600px) { .bento-gallery { grid-column: span 2; } }
@media (min-width: 1024px) { .bento-gallery { grid-column: span 4; } }

.bento-gallery-swiper .swiper-slide {
    border: none; background: var(--gray-100); border-radius: 12px;
    overflow: hidden; padding: 0;
}
.bento-gallery-btn { border: none; background: none; padding: 0; width: 100%; cursor: pointer; }
.bento-gallery-img { height: 180px; object-fit: cover; border-radius: 12px; }
@media (min-width: 600px) {
    .bento-gallery-swiper .swiper-slide { border-radius: 14px; }
    .bento-gallery-img { height: 240px; border-radius: 14px; }
}

/* ===== Contact ===== */
.bento-contact { grid-column: span 1; }
@media (min-width: 600px) { .bento-contact { grid-column: span 2; } }
@media (min-width: 1024px) { .bento-contact { grid-column: span 4; } }

.bento-contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 600px) { .bento-contact-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 1024px) { .bento-contact-grid { gap: 2rem; } }

.bento-contact-col { display: flex; flex-direction: column; gap: 0.8rem; }
@media (min-width: 600px) { .bento-contact-col { gap: 1rem; } }

.bento-contact-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bento-contact-actions .btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    border-radius: 10px; font-size: clamp(1.2rem, 2vw, 1.3rem); padding: 0.45rem 0.9rem; min-height: 44px;
}
@media (min-width: 600px) {
    .bento-contact-actions .btn { padding: 0.5rem 1rem; gap: 0.5rem; }
}

.bento-contact-section { margin-top: 0.4rem; }

.bento-locations {
    background: var(--gray-100); border: 1px solid var(--gray-200);
    border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 0.8rem;
}
.bento-address {
    display: flex; flex-direction: row; gap: 0.6rem; align-items: flex-start;
    margin-bottom: 0.4rem;
}
.bento-address:last-child { margin-bottom: 0; }
.bento-address .icon { color: var(--primary); flex-shrink: 0; font-size: 1.2rem; margin-top: 0.1rem; }
.bento-address h5 { color: var(--gray-600); line-height: 1.5; }
.bento-contact-section .icon { font-size: 1.3rem; }
.bento-contact-actions .btn.disabled { opacity: 0.4; pointer-events: none; }

.bento-hours {
    display: flex; gap: 0.6rem; align-items: flex-start;
    background: var(--gray-100); border: 1px solid var(--gray-200);
    border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 0.8rem;
}
.bento-hours .icon { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.bento-hours h5 { color: var(--gray-600); line-height: 1.5; }

#get-directions-button .icon { font-size: 1.4rem; }

/* — Contact: map — */
.bento-map-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.5rem; aspect-ratio: 16 / 9; border-radius: 14px; cursor: pointer;
    background: var(--gray-100); border: 1px solid var(--gray-200);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.bento-map-placeholder .icon { font-size: 2rem; color: var(--primary); }
.bento-map-placeholder span { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--gray-500); font-weight: 500; }
.bento-map-placeholder:hover { background: var(--gray-200); border-color: var(--gray-300); }

#google-map-container {
    border-radius: 14px; overflow: hidden; min-height: 200px; margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08); border: 1px solid var(--gray-200);
}
#google-map-container iframe { width: 100%; height: 100%; border: none; }
@media (min-width: 600px) { #google-map-container { min-height: 280px; } }

/* ===== Related ===== */
.bento-related { grid-column: span 1; margin-top: 1.5rem; background: transparent; border: none; }
@media (min-width: 600px) { .bento-related { grid-column: span 2; margin-top: 2rem; } }
@media (min-width: 1024px) { .bento-related { grid-column: span 4; margin-top: 2.5rem; } }

/* ===== Icon ===== */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; flex-shrink: 0; }

/* ===== Footer ===== */
.bp-footer { background: var(--gray-900); color: var(--gray-200); padding: 1.5rem 0; margin-top: 0.5rem; font-size: 1.2rem; }
.bp-footer .small { font-size: 1.1rem; }
.bp-footer a { transition: all 0.3s ease; }
.bp-footer a:hover { color: var(--primary-light) !important; text-decoration: underline !important; }

/* ===== Reveal Animations ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Swiper ===== */
.swiper-pagination-bullet-active { background: var(--primary); }

/* ===== Modal / Lightbox ===== */
.bento-lightbox { border-radius: 16px; border: none; background: #000; position: relative; }
.bento-lightbox-close {
    position: absolute; top: 0.5rem; right: 0.5rem; z-index: 1;
    background-color: rgba(255,255,255,0.7); border-radius: 50%; padding: 0.6rem;
}
.bento-lightbox-img {
    width: 100%; max-height: 85vh; object-fit: contain; border-radius: 16px;
    display: block;
}

/* ===== Safe Area (notch / home indicator) ===== */
@supports (padding: env(safe-area-inset-bottom)) {
    .bp-nav-inner { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
    .bento { padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
}