/* La Casa Rainbow — brand palette drawn from the client's own posters
   (extras/clients/La Casa Rainbow/assets/). Placeholder hero art only — the posters' stock
   photography isn't rights-cleared for reuse here; swap in real client photography when
   supplied. */

:root {
  --green-dark: #163a24;
  --green: #1f5c3a;
  --green-mid: #2f8f56;
  --orange: #e0800f;
  --blue: #1f5fa8;
  --red: #c62828;
  --cream: #faf8f3;
  --white: #ffffff;
  --text: #1c2621;
  --text-soft: #51655c;
  --border: #e2e6de;
  --shadow: 0 8px 24px rgba(22, 58, 36, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn--cta {
  background: var(--orange);
  color: var(--white);
}
.btn--cta:hover {
  background: #c66c0a;
}

/* Header / nav */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
}

.brand__mark {
  flex-shrink: 0;
  display: flex;
}

.brand__mark img {
  height: 40px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.25rem;
}

.brand__subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 10px 0;
  }
}

/* Hero */

.hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green) 65%, var(--green-mid));
  color: var(--white);
  padding: 64px 0;
}

.hero__inner {
  max-width: 720px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero--small {
  padding: 48px 0;
}

/* Sections */

.section {
  padding: 64px 0;
}

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

.section__header {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
}

.section__lead {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Card grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent, var(--green));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card--blue {
  --accent: var(--blue);
}
.card--orange {
  --accent: var(--orange);
}
.card--red {
  --accent: var(--red);
}
.card--green {
  --accent: var(--green);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-soft);
  margin-bottom: 12px;
}

.card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-soft);
}

.card ul li {
  margin-bottom: 4px;
}

/* Checklist */

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-check li {
  padding-left: 1.75em;
  position: relative;
  margin-bottom: 10px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* Steps (admissions) */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 72px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* CTA banner */

.cta-banner {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
  margin: 0;
}

/* Forms */

.form {
  max-width: 620px;
}

.form__group {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--green-mid);
  outline-offset: 1px;
}

.form__error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.form-message--success {
  background: #e6f4ea;
  color: var(--green-dark);
  border: 1px solid var(--green-mid);
}

.form-message--error {
  background: #fdeaea;
  color: var(--red);
  border: 1px solid var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: fit-content;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.contact-info li {
  margin-bottom: 12px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Footer */

.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}

@media (max-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

.site-footer__name {
  display: block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--white);
}

.site-footer__tagline {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact,
.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__contact li {
  margin-bottom: 10px;
}

.site-footer__nav ul li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__bottom p {
  margin: 0;
}
