:root {
  --color-yellow: #f8cc14;
  --color-yellow-soft: #ffda2d;
  --color-black: #090909;
  --color-black-soft: #121212;
  --color-surface: #1c1c1c;
  --color-text: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.78);
  --color-dark-text: #1b1b1b;
  --color-border: rgba(255, 210, 41, 0.45);
  --header-height: 84px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-main: 0 24px 70px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--color-text);
  background: var(--color-black);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 108px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-inner a {
  font-weight: 700;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--color-yellow);
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-yellow);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  isolation: isolate;
  overflow: clip;
  background:
    linear-gradient(115deg, rgba(248, 204, 20, 0.16) 0%, rgba(248, 204, 20, 0.04) 38%, rgba(9, 9, 9, 0.55) 72%, rgba(9, 9, 9, 0.78) 100%),
    url("Assets/img/hero-liso.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(42vw, 520px);
  background: var(--color-yellow);
  clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%);
  box-shadow: 14px 0 60px rgba(248, 204, 20, 0.18);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.02) 0%, rgba(9, 9, 9, 0.08) 35%, rgba(9, 9, 9, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 72px 0;
}

.hero-copy {
  width: min(720px, 100%);
  text-align: left;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.section-kicker--dark {
  color: rgba(9, 9, 9, 0.7);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.8rem, 8vw, 6.6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.hero-text {
  max-width: 16ch;
  margin: 24px 0 0;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-text);
}

.button-primary,
.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  margin-top: 28px;
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 14px 36px rgba(248, 204, 20, 0.26);
}

.button-dark {
  border: 0;
  background: var(--color-black);
  color: var(--color-text);
}

.button-primary:hover,
.button-dark:hover,
.back-to-top:hover {
  transform: translateY(-2px);
}

.section-dark {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(rgba(12, 12, 12, 0.84), rgba(12, 12, 12, 0.9)),
    url("Assets/img/nosotros-bg.jpg") center center / cover no-repeat;
}

.section-heading {
  max-width: 880px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 span {
  color: var(--color-yellow);
  font-size: 1.26em;
}

.section-lead {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--color-muted);
}

.section-lead strong {
  color: var(--color-text);
}

.section-lead--dark {
  color: rgba(9, 9, 9, 0.76);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 56px;
}

.feature-box {
  padding: 36px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 41, 0.04);
}

.feature-box h3 {
  margin: 0 0 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-yellow);
  color: var(--color-yellow);
  font-size: 0.95rem;
  font-weight: 800;
}

.products {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.products-panel {
  min-height: 720px;
  display: flex;
  align-items: center;
}

.products-panel--highlight {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #ffd51d 0%, #f4c90d 100%);
  color: var(--color-dark-text);
}

.products-panel--dark {
  background:
    linear-gradient(rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.82)),
    url("Assets/img/presentaciones-bg.jpg") center center / cover no-repeat;
}

.products-left,
.products-right {
  width: min(560px, calc(100% - 48px));
}

.products-left {
  margin-left: auto;
  margin-right: 0;
  padding: 80px 0;
}

.products-right {
  margin-left: 0;
  margin-right: auto;
  padding: 80px 0;
}

.products-panel--highlight h2 {
  color: var(--color-dark-text);
}

.product-visual {
  margin-top: 40px;
}

.product-visual img {
  max-width: 520px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.24));
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 18px;
}

.product-list li {
  position: relative;
  padding-left: 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 6px;
  height: 0.9em;
  background: var(--color-text);
}

.product-list span {
  color: var(--color-yellow);
}

.distribution {
  padding: 100px 0;
  background:
    linear-gradient(180deg, #f8cc14 0%, #ffd82b 100%);
  color: var(--color-dark-text);
}

.form-status {
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: 18px;
  font-weight: 700;
}

.form-status[data-status="ok"] {
  background: rgba(15, 101, 46, 0.14);
  color: #124f2a;
  border: 1px solid rgba(15, 101, 46, 0.28);
}

.form-status[data-status="error"] {
  background: rgba(139, 28, 28, 0.12);
  color: #781717;
  border: 1px solid rgba(139, 28, 28, 0.24);
}

.section-heading--light h2 {
  color: var(--color-dark-text);
}

.distribution-card {
  margin-top: 42px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-main);
}

.map-embed {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #d7d7d7;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form-heading h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
}

.form-heading p {
  margin: 10px 0 0;
  color: rgba(9, 9, 9, 0.66);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form span {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 18px;
  background: #ececec;
  padding: 16px 18px;
  color: var(--color-dark-text);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact {
  position: relative;
  isolation: isolate;
  padding: 110px 0 90px;
  background: url("Assets/img/contacto.jpg") center center / cover no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.84) 0%, rgba(9, 9, 9, 0.62) 100%);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.contact-card {
  min-height: 120px;
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.contact-card span {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--color-yellow);
}

.contact-hours {
  margin: 42px 0 0;
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
}

.site-footer {
  background: var(--color-yellow);
  color: var(--color-dark-text);
}

.footer-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-inner a:hover {
  opacity: 0.62;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 9, 9, 0.86);
  color: var(--color-text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1100px) {
  .products {
    grid-template-columns: 1fr;
  }

  .products-panel {
    min-height: auto;
  }

  .products-left,
  .products-right {
    width: min(880px, calc(100% - 48px));
    margin: 0 auto;
  }

  .distribution-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: auto;
    background-position: 62% center;
  }

  .hero::before {
    width: 54vw;
  }

  .hero-content {
    min-height: auto;
    justify-content: flex-start;
    padding: 96px 0 84px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, 100%);
  }

  :root {
    --header-height: 76px;
  }

  .brand img {
    width: 92px;
  }

  .hero::before {
    width: 64vw;
  }

  .hero-content {
    padding: 72px 0 64px;
  }

  .hero-copy {
    margin-left: auto;
  }

  .eyebrow {
    padding-left: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .hero h1,
  .section-heading h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-text {
    max-width: 12ch;
    font-size: 1.3rem;
  }

  .section-dark,
  .distribution,
  .contact {
    padding: 76px 0;
  }

  .feature-box,
  .distribution-card {
    padding: 20px;
  }

  .products-left,
  .products-right {
    width: min(100% - 28px, 100%);
  }

  .product-visual {
    overflow: hidden;
  }

  .product-visual img {
    max-width: min(100%, 340px);
    margin: 0 auto;
  }

  .map-embed,
  .map-embed iframe {
    min-height: 380px;
  }

  .contact-card span {
    font-size: 1.55rem;
  }

  .footer-inner {
    gap: 14px 18px;
    padding: 14px 0;
  }
}
