/* sugardaddy-costarica.com — Tropical Emerald & Pacific Gold Bespoke Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --sdcr-bg: #07110e;
  --sdcr-surface: #0c1b16;
  --sdcr-card: #11241e;
  --sdcr-border: rgba(16, 185, 129, 0.22);
  --sdcr-gold-border: rgba(234, 179, 8, 0.28);
  --sdcr-emerald: #10b981;
  --sdcr-emerald-light: #34d399;
  --sdcr-gold: #eab308;
  --sdcr-gold-soft: #fde047;
  --sdcr-text: #f8fafc;
  --sdcr-muted: #cbd5e1;
  --sdcr-dim: #94a3b8;
  --sdcr-radius: 16px;
  --sdcr-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}

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

html, body {
  background-color: var(--sdcr-bg);
  color: var(--sdcr-text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sdcr-emerald-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--sdcr-gold-soft);
}

.sdcr-wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.sdcr-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 17, 14, 0.94);
  border-bottom: 1px solid var(--sdcr-border);
}

.sdcr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.sdcr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.sdcr-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--sdcr-gold-border);
}

.sdcr-brand__accent {
  color: var(--sdcr-gold);
}

.sdcr-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.sdcr-nav__link {
  color: var(--sdcr-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.sdcr-nav__link:hover,
.sdcr-nav__link--active {
  color: var(--sdcr-gold-soft);
}

.sdcr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.sdcr-btn--primary {
  background: linear-gradient(135deg, var(--sdcr-emerald) 0%, #059669 55%, var(--sdcr-gold) 100%);
  color: #04100c;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.32);
}

.sdcr-btn--primary:hover {
  transform: translateY(-2px);
  color: #020806;
  box-shadow: 0 14px 32px rgba(234, 179, 8, 0.38);
}

.sdcr-btn--outline {
  background: rgba(16, 185, 129, 0.1);
  color: var(--sdcr-text);
  border: 1px solid var(--sdcr-border);
}

.sdcr-btn--outline:hover {
  border-color: var(--sdcr-gold);
  color: var(--sdcr-gold-soft);
}

/* Full-Viewport 100vh/100svh Hero with Micro-Interaction */
.sdcr-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  padding: 2.25rem 0 2.75rem;
  overflow: hidden;
  border-bottom: 1px solid var(--sdcr-border);
}

.sdcr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sdcr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.34;
}

.sdcr-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.18), transparent 55%),
              linear-gradient(90deg, rgba(7, 17, 14, 0.95) 0%, rgba(7, 17, 14, 0.82) 55%, rgba(7, 17, 14, 0.92) 100%);
}
.sdcr-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.25rem;
  align-items: center;
}

.sdcr-hero__copy {
  min-width: 0;
}

.sdcr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--sdcr-gold-border);
  color: var(--sdcr-gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.sdcr-hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.95rem, 3.6vw, 3.15rem);
  line-height: 1.14;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.sdcr-hero__title span {
  background: linear-gradient(90deg, var(--sdcr-emerald-light), var(--sdcr-gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sdcr-hero__lead {
  font-size: 1.05rem;
  color: var(--sdcr-muted);
  margin-bottom: 1.35rem;
  max-width: 630px;
}

.sdcr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.45rem;
}

.sdcr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 10px;
  background: rgba(17, 36, 30, 0.9);
  border: 1px solid var(--sdcr-border);
  font-size: 0.82rem;
  color: var(--sdcr-text);
  font-weight: 600;
}

.sdcr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Interactive Hero Widget (No backdrop-filter so child dropdown coordinates never drift) */
.sdcr-widget {
  background: #0d1f19;
  border: 1px solid var(--sdcr-gold-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--sdcr-shadow);
  min-width: 0;
  width: 100%;
}

.sdcr-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sdcr-border);
}

.sdcr-widget__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.sdcr-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sdcr-emerald-light);
  background: rgba(16, 185, 129, 0.14);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.sdcr-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sdcr-emerald-light);
  box-shadow: 0 0 8px var(--sdcr-emerald-light);
}

.sdcr-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.sdcr-role-btn {
  padding: 0.58rem 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--sdcr-border);
  background: #081410;
  color: var(--sdcr-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.sdcr-role-btn.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26), rgba(234, 179, 8, 0.24));
  border-color: var(--sdcr-gold);
  color: #fff;
}

/* Custom Attached Dropdown (.sdcr-picker) opening 4px directly below trigger */
.sdcr-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sdcr-muted);
  margin-bottom: 0.4rem;
}

.sdcr-picker {
  position: relative;
  margin-bottom: 1rem;
}

.sdcr-picker__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  background: #07120e;
  border: 1px solid var(--sdcr-gold-border);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.sdcr-picker__btn:hover,
.sdcr-picker.is-open .sdcr-picker__btn {
  border-color: var(--sdcr-gold-soft);
}

.sdcr-picker__arrow {
  font-size: 0.75rem;
  color: var(--sdcr-gold-soft);
  transition: transform 0.2s ease;
}

.sdcr-picker.is-open .sdcr-picker__arrow {
  transform: rotate(180deg);
}

.sdcr-picker__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #0a1813;
  border: 1px solid var(--sdcr-gold);
  border-radius: 12px;
  padding: 0.35rem;
  list-style: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  display: none;
  max-height: 250px;
  overflow-y: auto;
}

.sdcr-picker.is-open .sdcr-picker__menu {
  display: block;
}

.sdcr-picker__opt {
  padding: 0.62rem 0.8rem;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--sdcr-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sdcr-picker__opt:hover,
.sdcr-picker__opt.is-selected {
  background: rgba(16, 185, 129, 0.22);
  color: #fff;
  font-weight: 700;
}

.sdcr-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.sdcr-metric-box {
  background: #081410;
  border: 1px solid var(--sdcr-border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.sdcr-metric-box__label {
  font-size: 0.73rem;
  color: var(--sdcr-dim);
  display: block;
  margin-bottom: 0.2rem;
}

.sdcr-metric-box__val {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--sdcr-gold-soft);
}

.sdcr-widget__spot {
  font-size: 0.82rem;
  color: var(--sdcr-muted);
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--sdcr-emerald);
  padding: 0.6rem 0.75rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}
/* Sections, Cards & Bespoke Comparison Ledger (<dl>) */
.sdcr-section {
  padding: 4.25rem 0;
  border-bottom: 1px solid var(--sdcr-border);
}

.sdcr-section--alt {
  background: var(--sdcr-surface);
}

.sdcr-sec-head {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.sdcr-sec-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.sdcr-sec-sub {
  color: var(--sdcr-muted);
  font-size: 1.02rem;
}

.sdcr-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.35rem;
}

.sdcr-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.sdcr-card {
  background: var(--sdcr-card);
  border: 1px solid var(--sdcr-border);
  border-radius: var(--sdcr-radius);
  padding: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.sdcr-card:hover {
  transform: translateY(-3px);
  border-color: var(--sdcr-gold-border);
}

.sdcr-card__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sdcr-gold-soft);
  background: rgba(234, 179, 8, 0.12);
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.sdcr-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.sdcr-card p {
  color: var(--sdcr-muted);
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.sdcr-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.sdcr-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.91rem;
  color: var(--sdcr-muted);
}

.sdcr-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--sdcr-emerald-light);
  font-weight: 700;
}

/* Bespoke Definition-List (<dl>) Ledger Grid instead of generic table */
.sdcr-ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.sdcr-ledger-item {
  background: #091612;
  border: 1px solid var(--sdcr-gold-border);
  border-radius: 14px;
  padding: 1.35rem;
}

.sdcr-ledger-item dt {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sdcr-gold-soft);
  margin-bottom: 0.5rem;
}

.sdcr-ledger-item dd {
  font-size: 0.9rem;
  color: var(--sdcr-muted);
  margin-bottom: 0.45rem;
}

/* Content Prose & Embedded Editorial Banner */
.sdcr-prose h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  color: #fff;
  margin: 2rem 0 0.85rem;
}

.sdcr-prose h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  color: var(--sdcr-gold-soft);
  margin: 1.5rem 0 0.6rem;
}

.sdcr-prose p {
  color: var(--sdcr-muted);
  margin-bottom: 1.05rem;
  font-size: 0.98rem;
}

/* FAQ Accordion (<details class="sdcr-faq-item">) */
.sdcr-faq-stack {
  display: grid;
  gap: 0.85rem;
  max-width: 900px;
}

.sdcr-faq-item {
  background: var(--sdcr-card);
  border: 1px solid var(--sdcr-border);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
}

.sdcr-faq-item summary {
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sdcr-faq-item summary::-webkit-details-marker {
  display: none;
}

.sdcr-faq-item summary::after {
  content: "+";
  color: var(--sdcr-gold-soft);
  font-size: 1.3rem;
  font-weight: 700;
}

.sdcr-faq-item[open] summary::after {
  content: "−";
}

.sdcr-faq-item__body {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--sdcr-border);
  color: var(--sdcr-muted);
  font-size: 0.94rem;
}

/* CTA Box & Footer */
.sdcr-cta-banner {
  background: linear-gradient(135deg, #0d261e 0%, #152b18 100%);
  border: 1px solid var(--sdcr-gold);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.sdcr-footer {
  background: #040b09;
  padding: 3.5rem 0 5.5rem;
  border-top: 1px solid var(--sdcr-border);
  font-size: 0.88rem;
  color: var(--sdcr-dim);
}

.sdcr-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.sdcr-footer__title {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.sdcr-footer__links {
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.sdcr-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  background: rgba(7, 17, 14, 0.96);
  border-top: 1px solid var(--sdcr-gold-border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Mobile Layout: Place Hero Widget directly below .sdcr-hero__lead & above badges */
@media (max-width: 920px) {
  .sdcr-hero {
    min-height: auto;
    padding: 1.65rem 0 2.25rem;
  }
  .sdcr-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }
  .sdcr-hero__copy {
    display: contents;
  }
  .sdcr-eyebrow {
    order: 1;
    align-self: flex-start;
    margin-bottom: 0;
  }
  .sdcr-hero__title {
    order: 2;
    margin-bottom: 0;
  }
  .sdcr-hero__lead {
    order: 2;
    margin-bottom: 0.25rem;
  }
  .sdcr-widget {
    order: 3;
    margin: 0.2rem 0;
  }
  .sdcr-badges {
    order: 4;
    margin-bottom: 0.2rem;
  }
  .sdcr-hero__actions {
    order: 5;
  }
  .sdcr-nav {
    display: none;
  }
}
