/* Home page info sections (services, how it works, CTA, visit/call) + 4-column footer.
   Base look = green store theme; body.theme-ayudha switches to the festival red/gold. */
:root { --hi-main: #1a6b3a; --hi-dark: #0f4d28; --hi-soft: #eaf6ee; --hi-accent: #f08a1c; --hi-ink: #1f2a24; --hi-line: #dcebe1; }
body.theme-ayudha { --hi-main: #8a1c14; --hi-dark: #5a1410; --hi-soft: #fff4d6; --hi-accent: #d4a017; --hi-ink: #3a1a14; --hi-line: #f1d28a; }

.hi-wrap { margin: 34px 0 8px; color: var(--hi-ink); }
.hi-sec { margin-bottom: 34px; }
.hi-head { text-align: center; max-width: 680px; margin: 0 auto 22px; }
.hi-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hi-accent); margin-bottom: 6px; }
.hi-head h2 { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.2; color: var(--hi-main); margin: 0 0 8px; }
.hi-head p { font-size: 14.5px; line-height: 1.6; opacity: .8; margin: 0; }

.hi-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hi-card { background: #fff; border: 1.5px solid var(--hi-line); border-radius: 18px; padding: 22px 20px; box-shadow: 0 6px 18px rgba(15, 77, 40, .06); transition: transform .2s, box-shadow .2s; }
.hi-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 77, 40, .12); }
.hi-card > i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--hi-soft); color: var(--hi-main); font-size: 21px; margin-bottom: 12px; }
.hi-card h3 { font-size: 17px; margin: 0 0 6px; color: var(--hi-ink); }
.hi-card p { font-size: 13.5px; line-height: 1.6; margin: 0; opacity: .78; }

.hi-steps-sec { background: var(--hi-soft); border-radius: 22px; padding: 28px 22px; }
.hi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.hi-steps li { display: flex; gap: 14px; align-items: flex-start; }
.hi-steps li > b { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--hi-main); color: #fff; font-size: 18px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .8); }
.hi-steps h3 { font-size: 16.5px; margin: 2px 0 4px; }
.hi-steps p { font-size: 13.5px; line-height: 1.55; margin: 0; opacity: .78; }

.hi-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; padding: 30px 32px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(135deg, var(--hi-dark), var(--hi-main)); box-shadow: 0 14px 30px rgba(15, 77, 40, .25); }
.hi-cta h2 { font-size: clamp(21px, 3vw, 28px); margin: 0 0 6px; color: #fff; }
.hi-cta p { margin: 0; font-size: 14.5px; opacity: .9; }
.hi-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hi-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14.5px; padding: 13px 22px; border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.hi-btn:hover { transform: translateY(-2px); }
.hi-btn-main { background: var(--hi-accent); color: #2b1b00; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.hi-btn-alt { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }

.hi-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hi-visit-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--hi-line); border-radius: 18px; padding: 18px 20px; }
.hi-visit-box > i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--hi-soft); color: var(--hi-main); font-size: 19px; }
.hi-visit-box > div { flex: 1 1 180px; min-width: 0; }
.hi-visit-box h3 { font-size: 16px; margin: 0 0 3px; }
.hi-visit-box p { font-size: 13px; line-height: 1.5; margin: 0; opacity: .78; }
.hi-link { font-weight: 800; font-size: 13.5px; color: var(--hi-main); text-decoration: none; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--hi-main); }
.hi-link:hover { background: var(--hi-main); color: #fff; }

/* ── footer (4 columns) ── */
.hm-footer .hm-fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.5fr; gap: 28px 34px; max-width: 1480px; margin: 0 auto; justify-content: initial; }
.hm-footer .hm-fcol h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #ffd56a; font-family: inherit; }
.hm-footer .hm-fbrand b { display: block; font-size: 24px; }
.hm-footer .hm-fgrid p { font-family: inherit; font-size: 13.5px; line-height: 1.65; opacity: .85; margin-top: 8px; }
.hm-footer .hm-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.hm-footer .hm-flist a { color: inherit; text-decoration: none; opacity: .88; }
.hm-footer .hm-flist a:hover { opacity: 1; text-decoration: underline; color: #ffd56a; }
.hm-footer .hm-fplain li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; opacity: .92; }
.hm-footer .hm-fplain li > i { flex: none; width: 16px; margin-top: 3px; text-align: center; color: #ffd56a; }
.hm-footer .hm-fdir { font-weight: 800; color: #ffd56a !important; }
.hm-footer .hm-fsoc { display: flex; gap: 10px; margin-top: 14px; }
.hm-footer .hm-fsoc a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background .2s; }
.hm-footer .hm-fsoc a:hover { background: #ffd56a; color: #3a1a14; }
.hm-footer .hm-foot-c { max-width: 1480px; }

@media (max-width: 960px) {
  .hi-services { grid-template-columns: repeat(2, 1fr); }
  .hm-footer .hm-fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hi-wrap { margin-top: 26px; }
  .hi-services { grid-template-columns: 1fr; gap: 12px; }
  .hi-card { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; padding: 16px; }
  .hi-card > i { grid-row: span 2; margin: 0; }
  .hi-steps { grid-template-columns: 1fr; }
  .hi-steps-sec { padding: 22px 16px; }
  .hi-cta { padding: 24px 20px; text-align: center; justify-content: center; }
  .hi-cta-btns { justify-content: center; width: 100%; }
  .hi-cta-btns .hi-btn { flex: 1 1 100%; justify-content: center; }
  .hi-visit { grid-template-columns: 1fr; }
  .hm-footer .hm-fgrid { grid-template-columns: 1fr; gap: 22px; }
}

/* ── mobile app coming soon ── */
.hi-app { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; padding: 24px 28px; border-radius: 22px;
  background: var(--hi-soft); border: 1.5px dashed var(--hi-accent); }
.hi-soon { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--hi-accent); padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.hi-app h2 { font-size: clamp(19px, 2.6vw, 25px); margin: 0 0 6px; color: var(--hi-main); }
.hi-app p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .8; max-width: 520px; }
.hi-app-badges { display: none; }
.hi-store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: #1d1d1f; color: #fff; opacity: .92; cursor: default; }
.hi-store > i { font-size: 26px; }
.hi-store small { font-size: 11px; line-height: 1.25; opacity: .85; }
.hi-store small b { font-size: 14px; opacity: 1; }
.hm-footer .hm-fapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12.5px; }
.hm-footer .hm-fapp i { color: #ffd56a; }
.hm-footer .hm-fapp b { color: #ffd56a; }
@media (max-width: 640px) { .hi-app { padding: 20px 18px; text-align: center; justify-content: center; } .hi-app-badges { justify-content: center; } }


/* ── app teaser: phone image (no store badges) ── */
.hi-app { position: relative; overflow: hidden; padding-block: 30px; }
.hi-app-txt { flex: 1 1 320px; position: relative; z-index: 1; }
.hi-app-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 0; padding: 0; }
.hi-app-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--hi-main); background: #fff; border: 1.5px solid var(--hi-line); padding: 7px 13px; border-radius: 999px; }
.hi-app-points i { color: var(--hi-accent); }
.hi-phone { position: relative; flex: 0 1 260px; display: grid; place-items: center; min-height: 260px; margin-block: -14px; }
.hi-phone-glow { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, var(--hi-accent) 0%, transparent 68%); opacity: .35; filter: blur(8px); }
.hi-phone-img { display: none; position: relative; width: auto; max-width: 100%; height: 300px; object-fit: contain; background: none; filter: drop-shadow(0 18px 20px rgba(0,0,0,.28)); transform: rotate(6deg); animation: hiFloat 4.5s ease-in-out infinite; }
.hi-phone-fb { position: relative; width: 138px; height: 280px; border-radius: 26px; background: #1d1d1f; padding: 8px; box-shadow: 0 18px 24px rgba(0,0,0,.28), inset 0 0 0 2px #3a3a3d; transform: rotate(6deg); animation: hiFloat 4.5s ease-in-out infinite; display: flex; }
.hi-fb-notch { position: absolute; top: 12px; left: 50%; width: 44px; height: 10px; margin-left: -22px; border-radius: 99px; background: #000; z-index: 2; }
.hi-fb-screen { flex: 1; border-radius: 19px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--hi-main), var(--hi-dark)); padding: 14px 8px; }
.hi-fb-logo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid #ffd56a; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.hi-fb-screen b { font-size: 14px; }
.hi-fb-screen span { font-size: 10.5px; opacity: .85; line-height: 1.4; }
.hi-fb-screen em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--hi-accent); color: #2b1b00; padding: 3px 9px; border-radius: 99px; margin-top: 4px; }
@keyframes hiFloat { 0%,100% { translate: 0 0 } 50% { translate: 0 -10px } }
@media (prefers-reduced-motion: reduce) { .hi-phone-img, .hi-phone-fb { animation: none; } }
@media (max-width: 640px) { .hi-app-points { justify-content: center; } .hi-phone { flex-basis: 100%; margin-top: 8px; } }
