@font-face {
  font-family: 'Mestiza';
  src: url('assets/Fonts/Mestiza.woff2') format('woff2'),
       url('assets/Fonts/Mestiza.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/Fonts/Gotham-Book.woff2') format('woff2'),
       url('assets/Fonts/GothamBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/Fonts/Gotham-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --dark-blue-primary: #081f4d;
  --dark-blue-dark: #071d49;
  --dark-blue-accent: #6a7894;
  --fuchsia-primary: #e6007e;
  --fuchsia-dark: #e6007d;
  --fuchsia-accent: #f066b1;
  --lightblue-primary: #004b91;
  --lightblue-mid: #004c96;
  --lightblue-bg: #336fa6;

  --fs-xs: 8.66px;
  --fs-sm: 14px;
  --fs-md: 22.65px;
  --fs-lg: 36.64px;
  --fs-xl: 59.27px;
  --fs-2xl: 95.83px;
  --fs-3xl: 154.97px;

  --font-primary: 'Mestiza', 'Gotham', Georgia, serif;
  --font-body: 'Gotham', Arial, sans-serif;

  --header-h: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--dark-blue-primary);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fuchsia-primary);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--fuchsia-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-size: var(--fs-sm);
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
  z-index: 1000;
  background: transparent;
  transition: transform 0.35s ease, background 0.3s ease;
}

#site-header.hide {
  transform: translateY(-100%);
}

.header-logo {
  margin-left: 150px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 81px;
  width: auto;
  transition: opacity 0.2s;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus {
  color: var(--fuchsia-accent);
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fuchsia-primary);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(var(--fs-sm) * 1.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 1.4em;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-buy:hover,
.btn-buy:focus {
  background: var(--fuchsia-dark);
  outline: 2px solid var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#site-header.light-bg .header-nav a {
  color: var(--dark-blue-primary);
}

#site-header.light-bg {
  background: rgba(255, 255, 255, 0.95);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
}

#site-header.light-bg .hamburger span {
  background: var(--dark-blue-primary);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: var(--dark-blue-primary);
  z-index: 999;
  flex-direction: column;
  padding: 1.5rem 2rem;
  gap: 1.2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav .btn-buy {
  align-self: flex-start;
  margin-top: 0.5rem;
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

#hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 31, 77, 0.25) 0%, rgba(8, 31, 77, 0.05) 60%);
}

.section-vpad {
  padding-top: 20vw;
  padding-bottom: 20vw;
}

#section-products {
  background: var(--white);
}

.s1-inner {
  display: flex;
  align-items: stretch;
  padding-left: 12.95%;
  padding-right: 12.95%;
  gap: 7.83%;
}

.s1-text {
  flex: 0 0 23.8%;
  min-width: 0;
}

.s1-text h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--dark-blue-primary);
  line-height: 1.1;
  margin-bottom: 0.6em;
}

.s1-text p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  text-align: justify;
  color: var(--dark-blue-primary);
  margin-bottom: 1.6em;
}

.s1-text .btn-products {
  display: inline-block;
  background: var(--dark-blue-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7em 1.5em;
  transition: background 0.2s;
}

.s1-text .btn-products:hover,
.s1-text .btn-products:focus {
  background: var(--lightblue-primary);
}

.s1-image-wrap {
  flex: 0 0 48%;
  min-width: 0;
  display: flex;
}

.s1-image-wrap picture {
  display: flex;
  width: 100%;
}

.s1-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 4px solid var(--dark-blue-primary);
}

#section-history {
  background: var(--fuchsia-primary);
}

.s2-inner {
  display: flex;
  align-items: center;
  padding-left: 12.95%;
  padding-right: 12.95%;
  gap: 7.83%;
}

.s2-title {
  flex: 0 0 23.8%;
  min-width: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
}

.s2-title a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.s2-title a:hover,
.s2-title a:focus {
  color: var(--dark-blue-primary);
}

.s2-link {
  flex: 1;
  min-width: 0;
  display: inline-block;
  background: var(--white);
  color: var(--fuchsia-primary);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  padding: 0.6em 1.2em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.s2-link:hover,
.s2-link:focus {
  background: var(--dark-blue-primary);
  color: var(--white);
}

#section-production {
  background: var(--white);
}

.s3-inner {
  display: flex;
  align-items: stretch;
  padding-left: 12.95%;
  padding-right: 12.95%;
  gap: 7.83%;
  transform: translateX(100px);
}

.s3-art {
  flex: 0 0 23.8%;
  min-width: 0;
  border: 4px solid var(--dark-blue-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.s3-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s3-text {
  flex: 0 0 52%;
  min-width: 0;
  border: 4px solid var(--dark-blue-primary);
  padding: 2rem 2.2rem;
  aspect-ratio: 42.47 / 28.31;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s3-text h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 4.7rem);
  color: var(--dark-blue-primary);
  line-height: 0.9;
  margin-bottom: 0.4em;
  max-width: 100%;
}

.s3-text p {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--dark-blue-primary);
}

#section-enjoy {
  background: var(--lightblue-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vw;
  padding-top: 20vw;
  padding-bottom: 20vw;
}

.enjoy-text-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.enjoy-word {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: calc(var(--fs-3xl) * 0.91);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.enjoy-subline {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.1vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.enjoy-subline .is-upper {
  color: var(--white);
}

.enjoy-subline .is-lower {
  color: var(--fuchsia-primary);
}

.enjoy-subline span + span {
  margin-left: 0.45em;
}

#site-footer {
  background: var(--white);
  color: var(--fuchsia-primary);
  width: 100%;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--fuchsia-primary);
  justify-self: start;
  align-items: flex-start;
}

.footer-left span {
  font-weight: 700;
  margin-left: 0;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-center picture {
  display: block;
}

.footer-center img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.footer-copy {
  font-size: 14px;
  color: var(--fuchsia-primary);
  text-align: center;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.footer-social a {
  display: inline-block;
}

.footer-social img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.footer-social img:hover {
  opacity: 0.75;
}

.footer-contact-link {
  color: var(--fuchsia-primary);
  display: inline-block;
  margin-left: 0;
  font-size: calc(var(--fs-sm) * 1.3);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--fuchsia-primary);
  font-weight: 700;
}

.lang-switcher button {
  background: none;
  border: 2px solid var(--fuchsia-primary);
  color: var(--fuchsia-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 0.2em 0.7em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  background: var(--fuchsia-primary);
  color: var(--white);
}

/* Products page */
.products-page #site-header {
  transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.products-page #site-header.hide {
  transform: translateY(calc(-100% - 110px));
}

.products-page #products-hero {
  position: relative;
  width: 100%;
  height: min(72vh, 760px);
  overflow: hidden;
}

.products-page #products-hero picture,
.products-page #products-hero img {
  display: block;
  width: 100%;
  height: 100%;
}

.products-page #products-hero img {
  object-fit: cover;
  object-position: center;
}

.products-main {
  background: var(--white);
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(110px, 18%) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-left: 12.95%;
  padding-right: 12.95%;
  align-items: start;
}

.products-parallax-col {
  position: relative;
  min-height: 100%;
  padding-top: clamp(7rem, 10vw, 10rem);
}

.products-parallax {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  width: min(260px, 100%);
  transform: translateY(0);
  transition: transform 0.15s linear;
  will-change: transform;
}

.products-content {
  max-width: 980px;
}

.products-intro-title {
  font-family: var(--font-primary);
  color: var(--dark-blue-primary);
  line-height: 0.95;
  font-size: clamp(2rem, 5.5vw, 4rem);
  margin-bottom: 0.35em;
}

.products-intro-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--fuchsia-primary);
  margin-bottom: 1.3rem;
}

.products-copy p {
  color: var(--dark-blue-primary);
  line-height: 1.72;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  margin-bottom: 1.05rem;
}

.products-section-title {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-primary);
  color: var(--dark-blue-primary);
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  line-height: 1;
}

.products-section-lead {
  color: var(--dark-blue-primary);
  line-height: 1.65;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  margin-bottom: 1rem;
}

.products-table-wrap {
  border: 2px solid var(--dark-blue-primary);
  overflow-x: auto;
  background: var(--white);
}

.products-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.products-table th,
.products-table td {
  border: 1px solid var(--dark-blue-accent);
  text-align: left;
  vertical-align: top;
  padding: 0.75rem;
  color: var(--dark-blue-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.products-table thead th {
  background: #f0f5fb;
  font-weight: 700;
}

.products-page #site-header.light-bg {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(8, 31, 77, 0.12);
}

.products-page #site-header.light-bg .header-nav a,
.products-page #site-header.light-bg .btn-buy {
  color: var(--dark-blue-primary) !important;
}

.products-page #site-header.light-bg .header-logo img {
  height: 150px;
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  .s1-inner,
  .s2-inner,
  .s3-inner {
    padding-left: 6%;
    padding-right: 6%;
    gap: 4%;
  }

  .s1-text {
    flex: 0 0 35%;
  }

  .s1-image-wrap {
    flex: 0 0 55%;
  }

  .s1-image-wrap img {
    height: auto;
    aspect-ratio: 42.47 / 28.31;
  }

  .s2-title {
    flex: 0 0 40%;
    font-size: var(--fs-lg);
  }

  .s3-art {
    flex: 0 0 35%;
  }

  .s3-text {
    flex: 0 0 55%;
  }

  .enjoy-word {
    font-size: calc(var(--fs-3xl) * 0.55);
  }

  #site-footer {
    grid-template-columns: 1fr auto 1fr;
    justify-items: stretch;
    text-align: initial;
  }

  .products-layout {
    padding-left: 6%;
    padding-right: 6%;
    grid-template-columns: minmax(80px, 16%) minmax(0, 1fr);
  }

  .products-parallax {
    width: min(192px, 100%);
  }

  .products-page #site-header.light-bg .header-logo img {
    height: 122px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .hamburger {
    display: flex;
  }

  .header-logo {
    margin-left: 0;
    flex: 0 0 25%;
    display: flex;
    justify-content: flex-start;
  }

  .header-nav,
  .header-right {
    display: none;
  }

  .section-vpad {
    padding-top: 12vw;
    padding-bottom: 12vw;
  }

  .s1-inner,
  .s2-inner,
  .s3-inner {
    flex-direction: column;
    padding-left: 6%;
    padding-right: 6%;
    gap: 6%;
  }

  .s3-inner {
    transform: none;
  }

  .s1-text,
  .s1-image-wrap,
  .s2-title,
  .s2-link,
  .s3-art,
  .s3-text {
    flex: 0 0 100%;
    width: 100%;
  }

  .s1-image-wrap img {
    height: auto;
    aspect-ratio: 42.47 / 28.31;
  }

  .s2-link {
    white-space: normal;
    margin-top: 2.8em;
  }

  .s3-art {
    aspect-ratio: 1 / 1;
  }

  .s3-text {
    aspect-ratio: unset;
    min-height: 0;
  }

  .s3-text h2 {
    font-size: clamp(1.55rem, 8.2vw, 2.5rem);
    line-height: 1;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .enjoy-word {
    font-size: 16.4vw;
  }

  .enjoy-subline {
    font-size: clamp(0.75rem, 3.8vw, 1.1rem);
    max-width: 94%;
  }

  #section-enjoy {
    min-height: 60vw;
    padding-left: 6%;
    padding-right: 6%;
  }

  .enjoy-text-group {
    width: 100%;
    max-width: 100%;
  }

  #site-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'left right'
      'center center';
    justify-items: stretch;
    text-align: initial;
    align-items: start;
    padding: 2rem 1rem;
  }

  .footer-left {
    grid-area: left;
    align-items: flex-start;
    text-align: left;
  }

  .footer-left span,
  .footer-contact-link {
    margin-left: 0;
  }

  .footer-contact-link {
    display: block;
    text-align: left;
  }

  .products-main {
    padding-top: 1.8rem;
    padding-bottom: 2.4rem;
  }

  .products-page #products-hero {
    height: min(52vh, 420px);
  }

  .products-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 6%;
    padding-right: 6%;
  }

  .products-parallax-col {
    height: auto;
    padding-top: 0;
  }

  .products-parallax {
    position: relative;
    top: 0;
    width: 148px;
    margin-bottom: 0.5rem;
  }

  .products-table {
    min-width: 760px;
  }

  .products-page #site-header.light-bg .header-logo img {
    height: 82px;
  }

  .footer-right {
    grid-area: right;
    justify-content: flex-end;
    align-self: start;
    margin-top: 0;
  }

  .footer-center {
    grid-area: center;
    margin-top: 1.5rem;
  }

  .footer-center img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 420px) {
  .header-logo img {
    height: 61px;
  }

  .enjoy-word {
    font-size: 18.2vw;
  }

  .enjoy-subline {
    font-size: clamp(0.7rem, 4.2vw, 0.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
