/* Melbourne Haematology - shared brand stylesheet */


:root {
  --red: #DD1D25;
  --red-dark: #B5171D;
  --black: #161616;
  --grey: #8C8C8C;
  --grey-light: #F4F4F4;
  --line: #ECECEC;
  --white: #FFFFFF;
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  line-height: 1.05;
  white-space: nowrap;
}
.logo .drop { width: 24px; height: 27px; flex-shrink: 0; }
.logo .word-stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.logo .word-top { display: block; font-weight: 700; font-size: 1.05rem; color: var(--grey); text-align: left; }
.logo .word-bottom { display: block; font-weight: 800; font-size: 1.2rem; color: var(--black); text-align: left; }
.logo .word-bottom .o { color: var(--red); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  margin-left: 24px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--black);
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover { background: var(--grey-light); }
nav.main-nav a.active {
  background: var(--red);
  color: var(--white);
}
nav.main-nav a.active:hover { background: var(--red-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-contact {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--black);
  padding: 10px 22px;
  border-radius: 999px;
}
.btn-contact:hover { background: var(--black); color: var(--white); }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--black); }

/* Section label (rotated vertical tab, matches real site) */
.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-label-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.section-label-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.section-label-line .dash {
  width: 28px;
  height: 2px;
  background: var(--red);
  flex: none;
  min-height: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 104px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,0.09) 0 70px, transparent 71px),
    radial-gradient(circle at 22% 65%, rgba(0,0,0,0.13) 0 100px, transparent 101px),
    radial-gradient(circle at 40% 12%, rgba(255,255,255,0.07) 0 45px, transparent 46px),
    radial-gradient(circle at 58% 55%, rgba(0,0,0,0.10) 0 60px, transparent 61px),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,0.10) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 68%, rgba(0,0,0,0.12) 0 80px, transparent 81px),
    radial-gradient(circle at 68% 85%, rgba(255,255,255,0.06) 0 55px, transparent 56px),
    radial-gradient(circle at 12% 88%, rgba(0,0,0,0.09) 0 40px, transparent 41px),
    radial-gradient(circle at 48% 78%, rgba(255,255,255,0.08) 0 34px, transparent 35px),
    var(--red);
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.hero-visual {
  flex: 1 1 340px;
  max-width: 380px;
  position: relative;
}
.hero-visual .disc {
  background: var(--red);
  border: 3px solid rgba(255,255,255,0.35);
  border-radius: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.hero-visual .disc-inner {
  background: var(--white);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .disc-logo {
  font-family: var(--font-display);
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-visual .disc-logo .top { color: var(--grey); font-weight: 700; font-size: 1.3rem; display: block; text-align: left; }
.hero-visual .disc-logo .bottom { color: var(--black); font-weight: 800; font-size: 1.6rem; display: block; text-align: left; }
.hero-visual .disc-logo .bottom .o { color: var(--red); }

.hero-text { flex: 1 1 480px; }
.hero-text .drop-icon { width: 40px; height: 48px; margin-bottom: 24px; }
.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.2;
  color: #fff;
}

/* Section heading pattern */
.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--black);
}
.section-head .underline {
  width: 64px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 16px;
}
.section-head p {
  color: var(--grey);
  max-width: 560px;
  margin-top: 20px;
  font-size: 1rem;
}

section { padding: 72px 0; }

/* Page intro hero band - red textured background with wave divider */
.hero-band {
  position: relative;
  background:
    radial-gradient(circle at 12% 25%, rgba(255,255,255,0.10) 0 55px, transparent 56px),
    radial-gradient(circle at 82% 15%, rgba(0,0,0,0.14) 0 85px, transparent 86px),
    radial-gradient(circle at 62% 68%, rgba(255,255,255,0.08) 0 65px, transparent 66px),
    radial-gradient(circle at 28% 78%, rgba(0,0,0,0.10) 0 45px, transparent 46px),
    radial-gradient(circle at 92% 72%, rgba(255,255,255,0.07) 0 95px, transparent 96px),
    radial-gradient(circle at 42% 10%, rgba(0,0,0,0.09) 0 38px, transparent 39px),
    radial-gradient(circle at 6% 85%, rgba(255,255,255,0.06) 0 70px, transparent 71px),
    var(--red);
  overflow: hidden;
  padding: 64px 0 88px;
}
.hero-band .wrap { position: relative; z-index: 2; }
.hero-band h1, .hero-band h2 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
}
.hero-band p {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.hero-wave svg { display: block; width: 100%; height: 56px; }

.hero-corner-drop {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: auto;
  opacity: 0.5;
  z-index: 1;
}


.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.doctor-card:hover {
  box-shadow: 0 6px 18px rgba(27,58,92,0.08);
  transform: translateY(-2px);
}
.doctor-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
}
.doctor-card .role {
  font-size: 0.82rem;
  color: var(--grey);
  font-weight: 500;
}
.doctor-card .loc { font-size: 0.88rem; color: var(--grey); margin-top: 4px; }

/* Who we are */
.who-we-are { background: var(--grey-light); }
.who-we-are .wrap { display: flex; gap: 56px; flex-wrap: wrap; align-items: flex-start; }
.who-we-are .text { flex: 1 1 420px; }
.who-we-are .text p { color: var(--black); font-size: 1.05rem; max-width: 520px; }
.who-we-are .links { flex: 1 1 260px; }
.who-we-are .links ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.who-we-are .links a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.who-we-are .links a::after { content: '→'; color: var(--red); }

/* Patient info teaser */
.patient-teaser { text-align: center; }
.patient-teaser .box {
  background: var(--black);
  border-radius: 24px;
  padding: 64px 32px;
}
.patient-teaser h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.patient-teaser p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 28px;
}
.btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
}
.btn-red:hover { background: var(--red-dark); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 24px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
footer h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; font-size: 0.95rem; }
footer ul { list-style: none; color: var(--grey); font-size: 0.9rem; }
footer li { margin-bottom: 8px; }
footer a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
  }
  nav.main-nav {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 0;
  }
  nav.main-nav a {
    font-size: 0.82rem;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .header-actions { order: 2; margin-left: auto; }
  .hero h1, .section-head h2 { font-size: 1.8rem; }
  .hero-visual {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    max-width: none;
    margin: 0 auto;
  }
  .hero-visual .disc {
    width: 200px;
    height: 200px;
    aspect-ratio: unset;
    padding: 18px;
  }
  .hero-visual .disc-inner {
    width: 164px;
    height: 164px;
  }
}

.overview-block {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.overview-card {
  flex: 0 0 220px;
  background: var(--grey-light);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overview-card svg { width: 60px; height: auto; }
.overview-text { flex: 1 1 420px; }
.overview-eyebrow {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

/* Doctor profile page */
.profile-meta { color: var(--grey); font-size: 0.95rem; margin-bottom: 4px; }
.profile-credentials { color: var(--grey); font-size: 0.9rem; margin-bottom: 24px; }
.interest-block {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.interest-card {
  flex: 0 0 220px;
  background: var(--grey-light);
  border-radius: 50%;
  width: 220px;
  height: 220px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.interest-card svg { width: 32px; height: auto; }
.interest-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.interest-text { flex: 1 1 380px; font-size: 1rem; line-height: 1.7; }
.interest-text p { margin-bottom: 14px; }

.doctor-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  display: block;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.location-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.location-card h4 {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 10px;
}
.location-card .addr { font-size: 0.92rem; color: var(--black); margin-bottom: 10px; line-height: 1.6; }
.location-card .contact-line { font-size: 0.88rem; color: var(--grey); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag-pill {
  background: var(--grey-light);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}

.appt-box {
  background: var(--black);
  color: #fff;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 40px;
}
.appt-box h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; color: #fff; }
.appt-box .appt-phone { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.appt-box .appt-line { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* What's New page */
.update-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.update-type {
  display: inline-block;
  background: var(--grey-light);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.update-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 6px;
}
.update-meta {
  font-size: 0.88rem;
  color: var(--grey);
  margin-bottom: 14px;
}
.update-meta a { color: var(--red); font-weight: 600; }
.update-summary { font-size: 0.98rem; color: var(--black); line-height: 1.65; margin-bottom: 12px; }
.update-link { font-size: 0.88rem; font-weight: 600; color: var(--red); }
.update-placeholder-tag {
  display: inline-block;
  background: #FFF4E5;
  color: #9A5B00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}
