@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ink: #0f1f25;
  --ink-2: #1c2f35;
  --accent: #b57a2a;
  --accent-2: #2f7c74;
  --sand: #f7f2e9;
  --mist: #edf1ef;
  --white: #ffffff;
  --muted: #56626a;
  --shadow: 0 18px 45px rgba(9, 22, 26, 0.14);
  --shadow-soft: 0 12px 30px rgba(9, 22, 26, 0.08);
  --radius: 18px;
  --radius-lg: 26px;
  --header-height: 76px;
  --topbar-height: 56px;
  --container: 1200px;
  --section-space: clamp(56px, 8vw, 110px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #f7f2e9 0%, #fdfcf9 45%, #eef2f0 100%);
  line-height: 1.6;
  padding-top: calc(var(--header-height) + var(--topbar-height));
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.7rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

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

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

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 27, 31, 0.08);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.topbar {
  min-height: var(--topbar-height);
  padding: 6px 0;
  background: var(--ink);
  color: var(--sand);
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.topbar strong {
  color: var(--accent);
  font-weight: 600;
}

.nav-wrapper {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}

.brand span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(13, 27, 31, 0.2);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(13, 27, 31, 0.2);
  box-shadow: none;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.65rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-space) + 10px) 0;
  background: radial-gradient(circle at top left, rgba(47, 124, 116, 0.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(181, 122, 42, 0.2), transparent 45%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/hero-texture.svg');
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-list {
  display: grid;
  gap: 10px;
  font-weight: 500;
}

.hero-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-list div::before {
  content: '✓';
  color: var(--accent-2);
  font-weight: 700;
}

.hero-note {
  background: var(--white);
  border: 1px solid rgba(13, 27, 31, 0.12);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.hero-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(13, 27, 31, 0.08);
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.panel-list li {
  display: flex;
  gap: 10px;
}

.panel-list li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px dashed rgba(13, 27, 31, 0.2);
  padding-top: 12px;
}

.section-title {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 27, 31, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.card .tag {
  align-self: start;
  background: rgba(47, 124, 116, 0.12);
  color: var(--accent-2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-soft);
}

.trust-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.trust-list div::before {
  content: '•';
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.list-check {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.list-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.list-check li::before {
  content: '✓';
  color: var(--accent-2);
  font-weight: 700;
}

.note {
  background: rgba(181, 122, 42, 0.12);
  border: 1px solid rgba(181, 122, 42, 0.25);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.info-card {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(13, 27, 31, 0.08);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  background: var(--mist);
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 27, 31, 0.08);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(130deg, var(--ink), #16333a 60%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 16px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.page-hero {
  padding: calc(var(--section-space) * 0.8) 0;
  background: linear-gradient(120deg, rgba(47, 124, 116, 0.12), rgba(181, 122, 42, 0.08));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/hero-texture.svg');
  opacity: 0.12;
}

.page-hero .container {
  position: relative;
  display: grid;
  gap: 16px;
}

.form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

input,
textarea,
select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 27, 31, 0.2);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.input-error {
  border-color: #b32d2d;
}

.error-text {
  font-size: 0.85rem;
  color: #b32d2d;
  min-height: 18px;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.contact-card {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 27, 31, 0.08);
  display: grid;
  gap: 16px;
}

.contact-card .contact-line {
  display: grid;
  gap: 4px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0 28px;
}

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

.footer-grid h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

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

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .topbar {
    font-size: 0.78rem;
    padding: 8px 0;
  }
}

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

  .nav-menu {
    position: absolute;
    top: calc(var(--topbar-height) + var(--header-height));
    right: 4%;
    flex-direction: column;
    background: var(--white);
    color: var(--ink);
    padding: 18px;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

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

@media (max-width: 600px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
