@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: Raleway;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/raleway-latin.woff2") format("woff2");
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/roboto-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #171717;
  --paper: #ffffff;
  --cream: #e4dcc7;
  --red: #bd252e;
  --green: #2f7048;
  --muted: #55524c;
  --content-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--paper);
}

.header-inner {
  display: flex;
  width: min(100% - 3rem, var(--content-width));
  min-height: 112px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 235px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.main-nav a {
  font-family: Raleway, sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
}

.hero {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--cream);
}

.hero-copy {
  display: flex;
  width: min(100%, 720px);
  padding: clamp(3rem, 7vw, 6.5rem) clamp(2rem, 7vw, 7rem);
  flex-direction: column;
  justify-content: center;
  justify-self: end;
}

.hero h1,
.section-title,
.feature-title,
.quality-title {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
}

.hero-rule {
  width: 100%;
  max-width: 690px;
  height: 3px;
  margin: 2rem 0 1.5rem;
  border: 0;
  background: var(--ink);
}

.eyebrow,
.hero-lead,
.section-kicker {
  margin: 0;
  color: var(--red);
  font-size: 1rem;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 58ch;
  margin: 0.65rem 0 1.8rem;
  color: #37352f;
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  padding: 0.85rem 1.55rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0 0 20px 0;
  color: #fff;
  background: var(--red);
  font-size: 0.88rem;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #991b23;
}

.hero-image {
  min-height: 610px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-statement {
  display: grid;
  padding: clamp(3rem, 7vw, 6rem) max(1.5rem, calc((100% - var(--content-width)) / 2));
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
  color: #fff;
  background: var(--ink);
}

.brand-statement strong {
  display: block;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.brand-statement strong span {
  color: var(--red);
}

.brand-statement p {
  max-width: 58ch;
  margin: 0.6rem 0;
  color: #e9e7e2;
  font-size: 1.08rem;
}

.products,
.sectors,
.quality,
.about {
  padding: clamp(4rem, 8vw, 7.5rem) max(1.5rem, calc((100% - var(--content-width)) / 2));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-kicker {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.section-intro {
  max-width: 68ch;
  margin: 1rem auto 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 1rem;
}

.feature-card {
  display: flex;
  min-height: 300px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cream);
}

.feature-card:first-child {
  color: #fff;
  background: var(--ink);
}

.feature-card:nth-child(2) {
  background: #f0eee8;
}

.feature-card:nth-child(3) {
  color: #fff;
  background: var(--green);
}

.feature-card .section-kicker {
  color: var(--red);
}

.feature-card:nth-child(3) .section-kicker {
  color: #f4c7a6;
}

.feature-title {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.feature-card a {
  width: fit-content;
  margin-top: 0.9rem;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.sectors {
  background: #f4f2ec;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sector-card {
  overflow: hidden;
  background: #fff;
}

.sector-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.sector-copy {
  padding: 1.35rem 1.5rem 1.65rem;
}

.sector-copy h3 {
  margin: 0 0 0.45rem;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.sector-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.quality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  background: var(--cream);
}

.quality-title {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}

.quality-copy > p {
  max-width: 58ch;
  color: #37352f;
}

.quality-list {
  display: grid;
  margin: 1.6rem 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.quality-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
}

.quality-list li::before {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  content: "✓";
  font-size: 0.9rem;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.about .section-title {
  max-width: 10ch;
}

.about-copy {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy strong {
  color: var(--red);
}

.site-footer {
  display: flex;
  padding: 2.5rem max(1.5rem, calc((100% - var(--content-width)) / 2));
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  color: #fff;
  background: var(--ink);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand img {
  width: 150px;
  height: auto;
  padding: 0.3rem;
}

html[data-scroll-ready="true"] [data-scroll-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

html[data-scroll-ready="true"] [data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[data-scroll-ready="true"] .feature-grid > [data-scroll-reveal]:nth-child(2),
html[data-scroll-ready="true"] .sector-grid > [data-scroll-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

html[data-scroll-ready="true"] .feature-grid > [data-scroll-reveal]:nth-child(3),
html[data-scroll-ready="true"] .sector-grid > [data-scroll-reveal]:nth-child(3) {
  transition-delay: 180ms;
}

html[data-scroll-ready="true"] .sector-grid > [data-scroll-reveal]:nth-child(4) {
  transition-delay: 270ms;
}

html[data-scroll-ready="true"] .sector-grid > [data-scroll-reveal]:nth-child(5) {
  transition-delay: 360ms;
}

.site-footer p {
  margin: 0;
  color: #e9e7e2;
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-socials a {
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: #f0b5a0;
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #f0b5a0;
  text-decoration: underline;
}

.legal-page {
  width: min(100% - 3rem, 960px);
  margin: 0 auto;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.legal-title {
  margin: 0 0 2rem;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.legal-content {
  color: #37352f;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-content p {
  margin: 0 0 1.1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.2rem 1.5rem;
  padding: 0;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-content li p {
  margin-bottom: 0;
}

.legal-content a {
  text-underline-offset: 0.2em;
}

.catalog-intro {
  padding: clamp(2.5rem, 5vw, 4.5rem) max(1.5rem, calc((100% - var(--content-width)) / 2)) 2rem;
  background: var(--cream);
}

.breadcrumbs {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  text-underline-offset: 0.2em;
}

.catalog-title {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.catalog-description {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: #37352f;
}

.catalog-toolbar {
  display: flex;
  margin-top: 1.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
}

.catalog-back {
  font-family: Raleway, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.catalog-grid {
  display: grid;
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding-block: 2.5rem 5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.catalog-product {
  display: flex;
  min-width: 0;
  padding-bottom: 1rem;
  flex-direction: column;
  background: #fff;
}

.catalog-product-image {
  display: grid;
  overflow: hidden;
  aspect-ratio: 0.78;
  place-items: center;
  background: #f5f3ed;
}

.catalog-grid--gorros .catalog-product-image {
  aspect-ratio: 1.28;
}

.catalog-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-product-body {
  display: flex;
  padding: 1rem 0.15rem 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.catalog-product h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 400;
  line-height: 1.15;
}

.catalog-price {
  margin: 0.65rem 0 1rem;
  font-size: 0.98rem;
  font-weight: 400;
}

.catalog-product .button {
  min-height: 44px;
  margin-top: auto;
  padding: 0.65rem 1rem;
  font-size: 0.77rem;
}

.catalog-details {
  margin: 0.1rem 0 0.9rem;
  color: var(--red);
  font-family: Raleway, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.product-detail {
  display: grid;
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.product-detail-image {
  display: grid;
  min-height: 420px;
  overflow: hidden;
  place-items: center;
  background: #f5f3ed;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
}

.product-detail-copy .section-kicker {
  margin-bottom: 0.8rem;
}

.product-detail-title {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.product-detail-price {
  margin: 1.25rem 0;
  font-size: 1.2rem;
}

.product-detail-description {
  max-width: 56ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.product-detail-back {
  font-family: Raleway, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  min-height: 58px;
  padding: 0.65rem 1.15rem;
  align-items: center;
  gap: 0.65rem;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #168b50;
  box-shadow: 0 5px 22px rgb(0 0 0 / 22%);
  font-size: 0.92rem;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #0c6d3c;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 850px) {
  .header-inner {
    min-height: 90px;
  }

  .brand img {
    width: 190px;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100%, var(--content-width));
    padding-block: 4rem;
    justify-self: center;
  }

  .hero-image {
    min-height: 380px;
    max-height: 600px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:first-child {
    grid-column: 1 / -1;
  }

  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    min-height: 0;
    max-height: 680px;
    aspect-ratio: 1.1;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100% - 3rem, var(--content-width));
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    justify-self: center;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-image {
    min-height: clamp(320px, 55vw, 600px);
    max-height: 600px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 2rem, var(--content-width));
    padding-block: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .brand img {
    width: 165px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .hero-copy {
    padding: 3.5rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-image {
    min-height: 290px;
  }

  .brand-statement,
  .quality,
  .about {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .brand-statement,
  .products,
  .sectors,
  .quality,
  .about {
    padding-inline: 1.25rem;
  }

  .feature-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:first-child {
    min-height: 245px;
    grid-column: auto;
  }

  .catalog-intro {
    padding-inline: 1.25rem;
  }

  .catalog-grid {
    width: min(100% - 2.5rem, var(--content-width));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .product-detail {
    width: min(100% - 2.5rem, var(--content-width));
    padding-block: 2rem 4rem;
    gap: 1.75rem;
  }

  .product-detail-image {
    aspect-ratio: 0.95;
  }

  .product-detail-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .catalog-product h2 {
    font-size: 1.15rem;
  }

  .catalog-product .button {
    width: 100%;
    padding-inline: 0.45rem;
    font-size: 0.68rem;
  }

  .site-footer {
    padding: 2rem 1.25rem 6rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
