/* =====================================================
   MATTRESS BY APPOINTMENT AUSTRALIA
   Brand: Red #cc1f1f / White / Dark charcoal
   Typography: Barlow Condensed (headings) + Barlow (body)
   ===================================================== */

:root {
  --red:        #cc1f1f;
  --red-dark:   #a81818;
  --red-light:  #e83232;
  --white:      #ffffff;
  --off-white:  #f7f7f7;
  --light-grey: #ececec;
  --mid-grey:   #888;
  --dark:       #1a1a1a;
  --dark-2:     #2a2a2a;
  --dark-3:     #333;
  --border:     #e0e0e0;
  --green:      #1a6b38;
  --amber:      #b06800;
  --shadow:     0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.15);
  --radius:     6px;
  --ease:       0.22s ease;
}

@font-face {
  font-family: 'Moontime';
  src: url('./fonts/MoonTime-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

.red { color: var(--red); }
.kicker {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.kicker-lt { color: rgba(255,255,255,0.7); }
.section-sub { font-size: 1rem; color: var(--mid-grey); max-width: 640px; margin: 0.5rem auto 2.5rem; text-align: center; }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,31,31,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover { background: var(--light-grey); }
.btn-full { width: 100%; padding: 1rem; font-size: 1.1rem; text-align: center; border: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav.scrolled { background: var(--red); box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.nav-inner {
  max-width: 100%; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-badge {
  background: var(--white); color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1rem;
  padding: 0.2rem 0.55rem; border-radius: 4px;
  letter-spacing: 0.05em;
}
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.logo-text em { font-style: normal; opacity: 0.8; font-weight: 600; }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--red); background: var(--white);
  padding: 0.5rem 1.4rem; border-radius: var(--radius);
  transition: all var(--ease);
}
.nav-cta:hover { background: var(--light-grey); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--red);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(204, 27, 42, 0.8), rgba(204, 27, 42, 0.7)),
  url('MBA_hero_background.jpg') center/cover no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; display: flex; gap: 3rem; max-width: 90%;}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: rgba(255,255,255,0.85); }
.hero-sub {
  font-size: 1.2rem; color: rgba(255,255,255,0.88);
  margin-bottom: 2.25rem; max-width: 580px; line-height: 1.6;
}
.hero-sub strong { color: var(--white); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--white); }
.hstat span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.hstat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.25); }

/* ── INTRO BAR ── */
.intro-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  padding: 1rem 0;
  text-align: center;
  line-height: 1.6;
}
.intro-bar strong { color: var(--white); }

.intro-bar>.container{
  display: flex;
  max-width: 100%;
  justify-content: space-around;
}

/* ── OPPORTUNITY ── */
.opp { background: var(--white); }
.opp-layout,
.simple-business-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.opp-copy p { font-size: 1.05rem; color: var(--dark-3); margin-bottom: 1rem; }
.opp-copy .btn { margin-top: 0.5rem; }
.opp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ocard {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--ease), transform var(--ease);
}
.ocard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ocard-num { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--red); margin-bottom: 0.5rem; }
.ocard h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--dark); }
.ocard p { font-size: 0.9rem; color: var(--mid-grey); line-height: 1.5; }

/* ── FEATURE STRIP ── */
.fstrip { background: var(--red); padding: 2rem 0; }
.fstrip-list {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  justify-content: center;
}
.fstrip-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.92);
  display: flex; align-items: center; gap: 0.4rem;
}
.fstrip-list span { color: rgba(255,255,255,0.6); }

/* ── HOW IT WORKS ── */
.how { background: var(--off-white); text-align: center; }
.how h2 { margin-bottom: 3rem; }
.steps {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: wrap; justify-content: center;
}
.step {
  flex: 1 1 180px; max-width: 210px;
  text-align: center; padding: 0 0.75rem;
}
.step-n {
  width: 54px; height: 54px;
  background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--dark); }
.step p { font-size: 0.9rem; color: var(--mid-grey); }
.step-arr {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--red);
  opacity: 0.4;
  margin-top: 1rem;
  align-self: flex-start;
}

/* ── MAP — OPEN ANYWHERE ── */
.mapsec { background: var(--dark); padding: 5rem 0; }
.mapsec .kicker { color: var(--red); }
.map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.map-img-wrap {
  position: relative;
}
.map-img-wrap img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.map-copy h2 { color: var(--white); margin-bottom: 1rem; }
.map-copy .red { color: var(--red); }
.map-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.map-lead strong { color: var(--white); }
.map-copy > p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.map-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.map-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.map-list span { font-size: 1rem; flex-shrink: 0; }

/* ── LIFESTYLE ── */
.lifestyle { background: var(--off-white); }
.lifestyle-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.ls-copy p { font-size: 1.05rem; color: var(--dark-3); margin-bottom: 1rem; }
.ls-stats { margin: 1.75rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ls-stat {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.ls-stat strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 800; color: var(--red);
  white-space: nowrap; min-width: 130px;
}
.ls-stat span { font-size: 0.9rem; color: var(--mid-grey); }

.ls-quotes { display: flex; flex-direction: column; gap: 1rem; }
.qcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.qcard-alt { border-left-color: var(--dark-2); }
.qstars { color: var(--red); font-size: 0.85rem; margin-bottom: 0.6rem; letter-spacing: 0.1em; }
.qcard p { font-size: 0.95rem; color: var(--dark-3); font-style: italic; margin-bottom: 0.6rem; line-height: 1.6; }
.qby { font-size: 0.82rem; font-weight: 600; color: var(--mid-grey); }

/* ── COMPARE ── */
.compare { background: var(--white); }
.compare h2 { text-align: center; margin-bottom: 0; }
.compare .kicker { display: block; text-align: center; }
.compare .section-sub { text-align: center; }
.comp-grid {
  width:100%;
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.comp-col { padding: 2.5rem; }
.comp-col h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
.comp-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.comp-col li {
  font-size: 0.97rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comp-bad { background: var(--dark-2); color: rgba(255,255,255,0.55); }
.comp-bad h3 { color: rgba(255,255,255,0.4); }
.comp-bad li::before { content: '✗  '; color: #e57373; }
.comp-good { background: var(--red); color: rgba(255,255,255,0.9); }
.comp-good h3 { color: var(--white); }
.comp-good li::before { content: '✓  '; color: rgba(255,255,255,0.7); font-weight: 700; }

/* ── FAQ ── */
.faq { background: var(--off-white); }
.faq h2 { text-align: center; margin-bottom: 3rem; }
.faq .kicker { display: block; text-align: center; }
.faq-list { max-width: 760px; margin: 0 auto; }
.fi { border-bottom: 1px solid var(--border); }
.fi:first-child { border-top: 1px solid var(--border); }
.fq {
  width: 100%; background: none; border: none;
  padding: 1.15rem 0;
  font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--dark); cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color var(--ease);
}
.fq:hover { color: var(--red); }
.fq::after { content: '+'; font-size: 1.4rem; color: var(--red); flex-shrink: 0; transition: transform var(--ease); }
.fq.open::after { transform: rotate(45deg); }
.fa { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.fa.open { max-height: 300px; padding-bottom: 1.1rem; }
.fa p { font-size: 0.97rem; color: var(--dark-3); line-height: 1.7; }

/* ── ENQUIRE ── */
.enquire { background: var(--dark); }
.enq-layout {
  display: flex; align-items: center; max-width: 100%; justify-content: center;
}
.enq-copy h2 { color: var(--white); margin-bottom: 1rem; }
.enq-copy h2 span { color: var(--red-light); }
.enq-copy p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; line-height: 1.65; }
.enq-list { list-style: none; margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.enq-list li { font-size: 0.97rem; color: rgba(255,255,255,0.75); }
.enq-disc { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-style: italic; margin-top: 1.25rem; line-height: 1.55; }

.enq-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.fg { margin-bottom: 1.15rem; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.4rem;
}
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--mid-grey); }
input, select, textarea {
  width: 100%; padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif; font-size: 0.97rem;
  color: var(--dark); background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius); outline: none;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,31,31,0.1);
  background: var(--white);
}
input.err, select.err { border-color: var(--red); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
textarea { resize: vertical; min-height: 90px; }
.ferr { display: block; font-size: 0.78rem; color: var(--red); margin-top: 0.3rem; min-height: 1rem; }
.form-disc { font-size: 0.77rem; color: var(--mid-grey); margin-top: 0.85rem; text-align: center; line-height: 1.5; }
.form-ok { text-align: center; padding: 2rem 0; }
.ok-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.form-ok h3 { margin-bottom: 0.4rem; color: var(--dark); }
.form-ok p { color: var(--mid-grey); font-size: 0.95rem; }

/* ── FOOTER ── */
.footer { background: #111; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { margin-bottom: 0.85rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); max-width: 280px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.fcol { display: flex; flex-direction: column; gap: 0.4rem; }
.fcol h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); margin-bottom: 0.4rem; }
.fcol a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--ease); }
.fcol a:hover { color: var(--white); }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-align: center; margin-bottom: 0.4rem; }
.earnings-disc { font-size: 0.73rem !important; max-width: 720px; margin: 0 auto !important; line-height: 1.5; }

/* ── SCROLL ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-flag, .hero h1, .hero-sub, .hero-btns, .hero-stats {
  opacity: 0; animation: fadeUp 0.6s ease forwards;
}
.hero-flag   { animation-delay: 0.05s; }
.hero h1     { animation-delay: 0.18s; }
.hero-sub    { animation-delay: 0.32s; }
.hero-btns   { animation-delay: 0.46s; }
.hero-stats  { animation-delay: 0.6s; }

.map-container{
  max-width: 100vw;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section { padding: 3.5rem 0; }
  .opp-layout, .lifestyle-layout, .enq-layout, .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .opp-cards { grid-template-columns: 1fr 1fr; }
  .map-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .map-img-wrap { max-width: 480px; margin: 0 auto; }
  .comp-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .steps { flex-direction: column; align-items: center; }
  .step-arr { transform: rotate(90deg); margin: 0 auto; }
}
@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .opp-cards { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .enq-form-wrap { padding: 1.75rem; }
  .comp-col { padding: 1.75rem; }
}


.cursive-font{
  font-family: 'Moontime', cursive;
}

/* ── INTRODUCTION SECTION ── */
.intro-section {
  width: 100%;
  background: #f5f5f5;
  padding: 60px 0;
  overflow: hidden;
}

.intro-layout {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 580px;
}

/* Image fills the right ~75% of the section */
.intro-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card sits on top of the image, anchored left */
.intro-card {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 48%;
  padding: 50px 48px;
  border-radius: 16px;
  box-shadow: 8px 8px 40px rgba(0,0,0,0.12);
  margin: 30px 0 30px 40px;
}
.intro-layout {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 580px;
}

/* Image pinned to top */
.intro-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card positioned independently — adjust top to move it down */
.intro-card {
  position: absolute;
  top: 40px;       /* ← change this value only to move card down */
  left: 40px;
  z-index: 2;
  background: #fff;
  width: 48%;
  padding: 50px 48px;
  border-radius: 16px;
  box-shadow: 8px 8px 40px rgba(0,0,0,0.12);
}

.banner-header-title{
  font-size: 6rem;
}