:root {
  --header-height-mobile: 60px;
  --header-height-tab: 80px;
  --header-height-pc: 80px;

  --color-dominant: rgb(248, 244, 235);
  --color-dominant-bg: rgb(255, 245, 222);
  --color-dominant30: rgba(248, 244, 235, 0.3);
  --color-dominant50: rgba(248, 244, 235, 0.5);
  --color-dominant70: rgba(248, 244, 235, 0.7);

  --color-secondary: rgb(11, 59, 36);
  --color-secondary-font: rgb(18, 25, 21);
  --color-secondary30: rgba(11, 59, 36, 0.3);
  --color-secondary50: rgba(11, 59, 36, 0.5);
  --color-secondary70: rgba(11, 59, 36, 0.7);

  --color-accent: rgb(212, 175, 55);
  --color-accent30: rgba(212, 175, 55, 0.3);
  --color-accent50: rgba(212, 175, 55, 0.5);
  --color-accent70: rgba(212, 175, 55, 0.7);

  --color-black20: rgba(0, 0, 0, 0.2);

  --fontfamily-1: "Roboto", sans-serif;
  --fontfamily-2: "Inter", sans-serif;

  /* h1: Scales smoothly from 32px on mobile to 50px on desktop */
  --fs-h1: clamp(1.8rem, 3vw, 2.5rem);
  /* h2: Scales smoothly from 24px on mobile to 35px on desktop */
  --fs-h2: clamp(1.5rem, 1.271rem + 1.019vw, 2.188rem);
  /* h3: Scales smoothly from 18px on mobile to 20px on desktop */
  --fs-h3: clamp(1.125rem, 1.083rem + 0.185vw, 1.25rem);
  /* param (Body text): Scales smoothly from 16px on mobile to 20px on desktop */
  --fs-param: clamp(0.8rem, 1vw, 1rem);
  /* param-card (Inside Cards): Scales from 14px (mobile) to 15px (desktop) */
  --fs-param-card: clamp(0.875rem, 0.854rem + 0.093vw, 0.938rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-secondary-font);
}
body {
  display: flex;
  flex-direction: column;
}

svg {
  width: 20px;
  display: grid;
}
.svg-icon {
  fill: currentColor;
}
.svg-icon--outline {
  fill: none;
  stroke: currentColor;
}

/* ========================= Header =========================== */

header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 90%;
  height: var(--header-height-mobile);
  padding: 0 1rem;
  border: var(--color-dominant70) 0.5px solid;
  border-radius: 50px;
  z-index: 100;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-black20);
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;

  backdrop-filter: blur(10px);
}
/* ============================= menu toggle button ====================================== */

.menu-toggle {
  padding: 5px;
  border-radius: 5px;
  color: var(--font-color-2);
  background-color: transparent;
  border: none;

  /* box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.248); */
}
.menu-toggle svg {
  width: 25px;
  color: var(--color-dominant);
}
/* ============================= logo ====================================== */

.logo-holder {
  display: flex;
  align-items: center;
  display: none;
}
.logo-holder > img {
  width: 4rem;
  display: none;
}
.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brand-name span:nth-child(1) {
  font-size: 1.5rem;
  color: var(--color-dominant);
  font-weight: bold;
  letter-spacing: 6px;
}
.brand-name span:nth-child(2) {
  font-size: 0.8rem;
  color: var(--color-dominant50);
  letter-spacing: 3px;
}
.nav-logo {
  display: flex;
  font-family: var(--fontfamily-1);
}
.nav-logo .brand-name span:nth-child(1) {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: bold;
  letter-spacing: 4px;
}
.nav-logo .brand-name span:nth-child(2) {
  font-size: 0.6rem;
  color: var(--color-secondary50);
  letter-spacing: 2px;
}
/* ============================= nav ====================================== */
nav {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    visibility 0.3s;
}
nav.toggle {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
nav > ul {
  width: 100%;
  height: 100%;
  gap: 0.5rem;
  display: flex;
  justify-content: center;

  padding: 1rem;
  box-sizing: border-box;
  flex-direction: column;

  background-color: var(--color-dominant);
}
.menu-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: green 1px solid; */
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-accent70);
}
.menu-logo > img {
  width: 5rem;
}
.menu-close {
  margin-left: auto;
  padding: 2px;
  border-radius: 6px;
  border: none;
  background-color: var(--color-accent-primary);
  box-shadow: var(--shadow-soft);
}
.menu-close svg {
  width: 30px;
  height: 30px;
  color: var(--font-color-2);
}
.menu-links {
  font-size: var(--fs-h1);
  font-family: var(--fontfamily-1);
  font-weight: 500;
  padding: 0px 0 0 1rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.menu-links a {
  color: var(--color-secondary);
  text-decoration: none;
  padding: 10px 0;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

/* ============================= whatsApp button ====================================== */

header .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 5px 5px 5px 10px;
  text-decoration: none;
  color: var(--color-dominant);
  font-size: 0.8rem;

  border: var(--color-dominant30) 0.5px solid;

  border-radius: 50px;
  font-family: var(--fontfamily-1);
  background-color: var(--color-black20);
  backdrop-filter: blur(5px);

  box-shadow:
    inset 0px 0px 2px var(--color-dominant30),
    0px 0px 1px var(--color-dominant30);
}
header .cta svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-secondary-font);
  background-color: var(--color-dominant);
  border-radius: 50%;
  padding: 3px;
}

/* ========================= main =========================== */

main {
  display: flex;
  flex-direction: column;
}
main section {
  min-height: 100vh; /* remove height before using it becasue */
  min-height: 100svh; /* remove height before using it becasue */
  display: flex;
  justify-content: center;
}
/* ========================= footer =========================== */

.site-footer {
  padding-bottom: 36px;
  background-color: var(--color-secondary);
  color: var(--color-dominant);
  font-family: var(--fontfamily-1);
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  margin: 0 10px;
  padding: 2.75rem 0.75rem;
  border-bottom: 1px solid var(--color-dominant30);
}
.footer-brand {
  grid-column: 1 / -1;
  min-width: 0;
  width: min(100%, 360px);
  justify-self: center;
}
.footer-wordmark {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--color-dominant30);
  color: var(--color-dominant);
  text-align: left;
  text-decoration: none;
}
.footer-wordmark span:first-child {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  white-space: nowrap;
}
.footer-wordmark span:last-child {
  margin-top: 2px;
  color: var(--color-accent);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  white-space: nowrap;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 18px;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.footer-socials svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}
.footer-column {
  min-width: 0;
  text-align: left;
}
.footer-column h2 {
  margin-bottom: 14px;
  color: var(--color-dominant);
  font-family: var(--fontfamily-1);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.footer-column ul {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  list-style: none;
}
.footer-column a {
  color: var(--color-dominant70);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--color-dominant);
}

/* ========================= media queries =========================== */

@media screen and (min-width: 768px) {
  .site-footer {
    padding-bottom: 68px;
  }
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
    margin: 0 14px;
    padding: 3.5rem 1rem;
  }
}
@media screen and (min-width: 1024px) {
  .menu-toggle,
  .menu-close,
  .menu-logo {
    display: none;
  }

  nav ul > li > .cta {
    display: none;
    margin: 0;
  }
  header {
    width: 100%;
    padding: 0 10vw;
    height: var(--header-height-pc);
    box-shadow: none;
    justify-content: space-between;
    border: none;

    font-family: Roboto;

    background-color: transparent;
  }
  header::before {
    background-color: transparent;
    backdrop-filter: blur(0px);
  }
  .logo-holder {
    /* margin-right: auto; */
    display: flex;
  }
  .logo-holder img {
    width: 3rem;
  }
  nav {
    position: static;
    width: auto;
    height: auto;
    overflow-y: visible;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    backdrop-filter: blur(10px);
    border-radius: 9999px;
  }
  nav,
  nav > ul {
    width: fit-content;
    height: auto;
    border: none;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
  }
  nav > ul {
    flex-direction: row;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-dominant30);
    border-radius: 999px;
    overflow-y: visible;
    align-items: center;
    padding: 10px 10px;
  }

  .menu-links {
    padding: 0 10px;
    position: relative;
    border: none;
    border-radius: 999px;
    color: var(--color-dominant);
    border: none;
    font-size: 1rem;
  }
  .menu-links:hover {
    background-color: var(--color-dominant);
  }
  .menu-links-a {
    color: var(--color-dominant) !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-links:hover .menu-links-a {
    color: var(--color-secondary) !important;
  }

  .site-footer {
    padding-bottom: 68px;
  }
  .footer-main {
    grid-template-columns: minmax(240px, 1.7fr) repeat(4, minmax(0, 1fr));
    gap: 2rem;
    padding: 80px 2.4% 54px;
  }
  .footer-brand {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
    padding: 0 18px;
  }
  .footer-wordmark {
    padding: 0 32px 24px;
  }
  .footer-wordmark span:first-child {
    font-size: clamp(1.25rem, 1.55vw, 1.8rem);
    letter-spacing: 0.38em;
  }
  .footer-wordmark span:last-child {
    font-size: 0.8rem;
    letter-spacing: 0.48em;
  }
  .footer-socials {
    gap: 1.5rem;
  }
  .footer-column {
    text-align: center;
  }
  .footer-column h2 {
    font-size: clamp(1rem, 1.1vw, 1.35rem);
  }
  .footer-column ul {
    justify-items: center;
  }
  .footer-column a {
    font-size: clamp(0.9rem, 0.9vw, 1.05rem);
  }
}
@media screen and (min-width: 1200px) {
  .menu-links {
    font-weight: normal;
  }
  header {
    gap: 1rem;
  }
  .floating-cta {
    right: 2%;
    width: 50px;
    height: 50px;
  }
  .floating-cta {
    /* bottom: 10%; */
    width: 60px;
    height: 60px;
  }
}
