/* ========== Tokens ========== */
:root {
  --black: #0b0b0d;
  --black-2: #141418;
  --black-3: #1c1c22;
  --white: #ffffff;
  --grey-100: #f5f5f7;
  --grey-300: #d1d1d6;
  --grey-500: #8a8a93;
  --grey-700: #3a3a42;
  --red: #e30613;
  --red-dark: #b3050f;
  --red-soft: rgba(227, 6, 19, 0.12);
  --green: #1faa59;
  --green-dark: #168a48;
  --green-soft: rgba(31, 170, 89, 0.12);

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.25);
  --transition: 0.25s ease;

  --font-display: "Oswald", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ========== Reset ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.35);
}
.btn--primary:hover { background: var(--red-dark); }
.btn--wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 170, 89, 0.35);
}
.btn--wa:hover { background: var(--green-dark); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
}
.btn--ghost:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ========== Topbar ========== */
.topbar {
  background: var(--black);
  color: var(--grey-300);
  font-size: 13px;
  border-bottom: 1px solid #222;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 24px;
}
.topbar__sep { color: #555; }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: var(--red); }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--black);
}
.logo__mark {
  background: var(--red);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  margin-right: 6px;
  font-weight: 700;
}
.logo__text { color: inherit; }
.logo--light { color: #fff; }

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-700);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover { color: var(--black); }
.nav a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,11,13,0.92) 0%, rgba(11,11,13,0.7) 50%, rgba(227,6,19,0.55) 100%),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?w=1600&q=70") center/cover;
  z-index: 0;
}
/* Signature diagonal "MIPneus" green watermark — inherited from original Canva identity */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='80' viewBox='0 0 220 80'><text x='0' y='40' font-family='Oswald, Impact, sans-serif' font-size='28' font-weight='700' fill='%231faa59' fill-opacity='0.18' transform='rotate(-22 110 40)'>MIPneus</text></svg>");
  background-repeat: repeat;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.55;
}
.hero__inner { z-index: 2; }
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 110px 24px 120px;
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.hero__accent { color: var(--red); }
.hero__sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.hero__stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 600px;
}
.hero__stats div {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.hero__stats strong {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}
.hero__stats span {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== Brands strip ========== */
.brands {
  background: var(--grey-100);
  padding: 36px 0;
  border-bottom: 1px solid #eee;
}
.brands__label {
  text-align: center;
  font-size: 13px;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.brands__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
}
.brands__list li {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--grey-700);
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}
.brands__list li:hover { opacity: 1; color: var(--black); }

/* ========== Section head ========== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head__kicker {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.section-head__sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--grey-500);
}
.section-head--wide { max-width: none; }

/* ========== Services ========== */
.services { padding: 100px 0; background: #fff; }
.grid { display: grid; gap: 24px; }
.grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #ececef;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--black);
  color: #fff;
  font-size: 28px;
  margin-bottom: 18px;
  position: relative;
}
.card__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid var(--red);
  transform: translate(6px, 6px);
  z-index: -1;
  opacity: 0.6;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.card p { color: var(--grey-500); font-size: 15px; }

/* ========== Catalog browser ========== */
.catalog {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.catalog__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto 30px;
  max-width: 900px;
}
.catalog__search input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border: 2px solid #e2e2e6;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.catalog__search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.catalog__count {
  font-size: 14px;
  color: var(--grey-500);
  white-space: nowrap;
}
.catalog__wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.catalog__aside { position: sticky; top: 96px; }
.catalog__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--grey-100);
  padding: 10px;
  border-radius: var(--radius);
}
.catalog__tabs li {
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--grey-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), color var(--transition);
  user-select: none;
}
.catalog__tabs li:hover { background: #fff; color: var(--black); }
.catalog__tabs li.is-active {
  background: var(--black);
  color: #fff;
}
.catalog__tabs li.is-active .catalog__tab-count {
  background: var(--red);
  color: #fff;
}
.catalog__tab-count {
  background: #fff;
  color: var(--grey-500);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.catalog__tire {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.catalog__tire::before {
  content: "";
  position: absolute;
  inset: auto auto -20px -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-soft);
  z-index: 0;
}
.catalog__tire:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.catalog__tire > * { position: relative; z-index: 1; }
.catalog__tire-size {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--black);
  line-height: 1.1;
}
.catalog__tire-brand {
  font-size: 13px;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.catalog__tire-cta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--grey-500);
}

@media (max-width: 800px) {
  .catalog__wrap { grid-template-columns: 1fr; gap: 18px; }
  .catalog__aside { position: static; }
  .catalog__tabs {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .catalog__tabs li { flex-shrink: 0; }
  .catalog__grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* ========== Tire detail modal ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: min(420px, 100%);
  max-height: 90vh;
  overflow: auto;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--transition);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  transition: background var(--transition);
}
.modal__close:hover { background: #fff; color: var(--red); }
.modal__media {
  background: var(--grey-100);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show the whole photo, never crop */
  display: block;
}
.modal__media img[hidden],
.modal__placeholder[hidden] { display: none; }
.modal__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey-500);
  font-size: 14px;
}
.modal__body { padding: 22px 24px 26px; }
.modal__size {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--black);
  margin: 0;
}
.modal__brand {
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--grey-500);
}
.modal__usage-label {
  margin: 18px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
}
.modal__usage {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink, #333);
}
.modal__cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.modal__cta:hover { background: var(--red-dark); }

@media (max-width: 480px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* ========== Products ========== */
.products { padding: 100px 0; background: var(--grey-100); }
.grid--products { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; margin: 0 auto; }
.product {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #ececef;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  margin: 0;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product__img {
  height: 320px;
  background-color: var(--black);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  position: relative;
}
.product__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='60' viewBox='0 0 180 60'><text x='0' y='30' font-family='Oswald, Impact, sans-serif' font-size='20' font-weight='700' fill='%231faa59' fill-opacity='0.16' transform='rotate(-22 90 30)'>MIPneus</text></svg>");
  background-repeat: repeat;
  pointer-events: none;
  mix-blend-mode: screen;
}
.product:hover .product__img { transform: scale(1.05); }
.product__body { padding: 24px 26px 28px; }
.product__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product__body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product__body p { color: var(--grey-500); font-size: 14px; margin-bottom: 14px; }
.product__cta { color: var(--red); font-weight: 600; font-size: 14px; }

/* ========== About ========== */
.about {
  padding: 100px 0;
  background: var(--black);
  color: #fff;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  border: 4px solid var(--red);
}
.about__badge {
  position: absolute;
  right: -20px;
  bottom: -20px;
  background: var(--red);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}
.about__badge span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

.about__content .section-head__title { text-align: left; color: #fff; }
.about__content .section-head__kicker { background: rgba(227, 6, 19, 0.2); }
.about__content p {
  margin-top: 20px;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
}
.about__points { margin: 26px 0 32px; }
.about__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: rgba(255,255,255,0.9);
}
.about__points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== Why us ========== */
.why { padding: 100px 0; background: #fff; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.why__item {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--grey-100);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.why__item:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-6px);
}
.why__item:hover .why__num { color: var(--red); }
.why__item:hover p { color: rgba(255,255,255,0.7); }
.why__num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
  margin-bottom: 6px;
  line-height: 1;
}
.why__item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.why__item p { color: var(--grey-500); font-size: 14px; }

/* ========== Contact ========== */
.contact { padding: 100px 0; background: var(--grey-100); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact__info .section-head__kicker { display: inline-block; }
.contact__info .section-head__title { text-align: left; }
.contact__info > p { margin-top: 16px; color: var(--grey-500); font-size: 16px; }
.contact__list { margin: 30px 0; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e2e6;
}
.contact__list li:last-child { border-bottom: none; }
.contact__list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--grey-500); }
.contact__list a, .contact__list span { color: var(--black); font-size: 16px; font-weight: 500; }
.contact__list a:hover { color: var(--red); }
.contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; min-height: 460px; }

/* ========== Footer ========== */
.footer { background: var(--black); color: #fff; padding-top: 70px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p { margin-top: 14px; color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #fff;
}
.footer__col a, .footer__col span {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ========== Floating WhatsApp ========== */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(31, 170, 89, 0.45);
  z-index: 60;
  transition: transform var(--transition);
  animation: pulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.08); background: var(--green-dark); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 170, 89, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(31, 170, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 170, 89, 0); }
}

/* ========== Reveal animation ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding: 80px 24px 90px; }
}

@media (max-width: 720px) {
  .topbar__inner { font-size: 12px; gap: 8px; }
  .topbar__sep { display: none; }
  .header .btn--wa { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav a::after { display: none; }

  .grid--services, .grid--products, .why__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; max-width: 320px; }
  .about__badge { right: 10px; bottom: -16px; padding: 14px 18px; }
  .about__badge strong { font-size: 32px; }
}

/* ========== Seller site ========== */
.seller-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ----- Seller pop-up ----- */
.spop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.spop.is-open { opacity: 1; }
.spop[hidden] { display: none; }
.spop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(2px);
}
.spop__card {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 30px 28px;
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
}
.spop.is-open .spop__card { transform: none; }
.spop__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--grey-500);
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.spop__close:hover { background: #fff; color: var(--red); }
.spop__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.spop__text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 24px;
}
.spop__ok {
  display: inline-block;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.3);
  transition: background var(--transition);
}
.spop__ok:hover { background: var(--red-dark); }

/* ========== Access gate ========== */
.locked .catalog,
.locked .products,
.locked .spop { display: none !important; }
body.locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--black);
}
.gate[hidden] { display: none; }
.gate__card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px 30px;
  text-align: center;
}
.gate__brand { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; }
.gate__mark { color: var(--red); }
.gate__title { font-family: var(--font-display); font-size: 26px; margin: 6px 0 18px; }
.gate__text { color: var(--grey-700); font-size: 15px; margin-bottom: 18px; }
.gate__input {
  width: 100%;
  text-align: center;
  font-size: 30px;
  letter-spacing: 12px;
  padding: 12px;
  border: 2px solid var(--grey-300);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.gate__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.gate__btn {
  display: inline-block;
  width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.3);
  transition: background var(--transition);
}
.gate__btn:hover { background: var(--red-dark); }
.gate__btn[disabled] { opacity: 0.55; cursor: default; box-shadow: none; }
.gate__link { display: inline-block; margin-top: 14px; color: var(--grey-500); font-size: 13px; text-decoration: underline; }
.gate__msg { margin-top: 16px; min-height: 20px; font-size: 14px; color: var(--red); }
.gate__msg.is-ok { color: var(--green-dark); }
