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

:root {
  --cream: #f4e5cc;
  --sand: #f5cc8f;
  --soft: #fffaf3;
  --orange: #eb7427;
  --brown: #945f43;
  --ink: #171310;
  --muted: #63574e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(235,116,39,.10), transparent 24%),
    linear-gradient(135deg, #f8eddc, var(--cream));
}

a {
  color: inherit;
}

.site {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
}

.panel {
  width: min(1240px, 100%);
  min-height: min(810px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(96, 65, 45, .08);
  border-radius: 38px;
  box-shadow: 0 28px 80px rgba(78, 53, 35, .15);
}

.content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  max-width: 100%;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(74, 51, 36, .10);
}

.brand span {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
}

.message {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fce2cc;
  color: #a94812;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 6.4vw, 94px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 700;
}

.lead {
  max-width: 610px;
  margin: 30px 0 22px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.72;
  color: var(--muted);
}

.quote {
  max-width: 565px;
  padding-left: 19px;
  border-left: 3px solid var(--orange);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: #342b25;
}

.actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}

.primary {
  min-height: 58px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border-radius: 17px;
  text-decoration: none;
  background: var(--orange);
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(235, 116, 39, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(235, 116, 39, .32);
}

.primary span {
  font-size: 24px;
  line-height: 1;
}

.mail {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #84766b;
  font-size: 13px;
}

.visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--sand);
}

.visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,12,10,.03), rgba(16,12,10,.12)),
    linear-gradient(90deg, rgba(244,229,204,.06), transparent 30%);
}

.visual-card {
  position: absolute;
  left: 38px;
  bottom: 38px;
  z-index: 2;
  padding: 20px 22px 22px;
  border-radius: 22px;
  background: rgba(255,250,243,.90);
  border: 1px solid rgba(255,255,255,.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(33, 25, 20, .15);
}

.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.visual-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
}

.shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.shape-one {
  width: 170px;
  height: 170px;
  top: -58px;
  right: -42px;
  background: rgba(245, 204, 143, .80);
}

.shape-two {
  width: 86px;
  height: 86px;
  top: 82px;
  right: 76px;
  background: rgba(235, 116, 39, .55);
}

@media (max-width: 900px) {
  .site {
    padding: 14px;
  }

  .panel {
    min-height: calc(100vh - 28px);
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .visual {
    order: -1;
    min-height: 390px;
  }

  .visual > img {
    object-position: 50% 45%;
  }

  .content {
    padding: 30px 26px 34px;
    gap: 38px;
  }

  h1 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .visual-card {
    left: 22px;
    bottom: 22px;
  }
}

@media (max-width: 520px) {
  .site {
    padding: 0;
  }

  .panel {
    border-radius: 0;
    min-height: 100vh;
  }

  .visual {
    min-height: 330px;
  }

  .visual-card {
    left: 18px;
    bottom: 18px;
    padding: 16px 18px;
  }

  .visual-card strong {
    font-size: 24px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand span {
    font-size: 25px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary {
    width: 100%;
  }

  .mail {
    text-align: center;
  }

  .footer .dot {
    display: none;
  }

  .footer {
    flex-direction: column;
  }
}
