:root {
  --bg: #fff8f1;
  --bg-soft: #ffe8d6;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --muted: #5b6b72;
  --accent: #ff6b4a;
  --accent-deep: #e84f2f;
  --teal: #1fa8a0;
  --teal-soft: #d8f3f0;
  --coral-soft: #ffe0d6;
  --line: rgba(31, 42, 46, 0.1);
  --shadow: 0 18px 40px rgba(31, 42, 46, 0.08);
  --radius: 1.5rem;
  --radius-sm: 0.9rem;
  --font-display: "Nunito", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shell: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #ffe7c2 0%, transparent 34%),
    radial-gradient(circle at 88% 0%, #d8f3f0 0%, transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #fff3e8 48%, #fffaf4 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 50% 42%, #fff6e8 0 28%, transparent 29%),
    linear-gradient(145deg, var(--teal), #148f88);
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 107, 74, 0.28);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 24px rgba(255, 107, 74, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: white;
}

.btn-secondary {
  background: var(--teal);
  color: white;
}

.btn-secondary:hover {
  color: white;
  filter: brightness(0.95);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
}

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

.hero {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-home {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  max-width: 12ch;
  animation: rise 0.7s ease both;
}

.hero-copy .lede {
  max-width: 34rem;
  animation: rise 0.7s ease 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  animation: rise 0.7s ease 0.18s both;
}

.hero-visual {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
  position: relative;
  animation: float-in 0.9s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% 8% auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(255, 107, 74, 0.85);
  filter: blur(2px);
  animation: pulse 3.5s ease-in-out infinite;
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

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

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

.offer-card,
.post-card,
.review-card,
.rate-block {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.offer-card:hover,
.post-card:hover {
  transform: translateY(-4px);
}

.offer-card img,
.post-card img,
.detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-body,
.post-body,
.review-body,
.rate-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: var(--coral-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.chip-teal {
  background: var(--teal-soft);
  color: #0f746e;
}

.story-band {
  background: linear-gradient(135deg, var(--teal-soft), #fff4ea 55%, var(--coral-soft));
  border-radius: calc(var(--radius) + 0.5rem);
  padding: 2rem;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
}

.cta-band {
  background: var(--ink);
  color: white;
  border-radius: calc(var(--radius) + 0.4rem);
  padding: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-soft);
}

.detail-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 0.9fr;
  align-items: start;
}

.side-card {
  position: sticky;
  top: 6rem;
}

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

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error {
  color: var(--accent-deep);
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--teal-soft);
  color: #0f746e;
}

.form-status.is-error {
  display: block;
  background: var(--coral-soft);
  color: var(--accent-deep);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #173036;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.3fr 1.2fr 0.9fr 0.8fr;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-label {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a,
.site-footer a {
  color: #9fe7e1;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
}

.cookie-inner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  list-style: none;
  background: var(--surface);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
}

.feature-list {
  padding: 0;
}

.split-visual {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.split-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 960px) {
  .grid-3,
  .footer-grid,
  .detail-layout,
  .contact-grid,
  .split-visual,
  .hero-home {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

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

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

  .hero-visual {
    min-height: 16rem;
  }

  .hero-visual img {
    min-height: 16rem;
  }
}
