@import url("./fonts.css");

:root{
  --berry:#AC3C64;
  --white:#FFFFFF;
  --dark:#333333;
  --gold:#D4A373;
  --shadow:0 14px 28px rgba(0,0,0,.14);
  --shadow-soft:0 10px 22px rgba(0,0,0,.10);
  --radius:18px;
  --container:1100px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Futura","Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--dark);
  background:var(--white);
  line-height:1.55;
}

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

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  padding:12px 14px;
  background:var(--gold);
  color:var(--white);
  border-radius:12px;
  z-index:50;
}
.skip-link:focus{left:14px; top:14px; outline:none;}

.container{
  width:min(var(--container), calc(100% - 48px));
  margin:0 auto;
}

.section{padding:86px 0;}
.section--hero{background:var(--berry); color:var(--white); padding:120px 0 110px;}
.section--light{background:var(--white); color:var(--dark);}
.section--berry{background:var(--berry); color:var(--white);}

.section__head{margin:0 0 36px; text-align:center;}
.section__title{
  margin:0;
  font-weight:800;
  letter-spacing:.02em;
  font-size:clamp(26px, 2.2vw, 34px);
  color:var(--berry);
}
.section__title--on-berry{color:var(--white);}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(172,60,100,.92);
  backdrop-filter:saturate(1.1) blur(10px);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--white);
}
.brand__mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(212,163,115,.22);
  border:1px solid rgba(255,255,255,.28);
}
.brand__name{font-weight:800; letter-spacing:.02em;}

.nav{display:flex; gap:18px; align-items:center;}
.nav__link{
  color:rgba(255,255,255,.92);
  font-weight:600;
  padding:10px 12px;
  border-radius:999px;
  transition:transform .18s ease, background-color .18s ease, color .18s ease;
}
.nav__link:hover{transform:translateY(-1px); background:rgba(255,255,255,.12); color:var(--white);}
.nav__link:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

.hero{text-align:center;}
.hero__icon{
  font-size:26px;
  color:var(--gold);
  margin:0 auto 14px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.hero__title{
  margin:0;
  color:var(--white);
  font-size:clamp(54px, 6vw, 86px);
  line-height:1.02;
  font-weight:800;
  font-family:"Brush Script MT","Segoe Script","Lucida Handwriting","Futura","Nunito Sans",cursive;
  letter-spacing:.01em;
}
.hero__sub{
  margin:14px 0 10px;
  font-weight:700;
  letter-spacing:.42em;
  text-transform:uppercase;
  font-size:clamp(14px, 1.5vw, 16px);
  color:rgba(255,255,255,.92);
}
.hero__tag{
  margin:0 auto 26px;
  max-width:54ch;
  font-size:clamp(16px, 1.8vw, 18px);
  color:rgba(255,255,255,.92);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:999px;
  padding:12px 20px;
  font-weight:800;
  letter-spacing:.02em;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow:0 10px 22px rgba(0,0,0,.14);
}
.btn:focus-visible{outline:2px solid var(--white); outline-offset:4px;}
.btn--primary{background:var(--gold); color:var(--white);}
.btn--secondary{
  background:transparent;
  color:var(--berry);
  border:1.5px solid rgba(172,60,100,.55);
  box-shadow:none;
}
.btn--large{padding:14px 26px; font-size:16px;}
.btn:hover{transform:translateY(-2px); filter:brightness(1.02); box-shadow:var(--shadow-soft);}
.btn--secondary:hover{box-shadow:0 10px 24px rgba(172,60,100,.18);}

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

.card{
  background:var(--white);
  border-radius:var(--radius);
  border:1.5px solid rgba(172,60,100,.55);
  padding:26px 22px;
  box-shadow:0 18px 35px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.card:hover{transform:translateY(-3px); box-shadow:0 22px 48px rgba(0,0,0,.10);}
.card__icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(212,163,115,.20);
  color:var(--berry);
  border:1px solid rgba(172,60,100,.22);
  margin-bottom:14px;
  font-size:18px;
}
.card__title{margin:0 0 10px; color:var(--berry); font-weight:800; font-size:20px;}
.card__price{margin:0 0 12px; color:var(--berry); font-weight:900; font-size:34px; letter-spacing:.01em;}
.card__desc{margin:0 0 18px; color:var(--dark); max-width:56ch;}
.card__actions{margin-top:auto;}

.feature{
  text-align:center;
  padding:14px 10px 0;
}
.feature__icon{
  width:54px;
  height:54px;
  border-radius:999px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  color:var(--gold);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 16px 34px rgba(0,0,0,.12);
  font-size:18px;
}
.feature__title{margin:0 0 8px; font-weight:900; color:var(--white); font-size:18px;}
.feature__text{margin:0 auto; max-width:40ch; color:rgba(255,255,255,.90);}

.cta{text-align:center;}
.cta__text{margin:10px 0 22px; color:var(--dark); font-size:16px;}

.footer{background:var(--berry); color:var(--white); padding:30px 0;}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer__copy{margin:0; color:rgba(255,255,255,.92);}
.footer__social{display:flex; gap:12px;}
.social{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  transition:transform .18s ease, background-color .18s ease;
}
.social:hover{transform:translateY(-2px); background:rgba(212,163,115,.22);}
.social:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

@media (max-width: 860px){
  .grid--3{grid-template-columns:1fr;}
  .section{padding:72px 0;}
}

@media (max-width: 760px){
  .grid--2{grid-template-columns:1fr;}
  .topbar__inner{flex-direction:column; align-items:flex-start;}
  .nav{flex-wrap:wrap;}
  .hero__sub{letter-spacing:.28em;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .btn,.card,.nav__link,.social{transition:none;}
}
