/* SeniorMatch Global Styles - Unified, responsive, and accessible */
:root {
  --brand: #ce5152;
  --brand-dark: #b44041;
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --light: #f8f8f8;
  --accent: #fde9e9;
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover, a:focus { color: var(--brand-dark); text-decoration: underline; }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section.light { background: var(--light); }
.section .section-title { font-size: 2rem; margin: 0 0 20px; }
.lead { font-size: 1.125rem; color: #fefefe; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.navbar { display: flex; align-items: center; gap: 24px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.3px; }
.logo img { width: 36px; height: 36px; border-radius: 6px; }
.logo .brand { color: var(--brand); }
.nav { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 6px; color: var(--text); }
.nav a.active, .nav a:hover { background: var(--accent); color: var(--brand-dark); }
.cta { display: flex; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 8px; border: 2px solid transparent; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--brand-dark); }

/* Hero */
.hero { position: relative; min-height: 520px; display: grid; align-items: center; background: url('images/hero.jpg') center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(206,81,82,0.65), rgba(206,81,82,0.35)); }
.hero .content { position: relative; z-index: 1; color: #fff; padding: 60px 0; }
.hero h1 { font-size: 2.3rem; margin: 0 0 12px; }
.hero h2 { font-size: 1.4rem; font-weight: 600; margin: 0 0 18px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card .card-body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; gap: 12px; padding: 12px; background: #fff; border: 1px solid #eee; border-radius: 10px; }
.feature .icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--brand-dark); font-weight: 700; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Media */
.figure { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.figure img { width: 100%; height: 260px; object-fit: cover; }

/* Lists */
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: start; }
.kv strong { color: var(--brand); }
.ul { list-style: none; padding: 0; margin: 0; }
.ul li { padding: 8px 0; border-bottom: 1px dashed #ececec; }

/* Forms */
.form { display: grid; gap: 12px; }
.input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--accent); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.helper { color: var(--muted); font-size: .95rem; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: var(--accent); color: var(--brand-dark); padding: 6px 10px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* Members */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.member { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.member img { width: 100%; height: 220px; object-fit: cover; }
.member .info { padding: 12px 14px; }
.member .info h3 { margin: 0 0 6px; font-size: 1.1rem; }
.member .info p { margin: 0; color: var(--muted); }

/* Table (FAQs, pricing) */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #eee; padding: 12px; text-align: left; }
.table th { background: var(--accent); }

/* Footer */
.site-footer { background: #161616; color: #cccccc; padding: 40px 0 20px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 16px; }
.site-footer .copy { font-size: .95rem; color: #bdbdbd; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-10 { margin-top: 10px; } .mb-10 { margin-bottom: 10px; }
.mt-20 { margin-top: 20px; } .mb-20 { margin-bottom: 20px; }
.center { text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .members { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  /* Mobile collapsed nav toggle */
  .site-header { background: var(--brand); box-shadow: none; }
  .navbar { flex-wrap: wrap; padding: 12px 16px; position: relative; }
  .logo img { display: none; }
  .logo .brand { color: #fff; font-size: 1.25rem; }

  /* Hidden checkbox + visible hamburger */
  .nav-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 28px; opacity: 0; }
  .menu-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 28px; cursor: pointer; }
  .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #fff; border-radius: 3px; }
  .menu-toggle::before { top: 6px; box-shadow: 0 10px 0 #fff; }
  .menu-toggle::after { top: 20px; }
  .nav-toggle:checked + .menu-toggle::before { top: 12px; transform: rotate(45deg); box-shadow: none; }
  .nav-toggle:checked + .menu-toggle::after { top: 12px; transform: rotate(-45deg); }

  /* Collapsible menu */
  .nav { width: 100%; order: 2; margin-left: 0; background: var(--brand); border-radius: 8px; overflow: hidden; max-height: 0; transition: max-height .25s ease; }
  .nav-toggle:checked ~ .nav { max-height: 320px; }
  .nav a { display: block; width: 100%; padding: 14px 16px; color: #fff; border-top: 1px solid rgba(255,255,255,0.25); border-radius: 0; }
  .nav a:first-child { border-top: 0; }
  .nav a.active, .nav a:hover { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }

  /* CTA placed below menu, hidden by default to avoid covering hero */
  .cta { order: 3; width: 100%; justify-content: flex-start; margin-top: 8px; display: none; }
  .nav-toggle:checked ~ .cta { display: flex; }
  .btn-outline { border-color: #fff; color: #fff; }
  .btn-outline:hover { background: rgba(255,255,255,0.2); color: #fff; }
  .btn-primary { background: #fff; color: var(--brand); }
  .btn-primary:hover { background: #f8f8f8; color: var(--brand-dark); }

  /* Mobile grids: one per row */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .members { grid-template-columns: 1fr; }

  /* Why Choose SeniorMatch: prevent overflow */
  .features { grid-template-columns: 1fr; }
  .feature { align-items: flex-start; }
  .feature .icon { flex-shrink: 0; }

  /* FAQs: one question per row with card style */
  .ul li { border-bottom: none; border: 1px solid #eee; border-radius: 10px; background: #fff; padding: 12px; margin-bottom: 12px; }

  /* Figures */
  .figure img { height: 220px; }

  .kv { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.9rem; }
  .hero h2 { font-size: 1.2rem; }
}

/* Mobile: center index hero content & adjust spacing (align with nz-hero) */
@media (max-width: 768px) {
  .hero { background-position: center; background-image: url('images/hero.jpg'); }
  .hero .content { text-align: center; padding: 60px 16px; }
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.15rem; }
  .hero .actions { justify-content: center; }
  .hero .lead { max-width: 820px; margin: 0 auto 16px; }
}

/* Over 50 Dating Page Specific Styles */
.over-50-hero {
  background: url('images/seniorman.jpg') center/cover no-repeat;
}

.testimonial {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial blockquote {
  margin: 0;
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand);
  font-style: normal;
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tip-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.tip-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.safety-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-tips li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.safety-tips li:last-child {
  border-bottom: none;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.myth {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.myth h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin: 12px 0 8px;
  color: var(--brand);
}

/* Mobile responsive styles for over 50 dating page */
@media (max-width: 780px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial img {
    align-self: center;
  }
  
  .myths-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .tip-card img {
    height: 140px;
  }
}

/* Footer mobile visibility fix (applies to index.html and content pages) */
@media (max-width: 780px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .ul li { background: transparent; border: 0; border-radius: 0; padding: 10px 0; margin-bottom: 6px; }
  .site-footer .ul li a { color: #fff; display: inline-block; width: 100%; border-bottom: 1px dotted rgba(255,255,255,0.35); padding-bottom: 8px; }
  .site-footer .copy { text-align: left; }
}

/* Over 60 Dating Page Specific Styles */
.over-60-hero {
  background: url('images/seniorwoman.jpg') center/cover no-repeat;
}

/* Mobile responsive styles for over-60 hero */
@media (max-width: 768px) {
  .uk-hero {
    padding: 60px 0;
    background-position: center;
  }
}

/* AU Hero styles (restored) */
.au-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  background: url('images/AUSTRALIA.jpg') center/cover no-repeat;
}
.au-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.au-hero .content { position: relative; }
.au-hero h1 { margin-bottom: 8px; }
.au-hero .lead { max-width: 880px; margin: 0 auto 16px; }
@media (max-width: 768px) {
  .au-hero { padding: 60px 0; }
  .au-hero h1 { font-size: 2rem; }
}

/* NZ Hero styles */
.nz-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  background: url('images/NZ.jpg') center/cover no-repeat;
}
.nz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.nz-hero .content { position: relative; }
.nz-hero h1 { margin-bottom: 8px; }
.nz-hero .lead { max-width: 880px; margin: 0 auto 16px; }
@media (max-width: 768px) {
  .nz-hero { padding: 60px 0; }
  .nz-hero h1 { font-size: 2rem; }
}

/* FAQ (details-based) styles for content pages like uk.html */
.section details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0;
}
.section details summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.section details[open] {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.section details p {
  margin: 10px 0 0;
}


.testimonial {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial blockquote {
  margin: 0;
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand);
  font-style: normal;
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tip-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.tip-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.safety-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-tips li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.safety-tips li:last-child {
  border-bottom: none;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.myth {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.myth h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin: 12px 0 8px;
  color: var(--brand);
}

/* Mobile responsive styles for over 50 dating page */
@media (max-width: 780px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial img {
    align-self: center;
  }
  
  .myths-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .tip-card img {
    height: 140px;
  }
}

/* Footer mobile visibility fix (applies to index.html and content pages) */
@media (max-width: 780px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .ul li { background: transparent; border: 0; border-radius: 0; padding: 10px 0; margin-bottom: 6px; }
  .site-footer .ul li a { color: #fff; display: inline-block; width: 100%; border-bottom: 1px dotted rgba(255,255,255,0.35); padding-bottom: 8px; }
  .site-footer .copy { text-align: left; }
}

/* Over 60 Dating Page Specific Styles */
.over-60-hero {
  background: url('images/seniorwoman.jpg') center/cover no-repeat;
}

/* Mobile responsive styles for over-60 hero */
@media (max-width: 768px) {
  .uk-hero {
    padding: 60px 0;
    background-position: center;
  }
}

/* AU Hero styles (restored) */
.au-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  background: url('images/AUSTRALIA.jpg') center/cover no-repeat;
}
.au-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.au-hero .content { position: relative; }
.au-hero h1 { margin-bottom: 8px; }
.au-hero .lead { max-width: 880px; margin: 0 auto 16px; }
@media (max-width: 768px) {
  .au-hero { padding: 60px 0; }
  .au-hero h1 { font-size: 2rem; }
}

/* NZ Hero styles */
.nz-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  background: url('images/NZ.jpg') center/cover no-repeat;
}
.nz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.nz-hero .content { position: relative; }
.nz-hero h1 { margin-bottom: 8px; }
.nz-hero .lead { max-width: 880px; margin: 0 auto 16px; }
@media (max-width: 768px) {
  .nz-hero { padding: 60px 0; }
  .nz-hero h1 { font-size: 2rem; }
}

/* FAQ (details-based) styles for content pages like uk.html */
.section details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0;
}
.section details summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.section details[open] {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.section details p {
  margin: 10px 0 0;
}


.testimonial {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial blockquote {
  margin: 0;
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand);
  font-style: normal;
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tip-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.tip-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.safety-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-tips li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.safety-tips li:last-child {
  border-bottom: none;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.myth {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.myth h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin: 12px 0 8px;
  color: var(--brand);
}

/* Mobile responsive styles for over 50 dating page */
@media (max-width: 780px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial img {
    align-self: center;
  }
  
  .myths-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .tip-card img {
    height: 140px;
  }
}

/* Footer mobile visibility fix (applies to index.html and content pages) */
@media (max-width: 780px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .ul li { background: transparent; border: 0; border-radius: 0; padding: 10px 0; margin-bottom: 6px; }
  .site-footer .ul li a { color: #fff; display: inline-block; width: 100%; border-bottom: 1px dotted rgba(255,255,255,0.35); padding-bottom: 8px; }
  .site-footer .copy { text-align: left; }
}

/* Over 60 Dating Page Specific Styles */
.over-60-hero {
  background: url('images/seniorwoman.jpg') center/cover no-repeat;
}

/* Mobile responsive styles for over-60 hero */
@media (max-width: 768px) {
  .over-60-hero {
    padding: 60px 0;
  }
  
  .over-60-hero h1 {
    font-size: 2rem;
  }
}

/* CTA: Canada page and global reusable */
.cta-page {
  background: var(--bg-soft, #f5f7fb);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin-top: 24px;
  border: 1px solid rgba(0,0,0,0.06);
}
.cta-title {
  margin: 0 0 8px;
  font-size: 1.8rem;
  line-height: 1.3;
}
.cta-subtitle {
  margin: 0 auto 16px;
  max-width: 820px;
  color: #444;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .cta-page { padding: 24px; }
  .cta-title { font-size: 1.5rem; }
}

.testimonial {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial blockquote {
  margin: 0;
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand);
  font-style: normal;
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tip-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.tip-card h3 {
  margin: 0 0 12px;
  color: var(--brand);
}

.safety-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-tips li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.safety-tips li:last-child {
  border-bottom: none;
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.myth {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.myth h3 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #eee;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin: 12px 0 8px;
  color: var(--brand);
}

/* Mobile responsive styles for over 50 dating page */
@media (max-width: 780px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial img {
    align-self: center;
  }
  
  .myths-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .tip-card img {
    height: 140px;
  }
}

/* Footer mobile visibility fix (applies to index.html and content pages) */
@media (max-width: 780px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .ul li { background: transparent; border: 0; border-radius: 0; padding: 10px 0; margin-bottom: 6px; }
  .site-footer .ul li a { color: #fff; display: inline-block; width: 100%; border-bottom: 1px dotted rgba(255,255,255,0.35); padding-bottom: 8px; }
  .site-footer .copy { text-align: left; }
}

/* Over 60 Dating Page Specific Styles */
.over-60-hero {
  background: url('images/seniorwoman.jpg') center/cover no-repeat;
}

/* Mobile responsive styles for over-60 hero */
@media (max-width: 768px) {
  .over-60-hero {
    padding: 60px 0;
  }
  
  .over-60-hero h1 {
    font-size: 2rem;
  }
}

/* CTA section p tag text color fix */
 .section .lead {
   color: #000 !important;
 }
 
 /* US hero */
 .us-hero {
   background: url('images/usa-696x401.jpg') center/cover no-repeat;
   position: relative;
 }
 .us-hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background: rgba(0,0,0,0.35);
 }
 .us-hero .content { position: relative; }
 /* Center US hero primary button */
 .us-hero .actions { justify-content: center; }
 .us-hero .btn { margin: 0 auto; }
 
   @media (max-width: 768px) {
     .us-hero { padding: 60px 0; }
     .us-hero h1 { font-size: 2rem; }
   }

 /* UK hero (match US hero pattern) */
 .uk-hero {
   position: relative;
   color: #fff;
   text-align: center;
   padding: 80px 0;
   background: url('images/uk-696x387.jpg') center/cover no-repeat;
 }
 .uk-hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background: rgba(0,0,0,0.45);
   pointer-events: none;
   z-index: 0;
 }
 .uk-hero .content { position: relative; z-index: 1; }
 .uk-hero h1 { margin-bottom: 8px; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
 .uk-hero .lead { max-width: 880px; margin: 0 auto 16px; }
 .uk-hero .hero-sub { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
 @media (max-width: 768px) {
   .uk-hero { padding: 60px 0; }
   .uk-hero h1 { font-size: 2rem; }
 }

 /* CA hero (match US hero pattern) */
 .ca-hero {
   position: relative;
   color: #fff;
   text-align: center;
   padding: 80px 0;
   background: url('images/CANADA.jpg') center/cover no-repeat;
 }
 .ca-hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background: rgba(0,0,0,0.35);
 }
 .ca-hero .content { position: relative; }
 .ca-hero h1 { margin-bottom: 8px; }
 .ca-hero .lead { max-width: 880px; margin: 0 auto 16px; }
 @media (max-width: 768px) {
   .ca-hero { padding: 60px 0; }
   .ca-hero h1 { font-size: 2rem; }
 }

/* Local Highlights (UK) desktop refinements */
@media (min-width: 1025px) {
  .local-highlights .grid-2 { grid-template-columns: 480px 1fr; gap: 28px; align-items: start; }
  .local-highlights .figure img { height: 320px; }
  .local-highlights .ul { margin-top: 8px; }
  .local-highlights .ul li { padding: 10px 0; border-bottom: 1px solid #eee; }
  .local-highlights .ul li:last-child { border-bottom: none; }
}

/* Guide page hero */
.guide-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  background: url('images/seniormatch.jpg') center/cover no-repeat;
}
.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.guide-hero .content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.guide-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px;
}
.guide-hero .lead {
  font-size: 1.125rem;
  margin: 0 auto 20px;
  max-width: 800px;
}
.guide-hero .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .guide-hero {
    padding: 110px 16px;
  }
  .guide-hero h1 {
    font-size: 2rem;
  }
  .guide-hero .lead {
    font-size: 1rem;
  }
}

/* Login hero styles */
.login-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 96px 16px;
  background: url('images/hero.jpg') center/cover no-repeat;
}
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.login-hero .content { position: relative; z-index: 1; }
.login-hero .btn { margin: 0 8px; }

/* Auth layout helpers */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 24px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.auth-card h2 { margin-top: 0; }

/* Simple form styles (scoped) */
.auth-form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }
.auth-form .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-form .helper { font-size: 14px; }

/* Issues & tips */
.issue-list { list-style: none; padding-left: 0; }
.issue-list li { margin: 10px 0; }
.issue-list strong { color: #333; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .tips { grid-template-columns: 1fr; } }
.tip { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.tip img { width: 100%; border-radius: 6px; margin-bottom: 8px; }

/* Accessibility helpers */
.kb-list { list-style: disc; padding-left: 20px; }
.status-badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eef6ff; color: #1b5e20; font-size: 12px; border: 1px solid #cde1ff; }

/* CTA section alignment */
.center { text-align: center; }

/* Signup hero styles */
.signup-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 16px;
  background: url('images/hero.jpg') center/cover no-repeat;
}
.signup-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
}
.signup-hero .content { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.signup-hero h1 { font-size: 2.4rem; margin-bottom: 6px; }
.signup-hero h2 { font-size: 1.25rem; font-weight: 500; }
.signup-hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.signup-hero .btn { margin: 0 8px; }
@media (max-width: 768px) {
  .signup-hero { padding: 90px 14px; }
  .signup-hero h1 { font-size: 2rem; }
}

/* Signup layout helpers */
.signup-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .signup-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .signup-flow { grid-template-columns: 1fr; } }
.flow-step { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: relative; }
.flow-step h3 { margin-top: 0; color: var(--brand); }
.flow-step .number { position: absolute; top: -12px; left: 12px; width: 28px; height: 28px; background: var(--brand); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.requirements-list { list-style: disc; padding-left: 22px; }
.verification-steps { list-style: none; padding-left: 0; }
.verification-steps li { background: #f9fbff; border: 1px solid #e6efff; border-radius: 8px; padding: 10px 12px; margin: 8px 0; }

.notice { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 12px 14px; }
.cta-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* App hero styles */
.app-hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 16px;
  background: url('images/hero.jpg') center/cover no-repeat;
}
.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
}
.app-hero .content { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.app-hero h1 { font-size: 2.4rem; margin-bottom: 6px; }
.app-hero h2 { font-size: 1.25rem; font-weight: 500; }
.app-hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.app-hero .btn { margin: 0 8px; }
@media (max-width: 768px) {
  .app-hero { padding: 90px 14px; }
  .app-hero h1 { font-size: 2rem; }
}

/* App layout helpers */
.app-features .feature-card { overflow: hidden; }
.app-features .feature-card img { width: 100%; height: auto; display: block; border-radius: 8px 8px 0 0; }
.app-features .card-body { padding: 16px; }
.app-steps .helper { font-size: 14px; color: #555; }

/* Accessibility tweaks for app page */
.verification-steps details { background: #f9fbff; border: 1px solid #e6efff; border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
.verification-steps summary { font-weight: 600; cursor: pointer; }
.verification-steps p { margin: 8px 0 0; }