/* Pride Properties website, rebuilt from the approved flyer-style concept. */
:root {
  --red: #ef2f2b;
  --orange: #f47b20;
  --yellow: #f4c83a;
  --green: #31a34a;
  --blue: #1479be;
  --purple: #6d2094;
  --deep-purple: #4f1674;
  --ink: #101018;
  --muted: #555965;
  --gold: #bf9632;
  --line: #dedee6;
  --rainbow: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  --rainbow-soft: linear-gradient(90deg, rgba(239,47,43,.12), rgba(244,124,32,.10), rgba(244,200,58,.10), rgba(49,163,74,.10), rgba(20,121,190,.10), rgba(109,32,148,.12));
  --page-width: 1024px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f4f4f6;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.site-shell {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 42px rgba(0,0,0,.16);
  overflow: hidden;
}

.top-nav {
  position: relative;
  z-index: 20;
  height: 64px;
  padding: 0 38px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 29px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
}

.top-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
}

.top-nav a.active,
.top-nav a:hover { color: var(--purple); }

.top-nav a.active::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  background: var(--purple);
  border-radius: 99px;
}

.nav-cta {
  color: #fff !important;
  padding: 14px 18px;
  background: var(--purple);
  border-radius: 0;
  box-shadow: 0 12px 26px rgba(109,32,148,.16);
}

.hero {
  position: relative;
  min-height: 766px;
  padding: 10px 0 0 54px;
  background:
    radial-gradient(circle at 62% 34%, rgba(20,121,190,.14), transparent 32%),
    linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255,255,255,.92) 55%, rgba(255,255,255,.35) 70%, rgba(255,255,255,.02) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 35% 0 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 70%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(45%, 424px);
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 58%;
  max-width: 580px;
}

.logo {
  width: 305px;
  display: block;
  margin: 0 0 38px 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(46px, 6.35vw, 68px);
  line-height: 1.18;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 900;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-script {
  margin: 24px 0 2px;
  color: var(--purple);
  font-family: "Great Vibes", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(35px, 4.3vw, 48px);
  line-height: 1.05;
}

.heart-line {
  width: min(100%, 445px);
  height: 52px;
  margin: 0 0 30px;
}

.launch {
  margin: 0;
  color: var(--deep-purple);
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: .02em;
}

.launch strong {
  display: block;
  font-size: 30px;
  letter-spacing: .03em;
}

.pride-heart {
  display: inline-block;
  font-size: .9em;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 480px;
  font-size: 24px;
  line-height: 1.38;
  color: #15151d;
}

.rainbow-band {
  color: white;
  text-align: center;
  padding: 31px 32px 27px;
  background: var(--rainbow);
}

.rainbow-band h2 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .055em;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.1;
  font-weight: 900;
}

.rainbow-band p {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
}

.service-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 38px 36px 36px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 0 26px;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.service-card:last-child { border-right: 0; }

.service-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,248,253,.9));
  box-shadow: 0 20px 42px rgba(79,22,116,.08);
}

.service-card svg {
  width: 86px;
  height: 86px;
  margin: 0 0 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: #1e1e28;
  font-size: 16px;
  line-height: 1.55;
}

.learn {
  margin-top: auto;
  padding-top: 26px;
  font-size: 14px;
  font-weight: 900;
}

.red { color: var(--purple); }
.orange { color: #ff5a0a; }
.green { color: #4d922c; }
.blue { color: #0069c6; }
.purple { color: var(--purple); }

.gold-coast {
  min-height: 138px;
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 34px;
  align-items: center;
  padding: 28px 58px;
  background: #fff;
}

.gc-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .14em;
  line-height: 1.05;
  font-size: 25px;
}

.gc-mark {
  width: 82px;
  height: 82px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 36px;
  letter-spacing: -.06em;
}

.gc-copy {
  border-left: 2px solid #2a2a32;
  padding-left: 42px;
  font-size: 18px;
  line-height: 1.45;
}

.gc-copy p { margin: 0; }
.gc-copy strong { font-weight: 900; }
.gc-copy em {
  display: block;
  margin-top: 8px;
  color: var(--purple);
  font-weight: 900;
}

.footer-contact {
  min-height: 78px;
  padding: 18px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: white;
  background: var(--rainbow);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-contact svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

/* Inner pages */
.inner-hero {
  position: relative;
  padding: 72px 58px;
  overflow: hidden;
  color: white;
  background: var(--rainbow);
}

.inner-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -120px;
  width: 240px;
  height: 470px;
  transform: rotate(34deg);
  background: linear-gradient(90deg, rgba(255,255,255,.20), rgba(255,255,255,0));
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.inner-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 7vw, 76px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.inner-hero p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.5;
}

.inner-content {
  padding: 54px 58px 68px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
}

.text-panel, .contact-panel, .feature-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(79,22,116,.08);
}

.text-panel { padding: 38px; }
.text-panel h2, .feature-panel h2, .contact-panel h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.08;
}
.text-panel p, .feature-panel p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.feature-panel {
  padding: 32px;
  background: var(--rainbow-soft);
}

.feature-panel ul {
  margin: 18px 0 0;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  margin-top: 12px;
  padding: 16px 23px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  text-decoration: none;
  font-weight: 900;
}

.contact-panel {
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-purple);
  font-weight: 900;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(109,32,148,.22);
  border-radius: 15px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
}

.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button {
  border: 0;
  border-radius: 999px;
  padding: 16px 20px;
  color: white;
  background: var(--rainbow);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .top-nav { justify-content: center; flex-wrap: wrap; height: auto; padding: 18px 20px; gap: 18px; }
  .top-nav a.active::after { margin-top: 8px; }
  .hero { padding: 28px 28px 0; min-height: auto; }
  .hero::before { display: none; }
  .hero-content { width: 100%; max-width: 560px; }
  .hero-photo { position: relative; width: 100%; height: 620px; margin: 32px auto 0; }
  .hero-photo img { object-fit: contain; }
  .logo { width: 300px; margin-bottom: 42px; }
  .service-links { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card { border-bottom: 1px solid var(--line); padding: 24px; }
  .gold-coast { grid-template-columns: 1fr; }
  .gc-copy { border-left: 0; padding-left: 0; border-top: 2px solid #2a2a32; padding-top: 24px; }
  .footer-contact { flex-direction: column; align-items: flex-start; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .top-nav a:not(.nav-cta) { font-size: 12px; }
  .nav-cta { padding: 12px 14px; }
  .hero { padding: 22px 20px 0; }
  .logo { width: 260px; }
  .hero-title { font-size: 42px; }
  .hero-script { font-size: 36px; }
  .launch strong { font-size: 26px; }
  .hero-copy { font-size: 20px; }
  .hero-photo { height: 560px; }
  .service-links { grid-template-columns: 1fr; padding: 22px; }
  .service-card { border-right: 0; min-height: 260px; }
  .gold-coast, .inner-content, .inner-hero { padding-left: 24px; padding-right: 24px; }
  .gc-brand { font-size: 20px; }
  .footer-contact { padding-left: 24px; padding-right: 24px; font-size: 13px; }
}


/* Header polish: sticky desktop nav, compact mobile menu, no duplicate Contact link */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,16,24,.08);
  box-shadow: 0 10px 28px rgba(16,16,24,.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, var(--page-width));
  min-height: 72px;
  margin: 0 auto;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.header-mark {
  width: 38px;
  height: 29px;
  display: inline-block;
  background: linear-gradient(135deg,#ef2f2b 0 16%,#f47b20 16% 32%,#f4c83a 32% 49%,#31a34a 49% 66%,#1479be 66% 83%,#6d2094 83%);
  clip-path: polygon(0 43%,16% 43%,16% 27%,30% 27%,30% 12%,44% 12%,44% 0,60% 0,60% 12%,74% 12%,74% 24%,100% 43%,100% 100%,0 100%);
  position: relative;
}

.site-header .top-nav {
  position: static;
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  background: transparent;
  backdrop-filter: none;
}

.site-header .top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}

.site-header .top-nav a.active,
.site-header .top-nav a:hover {
  color: var(--purple);
}

.site-header .top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  margin: 0;
  background: var(--purple);
  border-radius: 99px;
}

.site-header .top-nav .nav-cta {
  color: #fff !important;
  min-height: 50px;
  padding: 0 24px;
  background: var(--purple);
  box-shadow: 0 12px 26px rgba(109,32,148,.16);
}

.site-header .top-nav .nav-cta.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 12px 17px;
  color: #fff;
  background: var(--purple);
  font-family: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}

/* Keep "REAL INCLUSION." together on desktop */
.hero-content {
  width: 61%;
  max-width: 620px;
}

.hero-title {
  font-size: clamp(44px, 5.65vw, 60px) !important;
  line-height: 1.2;
}

.heart-line {
  height: 62px;
  margin-top: 5px;
  margin-bottom: 26px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 66px;
    padding: 0 24px;
  }

  .site-header .top-nav {
    gap: 18px;
  }

  .site-header .top-nav a {
    font-size: 13px;
  }

  .site-header .top-nav .nav-cta {
    padding: 0 18px;
  }

  .hero-content {
    width: 100%;
    max-width: 620px;
  }

  .hero-title {
    font-size: clamp(42px, 8.2vw, 56px) !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 62px;
    padding: 10px 18px;
    flex-wrap: wrap;
  }

  .header-brand {
    font-size: 13px;
  }

  .header-mark {
    width: 34px;
    height: 26px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 6px;
  }

  .site-header.menu-open .top-nav {
    display: flex;
  }

  .site-header .top-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 14px;
    border: 1px solid rgba(109,32,148,.14);
    border-radius: 10px;
    background: #fff;
  }

  .site-header .top-nav a.active::after {
    display: none;
  }

  .site-header .top-nav .nav-cta {
    justify-content: center;
    border-color: var(--purple);
  }
}

@media (max-width: 580px) {
  .hero-title {
    font-size: 38px !important;
  }

  .heart-line {
    width: 100%;
    height: 58px;
  }
}

@media (max-width: 390px) {
  .header-brand span:last-child {
    display: none;
  }
}

/* Layout refinement: logo lives in the sticky header; hero copy gets its own padded panel. */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.header-inner {
  min-height: 78px;
  padding: 0 36px;
}

.header-brand {
  gap: 14px;
  font-size: 16px;
  letter-spacing: .07em;
}

.header-mark {
  width: 52px;
  height: 40px;
  flex: 0 0 auto;
}

.site-header .top-nav {
  gap: 22px;
}

.site-header .top-nav a {
  font-size: 14px;
}

.site-header .top-nav .nav-cta {
  min-height: 54px;
  padding: 0 24px;
}

.hero {
  min-height: 766px;
  padding: 0 !important;
  overflow: hidden;
}

.hero-photo {
  width: 424px;
  max-width: 42%;
}

.hero-content {
  width: calc(100% - 424px) !important;
  max-width: none !important;
  min-height: 766px;
  padding: 170px 24px 62px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-title {
  width: 100%;
  max-width: 520px;
  font-size: clamp(42px, 4.75vw, 50px) !important;
  line-height: 1.22 !important;
  white-space: nowrap;
}

.hero-script {
  max-width: 500px;
  margin-top: 24px;
  font-size: clamp(34px, 4vw, 45px);
  line-height: 1.08;
}

.heart-line {
  width: min(100%, 430px);
  margin-top: 6px;
  margin-bottom: 28px;
}

.launch,
.hero-copy {
  max-width: 500px;
}

.hero-copy {
  margin-bottom: 0;
  padding-bottom: 8px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
    padding: 0 24px;
  }

  .header-brand {
    font-size: 15px;
  }

  .header-mark {
    width: 48px;
    height: 37px;
  }

  .site-header .top-nav {
    gap: 16px;
  }

  .site-header .top-nav a {
    font-size: 12px;
  }

  .site-header .top-nav .nav-cta {
    padding: 0 18px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
  }

  .hero::before {
    display: none;
  }

  .hero-photo {
    order: 1;
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 520px);
    max-width: calc(100% - 36px);
    height: 620px;
    margin: 36px auto 0;
  }

  .hero-content {
    order: 2;
    width: 100% !important;
    min-height: 0;
    max-width: none !important;
    padding: 38px 34px 54px;
  }

  .hero-title {
    max-width: 620px;
    font-size: clamp(40px, 8vw, 56px) !important;
    white-space: normal;
  }

  .hero-script,
  .launch,
  .hero-copy {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
    padding: 10px 20px;
  }

  .header-brand {
    font-size: 15px;
  }

  .header-mark {
    width: 46px;
    height: 35px;
  }

  .nav-toggle {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero-photo {
    height: 580px;
    margin-top: 30px;
  }

  .hero-content {
    padding: 34px 28px 50px;
  }

  .hero-title {
    font-size: 40px !important;
  }

  .hero-script {
    font-size: 36px;
  }
}

@media (max-width: 580px) {
  .header-inner {
    min-height: 66px;
    padding: 9px 16px;
  }

  .header-brand {
    font-size: 14px;
    gap: 10px;
  }

  .header-mark {
    width: 40px;
    height: 31px;
  }

  .nav-toggle {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-photo {
    height: 520px;
    max-width: calc(100% - 28px);
    margin-top: 24px;
  }

  .hero-content {
    padding: 30px 22px 46px;
  }

  .hero-title {
    font-size: 36px !important;
  }

  .hero-script {
    font-size: 32px;
  }

  .launch {
    font-size: 21px;
  }

  .launch strong {
    font-size: 25px;
  }

  .hero-copy {
    font-size: 19px;
  }
}

@media (max-width: 390px) {
  .header-brand span:last-child {
    display: inline;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-mark {
    width: 36px;
    height: 28px;
  }

  .nav-toggle {
    padding: 0 13px;
  }
}


/* ASP.NET production refinements */
.header-brand {
  gap: 0 !important;
  font-size: 0 !important;
}

.header-logo {
  display: block;
  width: 176px;
  height: auto;
}

.header-inner {
  min-height: 106px !important;
  padding: 8px 36px !important;
}

.site-header .top-nav {
  gap: 20px !important;
}

.site-header .top-nav a {
  font-size: 13px !important;
}

.hero {
  padding: 0 !important;
}

.hero-content {
  width: calc(100% - 424px) !important;
  max-width: none !important;
  min-height: 766px;
  padding: 160px 36px 76px 64px !important;
}

.hero-title {
  max-width: 530px !important;
  font-size: clamp(42px, 5.05vw, 54px) !important;
  white-space: nowrap;
}

.hero-script,
.launch,
.hero-copy {
  max-width: 500px !important;
}

.hero-script {
  padding-right: 16px;
}

.hero-copy {
  padding-bottom: 18px !important;
}

.gold-coast {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 38px;
  align-items: center;
}

.gold-coast-logo {
  width: 118px;
  height: 96px;
  object-fit: contain;
  display: block;
}

.gc-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .13em;
  font-size: 25px;
  line-height: 1.08;
  text-transform: uppercase;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.subpage {
  padding: 0;
  background: #fff;
}

.subpage-hero {
  padding: 74px 64px;
  color: #fff;
  background: var(--rainbow);
}

.subpage-hero h1 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.subpage-hero p {
  max-width: 780px;
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.subpage-content {
  padding: 58px 64px 76px;
  font-size: 19px;
  line-height: 1.7;
}

.subpage-content h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  color: var(--deep-purple);
}

.subpage-content p {
  max-width: 760px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.feature-card,
.contact-card,
.admin-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(79,22,116,.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label,
.admin-login label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--deep-purple);
}

.contact-form input,
.contact-form textarea,
.admin-login input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(109,32,148,.22);
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button,
.admin-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 14px 30px rgba(109,32,148,.2);
}

.submit-button:hover,
.admin-button:hover,
.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(109,32,148,.26);
}

.submit-button.is-sending {
  opacity: .82;
  transform: scale(.98);
}

.submit-button.is-success {
  background: var(--rainbow);
  animation: sentPulse .75s ease;
}

@keyframes sentPulse {
  0% { transform: scale(.98); }
  45% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  color: #237a35;
}

.form-status.error {
  color: #b32020;
}

.admin-layout {
  padding: 42px 44px 70px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--deep-purple);
  font-size: clamp(32px, 4vw, 48px);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--deep-purple);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
  background: #fbf8ff;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table a {
  color: var(--purple);
  font-weight: 900;
  text-decoration: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(109,32,148,.18);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
}

.pagination .current {
  color: #fff;
  background: var(--purple);
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list dt {
  font-weight: 900;
  color: var(--deep-purple);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .05em;
}

.detail-list dd {
  margin: 6px 0 0;
  white-space: pre-wrap;
}

.admin-login {
  max-width: 460px;
  margin: 64px auto;
}

.admin-login form {
  display: grid;
  gap: 16px;
}

.error-message {
  color: #b32020;
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-logo {
    width: 150px;
  }

  .hero-content {
    padding: 38px 34px 58px !important;
  }

  .hero-title {
    white-space: normal;
  }

  .gold-coast {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 86px !important;
    padding: 10px 18px !important;
  }

  .header-logo {
    width: 132px;
  }

  .site-header .top-nav {
    gap: 8px !important;
  }

  .hero-photo {
    margin-top: 26px;
  }

  .hero-content {
    padding: 32px 24px 52px !important;
  }

  .subpage-hero,
  .subpage-content,
  .admin-layout {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gc-brand {
    font-size: 20px;
  }

  .gold-coast-logo {
    width: 94px;
    height: 76px;
  }
}

@media (max-width: 430px) {
  .header-logo {
    width: 118px;
  }

  .nav-toggle {
    min-height: 46px;
    padding: 0 15px;
  }
}


/* Mobile homepage repair: full-width stacked hero, readable text, no narrow copy column */
@media (max-width: 980px) {
  body {
    background: #fff;
  }

  .site-shell {
    width: 100%;
    box-shadow: none;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: visible !important;
  }

  .hero::before {
    display: none !important;
  }

  .hero-photo {
    order: 1 !important;
    position: relative !important;
    inset: auto !important;
    width: min(100%, 520px) !important;
    max-width: calc(100% - 32px) !important;
    height: auto !important;
    margin: 26px auto 0 !important;
    z-index: 1 !important;
  }

  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .hero-content {
    order: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 34px 30px 56px !important;
    display: block !important;
    z-index: 2 !important;
  }

  .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-size: clamp(38px, 9vw, 52px) !important;
    line-height: 1.12 !important;
  }

  .hero-script,
  .launch,
  .hero-copy {
    width: 100% !important;
    max-width: 680px !important;
  }

  .hero-script {
    margin-top: 24px !important;
    padding-right: 0 !important;
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.12 !important;
  }

  .heart-line {
    width: min(100%, 430px) !important;
    max-width: 100% !important;
    height: 58px !important;
    margin: 8px 0 26px !important;
  }

  .launch {
    font-size: clamp(22px, 5vw, 28px) !important;
    line-height: 1.16 !important;
  }

  .launch strong {
    font-size: clamp(26px, 6vw, 34px) !important;
  }

  .hero-copy {
    font-size: clamp(19px, 4.6vw, 23px) !important;
    line-height: 1.35 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 82px !important;
    padding: 10px 18px !important;
  }

  .header-logo {
    width: 128px !important;
  }

  .nav-toggle {
    min-height: 48px !important;
    padding: 0 18px !important;
  }

  .hero-photo {
    max-width: calc(100% - 26px) !important;
    margin-top: 22px !important;
  }

  .hero-content {
    padding: 30px 24px 52px !important;
  }

  .hero-title {
    font-size: clamp(34px, 10vw, 42px) !important;
  }

  .hero-script {
    font-size: clamp(32px, 11vw, 42px) !important;
  }
}

@media (max-width: 360px) {
  .header-logo {
    width: 116px !important;
  }

  .nav-toggle {
    padding: 0 14px !important;
  }

  .hero-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Contact validation styles */
.contact-form .field-error {
  display: none;
  margin-top: -2px;
  color: #b32020;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form .field-error.is-visible {
  display: block;
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b32020 !important;
  box-shadow: 0 0 0 3px rgba(179,32,32,.12);
}


/* Contact split-name / phone validation and admin archive controls */
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-row-actions form,
.admin-actions form,
.admin-detail-header form {
  margin: 0;
}

.table-action {
  border: 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.button-link.secondary {
  color: var(--purple);
  background: #fff;
  border: 1px solid rgba(109,32,148,.24);
  box-shadow: none;
}

.admin-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-detail-header h1 {
  margin: 0;
}

.archive-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 640px) {
  .name-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-detail-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }
}


/* Split footer with clean compliance logo area */
.footer-affiliation {
  grid-template-columns: 330px 1fr 390px !important;
  gap: 32px !important;
  align-items: center !important;
  background: #fff !important;
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.footer-affiliation .gc-copy {
  border-left: 2px solid #777;
  padding-left: 30px;
}

.compliance-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: end;
  padding-left: 20px;
}

.compliance-logos img {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
}

.compliance-logos img:first-child {
  max-width: 230px;
}

.compliance-logos img:last-child {
  max-width: 360px;
}

.split-footer-contact {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  gap: 22px !important;
  text-transform: uppercase !important;
}

.split-footer-contact span,
.split-footer-contact a {
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .footer-affiliation {
    grid-template-columns: 1fr !important;
  }

  .footer-affiliation .gc-copy {
    border-left: 0;
    border-top: 2px solid #777;
    padding-left: 0;
    padding-top: 22px;
  }

  .compliance-logos {
    justify-items: start;
    padding-left: 0;
  }

  .compliance-logos img:first-child {
    max-width: 210px;
  }

  .compliance-logos img:last-child {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .split-footer-contact {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .split-footer-contact span {
    white-space: normal;
  }

  .footer-affiliation {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}


/* Revised footer: bottom footer split into rainbow contact half + white compliance logo half */
.footer-affiliation-simple {
  grid-template-columns: 420px 1fr !important;
  gap: 38px !important;
  align-items: center !important;
  background: #fff !important;
  padding-top: 28px !important;
  padding-bottom: 30px !important;
}

.footer-affiliation-simple .gc-copy {
  border-left: 2px solid #777;
  padding-left: 34px;
}

.footer-split-bottom {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  padding: 0 !important;
  background: #fff !important;
  color: #111118 !important;
  min-height: 116px;
  align-items: stretch !important;
  gap: 0 !important;
}

.footer-contact-half {
  background: var(--rainbow);
  color: #fff;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px 34px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-contact-half span,
.footer-contact-half a {
  color: #fff !important;
  text-decoration: none !important;
}

.footer-contact-half span {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-contact-half svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-logo-half {
  background: #fff;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  padding: 18px 30px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.footer-logo-half img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.footer-eho-logo {
  max-width: 118px;
}

.footer-realtor-mls-logo {
  max-width: 260px;
}

/* Override prior compliance footer rules */
.compliance-logos {
  display: none !important;
}

.split-footer-contact {
  display: grid !important;
}

@media (max-width: 980px) {
  .footer-affiliation-simple {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .footer-affiliation-simple .gc-copy {
    border-left: 0;
    border-top: 2px solid #777;
    padding-left: 0;
    padding-top: 22px;
  }

  .footer-split-bottom {
    grid-template-columns: 1fr !important;
  }

  .footer-logo-half {
    border-top: 0;
    grid-template-columns: 150px minmax(220px, 1fr);
    justify-content: start;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .footer-contact-half {
    padding: 24px;
  }

  .footer-contact-half span {
    white-space: normal;
  }

  .footer-logo-half {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
    padding: 24px;
  }

  .footer-eho-logo {
    max-width: 110px;
  }

  .footer-realtor-mls-logo {
    max-width: 250px;
  }

  .footer-affiliation-simple {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}


/* Footer logo size correction */
.footer-split-bottom {
  min-height: 92px !important;
}

.footer-logo-half {
  grid-template-columns: auto auto !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 14px 24px !important;
}

.footer-eho-logo,
.footer-logo-half img.footer-eho-logo {
  width: 82px !important;
  max-width: 82px !important;
}

.footer-realtor-mls-logo,
.footer-logo-half img.footer-realtor-mls-logo {
  width: 210px !important;
  max-width: 210px !important;
}

@media (max-width: 980px) {
  .footer-logo-half {
    grid-template-columns: auto auto !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    padding: 18px 24px !important;
  }

  .footer-eho-logo,
  .footer-logo-half img.footer-eho-logo {
    width: 70px !important;
    max-width: 70px !important;
  }

  .footer-realtor-mls-logo,
  .footer-logo-half img.footer-realtor-mls-logo {
    width: 185px !important;
    max-width: 185px !important;
  }
}

@media (max-width: 520px) {
  .footer-logo-half {
    grid-template-columns: auto auto !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 18px 20px !important;
  }

  .footer-eho-logo,
  .footer-logo-half img.footer-eho-logo {
    width: 58px !important;
    max-width: 58px !important;
  }

  .footer-realtor-mls-logo,
  .footer-logo-half img.footer-realtor-mls-logo {
    width: 155px !important;
    max-width: 155px !important;
  }
}


/* Gold Coast proud division footer update */
.footer-proud-division {
  display: grid !important;
  grid-template-columns: 420px 1fr !important;
  gap: 42px !important;
  align-items: center !important;
  background: #fff !important;
  padding: 34px 58px 38px !important;
}

.footer-proud-division .gc-brand {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.footer-proud-division .gold-coast-logo {
  width: 118px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.footer-proud-division .proud-division-copy {
  border-left: 0 !important;
  padding-left: 0 !important;
  text-align: center;
}

.rainbow-heart-divider {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px;
}

.rainbow-line {
  height: 4px;
  border-radius: 999px;
  display: block;
}

.rainbow-line.left {
  background: linear-gradient(90deg, #ef2f2b, #f47b20, #f4c83a, #31a34a);
}

.rainbow-line.right {
  background: linear-gradient(90deg, #31a34a, #1479be, #6d2094);
}

.heart-outline {
  color: #edae2a;
  font-size: 36px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  transform: translateY(-1px);
}

.proud-division-copy .division-line {
  margin: 0 0 8px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: #111118;
}

.proud-division-copy .division-line:nth-of-type(2) {
  font-weight: 700;
}

.proud-division-copy .rainbow-final,
.proud-division-copy .division-line:nth-of-type(3) {
  font-weight: 800;
}

.rainbow-red { color: #ef2f2b; }
.rainbow-orange { color: #f47b20; }
.rainbow-gold { color: #d6a51e; }
.rainbow-green { color: #31a34a; }
.rainbow-blue { color: #1479be; }
.rainbow-purple { color: #6d2094; }

@media (max-width: 980px) {
  .footer-proud-division {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 34px 24px 38px !important;
  }

  .footer-proud-division .gc-brand {
    justify-content: flex-start !important;
  }

  .footer-proud-division .proud-division-copy {
    text-align: center;
  }

  .proud-division-copy .division-line {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .footer-proud-division {
    padding: 30px 18px 34px !important;
  }

  .footer-proud-division .gold-coast-logo {
    width: 92px !important;
  }

  .footer-proud-division .gc-brand {
    gap: 15px !important;
  }

  .rainbow-heart-divider {
    gap: 7px;
    margin-bottom: 17px;
  }

  .heart-outline {
    font-size: 30px;
  }

  .proud-division-copy .division-line {
    font-size: 14px;
    letter-spacing: .02em;
  }
}


/* Desktop footer divider correction:
   Desktop uses the original vertical divider treatment.
   Mobile keeps the horizontal rainbow bar + heart. */
@media (min-width: 981px) {
  .footer-proud-division {
    grid-template-columns: 420px 1fr !important;
    gap: 46px !important;
    align-items: center !important;
  }

  .footer-proud-division .proud-division-copy {
    position: relative;
    text-align: left !important;
    padding-left: 54px !important;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-proud-division .rainbow-heart-divider {
    position: absolute;
    left: 0;
    top: 50%;
    width: 34px;
    height: 210px;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
  }

  .footer-proud-division .rainbow-line {
    width: 4px !important;
    height: auto !important;
    flex: 1 1 auto;
    border-radius: 999px;
  }

  .footer-proud-division .rainbow-line.left {
    background: linear-gradient(180deg, #ef2f2b, #f47b20, #f4c83a, #31a34a) !important;
  }

  .footer-proud-division .rainbow-line.right {
    background: linear-gradient(180deg, #31a34a, #1479be, #6d2094) !important;
  }

  .footer-proud-division .heart-outline {
    font-size: 32px !important;
    line-height: 1;
    transform: none !important;
  }
}


/* Make the top divider above the Gold Coast footer section consistent on every page */
.footer-proud-division {
  border-top: 1px solid rgba(16, 16, 24, 0.12) !important;
}
