/* Chantico Events — mobile conversion overrides
   Loaded after Elementor's frontend.css. Targets ≤767px. */

@media (max-width: 767px) {
  /* ── 1. No horizontal scroll ─────────────────────────────── */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* ── 2. Slim mobile header ───────────────────────────────── */
  /* Hide the entire nav menu widget (Process / Why Chantico / Packages / FAQ)
     and its hamburger toggle. Landing-page sections are anchor-scrollable inline. */
  .elementor-element.elementor-element-d78444e,    /* nav menu widget */
  .elementor-menu-toggle,                          /* hamburger */
  .elementor-nav-menu--dropdown                     /* dropdown panel */
  { display: none !important; }

  /* Tighter header padding so it doesn't dominate the viewport */
  .elementor-sticky.e-con-boxed,
  .elementor-element-8e965eb {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 0 !important;
  }
  .elementor-sticky .e-con-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .elementor-sticky .elementor-widget-image {
    flex: 0 0 auto;
    max-width: 50%;
  }
  .elementor-sticky .elementor-widget-image img { max-height: 48px; width: auto; }
  .elementor-sticky .elementor-widget-button {
    flex: 0 0 auto;
    margin-left: auto !important;
  }
  .elementor-sticky .elementor-widget-button .elementor-button {
    padding: 10px 16px !important;
    font-size: 13px !important;
    min-height: 40px;
  }

  /* ── 4. Inline icon-lists keep wrapping cleanly ──────────── */
  .elementor-inline-items {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: wrap !important;
    row-gap: 8px;
  }
  .elementor-inline-items > .elementor-icon-list-item {
    margin-left: 0 !important;
    margin-right: 12px !important;
  }
  .elementor-inline-items > .elementor-icon-list-item:last-child { margin-right: 0 !important; }

  /* ── 5. Hero CTAs full-width for easy tap ────────────────── */
  /* Target hero buttons specifically (in hero section, not packages/FAQ) */
  .elementor-element[data-id="f169ea2"] .elementor-widget-button .elementor-button,
  [data-id="f169ea2"] .elementor-widget-button .elementor-button {
    width: 100%;
    justify-content: center;
  }
  /* Generic large-tap buttons */
  .elementor-button {
    padding: 16px 22px !important;
    font-size: 15.5px !important;
    min-height: 48px;
    line-height: 1.2 !important;
  }
  /* Header button stays compact (overrides above) */
  .elementor-sticky .elementor-button {
    padding: 10px 16px !important;
    font-size: 13px !important;
    min-height: 40px;
    width: auto !important;
  }

  /* ── 6. Card titles slightly bigger ──────────────────────── */
  .elementor-widget-icon-box .elementor-icon-box-title,
  .elementor-widget-icon-box .elementor-icon-box-title a {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }

  /* ── 7. FAQ accordion sized for thumbs ───────────────────── */
  .e-n-accordion-item-title-text {
    font-size: 15px !important;
    line-height: 1.4 !important;
    padding-right: 8px;
  }
  .e-n-accordion-item-title { min-height: 56px; }

  /* ── 8. Section padding — uniform 20px ───────────────────── */
  .e-con-boxed {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* ── 9. Gallery — single column ──────────────────────────── */
  .gallery-columns-3 .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 12px;
  }

  /* ── 10. Image safety ────────────────────────────────────── */
  img { max-width: 100%; height: auto; }

  /* ── 11. Footer breathing room ───────────────────────────── */
  footer .e-con-inner,
  .elementor-location-footer .e-con-inner { gap: 16px; }

  /* ── 12. Sticky bottom CTA bar (the conversion driver) ───── */
  .cf-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9990;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28, 24, 20, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    display: flex;
    transform: translateY(100%);
    transition: transform .25s ease-out;
  }
  .cf-sticky-cta.cf-show { transform: translateY(0); }
  .cf-sticky-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a65b3d;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    min-height: 52px;
    box-shadow: 0 4px 14px rgba(166, 91, 61, 0.45);
    transition: background .15s ease, transform .15s ease;
  }
  .cf-sticky-cta a:hover { background: #8c4a2f; }
  .cf-sticky-cta a:active { transform: scale(.98); }

  /* Reserve scroll space so footer/last section isn't hidden under sticky bar */
  body { padding-bottom: 80px; }
}

/* Tighter padding on very narrow phones */
@media (max-width: 380px) {
  .e-con-boxed {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .cf-sticky-cta a { font-size: 15px; min-height: 48px; }
}

/* Hide sticky CTA on desktop */
@media (min-width: 768px) {
  .cf-sticky-cta { display: none !important; }
}


/* Section-level CTAs (between content sections) */
.cf-section-cta{
  display:flex;
  justify-content:center;
  padding:24px 20px 56px;
  background:transparent;
}
.cf-section-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#a65b3d;
  color:#fff !important;
  font-weight:600;
  font-size:16px;
  padding:16px 32px;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 6px 20px rgba(166,91,61,0.3);
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
  letter-spacing:0.01em;
  min-height:52px;
  text-align:center;
}
.cf-section-cta-btn:hover{
  background:#8c4a2f;
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(166,91,61,0.4);
}
.cf-section-cta-btn:focus-visible{outline:2px solid #1c1814;outline-offset:3px;}
.cf-section-cta-btn-arrow{font-size:18px;line-height:1;transition:transform .15s ease;}
.cf-section-cta-btn:hover .cf-section-cta-btn-arrow{transform:translateX(3px);}

@media (max-width:600px){
  .cf-section-cta{padding:16px 16px 40px;}
  .cf-section-cta-btn{font-size:15px;padding:14px 26px;width:100%;max-width:340px;justify-content:center;}
}
