:root {
  --color-ink-900: #1D482D;
  --color-ink-800: #1D482D;
  --color-ink-700: #285E3A;
  --color-ink-500: #52715C;
  --color-ink-300: #86A18E;
  --color-ink-100: #DDE7DF;
  --color-ice-100: #FFFBF0;
  --color-ice-200: #FFFBF0;
  --color-ice-300: #F4ECD7;
  --color-accent: #A31E22;
  --color-accent-strong: #A31E22;
  --color-white: #FFFBF0;
  --color-muted: #F4ECD7;
  --shadow-soft: 0 12px 28px rgba(29, 72, 45, 0.12);
  --shadow-card: 0 20px 40px rgba(29, 72, 45, 0.16);
  --radius-base: 1.25rem;
  --radius-sm: 0.9rem;
  --radius-pill: 999px;
  --font-sans: "Outfit", -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
  --max-width: min(1100px, 92vw);
  --gap-lg: clamp(1.5rem, 4vw, 3.5rem);
  --gap-md: clamp(1.25rem, 3vw, 2.5rem);
  --gap-sm: clamp(1rem, 2vw, 1.5rem);
  --transition-base: 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .snowflakes {
    display: none !important;
  }
}

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

html {
  font-family: var(--font-sans);
  color: var(--color-ink-900);
  background: #FFFBF0;
  scroll-behavior: smooth;
  min-height: 100vh;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background: #FFFBF0;
}

main {
  flex: 1;
}

/* Green band covers the header + hero as one unit, so its height always
   matches their actual content instead of a fixed vh guess that breaks
   when hero copy wraps to more lines (e.g. narrow phones). */
.site-header,
.hero {
  background: #1D482D;
}

.shell {
  width: var(--max-width);
  margin: 0 auto;
}

.shell--narrow {
  width: min(720px, 92vw);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--color-white);
  color: var(--color-ink-900);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Snowflakes ---------------------------------------------------------- */

.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -10%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  user-select: none;
  animation: fall linear infinite;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.snowflake:nth-child(1) { left: 6%; animation-duration: 13s; animation-delay: 0s; font-size: 1.1rem; }
.snowflake:nth-child(2) { left: 18%; animation-duration: 17s; animation-delay: 1.5s; font-size: 0.85rem; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 11s; animation-delay: 3s; }
.snowflake:nth-child(4) { left: 44%; animation-duration: 19s; animation-delay: 0.5s; font-size: 1.3rem; }
.snowflake:nth-child(5) { left: 58%; animation-duration: 14s; animation-delay: 2.5s; }
.snowflake:nth-child(6) { left: 68%; animation-duration: 16s; animation-delay: 4s; font-size: 0.9rem; }
.snowflake:nth-child(7) { left: 78%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(8) { left: 88%; animation-duration: 20s; animation-delay: 3.5s; font-size: 1.15rem; }
.snowflake:nth-child(9) { left: 95%; animation-duration: 15s; animation-delay: 2s; }
.snowflake:nth-child(10) { left: 12%; animation-duration: 18s; animation-delay: 5s; font-size: 0.95rem; }

@keyframes fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(20px) rotate(360deg); opacity: 0; }
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  padding: 1.75rem 0 1rem;
  position: relative;
  z-index: 2;
}

.site-header__inner {
  display: flex;
  justify-content: center;
}

.site-header__logo img {
  width: 148px;
  height: 148px;
}

/* --- Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero__inner {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  max-width: 46rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ice-300);
  margin: 0;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.hero__subhead {
  color: var(--color-white);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 400;
  margin: 0;
}

.hero__body {
  color: rgba(255, 251, 240, 0.85);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  font-weight: 300;
  margin: 0.25rem 0 0;
  max-width: 42rem;
}

.hero__actions {
  margin: 0.75rem 0 0;
}

/* Confirmation page variant */

.hero--confirmation {
  padding-top: 1.5rem;
}

.confirmation__mark {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  display: block;
  position: relative;
  margin-bottom: 0.5rem;
}

.confirmation__mark::before {
  content: "";
  position: absolute;
  left: 26%;
  top: 48%;
  width: 0.55rem;
  height: 1.05rem;
  border-right: 3px solid var(--color-white);
  border-bottom: 3px solid var(--color-white);
  transform: translateY(-60%) rotate(42deg);
}

.hero--confirmation h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  max-width: 34rem;
}

.hero__subhead--confirmation {
  font-style: normal;
  color: rgba(255, 251, 240, 0.85);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 32rem;
}

/* --- Buttons ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  cursor: pointer;
  color: inherit;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:focus-visible {
  outline: 3px solid rgba(76, 195, 255, 0.8);
  outline-offset: 3px;
}

.button--primary {
  background: #A31E22;
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.button--primary:hover {
  box-shadow: 0 20px 50px rgba(163, 30, 34, 0.35);
  background: #86191C;
}

.button--ghost {
  border-color: rgba(255, 251, 240, 0.4);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button--full {
  width: 100%;
}

.button--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.15rem;
}

.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* --- Section / form card ----------------------------------------------------- */

.section {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(3rem, 8vw, 5rem);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-base);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 16px 36px rgba(29, 72, 45, 0.14);
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.input-group {
  display: grid;
  gap: 0.5rem;
  position: relative;
  width: 100%;
  min-width: 0;
}

.input-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink-800);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required {
  color: #d84545;
  font-weight: 700;
}

.input-group input,
.input-group textarea {
  border-radius: var(--radius-sm);
  border: 2px solid rgba(45, 89, 84, 0.15);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  background: var(--color-white);
  transition: all 0.3s ease;
  font-family: inherit;
  color: var(--color-ink-900);
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(11, 27, 51, 0.5);
  opacity: 1;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #2d5954;
  box-shadow: 0 0 0 4px rgba(45, 89, 84, 0.1);
  background: var(--color-white);
}

.input-group input.error,
.input-group textarea.error {
  border-color: #d84545;
  background: rgba(216, 69, 69, 0.03);
}

.input-group input.error:focus,
.input-group textarea.error:focus {
  box-shadow: 0 0 0 4px rgba(216, 69, 69, 0.1);
}

.error-message {
  color: #d84545;
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
}

.error-message.visible {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.form-note a {
  color: var(--color-ink-700);
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-status.visible {
  display: block;
  animation: slideDown 0.3s ease;
}

.form-status.success {
  background: rgba(76, 195, 100, 0.1);
  border: 2px solid rgba(76, 195, 100, 0.3);
  color: #2d5954;
}

.form-status.error {
  background: rgba(216, 69, 69, 0.1);
  border: 2px solid rgba(216, 69, 69, 0.3);
  color: #d84545;
}

/* --- Checkbox group ---------------------------------------------------------- */

.checkbox-group {
  border: 2px solid rgba(45, 89, 84, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem 1.25rem;
  margin: 0;
}

.checkbox-group legend {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink-800);
  padding: 0 0.35rem;
}

.checkbox-group__hint {
  margin: 0.15rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--color-ink-500);
}

.checkbox-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-ink-900);
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #2d5954;
  flex-shrink: 0;
}

/* --- Gallery strip ------------------------------------------------------------ */

.gallery-strip-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.gallery-strip {
  width: 100%;
  overflow: hidden;
}

.gallery-strip__track {
  --gallery-strip-gap: clamp(0.85rem, 1.5vw, 1.25rem);
  display: flex;
  width: max-content;
  animation: gallery-strip-scroll 55s linear infinite;
  will-change: transform;
}

.gallery-strip__group {
  display: flex;
  flex: none;
  gap: var(--gallery-strip-gap);
  padding-right: var(--gallery-strip-gap);
}

.gallery-strip__item {
  flex: none;
  height: clamp(220px, 26vw, 360px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-base);
  background: var(--color-ice-300);
  box-shadow: 0 2px 5px rgba(29, 72, 45, 0.06), 0 14px 32px rgba(29, 72, 45, 0.11);
}

.gallery-strip__item img {
  display: block;
  width: auto;
  height: 100%;
}

@keyframes gallery-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-strip {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .gallery-strip__track {
    animation: none;
  }
}

/* --- Footer -------------------------------------------------------------------- */

.site-footer {
  background: #1D482D;
  color: rgba(255, 251, 240, 0.85);
  padding: 2.5rem 4vw 1.5rem;
  position: relative;
  z-index: 2;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.site-footer__intel {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 251, 240, 0.8);
  letter-spacing: 0.02em;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__divider {
  color: rgba(255, 251, 240, 0.3);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 251, 240, 0.85);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-icon:hover {
  background: rgba(163, 30, 34, 0.7);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(163, 30, 34, 0.28);
  border-color: rgba(255, 251, 240, 0.35);
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 251, 240, 0.18);
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer__legal p {
  margin: 0;
  color: rgba(255, 251, 240, 0.72);
}

/* --- Responsive ------------------------------------------------------------------ */

@media (max-width: 47.99rem) {
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  .checkbox-group {
    padding: 1rem;
  }
}
