/* ==========================================================
   Amma's Love - Home page
   Everything is scoped under .hm (plus the two global fixes at the bottom),
   so it cannot clash with the site header / footer styles.
   ========================================================== */

/* Stop any element from making the page drift sideways (this is what made fixed buttons "swim" while scrolling) */
html { overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } body { overflow-x: clip; } }

.hm {
  --hm-surface: #FFFDF8; --hm-surface-2: #FBF3E4; --hm-text: #2A1218; --hm-muted: #6B4E54;
  --hm-border: rgba(122, 18, 41, .13); --hm-primary: #8E1631; --hm-chilli: #D8311E; --hm-brass: #C5882B; --hm-green: #2A6F41;
  --hm-gold: #F2B01E; --hm-maroon: #7A1229; --hm-shadow: 0 22px 40px -24px rgba(78, 20, 31, .38);
  position: relative; isolation: isolate; color: var(--hm-text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.6;
}
[data-theme="dark"] .hm {
  --hm-surface: #241619; --hm-surface-2: #1D1013; --hm-text: #F6EFE3; --hm-muted: #BBA7AC;
  --hm-border: rgba(255, 255, 255, .11); --hm-primary: #FF6B86; --hm-chilli: #FF6A4D; --hm-brass: #E3A94A; --hm-green: #4DB27A;
  --hm-shadow: 0 22px 40px -24px rgba(0, 0, 0, .8);
}
.hm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 480px at 92% 0%, rgba(242, 176, 30, .2), transparent 60%), radial-gradient(800px 520px at 0% 38%, rgba(216, 49, 30, .1), transparent 60%); }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm .serif-font { font-family: 'Rozha One', Georgia, serif; font-weight: 400; }
.hm .signature-font { font-family: 'Alex Brush', cursive; letter-spacing: 1px; }
.hm :focus-visible { outline: 3px solid var(--hm-gold); outline-offset: 3px; }
.hm img { max-width: 100%; }
.hm [hidden] { display: none !important; }

.hm-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hm-sec { padding: 64px 0 8px; }
.hm-head { text-align: center; margin-bottom: 34px; }
.hm-tag { display: inline-block; padding: 6px 16px; border-radius: 30px; font-size: .74rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--hm-primary); background: color-mix(in srgb, var(--hm-primary) 10%, transparent); border: 1px solid color-mix(in srgb, var(--hm-primary) 22%, transparent); }
.hm-title { font-family: 'Rozha One', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 14px 0 4px; color: var(--hm-text); }
.hm-sig { font-family: 'Alex Brush', cursive; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--hm-chilli); }

/* buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 26px; border-radius: 40px; border: 0; cursor: pointer; font: 700 .94rem/1 'Plus Jakarta Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; color: #fff;
  background: linear-gradient(135deg, #E8452C, #B3202F); box-shadow: 0 14px 24px -12px #B3202F; transition: transform .18s, box-shadow .2s; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn.gold { background: linear-gradient(135deg, #F8CB63, #E8A317); color: #3F2700; box-shadow: 0 14px 24px -14px #E8A317; }
.hm-btn.ghost { background: var(--hm-surface); color: var(--hm-text); border: 1.5px solid var(--hm-border); box-shadow: none; }
.hm-btn.ghost:hover { border-color: var(--hm-primary); color: var(--hm-primary); }
.hm-btn.wa { background: linear-gradient(135deg, #2FD06E, #1FA855); box-shadow: 0 14px 24px -12px #1FA855; }
.hm-btn.glass { background: rgba(255, 244, 224, .14); color: #FFF4E0; border: 1.5px solid rgba(255, 244, 224, .4); box-shadow: none; }
.hm-btn:disabled { opacity: .65; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hm-hero { padding: 34px 0 20px; }
.hm-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hm-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 30px; font-size: .78rem; font-weight: 800; color: var(--hm-primary); background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: 0 10px 20px -14px rgba(78, 20, 31, .5); }
.hm-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hm-green) 22%, transparent); }
.hm-hero h1 { font-family: 'Rozha One', Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.08; margin: 18px 0 6px; color: var(--hm-text); }
.hm-grad { background: linear-gradient(120deg, #B3202F, #D8311E 45%, #C5882B); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hm-tagline { font-family: 'Alex Brush', cursive; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--hm-chilli); margin-bottom: 14px; }
.hm-hero p.lead { max-width: 56ch; color: var(--hm-muted); font-size: 1.02rem; margin-bottom: 26px; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.hm-stat { padding: 14px 14px 12px; border-radius: 20px; background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: var(--hm-shadow); }
.hm-stat b { display: block; font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--hm-primary); }
.hm-stat span { font-size: .78rem; font-weight: 700; color: var(--hm-muted); }
.hm-stat:nth-child(2) b { color: var(--hm-green); } .hm-stat:nth-child(3) b { color: var(--hm-brass); }

.hm-art { position: relative; display: grid; place-items: center; padding: 26px; }
.hm-logo { position: relative; width: min(360px, 78vw); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: conic-gradient(from 200deg, #F2B01E, #D8311E, #8E1631, #F2B01E); box-shadow: 0 40px 60px -28px rgba(142, 22, 49, .55); }
.hm-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--hm-surface); background: #fff; display: block; }
.hm-orbit { position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; animation: hmSpin 26s linear infinite; }
.hm-orbit span { position: absolute; font-size: 1.5rem; animation: hmSpin 26s linear infinite reverse; }
.hm-orbit span:nth-child(1) { top: -2%; left: 46%; } .hm-orbit span:nth-child(2) { top: 44%; right: -3%; } .hm-orbit span:nth-child(3) { bottom: -2%; left: 46%; } .hm-orbit span:nth-child(4) { top: 44%; left: -3%; }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 30px; font-size: .78rem; font-weight: 800; background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: var(--hm-shadow); animation: hmBob 6s ease-in-out infinite; }
.hm-float em { font-style: normal; font-size: 1.25rem; }
.hm-float.f1 { top: 8%; left: 0; } .hm-float.f2 { bottom: 14%; right: 0; animation-delay: -2s; } .hm-float.f3 { bottom: 2%; left: 6%; animation-delay: -4s; }
@keyframes hmBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* trust strip */
.hm-trust { padding: 20px 0 6px; }
.hm-trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-trust-row div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--hm-surface); border: 1px solid var(--hm-border); font-size: .84rem; font-weight: 700; }
.hm-trust-row em { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-size: 1.2rem; flex: none; background: color-mix(in srgb, var(--hm-brass) 16%, transparent); }

/* ---------- Banner carousel ---------- */
.hm-carousel { padding: 30px 0 0; }
.hm-car { position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(150deg, #7A1229, #3F0A18); box-shadow: var(--hm-shadow); }
.hm-track { display: flex; transition: transform .6s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.hm-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; color: #FFF4E0; }
.hm-slide-img { min-height: 330px; position: relative; background: #3F0A18; }
.hm-slide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-slide-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #3F0A18); }
.hm-slide-info { padding: 38px 44px 38px 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; }
.hm-slide-info::before { content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: radial-gradient(circle, #FFE7B0 1.2px, transparent 1.6px); background-size: 22px 22px; }
.hm-slide-info > * { position: relative; }
.hm-slide-badge { align-self: flex-start; padding: 6px 14px; border-radius: 30px; font-size: .76rem; font-weight: 800; background: rgba(255, 244, 224, .14); border: 1px solid rgba(255, 244, 224, .3); color: #FFE9B8; }
.hm-slide h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.2; }
.hm-slide p { color: rgba(255, 244, 224, .86); font-size: .94rem; max-width: 46ch; }
.hm-slide .hm-btn { align-self: flex-start; margin-top: 6px; }
.hm-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 244, 224, .4); background: rgba(40, 8, 16, .55); color: #FFF4E0; font-size: 1.1rem; cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; }
.hm-nav:hover { background: rgba(40, 8, 16, .8); }
.hm-prev { left: 14px; } .hm-next { right: 14px; }
.hm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.hm-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--hm-primary) 28%, transparent); cursor: pointer; transition: all .25s; }
.hm-dot.active { width: 30px; background: linear-gradient(90deg, #D8311E, #8E1631); }

/* ---------- Categories ---------- */
.hm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.hm-cat { --c: #B3202F; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 18px; border-radius: 24px; text-decoration: none; color: var(--hm-text); background: var(--hm-surface); border: 1px solid color-mix(in srgb, var(--c) 28%, var(--hm-border)); box-shadow: var(--hm-shadow); transition: transform .2s, box-shadow .2s; }
.hm-cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.hm-cat::after { content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, transparent); }
.hm-cat:hover { transform: translateY(-5px); }
.hm-cat .ico { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 8px; background: color-mix(in srgb, var(--c) 16%, var(--hm-surface)); }
.hm-cat b { position: relative; z-index: 1; font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.12rem; line-height: 1.2; overflow-wrap: anywhere; }
.hm-cat small { position: relative; z-index: 1; font-size: .78rem; font-weight: 800; color: var(--c); }
.hm-cat.c0 { --c: #B3202F; } .hm-cat.c1 { --c: #C5882B; } .hm-cat.c2 { --c: #2A6F41; } .hm-cat.c3 { --c: #B01553; } .hm-cat.c4 { --c: #3443A8; } .hm-cat.c5 { --c: #C2570A; }
[data-theme="dark"] .hm-cat small { color: color-mix(in srgb, var(--c) 55%, #fff); }
.hm-cat.all { background: linear-gradient(150deg, #7A1229, #3F0A18); color: #FFF4E0; border: 0; }
.hm-cat.all::before { background: var(--hm-gold); } .hm-cat.all .ico { background: rgba(255, 244, 224, .16); } .hm-cat.all small { color: #FFC76B; }
.hm-center { text-align: center; margin-top: 26px; }

/* ---------- Steps ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.hm-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 38px; height: 3px; background: repeating-linear-gradient(90deg, var(--hm-brass) 0 10px, transparent 10px 18px); opacity: .55; }
.hm-step { position: relative; padding: 22px 18px; border-radius: 24px; background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: var(--hm-shadow); text-align: center; }
.hm-num { position: relative; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-family: 'Rozha One', serif; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #E8452C, #8E1631); box-shadow: 0 0 0 6px var(--hm-surface), 0 10px 20px -8px #B3202F; }
.hm-step h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.1rem; margin-bottom: 6px; }
.hm-step p { font-size: .88rem; color: var(--hm-muted); }

/* ---------- Reviews + community band ---------- */
.hm-band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hm-band-card { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; box-shadow: var(--hm-shadow); }
.hm-band-card.rev { background: linear-gradient(150deg, #FFF3D1, #FFE2A8); color: #3F2700; }
[data-theme="dark"] .hm-band-card.rev { background: linear-gradient(150deg, #3A2A12, #2A1D0C); color: #FFE9B8; }
.hm-band-card.com { background: radial-gradient(420px 260px at 95% 0%, rgba(242, 176, 30, .4), transparent 65%), linear-gradient(150deg, #7A1229, #3F0A18); color: #FFF4E0; }
.hm-band-card .big { font-size: 2.4rem; line-height: 1; }
.hm-band-card h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; }
.hm-band-card p { font-size: .94rem; opacity: .88; max-width: 44ch; }
.hm-band-card .stars { letter-spacing: 3px; color: #D98A00; font-size: 1.2rem; }
.hm-band-card .hm-btn { margin-top: 6px; }

/* ---------- About ---------- */
.hm-about { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hm-about-card { --c: #B3202F; padding: 22px 18px; border-radius: 24px; background: var(--hm-surface); border: 1px solid color-mix(in srgb, var(--c) 26%, var(--hm-border)); border-top: 5px solid var(--c); box-shadow: var(--hm-shadow); }
.hm-about-card:nth-child(2) { --c: #C5882B; } .hm-about-card:nth-child(3) { --c: #2A6F41; } .hm-about-card:nth-child(4) { --c: #B01553; }
.hm-about-card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 12px; background: color-mix(in srgb, var(--c) 15%, var(--hm-surface)); }
.hm-about-card h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.12rem; margin-bottom: 6px; }
.hm-about-card p { font-size: .88rem; color: var(--hm-muted); }

/* ---------- Team ---------- */
.team-status { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -8px 0 26px; }
.team-status span { padding: 8px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700; background: var(--hm-surface); border: 1px solid var(--hm-border); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { --c: #8E1631; position: relative; padding: 0 20px 22px; border-radius: 30px; background: var(--hm-surface); border: 1px solid color-mix(in srgb, var(--c) 26%, var(--hm-border)); box-shadow: var(--hm-shadow); overflow: hidden; display: flex; flex-direction: column; }
#babu-card { --c: #2A6F41; } #bhaskar-card { --c: #C2570A; }
.team-card::before { content: ""; height: 88px; margin: 0 -20px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #F2B01E)); }
.team-avatar { width: 112px; height: 112px; border-radius: 30px; overflow: hidden; margin: -56px auto 12px; border: 5px solid var(--hm-surface); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .45); position: relative; background: #fff; }
.team-avatar svg { width: 100%; height: 100%; display: block; }
.team-avatar.shaking { animation: hmShake .55s; }
@keyframes hmShake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(4deg); } }
.team-role { align-self: center; padding: 5px 14px; border-radius: 30px; font-size: .74rem; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
[data-theme="dark"] .team-role { color: color-mix(in srgb, var(--c) 50%, #fff); }
.team-name { text-align: center; font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.6rem; margin: 8px 0 2px; }
.team-title { text-align: center; font-size: .8rem; font-weight: 700; color: var(--hm-muted); margin-bottom: 10px; }
.team-quote { text-align: center; font-style: italic; font-size: .9rem; margin-bottom: 14px; padding: 0 6px; }
.team-quals { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; }
.team-quals li { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; padding: 9px 11px; border-radius: 14px; background: var(--hm-surface-2); border: 1px solid var(--hm-border); }
.team-quals li::before { content: attr(data-i); flex: none; font-size: 1.05rem; line-height: 1.3; }
.team-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.team-chip { padding: 5px 12px; border-radius: 30px; font-size: .74rem; font-weight: 800; background: color-mix(in srgb, var(--hm-green) 14%, transparent); color: var(--hm-green); }
.team-chip.warn { background: color-mix(in srgb, var(--hm-brass) 18%, transparent); color: var(--hm-brass); }
.scold-box { margin-top: auto; padding: 14px; border-radius: 20px; background: color-mix(in srgb, var(--c) 8%, var(--hm-surface)); border: 1.5px dashed color-mix(in srgb, var(--c) 45%, transparent); }
.scold-note { font-size: .82rem; margin-bottom: 10px; }
.scold-actions { display: flex; flex-direction: column; gap: 8px; }
.scold-btn, .scold-wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 30px; border: 0; cursor: pointer; text-decoration: none; font: 700 .84rem 'Plus Jakarta Sans', sans-serif; text-align: center; }
.scold-btn { color: #fff; background: linear-gradient(135deg, #E8452C, #B3202F); }
.scold-wa { color: #0E6B34; background: rgba(37, 211, 102, .16); border: 1px solid rgba(37, 211, 102, .4); }
[data-theme="dark"] .scold-wa { color: #7BE3A6; }
.mood-line { margin-top: 10px; font-size: .8rem; font-weight: 700; }
.scold-reply { min-height: 2.6em; margin-top: 6px; font-size: .84rem; font-weight: 600; color: var(--hm-text); }
.scold-count { font-size: .74rem; color: var(--hm-muted); margin-top: 4px; }
.dev-bar { height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--c) 16%, transparent); overflow: hidden; margin-top: 10px; }
.dev-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #2A6F41, #4C9F6B); }
.dev-bar i.run { animation: hmFill 2.2s ease-out forwards; }
@keyframes hmFill { from { width: 0; } to { width: 99%; } }

/* ---------- Contact ---------- */
.hm-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.hm-info { display: grid; gap: 14px; }
.hm-info-box { display: flex; gap: 14px; padding: 18px; border-radius: 22px; background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: var(--hm-shadow); }
.hm-info-box .e { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; flex: none; background: color-mix(in srgb, var(--hm-brass) 16%, transparent); }
.hm-info-box h4 { font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.05rem; margin-bottom: 2px; }
.hm-info-box p { font-size: .88rem; color: var(--hm-muted); }
.hm-info-box a.wa-link { display: inline-block; margin-top: 6px; color: #1FA855; font-weight: 800; text-decoration: none; font-size: .9rem; }
.hm-form { padding: 26px; border-radius: 28px; background: var(--hm-surface); border: 1px solid var(--hm-border); box-shadow: var(--hm-shadow); }
.hm-form h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.5rem; margin-bottom: 14px; }
.hm-field { margin-bottom: 14px; }
.hm-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--hm-muted); margin-bottom: 5px; }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--hm-border); background: var(--hm-surface-2); color: var(--hm-text); font: 500 16px 'Plus Jakarta Sans', sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; }
.hm-field textarea { resize: vertical; min-height: 110px; }
.hm-field input:focus, .hm-field select:focus, .hm-field textarea:focus { border-color: var(--hm-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hm-primary) 18%, transparent); background: var(--hm-surface); }
.hm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hm-formmsg { margin-top: 12px; padding: 11px 14px; border-radius: 14px; font-size: .88rem; font-weight: 700; background: color-mix(in srgb, var(--hm-green) 14%, transparent); color: var(--hm-green); }

/* ---------- Install app button (stable: no transforms, no animation) ---------- */
.al-install { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900; margin: 0; display: flex; align-items: stretch; border-radius: 40px; overflow: hidden; background: linear-gradient(135deg, #E8452C, #B3202F); box-shadow: 0 14px 30px -10px rgba(122, 18, 41, .7); }
.al-install[hidden] { display: none; }
.al-install button { border: 0; background: none; color: #fff; cursor: pointer; font: 700 .88rem/1 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-text-fill-color: #fff; }
.al-install .go { display: flex; align-items: center; gap: 8px; padding: 13px 8px 13px 18px; }
.al-install .x { padding: 0 14px 0 8px; font-size: 1.1rem; opacity: .85; }
.al-install .x:hover { opacity: 1; }
.al-sheet { position: fixed; inset: 0; z-index: 1300; display: none; align-items: flex-end; justify-content: center; padding: 14px; background: rgba(20, 6, 12, .6); backdrop-filter: blur(4px); }
.al-sheet.open { display: flex; }
.al-sheet-card { width: min(420px, 100%); padding: 24px 22px; border-radius: 26px; text-align: center; background: var(--hm-surface, #fff); color: var(--hm-text, #2A1218); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.al-sheet-card h3 { font-family: 'Rozha One', serif; font-weight: 400; font-size: 1.3rem; color: var(--hm-primary, #8E1631); margin-bottom: 8px; }
.al-sheet-card ol { text-align: left; margin: 12px 0 16px 20px; font-size: .92rem; line-height: 1.8; }
.al-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 1400; max-width: 90vw; padding: 11px 20px; border-radius: 30px; font: 700 .86rem 'Plus Jakarta Sans', sans-serif; text-align: center; background: #2A1218; color: #FFF4E0; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateX(-50%); transition: opacity .25s, visibility .25s; }
.al-toast.on { opacity: 1; visibility: visible; }

/* ---------- Header "Sign in" visibility fix (applied by index.php to the header link) ---------- */
.al-signin-fix {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: none !important;
  background: linear-gradient(135deg, #E8452C, #B3202F) !important; background-image: linear-gradient(135deg, #E8452C, #B3202F) !important;
  border: 0 !important; border-radius: 30px !important; padding: 9px 20px !important;
  font-weight: 700 !important; font-size: .88rem !important; line-height: 1.2 !important; text-decoration: none !important;
  opacity: 1 !important; visibility: visible !important; box-shadow: 0 8px 18px -8px rgba(179, 32, 47, .8) !important;
}
.al-signin-fix * { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hm-hero-grid { grid-template-columns: 1fr; gap: 20px; } .hm-art { order: -1; padding: 12px; }
  .hm-logo { width: min(300px, 72vw); }
  .hm-slide { grid-template-columns: 1fr; } .hm-slide-img { min-height: 220px; } .hm-slide-img::after { background: linear-gradient(180deg, transparent 55%, #3F0A18); }
  .hm-slide-info { padding: 22px 22px 56px; }
  .hm-steps { grid-template-columns: repeat(2, 1fr); } .hm-steps::before { display: none; }
  .hm-about, .hm-trust-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hm-band, .hm-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hm-sec { padding-top: 48px; } .hm-stats { gap: 8px; } .hm-stat { padding: 12px 10px; border-radius: 16px; } .hm-stat b { font-size: 1.35rem; }
  .hm-cta .hm-btn { flex: 1 1 100%; } .hm-float { display: none; }
  .hm-steps, .hm-about, .hm-trust-row { grid-template-columns: 1fr; }
  .hm-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; } .hm-cat { padding: 16px 14px; border-radius: 20px; }
  .hm-row2 { grid-template-columns: 1fr; } .hm-form { padding: 20px 16px; border-radius: 24px; }
  .hm-nav { width: 40px; height: 40px; } .hm-band-card { padding: 24px 20px; border-radius: 24px; }
  .al-install .go { padding: 12px 6px 12px 16px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-orbit, .hm-orbit span, .hm-float, .team-avatar.shaking, .dev-bar i.run { animation: none !important; }
  .hm-track, .hm-btn, .hm-cat { transition: none; } .dev-bar i.run { width: 99%; }
}