/* Tiny Tots Day Nursery — global styles shared by every page.
   Direction A (Refined Serif) design system.

   This file holds the shared design tokens and the reusable component/atom
   classes used across multiple pages (buttons, eyebrows, cards, bands,
   section wrappers, image frames, the reviews placeholder, etc).
   Page-specific layout lives in each page's own css/<slug>.css. */

:root {
  --tt-clay: #a4633f;
  --tt-clay-hover: #8a5238;
  --tt-cocoa: #5c3b28;
  --tt-cocoa-hover: #3f281b;
  --tt-espresso: #33271f;
  --tt-cream: #f6f0e8;
  --tt-cream-chrome: #f5eee4;
  --tt-page: #fffdfa;
  --tt-body: #6b5a4e;
  --tt-muted: #8a7565;
  --tt-hairline: #ece2d6;
  --tt-hairline-2: #e3d8cb;
  --tt-input-border: #d8c6b4;
  --tt-chip-bg: #f3e7dc;
  --tt-gold: #d6a05b;
  --tt-serif: "Cormorant Garamond", serif;
  --tt-sans: "Mulish", sans-serif;
  --tt-light: #fffdfa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--tt-page);
  font-family: var(--tt-sans);
  color: var(--tt-espresso);
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}

/* ---- page shell ---------------------------------------------------------- */
.tt-page {
  background: var(--tt-page);
  font-family: var(--tt-sans);
  color: var(--tt-espresso);
}

.tt-page-shell {
  background: var(--tt-page);
  font-family: var(--tt-sans);
  color: var(--tt-espresso);
}

/* ---- full-bleed background bands ----------------------------------------- */
.tt-band-cream {
  background: var(--tt-cream);
}
.tt-band-cocoa {
  background: var(--tt-cocoa);
}
.tt-band-dark {
  background: var(--tt-espresso);
}
.tt-band-dark {
  background: var(--tt-espresso);
}
.tt-band-light {
  background-color: var(--tt-light);
}

/* ---- section container --------------------------------------------------- */
.tt-sec {
  max-width: 1320px;
  margin: 0 auto;
  padding: 74px 40px;
}
.tt-sec--w1000 {
  max-width: 1000px;
}
.tt-sec--w920 {
  max-width: 920px;
}
.tt-sec--w900 {
  max-width: 900px;
}
.tt-sec--w820 {
  max-width: 820px;
}
.tt-sec--w760 {
  max-width: 760px;
}
.tt-sec--w680 {
  max-width: 680px;
}
.tt-sec--p60 {
  padding-top: 60px;
  padding-bottom: 60px;
}
.tt-sec--p64 {
  padding-top: 64px;
  padding-bottom: 64px;
}
.tt-sec--p72 {
  padding-top: 72px;
  padding-bottom: 72px;
}
.tt-sec--center {
  text-align: center;
}

/* ---- two-column grid ----------------------------------------------------- */
.tt-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* ---- typography ---------------------------------------------------------- */
.tt-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tt-clay);
  font-weight: 800;
  margin-bottom: 14px;
}
.tt-eyebrow--mb16 {
  margin-bottom: 16px;
}
.tt-eyebrow--tight {
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.tt-h1 {
  font-family: var(--tt-serif);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.05;
  color: var(--tt-espresso);
}
.tt-display {
  font-family: var(--tt-serif);
  color: var(--tt-espresso);
  font-weight: 600;
  line-height: 1.1;
}
.tt-display--light {
  font-weight: 500;
}

.tt-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--tt-body);
}
.tt-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--tt-body);
}
.tt-fine {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--tt-muted);
}

.tt-center {
  text-align: center;
}
.tt-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---- buttons ------------------------------------------------------------- */
.tt-btn {
  display: inline-block;
  background: var(--tt-clay);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--tt-sans);
}
.tt-btn:hover {
  background: var(--tt-clay-hover);
}
.tt-btn--block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.tt-btn--sm {
  padding: 13px 26px;
  font-size: 13.5px;
}
.tt-btn--inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tt-btn-secondary {
  display: inline-block;
  background: var(--tt-page);
  border: 1px solid var(--tt-input-border);
  color: var(--tt-cocoa);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 2px;
}
.tt-btn-secondary:hover {
  border-color: var(--tt-clay);
}
.tt-btn-secondary i {
  color: var(--tt-clay);
  margin-right: 8px;
}

/* ---- image frame --------------------------------------------------------- */
.tt-frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(92, 59, 40, 0.16);
}
.tt-frame--hero {
  box-shadow: 0 16px 44px rgba(92, 59, 40, 0.16);
}
.tt-frame--soft {
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(92, 59, 40, 0.18);
}
.tt-frame--43 {
  aspect-ratio: 4 / 3;
}
.tt-frame--11 {
  aspect-ratio: 1 / 1;
}
.tt-frame--45 {
  aspect-ratio: 4 / 5;
}
.tt-frame--34 {
  aspect-ratio: 3 / 4;
}
.tt-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- cards & chips ------------------------------------------------------- */
.tt-card {
  background: var(--tt-page);
  border: 1px solid var(--tt-hairline);
  border-radius: 8px;
}
.tt-card--pad {
  padding: 30px 26px;
}
.tt-card--shadow {
  box-shadow: 0 6px 20px rgba(92, 59, 40, 0.06);
}

.tt-chip {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--tt-chip-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-chip i {
  color: var(--tt-clay);
  font-size: 17px;
}
.tt-chip--lg {
  width: 50px;
  height: 50px;
}
.tt-chip--lg i {
  font-size: 19px;
}

/* ---- reviews placeholder ------------------------------------------------- */
.tt-reviews {
  text-align: center;
}
.tt-reviews-stars {
  color: var(--tt-gold);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 28px;
}
.tt-reviews-box {
  border: 1px dashed var(--tt-input-border);
  border-radius: 4px;
  padding: 34px;
  max-width: 760px;
  margin: 0 auto;
  background: #fdfaf5;
  overflow-x: clip;
}
.tt-reviews-box span {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #a88f7a;
}

.tt-reviews-box [data-elfsight-app-lazy],
.tt-reviews-box [class*="elfsight-app-"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tt-reviews-box iframe,
.tt-reviews-box div,
.tt-reviews-box section {
  max-width: 100%;
}

/* ---- quote band ---------------------------------------------------------- */
.tt-quote-band {
  background: var(--tt-cocoa);
  padding: 70px 40px;
}
.tt-quote-band p {
  font-family: var(--tt-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* ---- forms (shared field styling) --------------------------------------- */
.tt-form-card {
  background: var(--tt-page);
  border: 1px solid var(--tt-hairline);
  border-radius: 6px;
  box-shadow: 0 14px 44px rgba(92, 59, 40, 0.1);
  padding: 40px;
}
.tt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tt-field {
  display: flex;
  flex-direction: column;
}
.tt-field--full {
  grid-column: 1 / -1;
}
.tt-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tt-cocoa);
  margin-bottom: 7px;
}
.tt-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--tt-input-border);
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--tt-sans);
  color: var(--tt-espresso);
  background: #fff;
}
.tt-input--date {
  color: var(--tt-body);
  padding: 12px 14px;
}
.tt-input--file {
  padding: 11px 14px;
  font-size: 14px;
  color: var(--tt-body);
}
.tt-input--sm {
  padding: 11px 10px;
  font-size: 14px;
}
textarea.tt-input {
  resize: vertical;
}
.tt-input:focus {
  border-color: var(--tt-clay);
  outline: none;
}
.tt-form-sent {
  display: none;
  margin-top: 16px;
  text-align: center;
  color: var(--tt-cocoa);
  font-weight: 600;
  font-size: 15px;
}
.tt-form-sent.tt-show {
  display: block;
}
.tt-form-sent i {
  color: var(--tt-clay);
  margin-right: 8px;
}
.tt-form-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 12px 14px 12px 16px;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(92, 59, 40, 0.08);
}
.tt-form-alert[hidden] {
  display: none;
}
.tt-form-alert__main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.tt-form-alert__main i {
  margin-top: 2px;
  flex: none;
}
.tt-form-alert__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex: none;
}
.tt-form-alert__close:hover {
  background: rgba(51, 39, 31, 0.08);
}
.tt-form-alert--success {
  border-color: #6d9b7d;
  background: linear-gradient(135deg, #f5fbf6, #edf6ef);
  color: #355644;
}
.tt-form-alert--success .tt-form-alert__main i {
  color: #4c7e5d;
}
.tt-form-alert--error {
  border-color: #c97f58;
  background: linear-gradient(135deg, #fff8f3, #fff0e5);
  color: #7c4a32;
}
.tt-form-alert--error .tt-form-alert__main i {
  color: var(--tt-clay);
}

.tt-form-actions {
  position: relative;
  min-height: 56px;
}

.tt-form-loading {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 2px;
  background: var(--tt-clay);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.tt-form-loading[hidden] {
  display: none;
}

.tt-form-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tt-spin 0.7s linear infinite;
}

@keyframes tt-spin {
  to {
    transform: rotate(360deg);
  }
}

.tt-fieldset {
  border: none;
  margin: 22px 0 6px;
}
.tt-fieldset legend {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tt-cocoa);
  margin-bottom: 10px;
}
.tt-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--tt-body);
  cursor: pointer;
}
.tt-check + .tt-check {
  margin-top: 10px;
}
.tt-check input {
  accent-color: var(--tt-clay);
  margin-top: 3px;
}
.tt-privacy {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tt-muted);
  margin: 14px 0 22px;
}
.tt-privacy a {
  color: var(--tt-clay);
}

/* ---- cookie banner ------------------------------------------------------ */
.tt-cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 14px;
  left: auto;
  z-index: 80;
  width: min(25vw, 360px);
  min-width: 300px;
  pointer-events: none;
}

.tt-cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  max-width: none;
  margin: 0 auto;
  padding: 16px 16px 15px;
  border: 1px solid rgba(164, 99, 63, 0.18);
  border-left: 3px solid var(--tt-clay);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at top left,
      rgba(214, 160, 91, 0.12),
      transparent 42%
    ),
    rgba(255, 253, 250, 0.97);
  box-shadow: 0 12px 28px rgba(51, 39, 31, 0.1);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.tt-cookie-banner__copy {
  max-width: none;
}

.tt-cookie-banner__eyebrow {
  display: none;
  margin-bottom: 2px;
  color: var(--tt-clay);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tt-cookie-banner__title {
  display: block;
  margin: 0 0 6px;
  color: var(--tt-cocoa);
  font-family: var(--tt-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.tt-cookie-banner__text {
  display: block;
  max-width: none;
  color: var(--tt-body);
  font-size: 12.5px;
  line-height: 1.5;
}

.tt-cookie-banner__text a {
  color: var(--tt-clay);
  font-weight: 800;
  text-decoration: none;
}

.tt-cookie-banner__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tt-cookie-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--tt-hairline-2);
  border-radius: 999px;
  background: rgba(245, 238, 228, 0.88);
  color: var(--tt-cocoa);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tt-cookie-chip input {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: var(--tt-clay);
}

.tt-cookie-chip--locked {
  background: rgba(243, 231, 220, 0.95);
}

.tt-cookie-chip--locked input {
  opacity: 0.7;
  cursor: not-allowed;
}

.tt-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.tt-cookie-btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--tt-sans);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.tt-cookie-btn:hover {
  transform: translateY(-1px);
}

.tt-cookie-btn--ghost {
  border-color: var(--tt-input-border);
  background: transparent;
  color: var(--tt-espresso);
}

.tt-cookie-btn--dark {
  background: var(--tt-espresso);
  color: #fff;
}

.tt-cookie-btn--primary {
  background: var(--tt-clay);
  color: #fff;
}

.tt-cookie-btn--ghost:hover {
  border-color: var(--tt-clay);
  color: var(--tt-clay);
}

.tt-cookie-btn--dark:hover {
  background: #221913;
}

.tt-cookie-btn--primary:hover {
  background: var(--tt-clay-hover);
}

/* full-bleed map iframe */
.tt-map {
  display: block;
  width: 100%;
  border: 0;
}

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .tt-grid2 {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .tt-grid2-rev > div:first-child {
    order: 2;
  }
  .tt-foot {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .tt-h1 {
    font-size: 50px !important;
  }
  .tt-sec {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .tt-cookie-banner__inner {
    gap: 12px;
    padding: 15px;
  }

  .tt-cookie-banner__copy {
    max-width: none;
  }

  .tt-cookie-banner__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .tt-sec {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .tt-h1 {
    font-size: 40px !important;
  }
  .tt-foot-inner {
    flex-direction: column !important;
    gap: 28px !important;
  }
  .tt-form-grid {
    grid-template-columns: 1fr !important;
  }

  .tt-reviews-box {
    padding: 22px 16px;
  }

  .tt-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    min-width: 0;
  }

  .tt-cookie-banner__title {
    display: block;
    margin: 0 0 4px;
    font-size: 20px;
  }

  .tt-cookie-banner__text {
    font-size: 12px;
  }

  .tt-cookie-banner__actions {
    width: 100%;
  }

  .tt-cookie-btn {
    flex: 0 0 auto;
  }
}
