/*
  Paradise Greens — roswellgreens.com
  Single stylesheet. Desert warmth, editorial.
  Sections: reset, custom properties, fonts, typography, layout,
  components, utilities, responsive, motion, print.
*/

/* ---------------------------------------------------------------
   1. RESET
--------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

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

/* ---------------------------------------------------------------
   2. CUSTOM PROPERTIES
--------------------------------------------------------------- */
:root {
  /* Color tokens (OKLCH only) */
  --sand-50: oklch(0.97 0.012 80);
  --sand-100: oklch(0.94 0.022 78);
  --sand-200: oklch(0.89 0.035 76);
  --ink: oklch(0.26 0.02 65);
  --ink-soft: oklch(0.42 0.025 65);
  --green-900: oklch(0.32 0.06 152);
  --green-700: oklch(0.43 0.085 152);
  --green-100: oklch(0.92 0.035 150);
  --terracotta: oklch(0.55 0.13 42);
  --terracotta-deep: oklch(0.48 0.12 42);
  --cream: oklch(0.985 0.008 85);

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl-sm: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-hero: 250ms;
  --duration-hover: 150ms;

  /* Fonts */
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-text: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------------------------------------------------------
   3. FONT FACES
--------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-700-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------------------------------------------------------------
   4. BASE / TYPOGRAPHY
--------------------------------------------------------------- */
body {
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--green-900);
  line-height: 1.15;
}

h1 {
  font-size: 40px;
  font-weight: 600;
}

h2 {
  font-size: 32px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 550;
}

p {
  max-width: 68ch;
}

.prose {
  max-width: 68ch;
}

small,
.text-soft {
  color: var(--ink-soft);
}

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

a:hover {
  text-decoration: underline;
}

.price-display {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 56px;
  line-height: 1;
  color: var(--green-900);
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.65;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 28px;
  }

  .price-display {
    font-size: 88px;
  }
}

/* ---------------------------------------------------------------
   5. LAYOUT
--------------------------------------------------------------- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

section {
  padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-3xl) 0;
  }
}

.band-sand-50 {
  background: var(--sand-50);
}

.band-sand-100 {
  background: var(--sand-100);
}

.band-sand-200 {
  background: var(--sand-200);
}

.band-green-100 {
  background: var(--green-100);
}

.band-green-900 {
  background: var(--green-900);
  color: var(--cream);
}

.band-green-900 h1,
.band-green-900 h2,
.band-green-900 h3 {
  color: var(--cream);
}

.band-green-900 a {
  color: var(--cream);
  text-decoration: underline;
}

.stack > * + * {
  margin-top: var(--space-lg);
}

.stack-lg > * + * {
  margin-top: var(--space-xl);
}

.grid-2up {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2up {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* ---------------------------------------------------------------
   6. COMPONENTS
--------------------------------------------------------------- */

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-lg);
  z-index: 1000;
  background: var(--cream);
  color: var(--ink);
  padding: var(--space-md) var(--space-lg);
  border-radius: 6px;
  font-family: var(--font-text);
  font-weight: 600;
  border: 2px solid var(--green-700);
}

.skip-link:focus {
  top: var(--space-lg);
}

/* --- Navigation --- */
.site-nav {
  background: var(--sand-50);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--sand-200);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.site-nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--green-900);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav__lang {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  color: var(--green-700);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm);
}

.site-nav__lang:hover {
  text-decoration: underline;
}

/* --- Hero --- */
.hero {
  animation: hero-rise var(--duration-hero) var(--ease-out-quart) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Hero (desktop split) --- */
.hero__media {
  display: none;
}

@media (min-width: 1024px) {
  .hero--split .hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: var(--space-4xl);
  }

  .hero--split .hero__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
  }

  .hero--split .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* --- Price block --- */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.price-block__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.price-block__suffix {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-soft);
}

.price-block__inclusions {
  color: var(--ink-soft);
  font-size: 16px;
}

.price-block .btn-primary {
  margin-top: var(--space-md);
}

/* --- Availability strip --- */
.availability-strip {
  padding: var(--space-xl) 0;
  text-align: center;
}

.availability-strip p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 18px;
  color: var(--ink);
}

/* --- RV rate table --- */
.rate-table {
  font-size: 16px;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--sand-200);
}

.rate-table th {
  font-family: var(--font-text);
  font-weight: 700;
  color: var(--green-900);
  border-bottom: 2px solid var(--green-700);
}

.rate-table tbody tr:nth-child(even) {
  background: var(--sand-200);
}

.rate-table td:last-child,
.rate-table th:last-child {
  text-align: right;
}

/* --- FAQ --- */
.faq {
  max-width: 68ch;
}

.faq details {
  border-bottom: 1px solid var(--sand-200);
}

.faq summary {
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--green-900);
  padding: var(--space-lg) var(--space-xs);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: var(--space-xl);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: var(--space-lg);
  color: var(--green-700);
  font-weight: 700;
  transition: transform var(--duration-hover) ease;
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq details > *:not(summary) {
  padding: 0 var(--space-xs) var(--space-lg) var(--space-xl);
  max-width: 68ch;
  color: var(--ink);
}

/* --- Buttons --- */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 16px;
  transition: background-color var(--duration-hover) ease,
    border-color var(--duration-hover) ease,
    color var(--duration-hover) ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  border: 2px solid var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green-700);
  color: var(--green-700);
}

.btn-outline:hover {
  background: var(--green-100);
  text-decoration: none;
}

.btn-outline--on-dark {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline--on-dark:hover {
  background: oklch(0.32 0.06 152 / 0.3);
}

/* --- Contact form --- */
.contact-form {
  max-width: 480px;
}

.contact-form .field {
  margin-bottom: var(--space-lg);
}

.contact-form label {
  display: block;
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: 6px;
  padding: var(--space-md) var(--space-lg);
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--green-100);
}

/* --- Footer --- */
.site-footer {
  background: var(--green-900);
  color: var(--cream);
  padding: var(--space-2xl) 0;
}

.site-footer a {
  color: var(--cream);
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer__nap {
  margin-bottom: var(--space-xl);
}

.site-footer__meta {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid oklch(0.32 0.06 152 / 0.4);
  font-size: 14px;
  color: var(--cream);
}

/* --- Mobile action bar --- */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--terracotta);
  border-top: 1px solid var(--terracotta-deep);
}

.action-bar a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--cream);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 16px;
  min-height: 44px;
  text-decoration: none;
}

.action-bar a:active,
.action-bar a:hover {
  background: var(--terracotta-deep);
  text-decoration: none;
}

.action-bar a + a {
  border-left: 1px solid var(--terracotta-deep);
}

@media (min-width: 768px) {
  .action-bar {
    display: none;
  }
}

/* --- Images --- */
.hero-img,
.full-bleed-img {
  width: 100%;
  display: block;
  height: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------------
   7. UTILITIES
--------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.has-action-bar-padding {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .has-action-bar-padding {
    padding-bottom: 0;
  }
}

/* ---------------------------------------------------------------
   8. ACCESSIBILITY / FOCUS
--------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   9. MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------
   10. PRINT
--------------------------------------------------------------- */
@media print {
  .site-nav,
  .action-bar,
  .skip-link {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  h1, h2, h3, .price-display {
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .band-green-900 {
    background: white;
    color: black;
  }

  .band-green-900 h1,
  .band-green-900 h2,
  .band-green-900 h3 {
    color: black;
  }
}
