/* YogaAum for Instructors — shared styles */
:root {
  --bg: #faf8f4;
  --ink: #2b2b28;
  --muted: #6f6a60;
  --brand: #2f5d50;
  --brand-dark: #234a3f;
  --accent: #c96f4a;
  --card: #ffffff;
  --line: #e7e1d6;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Google Sans', 'Sukhumvit Set', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 244, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: 0.2px; }
.logo span { color: var(--brand); }
nav.site a { margin-left: 22px; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
nav.site a:hover, nav.site a.active { color: var(--brand); }

.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(28, 42, 38, 0.55), rgba(28, 42, 38, 0.65)), url('/assets/hero.jpg') center/cover no-repeat;
  padding: 96px 20px 104px;
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 600; margin: 0 0 10px; }
.hero p.sub { font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 720px; margin: 0 auto 30px; opacity: 0.95; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 34px; border-radius: 999px; font-weight: 500; font-size: 1.02rem;
  border: none; cursor: pointer; transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: #b45d3a; transform: translateY(-1px); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0 8px; }
h2 { font-size: 1.55rem; font-weight: 600; color: var(--brand-dark); margin: 0 0 8px; }
.kicker { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
p.lead { color: var(--muted); max-width: 780px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 26px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: 0 1px 3px rgba(40, 35, 25, 0.04);
}
.card .num { font-size: 1.5rem; color: var(--accent); font-weight: 600; }
.card h3 { margin: 6px 0 6px; font-size: 1.05rem; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* form */
form.apply {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 26px; margin: 26px auto 0; max-width: 680px;
}
.success { max-width: 680px; margin-left: auto; margin-right: auto; }
fieldset { border: 0; border-top: 1px solid var(--line); margin: 30px 0 0; padding: 8px 0 0; }
fieldset:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
legend { font-weight: 600; color: var(--brand-dark); font-size: 1.02rem; letter-spacing: 0.2px; background: var(--card); padding: 0 14px 0 0; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 14px; }
.grid .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.f .t { line-height: 1.5; }
.f .t b { font-weight: 600; }
.f .t .th { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.f.req .t::after { content: ' *'; color: var(--accent); font-weight: 600; }
div.f { margin-top: 16px; }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], input[type='number'], select {
  width: 100%; margin: 0; padding: 10px 12px; font: inherit; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fdfcfa; color: var(--ink);
}
input:focus, select:focus { outline: 2px solid rgba(47, 93, 80, 0.35); border-color: var(--brand); }
::placeholder { color: #b9b2a4; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.choices label {
  display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: #fdfcfa; transition: border-color 0.12s, background 0.12s;
}
.choices label:hover { border-color: var(--brand); }
.choices label:has(input:checked) { border-color: var(--brand); background: #eef4f1; }
.choices input { accent-color: var(--brand); width: 17px; height: 17px; margin: 0; flex: none; }
.choices.stack { flex-direction: column; align-items: stretch; }
.choices.stack label { border-radius: 12px; padding: 11px 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
/* address autocomplete */
.ac-wrap { position: relative; }
.ac-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(40, 35, 25, 0.12); max-height: 260px; overflow-y: auto;
}
.ac-item { padding: 9px 14px; cursor: pointer; font-size: 0.92rem; line-height: 1.45; }
.ac-item:hover, .ac-item.active { background: #eef4f1; }
.ac-item .sub { color: var(--muted); font-size: 0.84rem; display: block; }
.ac-empty { padding: 10px 14px; color: var(--muted); font-size: 0.88rem; }
input.autofilled { background: #f3f7f2; border-color: #cfe0d2; }
input.match-ok { border-color: #7cab8b; background: #f3f9f3; }
input.match-bad { border-color: #d98a8a; background: #fdf5f4; }
.hint-ok { color: #2e7d32 !important; }
.hint-bad { color: #c62828 !important; }
.filebox {
  margin-top: 12px; border: 1.5px dashed #cfc7b8; border-radius: var(--radius);
  padding: 24px 22px; text-align: center; color: var(--muted); background: #fdfcfa;
}
.filebox input[type='file'] { display: none; }
.filebox .pick {
  display: inline-block; margin-top: 12px; padding: 9px 26px; border-radius: 999px;
  border: 1.5px solid var(--brand); color: var(--brand); font-weight: 500; cursor: pointer;
  background: #fff; transition: background 0.12s, color 0.12s;
}
.filebox .pick:hover { background: var(--brand); color: #fff; }
#filelist { list-style: none; padding: 0; margin: 12px auto 0; font-size: 0.88rem; text-align: left; max-width: 420px; }
#filelist li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
#filelist li:last-child { border-bottom: 0; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.error { color: #c62828; font-size: 0.95rem; margin-top: 12px; white-space: pre-line; }
.success {
  background: #eef6ef; border: 1px solid #cde3cf; color: #234a3f;
  border-radius: var(--radius); padding: 28px; font-size: 1.05rem; white-space: pre-line;
}

/* locations */
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 26px; }
.locs .card h3 { color: var(--brand-dark); }
.locs .card p { font-size: 0.92rem; line-height: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .gallery img { height: 200px; } }
.storegrid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 20px; margin-top: 26px; align-items: stretch; }
@media (max-width: 760px) { .storegrid { grid-template-columns: 1fr; } }
.storecard h3 { color: var(--brand-dark); margin-top: 0; font-size: 1.2rem; }
.storecard p { font-size: 0.95rem; line-height: 1.75; }
.acts { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.act {
  display: block; text-align: center; padding: 10px 16px; border-radius: 10px;
  border: 1.5px solid var(--brand); color: var(--brand); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: background 0.12s, color 0.12s;
}
.act:hover { background: var(--brand); color: #fff; }
.act.line { background: #06c755; border-color: #06c755; color: #fff; }
.act.line:hover { background: #05a648; }
.mapwrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; box-shadow: 0 1px 4px rgba(40,35,25,0.06); }
.mapwrap iframe { width: 100%; height: 100%; min-height: 340px; display: block; }
/* lively cards */
.card { border-top: 3px solid var(--line); }
.cards .card:nth-child(1) { border-top-color: #c96f4a; }
.cards .card:nth-child(2) { border-top-color: #2f5d50; }
.cards .card:nth-child(3) { border-top-color: #b7912f; }
.cards .card:nth-child(4) { border-top-color: #6b7fb3; }
.card .ico { font-size: 1.7rem; line-height: 1; margin-bottom: 6px; }
.contactbar .act { display: inline-block; margin: 12px 6px 0; border-color: #fff; color: #fff; }
.contactbar .act:hover { background: #fff; color: var(--brand); }
.contactbar .act.line { border-color: #06c755; }

.contactbar {
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 30px; margin: 48px 0; text-align: center;
}
.contactbar a { color: #ffe9de; font-weight: 500; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 20px 34px; }
footer.site .inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--brand); }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  nav.site a { margin-left: 14px; font-size: 0.88rem; }
  .hero { padding: 72px 18px 80px; }
  form.apply { padding: 20px 16px; }
}
