/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&family=Plus+Jakarta+Sans:wght@400;700&display=swap');

:root {
  --text: #2E261D;
  --bg: #F2DBA7;
  --green: #1E8B7A;
  --green-dark: #166b5e;
  --sand: #FBE9C2;
  --accent: #FFC120;
  --grey: #BABABA;
  --font-head: 'Marcellus SC', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

html.menu-lock, html.menu-lock body { overflow: hidden; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.container { width: 100%; max-width: 128rem; margin: 0 auto; }

.section-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1.2;
  text-align: center;
  color: var(--green);
}

.nav-link {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--text);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--green); }

@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}

main > section + section { margin-top: 15rem; }

@media (max-width: 1024px) {
  .container { padding: 0 3rem; }
}

@media (max-width: 640px) {
  .container { padding: 0; }
  .section-title { font-size: 3.6rem; }
  main > section + section { margin-top: 8rem; }
}
/* /stp:base */
/* stp:header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2.8rem 8rem 0;
  transition: padding 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  background: var(--bg);
  box-shadow: 0 0.2rem 1.2rem rgba(46, 38, 29, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem;
  background: var(--bg);
  border-radius: 4rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 110;
  width: 4.8rem;
  height: 4.8rem;
  padding: 1.2rem 0.6rem;
  background: transparent;
  border: 0;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 0.3rem;
  border-radius: 0.2rem;
  background: var(--sand);
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}
.burger-btn:hover span { background: var(--accent); }
.header.scrolled .burger-btn span,
.burger-btn.act span { background: var(--green); }
.burger-btn.act:hover span { background: var(--green-dark); }
.burger-btn.act span:nth-child(1) { transform: translateY(1.05rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-1.05rem) rotate(-45deg); }

@media (max-width: 1024px) {
  .header { padding: 2rem 3rem 0; }
  .header.scrolled { padding-top: 1rem; padding-bottom: 1rem; }
}

@media (max-width: 640px) {
  .header { padding: 4.2rem 4.2rem 0 2rem; }
  .header.scrolled { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .header-inner { justify-content: flex-end; padding: 0; background: transparent; border-radius: 0; }
  .nav { display: none; }
  .burger-btn { display: flex; }
}
/* /stp:header */
/* stp:menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
.menu-list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.6rem;
  width: 17.1rem;
  padding: 3.8rem 1.2rem;
  background: var(--bg);
  border-radius: 4rem;
}
.menu-compass {
  position: absolute;
  left: 12.2rem;
  top: 28.5rem;
  width: 6.7rem;
  height: 8.4rem;
  pointer-events: none;
}
/* /stp:menu */
/* stp:hero */
.hero {
  height: 82.3rem;
  padding-top: 23.6rem;
  background: var(--bg) url(../img/hero.webp) center / cover no-repeat;
}
.hero-title { width: 63rem; max-width: 100%; aspect-ratio: 630 / 256; }
.hero-title img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1024px) {
  .hero { padding-top: 20rem; }
  .hero-title { width: 55rem; }
}

@media (max-width: 640px) {
  .hero {
    height: 80rem;
    padding-top: 15.2rem;
    background-image: url(../img/hero-m.webp);
  }
  .hero-title { width: 100%; aspect-ratio: 375 / 152; }
}
/* /stp:hero */
/* stp:about */
.about .section-title { text-align: left; }
.about-content { display: flex; justify-content: center; gap: 2rem; margin-top: 2.8rem; }
.about-text { flex: none; width: 63rem; }
.about-text strong { font-weight: 700; }
.about-img { flex: none; width: 30.5rem; height: 19.2rem; border-radius: 2rem; object-fit: cover; }

@media (max-width: 1024px) {
  .about-content { flex-wrap: wrap; }
  .about-text { width: 100%; }
  .about-img { flex: 1 1 0; width: auto; height: auto; aspect-ratio: 305 / 192; }
}

@media (max-width: 640px) {
  .about .section-title { text-align: center; }
  .about-content { flex-direction: column; gap: 2.2rem; margin-top: 2.4rem; }
  .about-text { width: 100%; padding: 0 2rem; }
  .about-img { flex: none; width: 100%; height: 23.6rem; aspect-ratio: auto; }
  .about-img-first { display: none; }
  .about-img-second { order: -1; }
}
/* /stp:about */
/* stp:features */
.features-wrap { position: relative; }
.features-box {
  position: relative;
  height: 72rem;
  margin-top: 2.8rem;
  padding: 8.2rem 3.4rem 8.7rem;
  border-radius: 4rem;
  overflow: hidden;
}
.features-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.features-list {
  position: relative;
  display: grid;
  grid-template-columns: 48.8rem 48.8rem;
  justify-content: space-between;
  row-gap: 8.4rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  width: 48.8rem;
  padding: 1.8rem 1.2rem;
  background: var(--sand);
  border-radius: 2rem;
}
.feature-1, .feature-4 { grid-column: 1 / -1; justify-self: center; }
.feature-4 { width: 52.2rem; margin-top: 12.5rem; }
.feature-icon { flex: none; width: 2.2rem; height: 2.2rem; }
.feature-info { display: flex; flex-direction: column; gap: 0.4rem; }
.feature-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.2;
}
.feature-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.features-compass {
  position: absolute;
  left: 95.5rem;
  top: 49.7rem;
  width: 29.1rem;
  height: 36.8rem;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .features-box { height: auto; min-height: 50rem; padding: 4rem 3rem; }
  .features-list { grid-template-columns: 1fr; row-gap: 2rem; }
  .feature, .feature-4 { width: 100%; max-width: 48.8rem; justify-self: center; }
  .feature-4 { margin-top: 0; }
  .features-compass { left: auto; right: 3rem; top: auto; bottom: -6rem; width: 14.5rem; height: auto; }
}

@media (max-width: 640px) {
  .features-box { min-height: 0; margin-top: 2.4rem; padding: 0; overflow: visible; border-radius: 0; }
  .features-img { position: static; height: 21.1rem; border-radius: 4rem; }
  .features-list { display: flex; flex-direction: column; gap: 1.2rem; margin: 2.2rem 2rem 0; }
  .feature, .feature-4 { width: 100%; max-width: none; }
  .features-compass { display: none; }
}
/* /stp:features */
/* stp:reviews */
#reviews { margin-top: 22.4rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 23.1rem;
  gap: 2rem;
  margin-top: 2.8rem;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.2rem 2.5rem;
  background: var(--sand);
  border-radius: 2rem;
}
.rating { display: flex; gap: 0.5rem; }
.rating img { width: 1.6rem; height: 1.6rem; }
.review-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.review-author { display: flex; align-items: center; gap: 2.4rem; margin-top: auto; }
.review-avatar { flex: none; width: 7.2rem; height: 7.2rem; border-radius: 50%; object-fit: cover; }
.review-name {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.2;
  color: var(--green);
}
.review-img { width: 100%; height: 100%; border-radius: 2rem; object-fit: cover; }

@media (max-width: 1024px) {
  #reviews { margin-top: 18rem; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(23.1rem, auto); }
}

@media (max-width: 640px) {
  #reviews { margin-top: 8rem; }
  .reviews-grid { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.4rem; }
  .review-card { height: 23.1rem; margin: 0 2rem; }
  .review-img-1 { order: -1; height: 21rem; margin-bottom: 1rem; }
  .review-img-2, .review-img-3, .review-img-4 { display: none; }
}
/* /stp:reviews */
/* stp:contact */
#contact { margin-bottom: 15rem; }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 2.8rem; text-align: center; }
.contact-info { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.contact-text { font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; }
.contact-mail {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.2;
  color: var(--green);
  transition: color 0.3s;
}
.contact-mail:hover { color: var(--green-dark); text-decoration: underline; }

@media (max-width: 1024px) {
  #contact { margin-bottom: 12rem; }
}

@media (max-width: 640px) {
  #contact { margin-bottom: 8rem; padding: 0 2rem; }
  .contact-inner { gap: 2.4rem; }
}
/* /stp:contact */
/* stp:footer */
.footer {
  padding: 4.6rem 8rem;
  background: var(--green);
  border-radius: 12rem 12rem 0 0;
  color: var(--sand);
}
.footer-inner { display: flex; flex-direction: column; gap: 5rem; max-width: 128rem; margin: 0 auto; }
.footer-links { display: flex; justify-content: space-between; }
.footer-links a {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.8rem, 1.8rem);
  line-height: 1.2;
  color: var(--sand);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.copyright {
  padding: 0 17.4rem 0 12.8rem;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1024px) {
  .footer { padding: 4.6rem 3rem; border-radius: 8rem 8rem 0 0; }
  .copyright { padding: 0; }
}

@media (max-width: 640px) {
  .footer { padding: 4.6rem 2rem; border-radius: 8rem 8rem 0 0; }
  .footer-inner { gap: 4rem; }
  .footer-links { flex-direction: column; gap: 1.8rem; }
  .copyright { padding: 0 6.9rem 0 0; text-align: left; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: 11.8rem; padding-bottom: 10rem; }
.legal-page { width: 100%; max-width: 108rem; margin: 0 auto; }
.legal-content { color: var(--text); font-size: clamp(14px, 1.6rem, 1.6rem); line-height: 1.5; overflow-wrap: break-word; }
.legal-content h1 {
  margin-bottom: 2.8rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1.2;
  text-align: center;
  color: var(--green);
}
.legal-content h2,
.legal-content h3,
.legal-content h4 { margin-top: 2.4rem; font-size: clamp(14px, 1.6rem, 1.6rem); font-weight: 700; line-height: 1.5; }
.legal-content h1 + h2,
.legal-content h1 + h3,
.legal-content h1 + h4 { margin-top: 0; }
.legal-content p { margin: 0; }
.legal-content ul,
.legal-content ol { padding-left: 2.4rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0; }
.legal-content strong,
.legal-content b { font-weight: 700; }
.legal-content em,
.legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content a { font-weight: 700; color: var(--text); transition: color 0.3s; }
.legal-content a:hover { color: var(--green); text-decoration: underline; }
.legal-body .header { padding-left: 18rem; padding-right: 18rem; }
.legal-body .header-inner { padding-left: 1.8rem; padding-right: 1.8rem; }
.legal-body .footer { padding-left: 18rem; padding-right: 18rem; }
.legal-body .copyright { padding-right: 17.4rem; padding-left: 12.8rem; }

@media (max-width: 1024px) {
  .legal-main { padding-left: 3rem; padding-right: 3rem; }
  .legal-body .header { padding-left: 3rem; padding-right: 3rem; }
  .legal-body .footer { padding-left: 3rem; padding-right: 3rem; }
  .legal-body .copyright { padding: 0; }
}

@media (max-width: 640px) {
  .legal-main { padding: 11.6rem 2rem 8rem; }
  .legal-content h1 { margin-bottom: 2.4rem; }
  .legal-body .header { padding: 4.2rem 4.2rem 0 2rem; }
  .legal-body .header.scrolled { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .legal-body .footer { padding: 4.6rem 2rem; }
  .legal-body .copyright { padding: 0 6.9rem 0 0; }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .hero-title {
  position: relative;
  transform-origin: 50% 0;
  animation: ta-sign-swing 1.9s cubic-bezier(0.33, 0.9, 0.4, 1) 0.8s both;
}
.anim-on .hero-title::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 170, 0.85) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat;
  mix-blend-mode: screen;
  -webkit-mask: url(../img/hero-title.webp) center / contain no-repeat;
  mask: url(../img/hero-title.webp) center / contain no-repeat;
  animation: ta-glint 6.5s ease-in-out 2.5s infinite;
}
@keyframes ta-sign-swing {
  0% { opacity: 0; transform: translateY(-4rem) rotate(-7deg); filter: sepia(1) brightness(0.6) blur(0.3rem); }
  30% { opacity: 1; transform: translateY(0) rotate(4.5deg); filter: sepia(0.6) brightness(0.85) blur(0); }
  52% { transform: rotate(-2.2deg); }
  70% { transform: rotate(1deg); filter: sepia(0) brightness(1.08); }
  85% { transform: rotate(-0.4deg); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes ta-glint {
  0% { background-position: 160% 0; }
  28%, 100% { background-position: -60% 0; }
}

.anim-on main .section-title { position: relative; }
.anim-on main .section-title .ta-word { display: inline-block; white-space: nowrap; }
.anim-on main .section-title .ta-ch {
  display: inline-block;
  opacity: 0;
  color: var(--accent);
  filter: blur(0.4rem);
  transform: translateY(0.8rem) rotate(-6deg);
}
.anim-on main .section-title.is-in .ta-ch {
  animation: ta-ink 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) calc(var(--i) * 0.045s) both;
}
.anim-on main .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12rem;
  height: 0.3rem;
  margin: 0.6rem 0 0 -6rem;
  border-radius: 0.2rem;
  background: repeating-linear-gradient(90deg, var(--accent) 0 0.9rem, transparent 0.9rem 1.5rem);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}
.anim-on .about .section-title::after { left: 0; margin-left: 0; }
.anim-on main .section-title.is-in::after {
  animation: ta-route 0.9s ease-out calc(var(--n) * 0.045s + 0.25s) both;
}
@keyframes ta-ink {
  0% { opacity: 0; color: var(--accent); filter: blur(0.4rem); transform: translateY(0.8rem) rotate(-6deg); }
  55% { opacity: 1; color: var(--accent); filter: blur(0); transform: translateY(-0.15rem) rotate(1deg); }
  100% { opacity: 1; color: var(--green); filter: none; transform: none; }
}
@keyframes ta-route {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@media (max-width: 640px) {
  .anim-on .hero-title { animation-duration: 1.5s; }
  .anim-on main .section-title .ta-ch { transform: translateY(0.5rem) rotate(-4deg); }
  .anim-on main .section-title.is-in .ta-ch { animation-duration: 0.7s; }
  .anim-on .about .section-title::after { left: 50%; margin-left: -6rem; }
}
/* /stp:title-anim */
