/* Cute Clinic — site footer.
 * Scoped to .cc-footer-v1 so it can't leak into the rest of the page CSS.
 */

.cc-footer-v1 {
  --green:      #1e4d37;
  --green-deep: #163829;
  --cream:      #f3ecdc;
  --cream-dim:  rgba(243, 236, 220, 0.62);
  --cream-low:  rgba(243, 236, 220, 0.16);
  --rule:       rgba(243, 236, 220, 0.18);
  /* The VISIBLE slice of the wordmark (60% of its natural height with the current
     translateY: 40%). Used as the footer's bottom-padding so the credits row sits
     flush against the visible top of the wordmark — not overlapping it.
     If you change translateY(N%) on .cc-wordmark-band, set this to (100 - N)%. */
  --wm-visible: clamp(4.2rem, 9.6vw, 12rem);

  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
  font-family: "Karla", system-ui, sans-serif;
  min-height: 100vh;
  padding: clamp(55px, 7vw, 95px) 0 var(--wm-visible);
}
/* Soft ambient gradient — gives the green some depth */
.cc-footer-v1::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 10% 0%, rgba(243, 236, 220, 0.06), transparent 60%),
    radial-gradient(60% 40% at 90% 100%, rgba(0, 0, 0, 0.25), transparent 60%);
  z-index: -1;
}

.cc-footer-v1 .cc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 32px);
}

/* Anchor reset — every link inside the footer inherits the local text colour
   unless overridden by a more specific rule. Also kills the global Webflow
   `a { border-bottom: 1px solid #000 }` rule that leaks in from cute.css. */
.cc-footer-v1 a { color: inherit; text-decoration: none; border-bottom: 0; }
.cc-footer-v1 a:visited { color: inherit; }

/* Top lede ------------------------------------------------- */
.cc-footer-v1 .cc-lede {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.cc-footer-v1 .cc-lede__intro {
  font-family: "Spectral", serif;
  font-weight: 200; font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.2; letter-spacing: -0.005em;
  margin: 0; max-width: 22ch;
}
.cc-footer-v1 .cc-lede__intro em { font-style: normal; }

.cc-footer-v1 .cc-seasonal {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 500;
  white-space: nowrap;
}
.cc-footer-v1 .cc-seasonal__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 0 rgba(243, 236, 220, 0.6);
  animation: cc-pulse 2.6s ease-in-out infinite;
}
@keyframes cc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 236, 220, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(243, 236, 220, 0); }
}

/* Grid ----------------------------------------------------- */
.cc-footer-v1 .cc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px) 0 0;
}
.cc-footer-v1 .cc-col__title {
  font-family: "Karla", sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0 0 18px;
}
.cc-footer-v1 .cc-col__body { font-size: 15px; line-height: 1.7; color: var(--cream-dim); }
.cc-footer-v1 .cc-col__body a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color .25s ease, color .25s ease;
}
.cc-footer-v1 .cc-col__body a:hover { border-bottom-color: var(--cream); color: #fff; }

/* Newsletter form */
.cc-footer-v1 .cc-news__copy {
  font-family: "Spectral", serif;
  font-weight: 200; font-size: 1.5rem; line-height: 1.3;
  color: var(--cream); margin: 0 0 20px;
}
.cc-footer-v1 .cc-news__copy em { font-style: italic; color: var(--cream-dim); }

.cc-footer-v1 .cc-form {
  position: relative;
  display: flex; flex-direction: row; align-items: center;
  border: 1px solid var(--cream-dim);
  border-radius: 999px;
  background: transparent;
  transition: border-color .25s ease;
  padding: 4px 4px 4px 18px;
  max-width: 420px;
}
.cc-footer-v1 .cc-form:focus-within { border-color: var(--cream); }
.cc-footer-v1 .cc-form input[type="email"] {
  flex: 1; min-width: 0;
  padding: 10px 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--cream);
  font-family: "Karla", sans-serif;
  font-size: 15px;
}
.cc-footer-v1 .cc-form input::placeholder { color: var(--cream-dim); }
.cc-footer-v1 .cc-form button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 0;
  background: var(--cream);
  color: var(--green);
  border-radius: 50%;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
  flex: 0 0 auto;
}
.cc-footer-v1 .cc-form button:hover { transform: translateX(2px); background: #fff; }
.cc-footer-v1 .cc-form button svg { width: 18px; height: 18px; }

.cc-footer-v1 .cc-form__small {
  font-size: 12px; color: var(--cream-dim);
  margin: 10px 0 0; max-width: 380px; line-height: 1.5;
}

/* Address column */
.cc-footer-v1 .cc-address { font-style: normal; }
.cc-footer-v1 .cc-address__name {
  font-family: "Spectral", serif;
  font-weight: 200; font-size: 1.4rem;
  color: var(--cream);
  margin: 0 0 2px; letter-spacing: -0.005em;
}
.cc-footer-v1 .cc-address__line { display: block; }
.cc-footer-v1 .cc-hours {
  margin-top: 14px;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--cream-dim);
}

/* Nav column */
.cc-footer-v1 .cc-nav {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
}
.cc-footer-v1 .cc-nav li { line-height: 1.9; }
.cc-footer-v1 .cc-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  display: inline-block;
}
.cc-footer-v1 .cc-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--cream);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cc-footer-v1 .cc-nav a:hover::after { transform: scaleX(1); }

/* Social row — its own band, sits directly above the credits strip */
.cc-footer-v1 .cc-social-row {
  display: flex; justify-content: flex-end;
  margin-top: 0;
  padding-bottom: 14px;
}
.cc-footer-v1 .cc-social {
  display: flex; gap: 10px;
}
.cc-footer-v1 .cc-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 50%;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.cc-footer-v1 .cc-social a:hover {
  background: var(--cream); border-color: var(--cream); transform: translateY(-2px);
}
.cc-footer-v1 .cc-social svg { width: 16px; height: 16px; color: var(--cream); transition: color .25s ease; }
.cc-footer-v1 .cc-social a:hover svg { color: var(--green); }

/* Oversized wordmark — anchored to the footer's bottom edge, top 60% visible */
.cc-footer-v1 .cc-wordmark-band {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  pointer-events: none;
  transform: translateY(40%);
}
.cc-footer-v1 .cc-wordmark {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(7rem, 16vw, 20rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

/* Bottom strip -------------------------------------------- */
.cc-footer-v1 .cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--cream-dim);
}
.cc-footer-v1 .cc-foot a { color: var(--cream-dim); }
.cc-footer-v1 .cc-foot a:hover { color: var(--cream); }

.cc-footer-v1 .cc-creds { display: inline-flex; gap: 14px; align-items: center; }
.cc-footer-v1 .cc-creds__dot { width: 3px; height: 3px; background: var(--cream-dim); border-radius: 50%; }

/* Responsive ---------------------------------------------- */
@media (max-width: 880px) {
  .cc-footer-v1 .cc-lede { flex-direction: column; align-items: start; gap: 24px; }
  .cc-footer-v1 .cc-grid { grid-template-columns: 1fr; gap: 40px; }
  .cc-footer-v1 .cc-wordmark { font-size: clamp(3.5rem, 18vw, 6rem); }
  .cc-footer-v1 .cc-foot { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-footer-v1 .cc-seasonal__dot { animation: none; }
}
