:root {
  --blush: #fbe6e3;
  --cream: #fffaf5;
  --rose: #f1b5ba;
  --wine: #6f1d3a;
  --ink: #3a1f2a;
  --sage: #dde8d3;
  --lav: #e4e0f6;
  --r: 28px;
  --font: "Montserrat", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font: 400 1rem/1.7 var(--font);
  color: var(--ink);
  background: var(--cream);
}
button {
  font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
.logo {
  font-family: var(--font);
  font-weight: 700;
  color: var(--wine);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.2rem;
}
p + p {
  margin-top: 0.9rem;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
}

/* Layout */
.wrap {
  width: min(1300px, 96%);
  margin: auto;
}
.section {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  border: 2px solid var(--wine);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font: 600 0.95rem var(--font);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn:hover {
  background: transparent;
  color: var(--wine);
}
.btn-ghost {
  background: transparent;
  color: var(--wine);
}
.btn-ghost:hover {
  background: var(--wine);
  color: #fff;
}
.btn-sm {
  padding: 0.45rem 1.1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 4%;
  background: rgba(255, 250, 245, 0.9);
  backdrop-filter: blur(8px);
}
.logo {
  font-size: 1.5rem;
  text-decoration: none;
}
.logo span {
  color: var(--rose);
  font-weight: 300;
}
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-weight: 500;
}
nav a:not(.btn):hover {
  color: var(--wine);
}
.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--wine);
  cursor: pointer;
}

/* Hero */
.hero {
  --c: #fbe2de;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 1rem 6% 7rem;
  background: #fbe2de;
}
.hero::after,
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: radial-gradient(
      circle at 14px 14px,
      var(--c, var(--blush)) 14px,
      transparent 14.5px
    )
    0 0 / 28px 14px repeat-x;
}
.hero::after {
  bottom: -14px;
  transform: scaleY(-1);
}
.hero-text p {
  margin: 1.2rem 0 2rem;
  max-width: 30rem;
  font-size: 1.1rem;
  font-weight: 300;
}
.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-art {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: center;
}
.hero-img {
  max-width: 100%;
  height: auto;
}

/* About */
.about-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  background: #fff;
  border-radius: var(--r);
  text-align: center;
  box-shadow: 0 10px 40px rgba(111, 29, 58, 0.08);
}
.about-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px solid var(--rose);
  border-radius: calc(var(--r) - 10px);
  pointer-events: none;
}
.about-card h2 {
  font-style: normal;
  font-weight: 300;
}
.about-card p {
  max-width: 62ch;
  margin-inline: auto;
  font-weight: 300;
}
.about-card .promise-line {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blush);
  font: italic 300 1.3rem/1.5 var(--font);
  color: var(--wine);
}

/* Products */
.products {
  background: var(--sage);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.prod {
  background: var(--cream);
  padding: 1rem 1rem 1.6rem;
  border-radius: var(--r);
  text-align: center;
}
.prod h3 {
  font-weight: 600;
}
.prod p {
  font-size: 0.92rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}
.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Blog */
.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.arrows {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.arrows button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--wine);
  background: none;
  color: var(--wine);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.arrows button:hover {
  background: var(--wine);
  color: #fff;
}
.track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.2rem;
  scrollbar-width: none;
}
.track::-webkit-scrollbar {
  display: none;
}
.card {
  flex: 0 0 calc((100% - 3.2rem) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 0 0 1.5rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 0 var(--blush);
}
.card:hover .c-art {
  filter: brightness(0.96);
}
.c-art {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: filter 0.2s;
}

.card h3,
.card p,
.card .tag {
  margin-inline: 1.4rem;
}
.card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.card p {
  font-size: 0.92rem;
  opacity: 0.8;
}
.tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wine);
  background: var(--blush);
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
}

/* Contact */
.contact {
  background: var(--blush);
}
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 3.5rem;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 10px 40px rgba(111, 29, 58, 0.08);
}
.contact-info p {
  font-weight: 300;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}
.contact-list span {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.7;
}
.contact-list a {
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover {
  color: var(--wine);
  text-decoration: underline;
}
.form {
  display: grid;
  gap: 1rem;
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--r);
}
.contact-card .form {
  background: none;
  padding: 0;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.row label {
  min-width: 0;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 500;
  font-size: 0.92rem;
}
input,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--rose);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--wine);
  border-color: var(--wine);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form .btn {
  justify-self: start;
}

/* Footer */
.footer {
  --c: var(--wine);
  position: relative;
  background: var(--wine);
  color: #fbe6e3;
  margin-top: 14px;
  padding: 3.5rem 0 2rem;
}
.footer::before {
  top: -14px;
}
.footer .logo,
.footer .logo span {
  color: #fff;
}
.footer .logo span {
  color: var(--rose);
}
.foot {
  text-align: center;
  display: grid;
  gap: 0.4rem;
}
.foot p {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}

/* Blog popup */
.modal {
  width: min(860px, 92vw);
  max-height: 90vh;
  border: 0;
  border-radius: var(--r);
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  margin: auto;
}
.modal[open] {
  animation: pop 0.25s ease;
}
.modal::backdrop {
  background: rgba(58, 31, 42, 0.55);
  backdrop-filter: blur(3px);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
.m-art {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.m-body {
  padding: 2rem 2.5rem 2.5rem;
}
.m-body h2 {
  margin: 0.8rem 0 1rem;
}
.m-body p {
  max-width: 62ch;
  font-weight: 300;
}
.m-body .btn {
  margin-top: 1.6rem;
}
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--wine);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-art {
    order: -1;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    flex-basis: calc((100% - 1.6rem) / 2);
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.6rem;
  }
}
@media (max-width: 640px) {
  .burger {
    display: block;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--cream);
    display: none;
  }
  nav.open {
    display: flex;
  }
  .section {
    padding: 4rem 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    flex-basis: 88%;
  }
  .about-card {
    padding: 3rem 1.6rem;
  }
  .m-body {
    padding: 1.5rem;
  }
}
@media (max-width: 560px) {
  .row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Blog popup: inner scroll, content styling */
.m-scroll {
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.m-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.m-body h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.15rem;
}
.m-body p + p {
  margin-top: 1rem;
}
.m-body ul {
  margin: 1rem 0 1rem 1.2rem;
  display: grid;
  gap: 0.5rem;
  font-weight: 300;
}
.m-body li::marker {
  color: var(--rose);
}
.card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-error {
  padding: 1rem 0;
  font-weight: 300;
}
@media (max-width: 640px) {
  .m-art {
    height: 180px;
  }
}


.phone-wrapper {
  position: relative;
  width: 100%;
}

.phone-wrapper input {
  width: 100%;
  padding-left: 58px;
  box-sizing: border-box;
}

.phone-prefix {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  font-size: 16px;
  font-weight: 500;
  color: #3d1630;

  pointer-events: none;
}
