* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  background: #000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  color: #d7b78d;
  text-decoration: none;
  font-weight: bold;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  padding: 0.3em 0.6em;
  line-height: 1.5;
}
.site-nav a:hover {
  text-decoration: none;
  color: #d17619;
}
.site-nav a.active {
  text-decoration: underline;
  color: #d17619;
}


.bottle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  gap: 4rem;
  justify-content: center;
}

.bottle-card {
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
  font-family: 'Courier New', monospace;
}
.bottle-card:hover {
  transform: scale(1.05);
  color: #d17619;
}


.bottle-card a.active {
  text-decoration: underline;
  color: #d17619;
}

.img-wrapper {
  width: 100%;
  height: clamp(220px, 30vh, 280px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.img-wrapper img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.bottle-card span {
  display: block;
  margin-top: 0.8rem;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: clamp(1rem, 1.5vmin + 0.4rem, 1.25rem);
  line-height: 1.4;
}

.bottle-card:hover .img-wrapper img {
  transform: scale(1.05);
  z-index: 2;
}

button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}


button:focus {
  outline: none;
}

main {
  position: relative;
  background-image: url("../assets/background-test.png");
  background-position: top left;
  background-repeat: repeat-y;
  background-size: 100%;
  padding-top: 1rem;
  min-height: calc(100vh - 4rem);
}


.home {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
}


.home-background{
  position: absolute;
  inset: 0 0 -1% 0;
  width: 100%;
  height: calc(100% + 1px);
  object-fit: cover;
  object-position: center 110%;
  display: block;
  z-index: 1;
}

main.home::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -1%;
  height: calc(30% + 1%);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 30%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;

}

main.home h1 {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
  padding-left: 2rem;

  font-size: clamp(1rem, 2vw, 2rem);

  color: #000;
  text-align: left;

  z-index: 2;
}

.h1-inner {
  display: inline-block;
  padding-left: clamp(2rem, 5vw, 6rem);
}

.tagline {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: rgba(255,255,255,0.8);
  box-sizing: border-box;
  z-index: 3;
}
.tagline h1 {
  margin: 0;
  color: #000;
}

.site-footer {
  background: #000;
  text-align: center;
  padding: clamp(1.2rem, 3vmin, 2rem) 4vw;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vmin, 2rem);
  position: relative;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .info-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .text-columns { grid-template-columns: 1fr; }
}

.info-container {
  max-width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vmin, 2rem) clamp(1.25rem, 4vmin, 3rem);
  align-items: start;
}

.about-container{
  display: grid;
  grid-template-columns: clamp(260px, 20vw, 400px) minmax(60ch, 1fr) clamp(260px, 20vw, 400px);
  column-gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;     
  justify-items: center;
  max-width: min(1600px, 95vw);
  margin: 0 auto;
  padding: 0 8vw 2vw;
  --fs: clamp(0.95rem, 1vmin + 0.45rem, 1.0625rem);
  --lh: 1.7;
  --trim: calc((var(--lh) - 1) * 0.5em);
}


.about-container > img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.about-container > p{
  margin: 0;
  max-width: 60ch;
  width: min(60ch, 100%);
  text-align: left;
  font: 400 var(--fs)/var(--lh) "Courier New", monospace;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
  box-sizing: border-box;
  padding-block: var(--trim);

  margin-block: -0.25em;
  padding-block: 0.25em;
}


.preparation-container{
  display:flex;
  justify-content:center;
  padding: 0 2vw clamp(2rem, 4vmin, 3rem);
  text-align:left;
}
.preparation-container p{
  max-width: min(138ch, 92vw);
  margin: 0;
  font: 400 clamp(0.95rem, 1vmin + 0.45rem, 1.0625rem)/1.7 "Courier New", monospace;
  line-height: 1.75;
}

.social-column { justify-self: center; }

.text-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vmin, 2rem);
}

.text-columns p {
  margin: 0;
  font-size: clamp(0.95rem, 1vmin + 0.5rem, 1.15rem);
  line-height: 1.6;
}

.text-columns p strong {
  font-weight: 700;
  color: #d7b78d;
}

.info-container p {
  color: #d7b78d;
  width: 180px;
  margin: 0 12px;
  font-size: 9pt;
  line-height: 1.5;
  font-family: 'Courier New';
}

.info-container p strong {
  font-weight: bold;
}

.info-container p + p {
  margin-left: 24px;
}

.info-container img {
  width: 24px;
  height: auto;
  margin: 0 4px;
}

.social-icons {
  display: flex;
  gap: clamp(0.5rem, 1.2vmin, 1rem);
  justify-content: center;
  width: auto;
  margin-bottom: clamp(0.5rem, 1.5vmin, 0.8rem);
}

.social-icons img {
  width: clamp(20px, 2.4vmin, 28px);
  height: auto;
}

.contactus {
  color: #d7b78d;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.1;
  font-size: clamp(3rem, 3.5vmin, 3rem);
  height: auto;
  margin: 0;
  text-align: center;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin: 5vh 0 3vh;
  text-align: center;
  font-size: clamp(2rem, 5vmin, 3.5rem);
}

.about p {
  line-height: 1.2;
  margin: 0;
}

.rectangle {
  height: auto;
  width: 75px;
  object-fit: contain;
  margin-top: 25px;
}

.full-logo {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: fit-content;
  left: 19vw;
  top: 8vh;
}

.solera-image {
  position: absolute;
  top: 3%;
  right: -2.5%;
  padding-bottom: 9.5%;
  height: 116vh;
  width: auto;
  z-index: 9999;
  pointer-events: none;
}


.golova-image,
.dm_logo {
  grid-area: 1 / 1;
  display: block;
  height: auto;
  object-fit: contain;
}

.golova-image {
  z-index: 6;
  width:27vmin;
  transform: translate(-3vmin, -4vmin);
}

.dm_logo {
  width: 58vmin;
  transform: translateY(12vmin);
  z-index: 7;

}

.assortment-logo {
  display: flex;
  justify-content: center;
}



.logo-wrapper { 
  display:flex; 
  justify-content:center; 
  margin: clamp(2vh, 4vmin, 4vh) auto 0; 
}


.logo-pair{
  position: relative;
  width: min(40vw, 560px);
  aspect-ratio: 4/3;
}


.golova-image-assort {
  position: absolute;
  object-fit: contain;
  z-index: 6;
  width: 30%;
  top: 13%;
  left: 35%;
}

.dm-logo-white {
  position: absolute;
  top: 60%;
  left: 51.5%;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 7;

  transform: translate(-50%, -50%) scale(1.6);
  transform-origin: center center;
}


.logo-page1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.logo-wrapper.logo-page2 { align-items:center; margin-right: 0; }

.logo-page2 {
  position: absolute;
  top: 10vh;
  right: 2vw;
}

.steps{
  display:grid;
  grid-template-columns: auto 1fr;
  align-items:start;
  column-gap: clamp(1rem, 3vw, 2rem);
  max-width: min(1600px, 92vw);
  margin: 0 auto clamp(1.5rem, 3vmin, 2rem);
  padding: 0 7vw;
}

.steps-images{
  display:flex;flex-direction:column;align-items:center;
  gap: clamp(1rem, 2vmin, 1.5rem);
}

.step-icon{
  width: clamp(140px, 18vmin, 240px);
  height:auto;
}

.step-arrow {
  width: clamp(20px, 2.5vmin, 28px);
  height: clamp(100px, 15vmin, 180px);
}

.step-arrow-short {
  width: clamp(20px, 2.5vmin, 28px);
  height: clamp(60px, 10vmin, 120px);
}

.steps-text {
  max-width: 110ch;
  font: 400 clamp(0.95rem, 1vmin + 0.45rem, 1.0625rem)/1.7 "Courier New", monospace;
  line-height: 1.75;
}

.steps-text h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(1rem, 1vw + 0.9rem, 1.7rem);
  margin: 0 0 1rem;
}

.bottle-info-block {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  align-items: flex-start;
}

.gen-bottle-info{
  display: grid;
  grid-template-columns: minmax(30ch, 1fr) minmax(30ch, 1fr);
  gap: clamp(1rem, 3vmin, 2rem);
}

.column{
  font: 400 clamp(0.95rem, 1vmin + 0.45rem, 1.0625rem)/1.7 "Courier New", monospace;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: manual;
}

.column p{ margin: 0 0 .9rem; }
.column p strong{ font-weight: 700; }

.gen-bottle-info .column + .column {
  border-left: 2px dashed #000;
  padding-left: clamp(1rem, 3vmin, 2rem);
}

.info-page {
  font-family: 'Courier New';
}

.info-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.bottle-image {
  width: auto;
  height: clamp(1100px, 60vh, 720px);
  flex-shrink: 0;
}

.right-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.description-text {
  flex: 1 1 420px;
  font: 400 clamp(0.95rem, 1vmin + 0.45rem, 1.0625rem)/1.7 "Courier New", monospace;
  line-height: 1.6;
  color: #000;
  max-width: 90ch;
}

.description-text h1 {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: clamp(1rem, 1vw + 0.9rem, 1.7rem);
  margin: 1rem 0 .5rem;
}

.bottom-banner {
  width: 100%;
  display: block;
  margin-top: clamp(1.5rem, 4vmin, 3rem);
}

.info-columns-section{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 18vw);
  column-gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  max-width: min(1200px, 92vw);
  margin: 0 auto clamp(3rem, 6vmin, 5rem);
  padding-inline: 2vw;
}

.visual-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 4vmin, 3rem);
  flex-wrap: nowrap;
  padding: clamp(1rem, 3vmin, 2rem);
  max-width: min(1600px, 96vw);
  margin: 0 auto;
}

.bottle-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: #000;
  color: #d7b78d;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  text-align: center;
  max-width: 90%;
}

.modal-logo {
  height: 220px;
  width: 550px;
  margin-bottom: 1rem;
}

.modal-tagline {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #d7b78d;
}

.modal-question {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 2rem;
  font-family: Georgia, serif;
  color: #d7b78d;
  white-space: pre-line;
}

.modal-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.modal-btn {
  background: none;
  border: 2px solid #d7b78d;
  color: #d7b78d;
  padding: 1rem 3rem;
  font-family: 'Courier New', monospace;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
}
.modal-btn:hover {
  background-color: rgba(215, 183, 141, 0.1);
}

.modal-terms {
  font-size: 14px;
  font-family: 'Courier New', monospace;
  color: #d7b78d;
  text-align: center;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

.back-button {
  position: absolute;
  top: clamp(5rem, 3vh, 2rem);
  left: clamp(14.5rem, 16.5vw, 30.5rem);
  color: black;
  font: 700 1rem/1.2 "Courier New", monospace;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid black;
  padding: 0.75rem 2rem;
  transition: background-color .3s ease, color .3s ease;
  z-index: 10000;
}

.back-button:hover {
  background-color: #d17619;
  color: white;
}

.download-button {
  display: inline-block;
  margin-top: clamp(0.8rem, 2vmin, 1.5rem);
  padding: 0.75rem 2rem;
  color: black;
  font: 700 1rem/1.2 "Courier New", monospace;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid black;
  transition: background-color .3s ease, color .3s ease;
  font-weight: bold;
}

.download-button:hover {
  background-color: #d17619;
  color: white;
}

.shared-container {
  margin: 0 auto;
}


@media (max-width: 1000px){
  .info-columns-section{ grid-template-columns: 1fr; }
  .gen-bottle-info .column + .column{ border-left: 0; padding-left: 0; }
  .logo-wrapper{ margin-top: clamp(1rem, 3vmin, 2rem); }
}

@media (max-width: 900px){
  .about-container{
    grid-template-columns: 1fr;
    justify-items:center;
    text-align:center;
  }
  .about-container > p{ text-align:left; }
  .steps{ grid-template-columns: 1fr; justify-items:center; }
  .steps-text{ max-width: 100%; text-align:left; }
}

