:root {
  --primary: #0b8ec6;
  --primary-dark: #075d8a;
  --accent: #ff7a1a;
  --yellow: #ffcc33;
  --ink: #102033;
  --muted: #627184;
  --bg: #f5f9fc;
  --card: #ffffff;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  left: 16px;
}

.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.92rem;
}

.topbar__content {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  font-weight: 700;
  white-space: nowrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar__content {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(11, 142, 198, 0.16);
}

.brand strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: #23384e;
}

.nav-links a:not(.btn) {
  position: relative;
  padding-block: 8px;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.22s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.94rem;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0ab3d6);
  box-shadow: 0 18px 32px rgba(11, 142, 198, 0.25);
}

.btn--secondary {
  color: var(--primary-dark);
  background: #e8f6fb;
  box-shadow: inset 0 0 0 1px rgba(11, 142, 198, 0.16);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--light {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 122, 26, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(11, 142, 198, 0.22), transparent 32%),
    linear-gradient(180deg, #fff, #eff8fc);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -90px -170px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 204, 51, 0.35), rgba(11, 142, 198, 0.18));
  filter: blur(2px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  letter-spacing: -0.07em;
  max-width: 780px;
}

.hero__content p {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: #4b5a69;
  font-weight: 700;
  font-size: 0.9rem;
}

.trust-row span::before {
  content: "✓";
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 0.74rem;
}

.hero__media {
  position: relative;
  min-height: 540px;
}

.photo-card {
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-card--main {
  position: absolute;
  inset: 0 0 0 54px;
  transform: rotate(2deg);
}

.photo-card--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 42px;
  max-width: 310px;
  border-radius: 24px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 58px rgba(16, 32, 51, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.floating-card span {
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.delivery__content h2,
.contact__intro h2,
.banner h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.055em;
}

.section-heading p,
.delivery__content p,
.contact__intro p,
.banner p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.features {
  padding-top: 30px;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #eff8fc, var(--bg));
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 45px rgba(16, 32, 51, 0.06);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 142, 198, 0.12), rgba(255, 122, 26, 0.14));
  color: var(--primary-dark);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.catalog {
  background: var(--bg);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(16, 32, 51, 0.09);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.15);
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.product-card__body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f6fb;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card a {
  color: var(--primary-dark);
  font-weight: 900;
}

.banner-section {
  padding: 26px 0;
}

.banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 93, 138, 0.94), rgba(11, 142, 198, 0.88)),
    url('../assets/pigmentos-tintes-polvos.webp') center/cover;
  box-shadow: var(--shadow);
}

.banner h2,
.banner p,
.banner .eyebrow {
  color: #fff;
}

.banner .eyebrow::before {
  background: #fff;
}

.banner p {
  max-width: 720px;
  margin-left: 0;
  opacity: 0.88;
}

.gallery {
  background: #fff;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  padding: 0;
  border: 0;
  background: #ddd;
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.10);
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-item:nth-child(3) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.delivery {
  background:
    radial-gradient(circle at 0 0, rgba(255, 122, 26, 0.12), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(11, 142, 198, 0.16), transparent 32%),
    var(--bg);
}

.delivery__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.delivery__content p {
  margin-left: 0;
}

.delivery__zones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.delivery__zones span {
  padding: 12px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
}

.delivery__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(26px, 5vw, 46px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.delivery__card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: linear-gradient(135deg, rgba(255, 204, 51, 0.3), rgba(11, 142, 198, 0.2));
}

.delivery__card h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.delivery__card p {
  position: relative;
  z-index: 1;
  margin: 12px 0;
  color: var(--muted);
}

.delivery__buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact {
  background: #fff;
}

.contact__intro p {
  margin-left: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 135px;
  border-radius: 24px;
  padding: 24px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.11);
}

.contact-card span {
  color: var(--primary-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.contact-card strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.06rem;
}

.contact-card--whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #1fc76b);
}

.contact-card--whatsapp span {
  color: rgba(255, 255, 255, 0.86);
}

.footer {
  color: #d7e9f3;
  background: #0d2235;
  padding: 48px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer strong {
  color: #fff;
}

.brand--footer small {
  color: #b9d3e1;
}

.footer__links,
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.footer__socials {
  justify-content: flex-end;
}

.footer__links a,
.footer__socials a {
  color: #d7e9f3;
  opacity: 0.9;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #a6bdcd;
  font-size: 0.92rem;
  padding-top: 24px;
}

.footer__bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  color: #fff;
  background: #16a34a;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.35);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 18, 29, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: 22px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.lightbox__close {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.12s;
}

@media (max-width: 1024px) {
  .hero__grid,
  .delivery__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 480px;
  }

  .photo-card--main {
    left: 0;
  }

  .features__grid,
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__socials {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .topbar__content {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .navbar__content {
    height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 12px;
  }

  .hero {
    padding: 54px 0 52px;
  }

  .hero__media {
    min-height: 430px;
  }

  .photo-card--main {
    inset: 0;
    transform: none;
  }

  .floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .section {
    padding: 68px 0;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(3) {
    grid-row: span 1;
  }

  .banner {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero__content p {
    font-size: 1rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .features__grid,
  .catalog__grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 230px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .delivery__buttons .btn {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
