/* =============================================
   Bali Villa Amenities — WordPress Theme CSS
   Version: 1.0.0
   ============================================= */

:root {
  --cream: #faf8f3; --cream-dark: #f5f0e8;
  --primary: #1c1612; --primary-hover: #2c2316;
  --partner-bg: #2c2316; --muted: #78716c;
  --warm-line: #d4c5a9; --gold: #c9a96e;
  --stone-warm: #e8dfd0; --border: #e0d8cf;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color: var(--cream); color: var(--primary); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Utilities */
.container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
.section-py { padding-top: 4rem; padding-bottom: 4rem; }
.bg-cream { background-color: var(--cream-dark); }

/* Section Title */
.section-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--primary); font-weight: 500; }
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background-color: var(--warm-line); }

/* Buttons */
.btn-primary { display: inline-block; background-color: var(--primary); color: #fff; text-decoration: none; font-size: .875rem; font-family: 'Lato', sans-serif; padding: 10px 24px; border-radius: 2px; border: none; cursor: pointer; transition: background-color .2s; }
.btn-primary:hover { background-color: var(--primary-hover); color: #fff; text-decoration: none; }
.btn-outline { display: inline-block; border: 1px solid var(--primary); color: var(--primary); text-decoration: none; font-size: .875rem; padding: 8px 24px; border-radius: 2px; transition: background-color .2s, color .2s; }
.btn-outline:hover { background-color: var(--primary); color: #fff; text-decoration: none; }
.btn-stone-warm { display: inline-flex; align-items: center; gap: .75rem; background-color: var(--stone-warm); color: var(--primary); font-size: .875rem; font-family: 'Lato', sans-serif; font-weight: 600; padding: 12px 24px; border-radius: 2px; border: none; cursor: pointer; transition: background-color .2s; }
.btn-stone-warm:hover { background-color: #ddd4c4; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: .5rem; background-color: #25d366; color: #fff; text-decoration: none; font-size: .875rem; padding: 10px 20px; border-radius: 2px; transition: background-color .2s; margin-top: 1rem; }
.btn-whatsapp:hover { background-color: #20ba5a; color: #fff; text-decoration: none; }
.btn-catalogue { background-color: var(--primary); color: #fff; text-decoration: none; font-size: .875rem; padding: 8px 20px; border-radius: 2px; white-space: nowrap; transition: background-color .2s; }
.btn-catalogue:hover { background-color: var(--primary-hover); color: #fff; text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 12px 2rem; max-width: 1400px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo .site-logo-img { height: 56px; width: auto; display: block; transition: opacity .2s; }
.site-logo:hover .site-logo-img { opacity: .82; }
.main-nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.main-nav ul li { margin: 0; padding: 0; }
.main-nav ul a { font-size: .875rem; text-decoration: none; color: var(--muted); transition: color .2s; }
.main-nav ul a:hover { color: var(--primary); }
.main-nav ul .current-menu-item > a, .main-nav ul .current_page_item > a { color: var(--primary); font-weight: 600; border-bottom: 1px solid var(--primary); padding-bottom: 2px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--primary); padding: 4px; flex-shrink: 0; }
/* Mobile catalogue button — hidden on desktop, shown via mobile media query below */
.btn-catalogue-mobile { display: none; }

/* Hero Slider */
.hero-slider { position: relative; height: 70vh; min-height: 500px; overflow: hidden; background: #1a1a1a; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.25) 50%, transparent); pointer-events: none; }
.hero-text { position: absolute; left: 4rem; top: 50%; transform: translateY(-50%); max-width: 600px; transition: opacity .7s ease; z-index: 5; }
.hero-text h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: #fff; font-style: italic; line-height: 1.25; margin-bottom: 1.25rem; font-weight: 500; }
.hero-text p { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.6; }
.nature-word { color: var(--gold); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.2); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; z-index: 10; backdrop-filter: blur(4px); transition: background-color .2s; }
.slider-btn:hover { background: rgba(255,255,255,.35); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }
.slider-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .375rem; z-index: 10; }
.slider-dots button { background: none; border: none; cursor: pointer; padding: 6px 3px; }
.slider-dots .dot { display: block; height: 10px; border-radius: 9999px; background: rgba(255,255,255,.5); width: 10px; transition: width .3s, background-color .3s; }
.slider-dots button.active .dot { background: #fff; width: 2rem; }

/* Two-col Grid */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.two-col-grid > img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.col-content h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1rem; color: var(--primary); font-weight: 500; }
.col-content p { color: var(--muted); line-height: 1.75; font-size: .9375rem; margin-bottom: 1.25rem; }

/* Partner Box */
.partner-box { background-color: var(--partner-bg); }
.partner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.partner-box h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--cream-dark); font-weight: 500; }
.partner-box ul { list-style: none; margin: 0; padding: 0; }
.partner-box li { display: flex; gap: .625rem; color: var(--warm-line); font-size: .9rem; margin-bottom: .625rem; }
.partner-box li::before { content: '\2022'; color: var(--warm-line); flex-shrink: 0; }

/* Gallery Grid (homepage) */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: 2px; cursor: pointer; }
.gallery-item img { width: 100%; height: 16rem; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.05); }

/* Gallery Masonry (gallery page) */
.gallery-masonry { columns: 3; column-gap: 1rem; }
.gallery-masonry .item { break-inside: avoid; margin-bottom: 1rem; overflow: hidden; border-radius: 2px; cursor: pointer; }
.gallery-masonry .item img { width: 100%; height: auto; display: block; transition: transform .5s ease, filter .3s ease; }
.gallery-masonry .item:hover img { transform: scale(1.04); filter: brightness(.9); }

/* Lightbox */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; padding: 1rem; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-height: 90vh; max-width: 90vw; border-radius: 2px; box-shadow: 0 0 60px rgba(0,0,0,.5); object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,.4); border: none; color: rgba(255,255,255,.8); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: color .2s; }
.lightbox-close:hover { color: #fff; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 2.5rem; width: 50px; height: 70px; cursor: pointer; border-radius: 2px; display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Products */
.products-toggle { overflow: hidden; max-height: 0; transition: max-height .6s ease, opacity .4s ease; opacity: 0; }
.products-toggle.open { max-height: 6000px; opacity: 1; }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.product-card { background: #fff; border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; transition: box-shadow .3s; }
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.product-card .card-img { height: 14rem; overflow: hidden; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card .card-body { padding: 1.25rem; }
.product-card .card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.product-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--primary); margin: 0; font-weight: 500; }
.product-card .volume { font-size: .73rem; color: #a09585; background: var(--cream-dark); padding: 2px 8px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.product-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.product-variants { display: flex; flex-wrap: wrap; gap: .375rem; }
.product-variants span { font-size: .73rem; border: 1px solid var(--warm-line); color: var(--muted); padding: 2px 8px; border-radius: 2px; }

/* Products Catalog (3-column simple tiles) */
.products-catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem 2rem; }
.product-tile { margin: 0; }
.product-tile__img { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.product-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-tile:hover .product-tile__img img { transform: scale(1.04); }
.product-tile__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--primary); text-align: center; margin-top: 1rem; font-weight: 500; }
.two-col-grid--products-hero { align-items: stretch; gap: 3rem; }
.two-col-grid--products-hero .products-hero-img { width: 100%; height: 100%; min-height: 480px; max-height: 720px; object-fit: cover; border-radius: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

/* Contact Hero (image + form) */
.contact-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: stretch; max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; }
.contact-hero__image { width: 100%; }
.contact-hero__image img { width: 100%; height: 100%; max-height: 880px; object-fit: cover; display: block; border-radius: 2px; }
.contact-hero__form { padding-top: .5rem; }
.contact-hero__title { font-family: 'Playfair Display', serif; font-size: 2.75rem; color: var(--primary); font-weight: 500; margin: 0 0 2rem; line-height: 1.1; }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.contact-form .cf-field { border-bottom: 1px solid #d6d3d1; padding: 14px 0; }
.contact-form .cf-field input, .contact-form .cf-field textarea { width: 100%; border: 0; background: transparent; font-family: 'Lato', sans-serif; font-size: .95rem; color: var(--primary); outline: none; padding: 4px 0; font-style: italic; }
.contact-form .cf-field input::placeholder, .contact-form .cf-field textarea::placeholder { color: #a09585; font-style: italic; }
.contact-form .cf-field--textarea { border-bottom: 0; padding: 18px 0 0; }
.contact-form .cf-field--textarea textarea { border: 1px solid #d6d3d1; border-radius: 2px; padding: 14px; min-height: 140px; font-style: italic; resize: vertical; }
.cf-disclaimer { font-size: .78rem; color: #78716c; margin: 1.25rem 0 .75rem; line-height: 1.55; font-style: italic; }
.cf-consent { display: flex; align-items: center; gap: 10px; margin: .5rem 0 1.5rem; font-size: .9rem; color: var(--primary); font-style: italic; cursor: pointer; }
.cf-consent input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.cf-submit { background: #a09585; color: #fff; border: 0; font-family: 'Playfair Display', serif; font-size: 1.4rem; padding: 14px 64px; cursor: pointer; transition: background .2s; align-self: flex-start; border-radius: 2px; font-weight: 500; letter-spacing: .02em; }
.cf-submit:hover { background: #8b8175; }

/* Contact info section (map + details) */
.contact-info-section { padding: 0 2rem 4rem; max-width: 1280px; margin: 0 auto; }
.contact-divider { border: 0; border-top: 1px solid #d6d3d1; margin: 0 0 3rem; }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info-grid__map { width: 100%; height: 320px; border-radius: 2px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.contact-info-grid__details { padding-left: 1rem; }
.contact-info-name { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary); font-weight: 500; margin: 0 0 1.25rem; }
.contact-info-address { font-style: normal; color: var(--primary); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; align-items: center; gap: .9rem; color: var(--primary); font-size: 1rem; }
.contact-info-list li svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-hero { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem; }
  .contact-hero__title { font-size: 2.2rem; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-grid__map { height: 260px; }
  .contact-info-grid__details { padding-left: 0; }
}
.contact-map { border-radius: 2px; overflow: hidden; height: 14rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); margin-bottom: 1.5rem; }
.contact-map iframe { display: block; }
.contact-map-wrap .contact-map { height: 16rem; }
.contact-form-heading { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--primary); margin-bottom: 1.5rem; font-weight: 500; }
.contact-row { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .3rem; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid var(--border); background: #fff; border-radius: 2px; padding: 10px 12px; font-size: .875rem; color: var(--primary); font-family: 'Lato', sans-serif; outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: none; min-height: 120px; }
.form-success { display: none; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: .75rem 1rem; border-radius: 2px; font-size: .875rem; margin-bottom: 1rem; }

/* About Values */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.value-card .card-img { overflow: hidden; border-radius: 2px; margin-bottom: 1rem; height: 16rem; }
.value-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.value-card:hover .card-img img { transform: scale(1.04); }
.value-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--primary); margin-bottom: .5rem; font-weight: 500; }
.value-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.commitment-section .col-content p { margin-bottom: 1rem; }
.certifications-img { max-width: 200px; width: 100%; height: auto; margin-top: 1rem; }

/* Gallery hero slider (full-width 16:9) */
.gallery-hero-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1612; }
.gallery-hero-slider .gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.gallery-hero-slider .gallery-slide.active { opacity: 1; z-index: 1; }
.gallery-hero-slider .gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 56px; height: 56px; border: 0; background: rgba(255,255,255,.25); backdrop-filter: blur(6px); color: #fff; border-radius: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.gallery-slider-btn:hover { background: rgba(255,255,255,.45); }
.gallery-slider-btn svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-slider-btn.prev { left: 16px; }
.gallery-slider-btn.next { right: 16px; }
.gallery-slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.gallery-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: width .3s, background .2s; }
.gallery-slider-dots button.active { background: #fff; width: 28px; border-radius: 5px; }

/* Hospitality Partners */
.partners-title-row { display: flex; align-items: center; gap: 24px; margin-bottom: 3rem; }
.partners-title-line { flex: 1; height: 1px; background: #d6d3d1; }
.partners-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 500; color: var(--primary); margin: 0; text-align: center; white-space: nowrap; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 980px; margin: 0 auto; }
.partners-col-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 500; color: #a09585; margin-bottom: 1.25rem; }
.partners-list { list-style: disc; padding-left: 1.25rem; color: var(--primary); font-size: 1rem; line-height: 2; margin: 0; }
.partners-list li { margin-bottom: .15rem; }

/* Footer */
.site-footer { background-color: #fff; color: var(--primary); }
.footer-divider { border: 0; border-top: 1px solid #d6d3d1; margin: 0 auto; max-width: 1280px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 4rem 2rem 2rem; align-items: center; }
.footer-info { color: var(--primary); }
.footer-company { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; margin: 0 0 1.25rem; color: var(--primary); }
.footer-address { font-size: 14px; color: var(--primary); margin: 0 0 1.25rem; line-height: 1.6; }
.footer-contact-line { font-size: 14px; color: var(--primary); margin: 0; line-height: 1.5; }
.footer-contact-line .footer-sep { color: #a09585; margin: 0 .65rem; }
/* High-specificity fallback: locks regular footer font sizes against Elementor/plugin overrides */
.site-footer:not(.site-footer--home) .footer-company { font-size: 20px !important; }
.site-footer:not(.site-footer--home) .footer-address,
.site-footer:not(.site-footer--home) .footer-contact-line { font-size: 14px !important; }
.footer-newsletter { width: 100%; }
.newsletter-form { display: flex; align-items: stretch; max-width: 560px; margin-left: auto; }
.newsletter-form input[type="email"] { flex: 1; border: 1px solid #d6d3d1; border-right: 0; background: #fff; padding: 1.1rem 1.25rem; font-family: 'Lato', sans-serif; font-size: 1rem; font-style: italic; color: var(--primary); outline: none; border-radius: 2px 0 0 2px; min-width: 0; }
.newsletter-form input[type="email"]::placeholder { color: #a09585; font-style: italic; }
.newsletter-submit { background: #a09585; color: #fff; border: 0; padding: 0 2.75rem; font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background .2s; border-radius: 0 2px 2px 0; letter-spacing: .02em; }
.newsletter-submit:hover { background: #8b8175; }
.newsletter-msg { margin: .75rem 0 0; font-size: .85rem; min-height: 1.2em; }
.newsletter-msg.success { color: #166534; }
.newsletter-msg.error { color: #991b1b; }
.footer-copyright { border-top: 1px solid #e8e0d8; padding: 1.25rem 2rem; text-align: center; font-size: .8rem; color: #78716c; max-width: 1280px; margin: 0 auto; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 500; display: flex; align-items: center; gap: .5rem; background-color: #25d366; color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 2rem; font-size: .875rem; font-weight: 600; font-family: 'Lato', sans-serif; box-shadow: 0 4px 14px rgba(37,211,102,.4); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(37,211,102,.5); color: #fff; text-decoration: none; }
.whatsapp-float svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Homepage Footer ──────────────────────────────────────── */
.site-footer--home { background-color: #fff; padding: 0; margin: 0; width: 100%; }
.footer-home-main { display: grid; grid-template-columns: 55% 45%; align-items: start; width: 100%; gap: 0; margin: 0; padding: 0; }
.footer-home-map { overflow: hidden; margin: 0; padding: 0; height: 420px; }
.footer-home-map iframe { width: 100%; height: 100%; display: block; border: 0; margin: 0; padding: 0; }
.footer-home-contact { padding: 0 2.5rem 2.5rem 2.5rem; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; gap: 1.25rem; }
.site-footer--home .footer-company { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 500; margin: 0 0 .25rem; color: #1c1612; }
.site-footer--home address { font-style: normal; font-size: .9375rem; line-height: 1.75; color: #1c1612; margin: 0; }
.footer-contact-icons { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .875rem; }
.footer-contact-icons li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: #1c1612; }
.footer-contact-icons li svg { width: 18px; height: 18px; stroke: #78716c; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-home-newsletter { display: flex; gap: 0; margin-top: .5rem; margin-left: 0 !important; max-width: 100%; width: 100%; }
.footer-home-newsletter input[type="email"] { flex: 1; min-width: 0; border: 1px solid #d6d3d1; border-right: 0; border-radius: 2px 0 0 2px; padding: 10px 14px; font-size: .875rem; font-family: 'Lato', sans-serif; color: #1c1612; background: #fff; outline: none; font-style: italic; }
.footer-home-newsletter input[type="email"]::placeholder { color: #a09585; font-style: italic; }
.footer-home-newsletter input[type="email"]:focus { border-color: #1c1612; }
.footer-home-newsletter .newsletter-submit { background: #1c1612; color: #fff; border: none; border-radius: 0 2px 2px 0; padding: 10px 24px; font-size: .875rem; font-family: 'Lato', sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s; }
.footer-home-newsletter .newsletter-submit:hover { background: #2c2316; }
.site-footer--home .footer-copyright { text-align: center; padding: 1.25rem 2rem; font-size: .8125rem; color: #78716c; border-top: 1px solid #e8e0d8; }
.site-footer--home .newsletter-msg { font-size: .8125rem; margin: .5rem 0 0; min-height: 1.25rem; }
/* No-border variant for regular footer copyright */
.footer-copyright--no-border { border-top: none !important; }
/* Mobile-only icon contacts list (regular footer). Hidden by default;
   only shown when Customizer "Mobile Mode = Stacked". */
.footer-mobile-contacts { display: none; }

/* Elementor Compat */
.elementor-page .entry-content { max-width: none; padding: 0; }
.elementor-section-boxed > .elementor-container { max-width: 1200px; }

/* Responsive */
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2,1fr); } .products-catalog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e8e0d8; padding: 1rem 2rem; box-shadow: 0 4px 12px rgba(0,0,0,.08); z-index: 99; }
  .main-nav.open ul { flex-direction: column; gap: .625rem; }

  /* === Mobile Header Layout — CSS Grid 3 columns ===
     Columns: [auto: left]  [1fr: center logo]  [auto: right]
     Logo sits in the center column via justify-self: center. Items are
     placed by `order` so the layout can swap sides via Customizer without
     touching the HTML. */
  .btn-catalogue { display: none; }
  .site-header { border-bottom: 1px solid #e8e0d8; }
  .navbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 12px;
    max-width: 100%;
  }
  .btn-catalogue-mobile {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.15;
    letter-spacing: .02em;
    transition: border-color .2s, color .2s, background-color .2s;
    order: 1;
    justify-self: start;
  }
  .btn-catalogue-mobile__icon { flex-shrink: 0; stroke: currentColor; }
  .btn-catalogue-mobile__label { display: flex; flex-direction: column; align-items: flex-start; }
  .btn-catalogue-mobile__label span { display: block; }
  .site-logo {
    position: static;
    margin: 0;
    order: 2;
    justify-self: center;
  }
  .site-logo .site-logo-img { height: 64px; }
  .menu-toggle {
    display: flex;
    padding: 6px;
    margin: 0;
    color: #78716c;
    order: 3;
    justify-self: end;
  }
  .menu-toggle .icon-menu,
  .menu-toggle .icon-close { width: 34px; height: 34px; }

  .hero-text { left: 1.5rem; right: 1.5rem; max-width: none; }
  .hero-text h1 { font-size: 1.8rem; }
  .two-col-grid, .partner-inner, .gallery-grid, .values-grid, .products-grid, .products-catalog-grid, .contact-grid, .partners-grid { grid-template-columns: 1fr; }
  .partners-title { font-size: 1.4rem; white-space: normal; }
  .gallery-slider-btn { width: 44px; height: 44px; }
  .gallery-slider-btn svg { width: 22px; height: 22px; }
  .gallery-masonry { columns: 2; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .lightbox-nav { display: none; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .hero-text h1 { font-size: 1.5rem; }
  .section-py { padding-top: 3rem; padding-bottom: 3rem; }
  /* Logo shrink on very small screens (header height comes from Customizer) */
  .site-logo .site-logo-img { height: 56px; }
  .menu-toggle .icon-menu,
  .menu-toggle .icon-close { width: 30px; height: 30px; }
}
@media (max-width: 360px) {
  .site-logo .site-logo-img { height: 48px; }
}

/* ==========================================================================
   FORCE DESKTOP FOOTER ON ALL VIEWPORTS (v2.18.4)
   User explicitly requested mobile footer be identical to desktop footer.
   No stacking, no hiding, all elements remain horizontal & visible.
   These rules apply unconditionally to override any other responsive logic.
   ========================================================================== */
.site-footer:not(.site-footer--home) .footer-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  align-items: center !important;
}
.site-footer--home .footer-home-main {
  display: grid !important;
  grid-template-columns: 55% 45% !important;
  gap: 0 !important;
}
.site-footer--home .footer-home-contact {
  padding: 0 2.5rem 2.5rem 2.5rem !important;
  gap: 1.25rem !important;
}
.site-footer--home .footer-home-newsletter {
  flex-direction: row !important;
  gap: 0 !important;
}
.site-footer--home .footer-home-newsletter input[type="email"] {
  border-right: 0 !important;
  border-radius: 2px 0 0 2px !important;
  width: auto !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.site-footer--home .footer-home-newsletter .newsletter-submit {
  width: auto !important;
  border-radius: 0 2px 2px 0 !important;
}
.site-footer:not(.site-footer--home) .footer-newsletter {
  text-align: right !important;
}
.site-footer .footer-copyright {
  padding: 1.25rem 2rem !important;
  font-size: .8rem !important;
}
