/* ============================================================
   Horizon Music Academy — page-specific styles
   Loaded AFTER base.css on: lessons, our-team, contact-us,
   carlingford, fairfield, epping, cherrybrook.
   ============================================================ */

/* ---------- section headers ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head h2 { margin-bottom: .4rem; }
.section-head .lede { margin-top: .8rem; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.6rem) 0;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(217, 168, 63, .22), transparent 60%),
    radial-gradient(700px 320px at 4% 0%, rgba(29, 49, 84, .10), transparent 55%),
    linear-gradient(180deg, #fffdf9, var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 1.1rem; }
.page-hero .actions { margin-top: 1.9rem; }
.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: none; }
}

/* hero info panel (address / phone / email) */
.hero-panel {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .82);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg);
}
.hero-panel h2,
.hero-panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.hero-panel__row {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .75rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .95rem;
}
.hero-panel__row:first-of-type { border-top: 0; padding-top: 0; }
.hero-panel__row strong { display: block; color: var(--gold-300); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .15rem; }
.hero-panel__row a { color: #fff; }
.hero-panel__row a:hover { color: var(--gold-300); }
.hero-panel .btn { margin-top: 1.2rem; }

/* ---------- split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* image gallery strip */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* wide banner image */
.banner-img img {
  width: 100%;
  height: clamp(220px, 30vw, 360px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- tick list ---------- */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tick-list li { position: relative; padding-left: 2.2rem; color: var(--text-soft); }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .38rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: .36rem; top: .66rem;
  width: .42rem; height: .22rem;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* ---------- levels ---------- */
.level__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-400);
  display: block;
  margin-bottom: .7rem;
}
.level h3 { margin-bottom: .5rem; }
.level p { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* ---------- course cards ---------- */
.course-card { display: flex; flex-direction: column; gap: .55rem; }
.course-card__tag {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  padding: .25rem .7rem;
}
.course-card h3 { font-size: 1.25rem; margin: .2rem 0 0; }
.course-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- testimonials ---------- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: .7;
  color: var(--gold-400);
  margin-bottom: .6rem;
}
.quote__text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--navy-900);
  margin: 0 0 1.2rem;
}
.quote__by { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.quote__by span { display: block; font-weight: 500; font-size: .82rem; color: var(--gold-500); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: rgba(201, 150, 47, .5); box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.15rem 2.6rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .2rem; top: 50%;
  width: .7rem; height: .7rem;
  border-right: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.faq details p {
  margin: 0;
  padding: 0 2rem 1.25rem 0;
  color: var(--text-soft);
  font-size: .98rem;
}

/* ---------- areas we serve ---------- */
.area-card h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.area-card__meta { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); margin-bottom: .6rem; }
.area-card p { color: var(--text-soft); font-size: .92rem; margin: 0; }
.suburb-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.suburb-list li {
  font-size: .78rem;
  line-height: 1.3;
  color: var(--text-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .7rem;
}

/* ---------- instructors ---------- */
.instructor { display: flex; gap: 1.25rem; align-items: flex-start; }
.instructor__photo {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-050);
  box-shadow: var(--shadow-sm);
}
.instructor__body { min-width: 0; }
.instructor__name { font-size: 1.22rem; margin-bottom: .15rem; }
.instructor__role {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .45rem;
}
.instructor__locs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.instructor__locs span {
  font-size: .74rem;
  font-weight: 500;
  color: var(--navy-800);
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  padding: .18rem .6rem;
}
.instructor__bio { color: var(--text-soft); font-size: .95rem; margin: 0; }
@media (max-width: 620px) {
  .instructor { flex-direction: column; }
  .instructor__photo { width: 88px; height: 88px; }
}

/* empty state (locations without listed instructors) */
.empty-state {
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, .62);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
}
.empty-state__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  padding: .3rem .85rem;
  margin-bottom: .9rem;
}
.empty-state h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.empty-state p { color: var(--text-soft); max-width: 52ch; margin: 0 auto 1.2rem; }

/* ---------- Magico credit ---------- */
.credit {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-400);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.credit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.credit h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.credit p { color: var(--text-soft); font-size: .97rem; margin: 0; }
@media (max-width: 720px) { .credit { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.icon-badge {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  display: grid;
  place-items: center;
  color: var(--gold-500);
}
.icon-badge svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.contact-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.contact-card a { color: var(--navy-800); font-weight: 500; }
.contact-card a:hover { color: var(--gold-500); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .4rem; }
.form-card > p { color: var(--text-soft); font-size: .96rem; }
.field { margin-top: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy-900); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, .18);
  background: var(--paper);
}
.field textarea { min-height: 140px; resize: vertical; }
.check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  font-size: .9rem;
  color: var(--text-soft);
}
.check input { margin-top: .3rem; width: 16px; height: 16px; accent-color: var(--gold-500); flex: none; }
.form-card .btn { margin-top: 1.3rem; width: 100%; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--gold-050);
  border: 1px solid var(--gold-200);
  color: var(--navy-800);
  font-size: .93rem;
}
.form-success.is-visible { display: block; }

/* ---------- location page bits ---------- */
.loc-courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .loc-courses { grid-template-columns: 1fr; } }

/* ---------- page CTA band ---------- */
.page-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(217, 168, 63, .28), transparent 65%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .84);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.page-cta h2 { color: #fff; }
.page-cta .eyebrow { color: var(--gold-300); }
.page-cta .lede { color: rgba(255, 255, 255, .78); margin-inline: auto; }
.page-cta .actions { justify-content: center; margin-top: 1.8rem; }
