@font-face {
  font-family: "Site Icons";
  src: url(fontawesome.woff2) format("woff2");
  font-display: block;
}

:root {
  --frame: 2vw;
  --container: 280px;
  --script: Pacifico, cursive;
  --display: Prata, Georgia, serif;
  --heading-size: 27px;
  --heading-line: 37px;
  --script-size: 25px;
  --script-line: 35px;
  --columns: 1;
  --ink: #222;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: var(--frame);
  background: #fff;
  color: #494949;
  font: 400 14px/24px Montserrat, Arial, sans-serif;
}

body:has(dialog[open]) { overflow: hidden; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #357643; outline-offset: 3px; }

.site-frame { position: relative; }
.container { width: min(var(--container), calc(100% - 24px)); margin-inline: auto; }
.frame-bottom {
  position: fixed;
  inset: auto 0 0;
  height: var(--frame);
  background: #fff;
  pointer-events: none;
  z-index: 3;
}

.script-text { font: 400 var(--script-size)/var(--script-line) var(--script); }
.section-title {
  color: var(--ink);
  font: 700 var(--heading-size)/var(--heading-line) var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.feature-text { color: #303030; font-size: 15px; font-weight: 600; line-height: 1.5714286; letter-spacing: 1px; }
.rule { width: 90px; height: 3px; margin: 24px auto 20px; background: #e8e8e8; }

.icon { display: inline-block; font: normal 1em/1 "Site Icons"; }
.icon-menu::before { content: "\f0c9"; }
.icon-close::before { content: "\f00d"; }
.icon-arrow::before { content: "\f061"; }
.icon-instagram::before { content: "\f16d"; }
.icon-vk::before { content: "\f189"; }
.icon-whatsapp::before { content: "\f232"; }

.site-header { position: relative; z-index: 2; }
.header-bar, .overlay-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100px;
  padding-inline: 25px;
}

.brand, .overlay-brand { position: absolute; inset-inline-start: 50%; transform: translateX(-50%); }
.brand img, .overlay-brand img { width: auto; height: 62px; }
.brand-desktop, .desktop-nav, .header-social { display: none; }
.menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
}
.menu-button:not([hidden]) { display: grid; place-items: center; }
.overlay-menu-button, .overlay-close { margin-inline-end: -8px; }

@media (width < 1001px) {
  .header-bar:has(.overlay-menu-button[hidden]) { padding-block: 100px 8px; }
  .header-bar:has(.overlay-menu-button[hidden]) .brand { inset-block-start: 19px; }
  .header-bar:has(.overlay-menu-button[hidden]) .desktop-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    width: 100%;
  }
}

.overlay-menu {
  position: fixed;
  inset: var(--frame);
  width: calc(100% - 2 * var(--frame));
  height: calc(100% - 2 * var(--frame));
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(47 47 47 / 94%);
  color: #fff;
}

.overlay-menu::backdrop { background: transparent; }
.overlay-menu[open] { display: grid; place-items: center; animation: overlay-in 240ms ease-out; }
body:has(dialog[open]) .header-bar { visibility: hidden; }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.overlay-header { position: absolute; inset: 0 0 auto; }
.overlay-close { color: #fff; }
.overlay-nav {
  display: grid;
  justify-items: center;
  gap: 9px;
  transform: translateY(20px);
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 43px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.overlay-nav a:hover { color: #ddd; }
.overlay-menu :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.social-link {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid #f4f4f4;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--ink);
  font-size: 19px;
  transition: background-color 180ms, color 180ms;
}
.social-link:hover { background: #222; color: #fff; }
.header-social, .footer-social { gap: 4px; }

.whatsapp-chat {
  position: fixed;
  inset: auto 5px 5px auto;
  z-index: 4;
  display: inline-flex;
  min-height: 36px;
  max-width: calc(100% - 10px);
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 2px clamp(12px, 8.21vw, 32px);
  border-radius: 4px;
  box-shadow: 0 2px 2px #0002, 0 1px 5px #0002, 0 3px 1px -2px #0003;
  background: #36af44;
  color: #fff;
  letter-spacing: .5px;
  transition: background-color 200ms;
}
.whatsapp-chat .icon { font-size: 18px; }
.whatsapp-chat:hover, .whatsapp-chat:focus-visible { background: #23782f; }

.photo-background { position: relative; isolation: isolate; overflow: clip; }
.photo-background::before {
  position: absolute;
  inset: 0 -15px;
  z-index: -1;
  background: var(--photo) center / cover no-repeat;
  content: "";
}
.hero, .plant-quote { --photo: url(h1-slide-2.jpg); background: #211916; color: #fff; }
.hero-inner { margin-inline: auto; padding-block: 100px; text-align: center; }
.hero img { width: min(100%, 500px); margin-inline: auto; }
.hero h1 { margin-block: 32px 62px; }
.directions {
  display: inline-flex;
  min-height: 64px;
  align-items: stretch;
  background: #000;
  color: #fff;
  font-weight: 500;
  line-height: 64px;
  transition: color 180ms, background-color 180ms;
}
.directions > span:first-child { padding-inline: 35px; }
.directions .icon { padding-inline: 14px; border-left: 1px solid #f3f3f3; font-size: 28px; line-height: inherit; }
.directions:hover { color: #000; background: #fff; }

.benefits, .photo-grid { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); column-gap: 30px; }
.benefits { padding-block: 110px 50px; text-align: center; }
.benefit { padding-block-end: 68px; }
.benefit img { width: 104px; height: 104px; margin: 0 auto 46px; }
.benefit h2 { margin-block-end: 19px; color: var(--ink); font: 600 19px/24px var(--display); letter-spacing: .4px; text-transform: uppercase; }
.catalog-section { padding-block: 107px 75px; text-align: center; }
.kicker { margin-bottom: 19px; color: var(--ink); }
.bouquets { background: #f4e1e7; }
.bouquets .photo-grid { margin-top: 79px; }
.plants { background: #edffea; }
.catalog-section:not(.bouquets) .photo-grid { margin-top: 50px; }
.photo-column { display: grid; align-content: start; gap: 59px; padding-bottom: 89px; }
.photo-column img { margin-inline: auto; }
.photo-grid-tight .photo-column { gap: 47px; }
.catalog-section.plants .photo-grid { margin-top: 70px; }
.plants .container > p:last-child { margin-bottom: 50px; }

.stats {
  --photo: url(rose-bg.jpg);
  display: grid;
  gap: 0 30px;
  padding-block: 183px 184px;
  background: #483637;
  color: #fff;
  text-align: center;
}
.stat { padding-top: 10px; }
.stat-number { display: block; margin-bottom: 24px; font: 700 110px/120px var(--display); }
.stat .rule { margin-block: 35px 26px; background: #fff; }

.flower-feature { padding-block: 185px 150px; }
.feature-copy { position: relative; isolation: isolate; padding-top: 50px; }
.feature-copy::before {
  position: absolute;
  inset: -35px -15px -40px;
  z-index: -1;
  background: url(h1-img-2.png) right top / contain no-repeat;
  content: "";
}
.feature-copy .feature-text { margin-top: 32px; }
.feature-photo { margin-top: 76px; }
.feature-photo img { width: 100%; }

.plant-quote { padding-block: 148px 136px; text-align: center; }
.plant-quote p { width: calc(min(var(--container), 100% - 24px) * var(--quote-width, .98)); }
.garden { padding-bottom: 0; }
.garden-photos { display: grid; margin-top: 125px; }
.storefront, .instagram-photos { display: grid; }
.garden-photos img, .storefront img { width: 100%; }

.contact { text-align: center; }
.contact-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 26px;
  color: var(--ink);
  font: 700 var(--heading-size)/var(--heading-line) var(--display);
}
.contact-phones a { white-space: nowrap; }
.contact-phones a:hover, .footer-contacts a:hover { text-decoration: underline; }
.contact .storefront { margin-top: 70px; }
.site-footer { color: #fff; }
.footer-top { padding-block: 39px 109px; background: #222; }
.footer-map {
  display: grid;
  gap: 12px;
  width: min(1500px, 86%);
  margin: 0 auto 40px;
  text-align: center;
}
.footer-map img { margin-inline: auto; }
.footer-map span { text-decoration: underline; }
.footer-columns { display: grid; gap: 50px; }
.footer-brand img { width: 227px; }
.footer-social { display: flex; margin-top: 73px; }
.footer-contacts { overflow-wrap: anywhere; }
.footer-contacts h2, .footer-instagram h2 {
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5714286;
  letter-spacing: 1px;
}
.footer-phones { display: grid; justify-items: start; }
.footer-email { margin-top: 24px; }
.footer-instagram { padding-bottom: 14px; }
.footer-instagram h2 { text-align: right; }
.instagram-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.instagram-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.footer-bottom { padding-block: 2px 10px; background: #1b1b1b; text-align: center; }
.footer-bottom p { color: #a4a4a4; }
.footer-bottom a { display: inline-block; margin-top: 3px; font-size: 12px; line-height: 22px; }
.archive-page .site-frame { display: flex; min-height: calc(100vh - 2 * var(--frame)); flex-direction: column; }
.archive { flex: 1; }

@media (min-width: 481px) {
  :root { --container: 400px; }
}

@media (min-width: 601px) {
  :root {
    --container: 550px;
    --heading-size: 44px;
    --heading-line: 54px;
    --script-size: 28px;
    --script-line: 38px;
  }
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .footer-brand { padding-right: 15px; }
  .footer-contacts { padding-inline: 25px 5px; }
  .footer-instagram { padding-inline-start: 25px; }
  .footer-social { margin-top: 49px; }
  .instagram-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { padding-bottom: 1px; }
  .storefront { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plant-quote { --quote-width: .96; }
}

@media (min-width: 768px) {
  :root { --columns: 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flower-feature { transform: translateX(clamp(0px, calc((100vw - var(--container)) / 2 - var(--frame) - 45px), 48px)); }
}

@media (min-width: 769px) {
  :root { --container: 720px; }
  .garden-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plant-quote { --quote-width: .84; }
  .flower-feature { padding-inline: 0; }
}

@media (min-width: 992px) {
  .hero-inner { width: calc(50% - 15px); }
  .flower-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; transform: none; }
  .feature-copy { padding-top: 0; }
  .feature-photo { margin-top: 0; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-number { font-size: clamp(76px, 9vw, 110px); }
}

@media (min-width: 1001px) {
  :root { --container: 900px; }
  .site-header { position: absolute; inset: 0 0 auto; }
  .brand { inset-inline-start: 25px; transform: none; }
  .brand-mobile, .overlay-menu-button:not([hidden]) { display: none; }
  .brand-desktop { display: block; }
  .desktop-nav { display: flex; color: #fff; }
  .desktop-nav a {
    padding-inline: 21px;
    font: 700 13px/100px var(--display);
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .desktop-nav a:hover { color: #ddd; }
  .archive-page .desktop-nav { color: var(--ink); }
  .archive-page .desktop-nav a:hover { color: #626262; }
  .header-social { display: flex; }
  .plant-quote { --quote-width: .72; }
}

@media (min-width: 1025px) {
  :root { --frame: 1.3vw; }
  .storefront { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  :root { --columns: 4; }
}

@media (min-width: 1201px) {
  :root { --container: 1100px; }
}

@media (min-width: 1400px) {
  :root { --container: 1300px; }
}

@media (min-width: 1441px) {
  .plant-quote { --quote-width: .64; }
}

@media (prefers-contrast: more) {
  .whatsapp-chat { background: #23782f; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
