:root {
  --ink: #1d2a28;
  --text: #243330;
  --paper: #fbfaf7;
  --card: #f2f7f0;
  --accent: #345c53;
  --accent-soft: #cf6f4f;
  --line: #d4ddd2;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: "Merriweather", "Times New Roman", serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfaf7 0%, #f1f6ef 52%, #fff8ef 100%);
  min-height: 100%;
}
body { line-height: 1.55; }
body { overflow-x: hidden; }
img { max-width: 100%; display:block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}
.brand {
  font-size: 1.22rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu { display: flex; flex-wrap: wrap; gap: 1rem; }
.menu a {
  text-decoration: none;
  color: #28413c;
  font-size: 0.93rem;
}
.menu a:hover { color: var(--accent); }
.hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.3rem auto;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-home {
  background:
    linear-gradient(90deg, rgba(18, 27, 25, 0.9), rgba(18, 27, 25, 0.5) 48%, rgba(18, 27, 25, 0.06)),
    url("../images/perfume-bottles-hero.jpg") center / cover no-repeat;
}
.hero-copy {
  width: min(620px, 100%);
  padding: 2rem;
  color: #fffaf2;
}
.badge {
  display: inline-block;
  border: 1px solid rgba(255, 250, 242, 0.34);
  background: rgba(255, 250, 242, 0.12);
  padding: 0.28rem 0.5rem;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fffaf2;
  margin-bottom: 0.8rem;
}
h1,h2,h3 { margin: 0.2rem 0; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.12; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
.hero-copy h1 { font-size: 2.65rem; line-height: 1.05; }
.hero-copy p { max-width: 38rem; }
.cta { display: inline-block; margin-top: 1rem; padding: 0.7rem 1rem; border-radius: 999px; text-decoration:none; background: #fffaf2; color: var(--ink); font-size: 0.92rem; }
.cta:hover { background: #ffd9be; }
.hero-image {
  border: 1px solid var(--line);
  background: #f4e4ca;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}
.section + .section { margin-top: 2rem; }
.section-title {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #3e675f;
  font-size: 0.88rem;
}
.card-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbf5, #fffaf2);
  padding: 1rem;
  min-height: 180px;
  min-width: 0;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.card.is-visible { opacity: 1; transform: translateY(0); }
.card h3 { margin-top: 0; }
.contact-form {
  width: min(640px, 100%);
  border: 1px solid var(--line);
  background: #fffdf6;
  padding: 1rem;
}
label { display:block; margin-top: 0.7rem; font-size: 0.9rem; }
input, textarea {
  width: 100%;
  border: 1px solid #bfcfc8;
  background: #fffdf8;
  padding: 0.65rem;
  margin-top: 0.35rem;
  font: inherit;
}
button {
  margin-top: 0.9rem;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.site-footer {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
  background: #edf5ed;
}
.inner-foot {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.timeline {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  border-left: 2px solid var(--accent-soft);
}
.timeline li {
  margin-bottom: 0.85rem;
  padding-left: 0.8rem;
  opacity: 0;
  transform: translateX(-12px);
  transition: 0.6s ease;
}
.timeline li.is-visible { opacity: 1; transform: translateX(0); }
@media (max-width: 960px) {
  .hero { min-height: 490px; }
  .hero-copy { padding: 1.2rem; }
  .hero-copy h1 { font-size: 1.68rem; }
  .hero-copy p { font-size: 0.95rem; max-width: 19rem; }
  .badge { font-size: 0.66rem; max-width: 100%; }
  .section h2 { font-size: 1.35rem; line-height: 1.22; max-width: 20rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card p { max-width: 19rem; }
  .nav { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
