:root {
  --bg-main: #fbf7ee;
  --bg-soft: #f3e8d8;
  --paper: rgba(255, 251, 245, 0.82);
  --paper-strong: rgba(255, 250, 244, 0.94);
  --surface-dark: rgba(73, 56, 42, 0.52);
  --surface-dark-strong: rgba(82, 62, 46, 0.68);
  --ink: #34281f;
  --ink-soft: rgba(52, 40, 31, 0.74);
  --ink-muted: rgba(52, 40, 31, 0.58);
  --line: rgba(74, 56, 42, 0.12);
  --line-light: rgba(255, 245, 229, 0.2);
  --warm: #d9ad73;
  --warm-strong: #efca8d;
  --sage: #8ea283;
  --hero-text: #fff4e7;
  --hero-text-soft: rgba(255, 244, 231, 0.84);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow-xl: 0 34px 90px rgba(36, 24, 16, 0.2);
  --shadow-lg: 0 24px 58px rgba(36, 24, 16, 0.14);
  --shadow-md: 0 16px 34px rgba(36, 24, 16, 0.1);
  --shell: min(1180px, calc(100% - 44px));
  /* Replace with url("../images/hero-care-scene.jpg") when the final photo is ready. */
  --hero-image: url("../images/hero-care-photo.webp");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(239, 202, 141, 0.2), transparent 26%),
    radial-gradient(circle at bottom right, rgba(142, 162, 131, 0.16), transparent 24%),
    linear-gradient(180deg, #fcf8f1 0%, #efe6d8 100%);
}

a {
  color: inherit;
}

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

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

.site {
  overflow: clip;
}

.brand-link {
  display: inline-flex;
  text-decoration: none;
}

.brand-logo,
.footer__brand,
.page-card__brand {
  width: min(100%, 344px);
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    opacity 0.24s ease;
}

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

.button--primary {
  color: #201915;
  background: linear-gradient(135deg, var(--warm) 0%, var(--warm-strong) 100%);
  box-shadow: 0 18px 40px rgba(217, 173, 115, 0.3);
}

.button--ghost {
  color: var(--hero-text);
  border: 1px solid rgba(248, 238, 226, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.button[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--hero-text);
  background:
    linear-gradient(104deg, rgba(51, 38, 28, 0.86) 0%, rgba(51, 38, 28, 0.62) 38%, rgba(51, 38, 28, 0.2) 60%, rgba(51, 38, 28, 0.66) 100%),
    radial-gradient(circle at 20% 18%, rgba(239, 202, 141, 0.24), transparent 24%),
    radial-gradient(circle at 74% 24%, rgba(142, 162, 131, 0.18), transparent 20%),
    var(--hero-image) 74% center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0);
  background-size: 20px 20px;
  mix-blend-mode: soft-light;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -18% -10%;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 192, 151, 0.18), transparent 68%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 17, 13, 0.16) 0%, rgba(22, 17, 13, 0.04) 28%, rgba(22, 17, 13, 0.42) 100%),
    linear-gradient(90deg, rgba(22, 17, 13, 0.08) 0%, transparent 40%, rgba(22, 17, 13, 0.18) 100%);
}

.hero__shell {
  position: relative;
  z-index: 1;
  padding: 34px 0 42px;
}

.hero__topline,
.footer__layout,
.page-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__meta {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 238, 226, 0.66);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  padding: 64px 0 24px;
  max-width: 840px;
}

.hero__content > * {
  animation: rise-in 0.9s ease both;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.06s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.12s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.18s;
}

.hero__content > *:nth-child(5) {
  animation-delay: 0.24s;
}

.hero__content > *:nth-child(6) {
  animation-delay: 0.3s;
}

.hero__content > *:nth-child(7) {
  animation-delay: 0.36s;
}

.hero__title,
.hero__panel h2,
.intro-card h2,
.detail-card h2,
.form-copy h2,
.page-card h1,
.page-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

.hero__title {
  max-width: 720px;
  font-size: clamp(56px, 8vw, 102px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero__subtitle {
  margin: 22px 0 14px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #fbf2e5;
}

.hero__lead,
.intro-card__body p,
.detail-card p,
.form-copy p,
.form-note span,
.field span,
.consent,
.form-status,
.footer p,
.footer a,
.page-card p,
.policy-content li,
.policy-content p {
  line-height: 1.75;
}

.hero__lead {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--hero-text-soft);
}

.hero__list {
  display: grid;
  gap: 14px;
  max-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__list li {
  position: relative;
  padding-left: 26px;
  font-size: 18px;
  color: rgba(248, 238, 226, 0.86);
}

.hero__list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm), var(--warm-strong));
  box-shadow: 0 0 0 7px rgba(217, 173, 115, 0.14);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__panel {
  padding: 34px;
  border: 1px solid rgba(248, 238, 226, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--surface-dark);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(22px);
  animation: rise-in 1s ease 0.18s both;
}

.hero__panel-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__panel-label {
  color: rgba(248, 238, 226, 0.56);
}

.hero__panel h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff6ea;
}

.hero__panel > p {
  margin: 16px 0 0;
  font-size: 16px;
  color: rgba(248, 238, 226, 0.76);
}

.hero__panel-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.hero__panel-item {
  padding-top: 18px;
  border-top: 1px solid rgba(248, 238, 226, 0.12);
}

.hero__panel-item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 238, 226, 0.48);
}

.hero__panel-item strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 246, 234, 0.92);
}

.section {
  padding: 104px 0;
}

.section--light {
  position: relative;
}

.intro-card,
.form-card,
.page-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(247, 239, 230, 0.96)),
    var(--paper);
  box-shadow: var(--shadow-lg);
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 52px;
}

.intro-card__head,
.form-copy {
  display: grid;
  gap: 18px;
}

.intro-card h2,
.detail-card h2,
.form-copy h2,
.page-card h1,
.page-card h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro-card__body p,
.detail-card p,
.form-copy p,
.page-card p,
.policy-content li,
.policy-content p {
  margin: 0;
  font-size: 18px;
  color: var(--ink-soft);
}

.section--details {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(239, 202, 141, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(142, 162, 131, 0.12), transparent 18%),
    linear-gradient(180deg, #f5ecdf 0%, #efe3d3 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-card--deep {
  border: 1px solid rgba(255, 244, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--surface-dark-strong);
  color: var(--hero-text);
}

.detail-card--soft {
  border: 1px solid rgba(58, 46, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 242, 235, 0.96)),
    var(--paper-strong);
  color: var(--ink);
}

.detail-card h2 {
  margin-bottom: 16px;
}

.detail-card--deep p {
  color: rgba(248, 238, 226, 0.76);
}

.section--form {
  position: relative;
  color: var(--hero-text);
  background:
    radial-gradient(circle at 80% 16%, rgba(239, 202, 141, 0.18), transparent 20%),
    radial-gradient(circle at 14% 76%, rgba(142, 162, 131, 0.12), transparent 24%),
    linear-gradient(180deg, #5f4939 0%, #49382c 52%, #392c24 100%);
}

.section--form::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 24%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.section--form .shell {
  position: relative;
  z-index: 1;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 34px;
  align-items: start;
}

.form-copy h2 {
  color: #fff6ea;
}

.form-copy p {
  color: rgba(248, 238, 226, 0.76);
}

.form-notes {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

.form-note {
  padding-top: 16px;
  border-top: 1px solid rgba(248, 238, 226, 0.12);
}

.form-note strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 238, 226, 0.78);
}

.form-note span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: rgba(248, 238, 226, 0.66);
}

.form-card {
  padding: 40px;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-size: 14px;
  font-weight: 700;
  color: rgba(43, 35, 29, 0.74);
}

.field input {
  width: 100%;
  min-height: 62px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(58, 46, 38, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input::placeholder {
  color: rgba(43, 35, 29, 0.36);
}

.field input:focus {
  outline: none;
  border-color: rgba(201, 167, 120, 0.82);
  box-shadow: 0 0 0 5px rgba(201, 167, 120, 0.12);
  background: #fffdf9;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 2px;
  font-size: 14px;
  color: rgba(43, 35, 29, 0.7);
}

.consent input {
  margin: 5px 0 0;
  accent-color: #b78e59;
}

.consent a,
.footer a {
  color: #8f6332;
  text-underline-offset: 3px;
}

.button--submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  margin: 0;
  font-size: 14px;
  color: #9b5b32;
}

.form-status.is-error {
  color: #9b5b32;
}

.form-status.is-success {
  color: #55705b;
}

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(58, 46, 38, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.footer__layout {
  flex-wrap: wrap;
  align-items: end;
}

.footer__brand-link {
  margin-bottom: 18px;
}

.footer__company {
  font-weight: 800;
  color: var(--ink);
}

.footer p,
.footer a {
  margin: 0;
  font-size: 15px;
  text-decoration: none;
  color: rgba(43, 35, 29, 0.72);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.simple-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.page-card {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 48px;
}

.page-card--narrow {
  width: min(100%, 760px);
}

.page-card__brand-link {
  display: inline-flex;
  margin-bottom: 24px;
  text-decoration: none;
}

.page-card__mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #1f1915;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--warm), var(--warm-strong));
  box-shadow: 0 18px 36px rgba(217, 173, 115, 0.24);
}

.page-card__actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 28px;
}

.policy-content {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.policy-content section {
  display: grid;
  gap: 12px;
}

.policy-content ul {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
}

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background-position: center center;
  }

  .hero__layout,
  .intro-card,
  .detail-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 88px 0;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(51, 38, 28, 0.58) 0%, rgba(51, 38, 28, 0.34) 24%, rgba(51, 38, 28, 0.84) 100%),
      linear-gradient(90deg, rgba(51, 38, 28, 0.1), rgba(51, 38, 28, 0.14)),
      var(--hero-image) 78% center / cover no-repeat;
  }

  .hero__topline,
  .hero__actions,
  .footer__layout,
  .page-card__actions {
    align-items: stretch;
  }

  .hero__topline,
  .footer__layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__shell {
    padding-top: 28px;
  }

  .hero__layout {
    gap: 28px;
    padding-top: 40px;
  }

  .hero__title {
    font-size: clamp(48px, 15vw, 74px);
  }

  .hero__lead,
  .hero__list li,
  .intro-card__body p,
  .detail-card p,
  .form-copy p,
  .page-card p,
  .policy-content li,
  .policy-content p {
    font-size: 17px;
  }

  .brand-logo,
  .footer__brand,
  .page-card__brand {
    width: min(100%, 290px);
  }

  .hero__panel,
  .intro-card,
  .detail-card,
  .form-card,
  .page-card {
    padding: 24px;
  }

  .button,
  .button--submit {
    width: 100%;
  }

  .consent {
    grid-template-columns: 18px 1fr;
    gap: 12px;
  }
}
