/* ==========================================================================
   sd.insure — Soggy Bottom Showdown event page
   Themed to match the flyer: big teal, brighter cyan highlight, gold rule line.
   Loads after global.css / components.css / pages.css and only adds .soggy-* rules.
   ========================================================================== */

:root {
  --soggy-teal: #1593a6;
  --soggy-teal-dk: #0f7d8e;
  --soggy-teal-deep: #0a5e6c;
  --soggy-cyan: #36bdd5;
  --soggy-gold: #e3a72e;
  --soggy-foam: #ebfafd;
  --soggy-ink: #0a3b44;
}

.soggy-page {
  background: var(--soggy-teal);
}

/* keep the sticky site nav legible sitting on teal */
.soggy-page .nav {
  background: rgba(255, 255, 255, 0.93);
}

/* --- Hero ----------------------------------------------------------------- */
.soggy-hero {
  position: relative;
  background: linear-gradient(180deg, var(--soggy-teal) 0%, var(--soggy-teal-dk) 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem 0;
  overflow: hidden;
}

.soggy-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.soggy-hero p {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.soggy-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.1rem;
}

.soggy-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.015em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
}

.soggy-title .line {
  font-size: clamp(3.4rem, 14vw, 8.5rem);
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.07);
}

.soggy-title .badge {
  background: var(--soggy-cyan);
  color: #fff;
  font-size: clamp(0.95rem, 3.6vw, 2rem);
  letter-spacing: 0.08em;
  padding: 0.18em 0.7em;
  border-radius: 4px;
  margin: -0.04em 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.soggy-rule {
  width: min(560px, 78%);
  height: 4px;
  background: var(--soggy-gold);
  border: 0;
  border-radius: 2px;
  margin: 1.7rem auto 1.4rem;
}

.soggy-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.15rem, 3.4vw, 2rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.soggy-tagline {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  margin-bottom: 1.9rem;
}

.soggy-hero .btn-group {
  justify-content: center;
}

/* CTA buttons (use the site .btn base, recolour for the teal theme) */
.soggy-cta-btn {
  background: #fff;
  color: var(--soggy-teal-dk);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}
.soggy-cta-btn:hover {
  color: var(--soggy-teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}
.soggy-cta-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.soggy-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* solid teal button — for use on the white content panels */
.soggy-btn-solid {
  background: linear-gradient(135deg, var(--soggy-cyan) 0%, var(--soggy-teal-dk) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 125, 142, 0.3);
}
.soggy-btn-solid:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 125, 142, 0.4);
}

/* wave divider at the bottom of the hero */
.soggy-wave {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: 2.6rem;
}
.soggy-wave path {
  fill: var(--soggy-foam);
}

/* --- Quick facts strip ---------------------------------------------------- */
.soggy-facts {
  background: var(--soggy-foam);
  padding: 1.4rem 1.5rem;
}
.soggy-facts-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2.4rem;
}
.soggy-fact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--soggy-ink);
  font-size: 1rem;
}
.soggy-fact .emoji {
  font-size: 1.35rem;
  line-height: 1;
}

/* --- Content panels ------------------------------------------------------- */
.soggy-section {
  padding: 3.75rem 1.5rem;
}
.soggy-panel {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  padding: 2.75rem clamp(1.5rem, 4vw, 3.25rem);
}
.soggy-panel + .soggy-panel {
  margin-top: 2.5rem;
}
.soggy-panel h2 {
  font-family: var(--font-heading);
  color: var(--soggy-teal-deep);
  margin-bottom: 1rem;
}
.soggy-panel h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--soggy-teal-dk);
  margin: 2rem 0 0.75rem;
}
.soggy-panel h3:first-of-type {
  margin-top: 1.25rem;
}
.soggy-panel p {
  color: #344b50;
}
.soggy-lead {
  font-size: 1.16rem;
  color: #243b40 !important;
}
.soggy-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #7d8c8f;
  font-style: italic;
}

/* links inside white panels (override the site's gold link colour) */
.soggy-panel a:not(.btn) {
  color: var(--soggy-teal-dk);
  font-weight: 600;
  border-bottom: 1px solid rgba(15, 125, 142, 0.3);
}
.soggy-panel a:not(.btn):hover {
  color: var(--soggy-teal-deep);
  border-bottom-color: var(--soggy-teal-deep);
}
.soggy-panel .btn {
  border-bottom: 0;
}

/* numbered rule lists */
.soggy-rules {
  counter-reset: rule;
  margin-top: 0.5rem;
}
.soggy-rules li {
  counter-increment: rule;
  position: relative;
  padding: 0.8rem 0 0.8rem 3rem;
  border-top: 1px solid #e6eef0;
  color: #344b50;
  line-height: 1.65;
}
.soggy-rules li:first-child {
  border-top: 0;
}
.soggy-rules li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 2rem;
  height: 2rem;
  background: var(--soggy-teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soggy-rules strong {
  color: var(--soggy-teal-deep);
}

/* plain check / cross lists (what you can & can't use) */
.soggy-checklist {
  margin-top: 0.85rem;
}
.soggy-checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.9rem;
  color: #344b50;
  line-height: 1.6;
}
.soggy-checklist li::before {
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
}
.soggy-checklist--yes li::before {
  content: '\2713';
  color: #1f8a4c;
}
.soggy-checklist--no li::before {
  content: '\2715';
  color: #c2402f;
}
.soggy-checklist strong {
  color: var(--soggy-teal-deep);
}

/* --- Prize / award cards -------------------------------------------------- */
.soggy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.soggy-card {
  background: linear-gradient(165deg, var(--soggy-teal) 0%, var(--soggy-teal-dk) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  text-align: center;
}
.soggy-card .trophy {
  font-size: 2.4rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.soggy-card .amount {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  display: block;
  margin: 0.15rem 0 0.3rem;
  color: var(--soggy-foam);
}
.soggy-card h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.18rem;
  margin: 0 0 0.4rem;
}
.soggy-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Beneficiary panel ---------------------------------------------------- */
.soggy-benef {
  text-align: center;
}
.soggy-benef .heart {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.soggy-benef p {
  margin-left: auto;
  margin-right: auto;
}
.soggy-benef-logo {
  display: inline-block;
  margin-top: 1.85rem;
  border-bottom: 0;
  transition: opacity var(--transition);
}
.soggy-benef-logo:hover {
  opacity: 0.82;
  border-bottom: 0;
}
.soggy-benef-logo img {
  width: 100%;
  max-width: 330px;
  height: auto;
}

/* --- Big closing CTA ------------------------------------------------------ */
.soggy-bigcta {
  background: linear-gradient(180deg, var(--soggy-teal-dk) 0%, var(--soggy-teal-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.soggy-bigcta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.soggy-bigcta p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: 1.12rem;
}
.soggy-bigcta .btn-group {
  justify-content: center;
}
.soggy-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.5);
}
.soggy-email:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.soggy-fineprint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2rem;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 768px) {
  .soggy-hero {
    padding-top: 3rem;
  }
  .soggy-section {
    padding: 2.75rem 1rem;
  }
  .soggy-panel {
    padding: 2rem 1.4rem;
    border-radius: 14px;
  }
  .soggy-cards {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .soggy-facts-inner {
    gap: 0.6rem 1.6rem;
  }
}
