/* ===========================================================
   EliteSinglesIreland.com — Base Styles
   Mobile-first, pure CSS, no framework
   =========================================================== */

:root {
  /* Colors */
  --color-navy: #10263f;
  --color-navy-dark: #0a1a2c;
  --color-green: #1f5c4d;
  --color-green-dark: #163f35;
  --color-gold: #c6a15b;
  --color-gold-light: #e4cd9a;
  --color-cream: #faf7f2;
  --color-cream-alt: #f2ede3;
  --color-text: #1b2430;
  --color-text-muted: #5c6570;
  --color-border: #e5ded0;
  --color-white: #ffffff;

  /* Type */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(16, 38, 63, 0.08);
  --shadow-md: 0 10px 30px rgba(16, 38, 63, 0.12);
  --header-height: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--color-navy); }
p { margin: 0 0 1em; color: var(--color-text-muted); }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-navy-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }
.btn-ghost {
  background: transparent;
  color: var(--color-navy);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Section heading helpers ---------- */
.section-eyebrow {
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.section-heading { max-width: 640px; margin-bottom: 40px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { font-size: 1.05rem; }

/* ---------- Placeholder media ---------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-green) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.ph-icon { font-size: 2rem; opacity: .85; }
.ph-label { font-size: 0.8rem; opacity: .8; padding: 0 12px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-navy); }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-green) 100%);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.logo-text strong { color: var(--color-green); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--color-text); }
.main-nav a:hover { color: var(--color-green); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-login { display: none; }

.nav-toggle {
  background: none; border: none;
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--color-navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav li { border-top: 1px solid var(--color-border); }
  .main-nav a { display: block; padding: 14px 0; }
  .header-cta { display: none; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .header-login { display: inline-flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--color-white);
}
.hero-media-full {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,23,38,0.35) 0%, rgba(9,23,38,0.55) 55%, rgba(9,23,38,0.92) 100%);
}
.hero-overlay { position: relative; z-index: 2; padding: 90px 20px 64px; }
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-block;
  color: var(--color-gold-light);
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 { font-size: 2.1rem; margin-bottom: 16px; color: var(--color-white); }
.hero-subtitle { font-size: 1.05rem; margin-bottom: 28px; color: rgba(255,255,255,0.88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; justify-content: flex-start; }
.hero-microcopy { font-size: 0.85rem; color: rgba(255,255,255,0.72); margin: 0; }

.hero-badge {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: inline-flex;
  flex-direction: column;
  min-width: 160px;
  width: fit-content;
}
.hero-badge strong { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.3rem; }
.hero-badge span { font-size: 0.78rem; color: var(--color-text-muted); }

@media (min-width: 701px) {
  .hero { min-height: 640px; }
  .hero-overlay { padding: 120px 20px 80px; }
  .hero-scrim {
    background: linear-gradient(100deg, rgba(9,23,38,0.92) 0%, rgba(9,23,38,0.72) 32%, rgba(9,23,38,0.35) 58%, rgba(9,23,38,0.1) 82%);
  }
}
@media (min-width: 901px) {
  .hero h1 { font-size: 2.9rem; }
}

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--color-navy); color: var(--color-white); padding: 40px 0; }
.trust-label { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--color-gold-light); margin-bottom: 18px; }
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 36px;
  margin-bottom: 36px;
  opacity: .85;
}
.media-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}
.trust-stat { text-align: center; }
.trust-stat strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: var(--color-gold-light); }
.trust-stat span { font-size: .82rem; color: rgba(255,255,255,0.75); }

@media (min-width: 701px) {
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ============ ABOUT ============ */
.pillars { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
.pillar {
  padding: 28px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon {
  display: flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(31, 92, 77, 0.08);
  font-size: 1.4rem;
}
.pillar h3 { font-size: 1.05rem; margin: 16px 0 6px; }
.pillar p { margin: 0; font-size: .92rem; }

@media (min-width: 901px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* ============ HOW IT WORKS ============ */
.how-it-works { background: var(--color-cream-alt); }
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .92rem; }

@media (min-width: 701px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(6, 1fr); }
}

/* ============ FEATURES ============ */
.feature-grid { display: grid; gap: 20px; }
.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 1.8rem; }
.feature-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.feature-card p { margin: 0; font-size: .92rem; }

@media (min-width: 701px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============ SEGMENTS: ELITE MEN / WOMEN ============ */
.segment-men { background: var(--color-cream); }
.segment-women { background: var(--color-cream-alt); }
.segment-inner { display: grid; gap: 32px; align-items: center; }
.segment-copy p { font-size: 1rem; }
.segment-copy h2 { margin-bottom: 14px; }
.segment-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

@media (min-width: 901px) {
  .segment-inner { grid-template-columns: 1fr 1fr; }
  .segment-inner.reverse .segment-media { order: 2; }
}

/* ============ CITIES ============ */
.city-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.city-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.city-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.city-card h3 { font-size: 1.05rem; margin: 14px 16px 2px; }
.city-card span { display: block; font-size: .85rem; color: var(--color-text-muted); margin: 0 16px 16px; }

@media (min-width: 701px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .city-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ============ TESTIMONIALS ============ */
.testimonial-grid { display: grid; gap: 22px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card > p { font-style: italic; color: var(--color-text); }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.avatar { width: 48px; height: 48px; aspect-ratio: 1/1; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.testimonial-author strong { display: block; font-size: .92rem; color: var(--color-navy); }
.testimonial-author span { font-size: .8rem; color: var(--color-text-muted); }

@media (min-width: 901px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============ STATS ============ */
.stats { background: var(--color-green); color: var(--color-white); }
.stats .section-eyebrow { color: var(--color-gold-light); }
.stats h2 { color: var(--color-white); }
.stats-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); text-align: center; }
.stat-card strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; color: var(--color-gold-light); }
.stat-card span { font-size: .85rem; color: rgba(255,255,255,0.85); }

@media (min-width: 701px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--color-green); margin-left: 12px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  text-align: center;
}
.final-cta h2 { color: var(--color-white); font-size: 2rem; }
.final-cta p { color: rgba(255,255,255,0.8); }
.final-cta-inner { max-width: 560px; margin: 0 auto; }
.final-cta .hero-microcopy { color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ============ CONTACT PAGE ============ */
.contact-hero { padding: 64px 0 96px; }
.contact-grid { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-card {
  padding: 32px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}
.contact-card .pillar-icon { width: 56px; height: 56px; font-size: 1.6rem; margin: 0 auto 16px; }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-card p { font-size: .95rem; }
.contact-card .btn { margin-top: 8px; }
.contact-card .hero-microcopy { color: var(--color-text-muted); margin-top: 14px; }
.contact-disclosure {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: var(--color-cream-alt);
  border-radius: var(--radius-md);
  text-align: center;
}
.contact-disclosure p { margin: 0; font-size: .88rem; }
.contact-disclosure a { color: var(--color-green); font-weight: 600; }

@media (min-width: 701px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ FOOTER ============ */
.site-footer { background: var(--color-navy-dark); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-inner {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--color-white); margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; max-width: 280px; }
.footer-col h4 { color: var(--color-white); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--color-gold-light); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a, .social-links button {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  background: transparent;
  color: inherit;
  font-family: inherit;
  padding: 0;
}
.social-links a:hover, .social-links button:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy-dark); }
.social-links button.copied { background: var(--color-green); border-color: var(--color-green); color: var(--color-white); font-size: .55rem; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 0 28px;
  font-size: .82rem;
}

@media (min-width: 701px) {
  .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ Utility ============ */
@media (max-width: 700px) {
  section { padding: 48px 0; }
  .hero { padding-top: 32px; }
}
