/* ============================================================
   Tanya's Flawless Hair & Beauty Academy, Nottingham.
   Bespoke brand build grounded in their real identity:
   hot pink magenta wordmark (#E3007E family), script display
   personality, clean geometric sans structure, white base.
   Energetic, aspirational, education first.
   ============================================================ */

:root {
  --pink:       #D9187B;   /* their magenta, tuned for contrast on white */
  --pink-hot:   #E3007E;   /* accents, gradients */
  --pink-deep:  #A81160;   /* hovers */
  --blush:      #FBEAF3;   /* washes */
  --blush-deep: #F5D3E5;
  --charcoal:   #211A20;   /* headings, footer */
  --ink:        #372F36;   /* body */
  --muted:      #776C74;
  --white:      #FFFFFF;
  --off:        #FDF9FB;   /* page base */

  --line:       rgba(33, 26, 32, .13);
  --line-soft:  rgba(33, 26, 32, .07);

  --font-head: "Jost", "Futura", "Segoe UI", sans-serif;
  --font-script: "Dancing Script", cursive;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 7px;
  --shadow: 0 20px 44px rgba(163, 17, 96, .14);
  --shadow-soft: 0 10px 24px rgba(33, 26, 32, .08);
  --wrap: 1150px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off);
  line-height: 1.68;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--pink-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.16; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.18rem; }
.script { font-family: var(--font-script); color: var(--pink); font-weight: 700; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--charcoal); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 0; }

.demo-ribbon { background: var(--charcoal); color: #EBD9E3; font-size: .82rem; text-align: center; padding: 7px 14px; letter-spacing: .02em; }
.demo-ribbon strong { color: var(--pink-hot); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253, 249, 251, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }

.site-nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--pink); }
.site-nav .nav-cta { background: var(--pink); color: #fff; padding: 10px 24px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--pink-deep); color: #fff; }

.nav-toggle { display: none; background: none; border: 2px solid var(--pink); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--pink); margin: 4px 0; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--off); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .site-nav li { width: 100%; text-align: center; }
  .site-nav a { display: block; padding: 13px 0; }
  .site-nav .nav-cta { margin: 10px auto; display: inline-block; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--charcoal) 0%, #3A1029 55%, var(--pink-deep) 130%); color: #F5E6EE; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; bottom: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 0, 126, .35) 0%, transparent 65%); }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: clamp(76px, 12vw, 150px) 22px clamp(64px, 9vw, 110px); }
.hero-script { font-family: var(--font-script); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--pink-hot); text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.hero h1 { color: #fff; margin: 10px auto 16px; max-width: 780px; }
.hero p.lead { max-width: 640px; margin: 0 auto 30px; color: #E5CFDC; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; text-decoration: none; font-weight: 700; letter-spacing: .02em; padding: 14px 30px; border-radius: 999px; transition: transform .15s ease, background .15s ease; font-size: .98rem; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink-hot); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); }
.btn-ghost { border: 2px solid var(--pink-hot); color: #fff; }
.btn-ghost:hover { background: var(--pink-hot); }
.btn-charcoal { background: var(--charcoal); color: #fff; }
.btn-charcoal:hover { background: #000; }

.hero-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; padding: 0 22px 54px; }
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--pink-hot); }
.hero-stat span { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: #C9AEBE; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 98px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .eyebrow { font-family: var(--font-script); font-size: 1.45rem; color: var(--pink); }
.section-head h2 { margin-top: 6px; }
.section-head p { margin-top: 12px; color: var(--muted); }

.band-blush { background: var(--blush); }
.band-charcoal { background: var(--charcoal); }
.band-charcoal h2, .band-charcoal h3 { color: #fff; }
.band-charcoal p { color: #D9C8D2; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; object-fit: cover; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } }

.tick-list { list-style: none; margin-top: 18px; }
.tick-list li { padding: 8px 0 8px 34px; position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--blush-deep); border: 2px solid var(--pink); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-soft); border-top: 5px solid var(--pink); text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card h3 { color: var(--charcoal); }
.cat-card .count { align-self: flex-start; background: var(--blush); color: var(--pink-deep); font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.cat-card p { color: var(--muted); font-size: .95rem; }
.cat-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .9rem; color: var(--pink); }

/* course price tables */
.course-block { max-width: 860px; margin: 0 auto 34px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.course-block h3 { background: var(--charcoal); color: #fff; padding: 15px 26px; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.course-block h3 .script { font-size: 1.35rem; color: var(--pink-hot); }
.course-block table { width: 100%; border-collapse: collapse; }
.course-block th, .course-block td { padding: 12px 26px; text-align: left; border-bottom: 1px solid var(--line-soft); font-weight: 400; font-size: .98rem; }
.course-block td:last-child { text-align: right; font-weight: 700; color: var(--charcoal); white-space: nowrap; }
.course-block tr:last-child td, .course-block tr:last-child th { border-bottom: none; }
.course-block .was { text-decoration: line-through; color: var(--muted); font-weight: 400; margin-right: 8px; font-size: .88rem; }
.price-note { max-width: 860px; margin: 0 auto; font-size: .9rem; color: var(--muted); text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 840px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft); text-align: center; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* info cards */
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); }
.info-card h3 { margin-bottom: 12px; }
.info-card + .info-card { margin-top: 22px; }
.info-card ul { list-style: none; }
.info-card li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.info-card li:last-child { border-bottom: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 400px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* compliance note strip */
.note-strip { background: var(--blush); border-left: 5px solid var(--pink); border-radius: var(--radius-sm); padding: 18px 22px; max-width: 860px; margin: 0 auto 34px; font-size: .95rem; color: var(--ink); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #BCA9B4; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 840px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--pink-hot); font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: #E9DCE4; text-decoration: none; }
.site-footer a:hover { color: var(--pink-hot); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(233, 220, 228, .15); margin-top: 38px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--pink-hot); }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--charcoal) 0%, #3A1029 70%, var(--pink-deep) 140%); text-align: center; padding: clamp(56px, 8vw, 100px) 22px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #E5CFDC; max-width: 660px; margin: 14px auto 0; }
.page-hero .script { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--pink-hot); }
