/* Casual Plan LLC — Property Management Landing */

:root {
  --bg: #f6f3ee;
  --bg-elevated: #ffffff;
  --ink: #1c2a24;
  --ink-muted: #5a6b63;
  --line: #e2ddd4;
  --brand: #1f6b4f;
  --brand-dark: #154a37;
  --brand-soft: #e8f3ed;
  --accent: #c4783a;
  --accent-soft: #f8efe6;
  --success: #1f6b4f;
  --error: #a33b2d;
  --shadow: 0 18px 50px rgba(28, 42, 36, 0.08);
  --shadow-sm: 0 8px 24px rgba(28, 42, 36, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --container: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 238, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(31, 107, 79, 0.25);
}

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

.logo-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 107, 79, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.5);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(31, 107, 79, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(196, 120, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #efe9df 0%, var(--bg) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.lead {
  font-size: 1.125rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stats li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f6b4f' stroke-width='2'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.75rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head p:last-child {
  margin-bottom: 0;
}

/* Services */
.services {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #d4cfc4;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Short-term rentals */
.short-term {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(196, 120, 58, 0.1), transparent 55%),
    var(--bg);
}

.short-term-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.short-term-copy p {
  max-width: 34rem;
}

.short-term-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.short-term-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.str-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.str-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d4cfc4;
}

.str-card .card-icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.str-card p {
  margin: 0;
  font-size: 0.925rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-copy p {
  max-width: 36rem;
}

.about-facts {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.about-facts div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.about-facts dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.about-panel {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(31, 107, 79, 0.28);
}

.about-panel blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  font-weight: 500;
}

.about-panel-note {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* Process */
.process {
  background:
    linear-gradient(180deg, transparent, rgba(232, 243, 237, 0.55) 40%, transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.steps li {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.steps p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-meta {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-meta li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-form {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa69f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.15);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(163, 59, 45, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 500;
}

.form-status.is-success {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid #c5dfd2;
}

.form-status.is-error {
  background: #fceceb;
  color: var(--error);
  border: 1px solid #f0c7c1;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Honeypot — visually hidden from humans, present for bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--brand-soft);
  border: 1px solid #c5dfd2;
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
}

.captcha-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.captcha-note p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--brand-dark);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #efe9df;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .short-term-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    max-width: 480px;
  }
}

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

  .nav {
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }

  .nav a:not(.btn):hover {
    background: var(--bg);
  }

  .nav .btn {
    margin-top: 0.25rem;
    text-align: center;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .short-term-features,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
