/*
Theme Name: Spunky Cow Divi Child
Theme URI: https://spunkycow.co/
Description: A playful, professional Divi child theme for Spunky Cow Web Design.
Author: Spunky Cow
Template: Divi
Version: 1.0.1
*/

:root {
  --sc-ink: #151515;
  --sc-muted: #5f6468;
  --sc-line: #dfe6e2;
  --sc-paper: #fffdf8;
  --sc-white: #ffffff;
  --sc-grass: #3f8d5d;
  --sc-grass-dark: #276846;
  --sc-sky: #bfe8f4;
  --sc-coral: #f15f4a;
  --sc-gold: #f7c84b;
  --sc-shadow: 0 18px 44px rgba(21, 21, 21, 0.12);
}

body.spunkycow-page {
  background: var(--sc-paper);
  color: var(--sc-ink);
}

.spunkycow-site {
  color: var(--sc-ink);
  font-family: inherit;
  overflow: hidden;
}

.spunkycow-site *,
.spunkycow-site *::before,
.spunkycow-site *::after {
  box-sizing: border-box;
}

.spunkycow-site a {
  color: inherit;
}

.sc-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sc-band {
  padding: clamp(56px, 8vw, 112px) 0;
}

.sc-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 40px));
  display: grid;
  align-items: center;
  padding: 34px 0 72px;
  background:
    radial-gradient(circle at 18% 18%, rgba(191, 232, 244, 0.88), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #ffffff 48%, #eaf8ed 100%);
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(21, 21, 21, 0.9) 0 7px, transparent 8px),
    radial-gradient(ellipse, rgba(21, 21, 21, 0.85) 0 11px, transparent 12px);
  background-size: 140px 110px, 180px 160px;
  background-position: 8% 18%, 78% 26%;
  opacity: 0.055;
  pointer-events: none;
  animation: scSpotDrift 16s ease-in-out infinite alternate;
}

.sc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.68fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.sc-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.sc-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(21, 21, 21, 0.16));
}

.sc-brand-kicker {
  display: grid;
  gap: 3px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.sc-brand-kicker span {
  color: var(--sc-grass-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.sc-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.sc-hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: #34383a;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.58;
}

.sc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--sc-ink);
  border-radius: 8px;
  background: var(--sc-ink);
  color: var(--sc-white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--sc-gold);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sc-button:hover,
.sc-button:focus {
  color: var(--sc-white);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--sc-gold);
}

.sc-button-secondary {
  background: var(--sc-white);
  color: var(--sc-ink);
  box-shadow: 5px 5px 0 var(--sc-sky);
}

.sc-button-secondary:hover,
.sc-button-secondary:focus {
  color: var(--sc-ink);
  box-shadow: 7px 7px 0 var(--sc-sky);
}

.sc-hero-panel {
  position: relative;
  min-height: 450px;
  border: 2px solid var(--sc-ink);
  border-radius: 8px;
  background: var(--sc-white);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
}

.sc-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 20%, #141414 0 42px, transparent 43px),
    radial-gradient(ellipse at 74% 28%, #141414 0 58px, transparent 59px),
    radial-gradient(ellipse at 24% 70%, #141414 0 66px, transparent 67px),
    radial-gradient(circle at 78% 78%, #141414 0 38px, transparent 39px);
  opacity: 0.95;
}

.sc-hero-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(21, 21, 21, 0.16);
  backdrop-filter: blur(8px);
}

.sc-hero-card strong {
  font-size: 1.28rem;
}

.sc-hero-card p {
  margin: 0;
  color: var(--sc-muted);
  line-height: 1.55;
}

.sc-floating-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sc-ink);
  border-radius: 999px;
  background: var(--sc-coral);
  color: var(--sc-white);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  transform: rotate(9deg);
  animation: scBadgeBob 4s ease-in-out infinite;
}

.sc-section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.sc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--sc-grass-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.sc-section-title p {
  margin: 18px 0 0;
  color: var(--sc-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.sc-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sc-service {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  background: var(--sc-white);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.sc-service:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 21, 21, 0.32);
  box-shadow: 0 16px 28px rgba(21, 21, 21, 0.08);
}

.sc-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--sc-sky);
  color: var(--sc-ink);
  font-size: 1.55rem;
  font-weight: 900;
}

.sc-service:nth-child(2) .sc-icon {
  background: #dff2df;
}

.sc-service:nth-child(3) .sc-icon {
  background: #ffe7a1;
}

.sc-service h3,
.sc-price-card h3,
.sc-form-card h2 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.sc-service p,
.sc-price-card p {
  margin: 0;
  color: var(--sc-muted);
  line-height: 1.65;
}

.sc-process {
  background: #eef8f0;
}

.sc-process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.sc-process-list {
  display: grid;
  gap: 14px;
  counter-reset: process;
}

.sc-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 8px;
  background: var(--sc-white);
}

.sc-process-step::before {
  counter-increment: process;
  content: counter(process);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sc-ink);
  border-radius: 999px;
  background: var(--sc-gold);
  font-weight: 900;
}

.sc-process-step h3 {
  margin: 2px 0 6px;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.sc-process-step p {
  margin: 0;
  color: var(--sc-muted);
  line-height: 1.58;
}

.sc-pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.sc-price-card {
  padding: clamp(26px, 4vw, 42px);
  border: 2px solid var(--sc-ink);
  border-radius: 8px;
  background: var(--sc-white);
  box-shadow: 8px 8px 0 var(--sc-coral);
}

.sc-price {
  margin: 18px 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.92;
  font-weight: 900;
}

.sc-price small {
  display: block;
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.sc-check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.sc-check-list li {
  position: relative;
  padding-left: 30px;
  color: #303538;
  line-height: 1.55;
}

.sc-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--sc-grass);
  box-shadow: inset 0 0 0 4px var(--sc-white);
  outline: 2px solid var(--sc-grass);
}

.sc-form-band {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.sc-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.sc-form-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  background: var(--sc-white);
  box-shadow: var(--sc-shadow);
}

.sc-form {
  display: grid;
  gap: 18px;
}

.sc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sc-field,
.sc-field-full {
  display: grid;
  gap: 8px;
}

.sc-field-full {
  grid-column: 1 / -1;
}

.sc-form label,
.sc-form legend {
  color: #2a2f31;
  font-weight: 800;
}

.sc-form input,
.sc-form select,
.sc-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  padding: 11px 13px;
  background: #ffffff;
  color: var(--sc-ink);
  font: inherit;
}

.sc-form textarea {
  min-height: 118px;
  resize: vertical;
}

.sc-form input:focus,
.sc-form select:focus,
.sc-form textarea:focus {
  border-color: var(--sc-grass);
  box-shadow: 0 0 0 3px rgba(63, 141, 93, 0.18);
  outline: none;
}

.sc-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sc-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  background: #fbfdfb;
  font-weight: 700;
}

.sc-choice input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--sc-grass);
}

.sc-form-status {
  min-height: 28px;
  color: var(--sc-grass-dark);
  font-weight: 800;
}

.sc-form-status.is-error {
  color: #b83425;
}

.sc-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.sc-footer-cta {
  padding: 38px 0;
  background: var(--sc-ink);
  color: var(--sc-white);
}

.sc-footer-cta .sc-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sc-footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.sc-cow-particle {
  position: fixed;
  z-index: 999999;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(0.85);
  animation: scCowTrail 760ms ease-out forwards;
}

@keyframes scSpotDrift {
  from {
    background-position: 8% 18%, 78% 26%;
  }
  to {
    background-position: 13% 23%, 72% 31%;
  }
}

@keyframes scBadgeBob {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-9px);
  }
}

@keyframes scCowTrail {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sc-drift-x)), calc(-50% + var(--sc-drift-y))) scale(0.18) rotate(var(--sc-spin));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-hero::before,
  .sc-floating-badge,
  .sc-cow-particle {
    animation: none;
  }
}

@media (max-width: 980px) {
  .sc-hero-inner,
  .sc-process-grid,
  .sc-pricing,
  .sc-form-layout {
    grid-template-columns: 1fr;
  }

  .sc-hero {
    min-height: auto;
  }

  .sc-hero-panel {
    min-height: 380px;
  }

  .sc-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .sc-shell {
    width: min(100% - 28px, 1180px);
  }

  .sc-logo-lockup {
    margin-bottom: 26px;
  }

  .sc-logo {
    width: 62px;
    height: 62px;
  }

  .sc-hero h1 {
    font-size: clamp(2.64rem, 15vw, 4.2rem);
  }

  .sc-hero-actions,
  .sc-footer-cta .sc-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .sc-button {
    width: 100%;
  }

  .sc-hero-panel {
    min-height: 330px;
  }

  .sc-floating-badge {
    width: 92px;
    height: 92px;
    font-size: 0.74rem;
  }

  .sc-hero-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }

  .sc-field-grid,
  .sc-choice-grid {
    grid-template-columns: 1fr;
  }
}
