:root {
  --bg: #faf4ee;
  --bg-soft: #fffaf6;
  --surface: rgba(255, 252, 249, 0.88);
  --surface-strong: #fffdfb;
  --surface-soft: #f6ece2;
  --line: rgba(103, 82, 63, 0.12);
  --line-strong: rgba(103, 82, 63, 0.18);
  --text: #3b2f28;
  --muted: #7a6c61;
  --accent: #d88a5b;
  --accent-soft: #f3c8a8;
  --sage: #bccfbe;
  --sage-deep: #7f9883;
  --shadow: 0 22px 52px rgba(80, 58, 41, 0.08);
  --shadow-soft: 0 14px 28px rgba(80, 58, 41, 0.05);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Nunito Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 0%, rgba(243, 200, 168, 0.48), transparent 24rem),
    radial-gradient(circle at 100% 10%, rgba(188, 207, 190, 0.35), transparent 26rem),
    linear-gradient(180deg, #fffaf6 0%, #faf3ec 52%, #f7efe7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.5), transparent 42%),
    radial-gradient(rgba(82, 64, 48, 0.035) 0.8px, transparent 0.8px);
  background-size: 100% 100%, 20px 20px;
}

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

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

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff8f1;
  transition: top 0.2s ease;
}

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

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2.2rem;
}

.site-header,
.section,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 252, 249, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #fffdfb 0%, #f3e5d7 100%);
  border: 1px solid rgba(98, 78, 60, 0.1);
}

.brand-mark img {
  width: 2.15rem;
}

.brand-copy {
  min-width: 0;
}

.brand-name,
h1,
h2,
h3,
.footer-brand {
  font-family: "Shantell Sans", cursive;
}

.brand-name {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
}

.site-nav a,
.footer-meta a,
.footer-legal {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.24rem;
  border-radius: 999px;
  background: rgba(97, 77, 59, 0.08);
}

.lang-btn {
  min-width: 3rem;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.lang-btn.is-active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(74, 55, 39, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #cf7b4b 100%);
  color: #fffaf5;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(207, 123, 75, 0.18);
}

.button-small {
  min-height: 2.85rem;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  position: relative;
  margin-bottom: 1.15rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1rem;
  padding: 1.15rem;
}

.hero-copy,
.hero-visual,
.story-note,
.contact-panel,
.soft-card {
  border-radius: calc(var(--radius-xl) - 10px);
}

.hero-copy {
  padding: clamp(2rem, 3vw, 3rem);
  background:
    radial-gradient(circle at top left, rgba(243, 200, 168, 0.24), transparent 28rem),
    linear-gradient(180deg, rgba(255, 253, 251, 0.95), rgba(250, 242, 233, 0.88));
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.96;
  font-weight: 700;
}

h1 span {
  color: var(--sage-deep);
}

.hero-lead,
.section-lead,
.contact-note,
.footer-copy {
  color: var(--muted);
}

.hero-lead {
  max-width: 33rem;
  margin-top: 1.05rem;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.note-card,
.soft-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.note-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
}

.note-label,
.card-step {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-text,
.soft-card p:last-child {
  margin-top: 0.45rem;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(243, 200, 168, 0.4), transparent 18rem),
    radial-gradient(circle at 90% 10%, rgba(188, 207, 190, 0.42), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 236, 226, 0.84));
}

.visual-card {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.15rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(103, 82, 63, 0.1);
  box-shadow: var(--shadow);
}

.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}

.visual-card::before {
  width: 8rem;
  height: 8rem;
  right: -1.2rem;
  top: -1rem;
  background: rgba(243, 200, 168, 0.36);
}

.visual-card::after {
  width: 7rem;
  height: 7rem;
  left: -1rem;
  bottom: -1rem;
  background: rgba(188, 207, 190, 0.42);
}

.visual-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.92);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.1;
  object-fit: contain;
  object-position: center bottom;
  margin-top: 0.85rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 1rem;
  padding: clamp(1.4rem, 2.8vw, 1.8rem);
}

.section-copy {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.story .section-copy {
  max-width: 42rem;
}

.story-visual {
  margin: 0;
  align-self: center;
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.story-visual img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  font-weight: 700;
}

.section-lead {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 1.04rem;
}

.section-lead-secondary {
  margin-top: 0.7rem;
}

.next {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.section-copy-centered {
  text-align: center;
}

.section-copy-centered h2,
.section-copy-centered .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.soft-card {
  padding: 1.45rem;
}

.soft-card h3 {
  margin-top: 0.7rem;
  font-size: 1.45rem;
  line-height: 1.05;
}

.contact {
  padding: clamp(1.3rem, 3vw, 1.8rem);
}

.contact-panel {
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(243, 200, 168, 0.28), transparent 22rem),
    linear-gradient(180deg, rgba(255, 253, 251, 0.96), rgba(247, 239, 232, 0.92));
}

.contact-panel h2,
.contact-panel .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 700;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.2rem;
  padding: 1.3rem 1.45rem;
  border-radius: 2rem;
  background: rgba(255, 252, 249, 0.8);
  backdrop-filter: blur(10px);
}

.footer-brand {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.footer-mark {
  font-size: 0.8em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

.footer-meta a {
  position: relative;
}

.footer-meta a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-meta a:hover::after,
.footer-meta a:focus-visible::after {
  transform: scaleX(1);
}

[data-animate] {
  animation: float-up 0.75s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    border-radius: 2rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero,
  .story,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .site-header,
  .hero,
  .next,
  .contact {
    padding: 1rem;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .button,
  .button-small,
  .button-ghost,
  .contact-email {
    width: 100%;
  }

  .site-footer {
    padding: 1.2rem;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}
