:root {
  --blue-900: #06264a;
  --blue-800: #004985;
  --blue-700: #005dab;
  --green-600: #48c067;
  --green-700: #36a753;
  --gold-500: #e5b53e;
  --ink: #1d2732;
  --muted: #5f6d7b;
  --line: #dce5ee;
  --soft: #f4f8f5;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(6, 38, 74, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  background: var(--white);
  line-height: 1.6;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px max(20px, calc((100vw - var(--container)) / 2));
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(6, 38, 74, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--line);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: max(780px, calc(100svh + 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900) url("assets/deskan-hero-lubricante-20260519.png") center / cover no-repeat;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 6200ms ease;
}

.hero::before {
  background-image: url("assets/deskan-hero-aplicaciones-20260519.png");
}

.hero::after {
  background-image: url("assets/deskan-hero-lubricante-20260519.png");
}

.hero.is-slide-one::before,
.hero.is-slide-two::after {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 22, 42, 0.86) 0%, rgba(3, 22, 42, 0.66) 42%, rgba(3, 22, 42, 0.15) 100%),
    linear-gradient(0deg, rgba(3, 22, 42, 0.2), rgba(3, 22, 42, 0.2));
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero__copy {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.38rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  color: var(--white);
  background: var(--green-600);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--green-700);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.value-strip {
  position: relative;
  z-index: 3;
  margin-top: -72px;
}

.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

.value-card:last-child {
  border-right: 0;
}

.value-card img {
  width: 62px;
}

.value-card h2 {
  margin: 0 0 6px;
  color: var(--blue-900);
  font-size: 1.28rem;
  line-height: 1.2;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section {
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  gap: 64px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact h2 {
  color: var(--blue-900);
  font-size: 3rem;
  font-weight: 900;
}

.lead {
  color: var(--blue-800);
  font-size: 1.28rem;
  font-weight: 700;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.uses p,
.news-card p,
.products p {
  color: var(--muted);
}

.image-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 18px 38px rgba(6, 38, 74, 0.12);
}

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

.uses {
  color: var(--white);
  background: var(--blue-900);
}

.uses .eyebrow {
  color: var(--gold-500);
}

.uses__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.uses h2,
.uses h3,
.uses p {
  color: var(--white);
}

.uses h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.08;
}

.uses__intro {
  align-self: start;
}

.uses__image {
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.uses__image img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.uses__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.uses__grid article {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.uses__grid span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-500);
  font-size: 0.94rem;
  font-weight: 900;
}

.uses__grid h3 {
  margin: 0 0 9px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.uses__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
  line-height: 1.42;
}

.use-card__image {
  min-height: 92px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.use-card__image img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.benefits {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading--wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 60px;
  align-items: end;
}

.section-heading--wide p:last-child {
  margin: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-900);
  background: var(--white);
  font-size: 1.16rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(6, 38, 74, 0.06);
}

.benefit-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
}

.benefit-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.products {
  padding: 78px 0 64px;
}

.products .section-heading {
  max-width: none;
  margin-bottom: 26px;
}

.products .section-heading h2 {
  font-size: 2.8rem;
  text-align: center;
}

.products .section-heading--wide {
  display: block;
}

.products__intro {
  position: relative;
  max-width: 100%;
  margin-top: 18px;
  padding: 14px 18px 14px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-600);
  border-radius: 8px;
  color: var(--blue-900);
  background: linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
  box-shadow: 0 14px 34px rgba(6, 38, 74, 0.07);
}

.products__intro p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-wrap: pretty;
}

.products__intro strong {
  color: var(--blue-700);
  font-weight: 900;
}

.products__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.product-visual {
  margin: 0;
  height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tabs {
  display: flex;
  flex-direction: column;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: -8px 0 16px;
}

.tab-button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--white);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 800;
}

.tab-button.is-active {
  color: var(--white);
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.tab-panel {
  flex: 1;
  min-height: 330px;
  padding: 26px 30px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-900);
}

.tab-panel h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1.15;
}

.tab-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.tab-panel li {
  line-height: 1.42;
}

.tab-panel li::marker {
  color: var(--green-600);
}

.product-banners {
  margin-top: 20px;
}

.product-banner {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(6, 38, 74, 0.12);
}

.product-banner img {
  width: 100%;
  aspect-ratio: 3759 / 418;
  height: auto;
  object-fit: contain;
  background: var(--white);
}

.news {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(6, 38, 74, 0.07);
}

.news-card time {
  margin-bottom: 16px;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 1.52rem;
  line-height: 1.22;
}

.news-card a {
  margin-top: auto;
  color: var(--blue-700);
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  padding: 78px 0;
  color: var(--white);
  background: var(--blue-900);
}

.contact .eyebrow {
  color: var(--gold-500);
}

.contact h2 {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 60px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  background: rgba(255, 255, 255, 0.06);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--green-600);
}

.site-footer {
  padding: 26px 0;
  background: #03182e;
  color: rgba(255, 255, 255, 0.68);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer__inner img {
  width: 118px;
  filter: brightness(0) invert(1);
}

.footer__inner p {
  margin: 0;
  font-size: 1rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-600);
  box-shadow: 0 12px 30px rgba(6, 38, 74, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(72, 192, 103, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .hero {
    min-height: max(720px, calc(100svh + 42px));
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .split,
  .uses__layout,
  .section-heading--wide,
  .products__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .value-strip {
    margin-top: -42px;
  }

  .value-strip__grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-card:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue-900);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: max(700px, calc(100svh + 42px));
    background-position: center;
  }

  .hero__content {
    padding-top: 0;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero__copy {
    font-size: 1.16rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .value-card {
    grid-template-columns: 54px 1fr;
    min-height: auto;
    padding: 22px;
  }

  .value-card img {
    width: 50px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact h2,
  .uses h2 {
    font-size: 2.15rem;
  }

  .products .section-heading h2 {
    font-size: 2.15rem;
  }

  .products {
    padding: 72px 0;
  }

  .products__intro {
    max-width: none;
  }

  .products__intro p {
    text-align: left;
  }

  .product-visual {
    height: 300px;
  }

  .image-panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .uses__grid,
  .benefit-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    display: grid;
  }

  .tab-button {
    width: 100%;
  }

  .tab-panel,
  .news-card,
  .contact-list {
    padding: 24px;
  }

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