:root {
  --ink: #1a2332;
  --ink-muted: #4a5568;
  --paper: #f7f4ef;
  --paper-deep: #ebe6dc;
  --sea: #0f4c5c;
  --sea-deep: #0a3440;
  --accent: #c45c26;
  --accent-hover: #a64b1c;
  --line: rgba(26, 35, 50, 0.12);
  --ok: #1b6b3a;
  --err: #9b1c1c;
  --radius: 6px;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(15, 76, 92, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(15, 76, 92, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(196, 92, 38, 0.1), transparent 50%),
    linear-gradient(180deg, #f9f6f1 0%, var(--paper) 40%, var(--paper-deep) 100%);
  animation: wash 14s ease-in-out infinite alternate;
}

@keyframes wash {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(-8deg) saturate(1.05);
  }
}

.page {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 5.5rem) 0 3rem;
}

.hero {
  text-align: center;
  animation: rise 0.7s ease-out both;
}

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

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.75rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--sea-deep);
}

.lede {
  margin: 1.1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.price-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.35rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cta-hint {
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.contact {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: rise 0.8s ease-out 0.12s both;
}

.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--sea-deep);
}

.contact-intro {
  margin: 0.4rem 0 1.4rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--accent);
}

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

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

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

.submit {
  margin-top: 0.35rem;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--sea);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.submit:hover:not(:disabled) {
  background: var(--sea-deep);
}

.submit:active:not(:disabled) {
  transform: translateY(1px);
}

.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  border-radius: var(--radius);
}

.form-status.ok {
  color: var(--ok);
  background: rgba(27, 107, 58, 0.08);
}

.form-status.err {
  color: var(--err);
  background: rgba(155, 28, 28, 0.08);
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .contact {
    padding: 1.35rem 1.1rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .hero,
  .contact {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
