/* ============================================================
   Estehkam Pipe — Single Page
   ============================================================ */

@font-face {
  font-family: "Iranian Sans";
  src: url("../fonts/Iranian Sans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1a5fb4;
  --blue-deep: #0f3d7a;
  --blue-soft: #e8f1fb;
  --orange: #e05a1a;
  --orange-hot: #c44a12;
  --green: #2d9f6f;
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --muted: #6b7788;
  --line: #e4e9f0;
  --surface: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 61, 122, 0.1);
  --shadow-sm: 0 4px 18px rgba(15, 61, 122, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Iranian Sans", Tahoma, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange);
  background: rgba(224, 90, 26, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd2b8;
}

.section-title {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

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

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--orange {
  background: linear-gradient(135deg, var(--orange), #f07a3a);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(224, 90, 26, 0.28);
}

.btn--orange:hover {
  box-shadow: 0 12px 28px rgba(224, 90, 26, 0.38);
}

.btn--blue {
  background: linear-gradient(135deg, var(--blue), #3d7fd4);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 95, 180, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--full {
  width: 100%;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: right;
  transform: scaleX(0);
  z-index: 1000;
}

/* Header */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(15, 61, 122, 0.08);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 1rem;
  color: var(--blue-deep);
}

.logo__text small {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.header.is-scrolled .logo__text strong,
.header.is-scrolled .nav__link {
  color: var(--ink);
}

.header:not(.is-scrolled) .logo__text strong,
.header:not(.is-scrolled) .logo__text small,
.header:not(.is-scrolled) .nav__link {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.header:not(.is-scrolled) .logo__text small {
  color: rgba(255, 255, 255, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--orange) !important;
  text-shadow: none;
}

.header.is-scrolled .nav__link.active,
.header.is-scrolled .nav__link:hover {
  background: var(--blue-soft);
  color: var(--blue) !important;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__call {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.header.is-scrolled .menu-toggle {
  background: var(--blue-soft);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.header.is-scrolled .menu-toggle span {
  background: var(--blue-deep);
}

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

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

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

/* Hero / Slider */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.slider {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--blue-deep);
}

.slider__track {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.slide.is-active .slide__img {
  transform: scale(1);
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 35, 70, 0.88) 0%, rgba(10, 35, 70, 0.55) 48%, rgba(10, 35, 70, 0.25) 100%),
    linear-gradient(to top, rgba(8, 24, 48, 0.65), transparent 45%);
}

.slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  padding-inline: max(1.25rem, calc((100% - 1140px) / 2 + 1.25rem));
}

.slide__eyebrow {
  display: inline-block;
  width: fit-content;
  color: #ffc9a8;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 201, 168, 0.35);
  border-radius: 999px;
  background: rgba(224, 90, 26, 0.18);
}

.slide__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 14ch;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.slide__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slide.is-active .reveal-up {
  animation: riseIn 0.8s var(--ease) both;
}

.slide.is-active .reveal-up:nth-child(1) { animation-delay: 0.1s; }
.slide.is-active .reveal-up:nth-child(2) { animation-delay: 0.22s; }
.slide.is-active .reveal-up:nth-child(3) { animation-delay: 0.34s; }
.slide.is-active .reveal-up:nth-child(4) { animation-delay: 0.46s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider__btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.slider__btn--prev {
  left: 1.25rem;
}

.slider__btn--next {
  right: 1.25rem;
}

.slider__dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.25s ease;
}

.slider__dot.is-active {
  width: 28px;
  background: var(--orange);
}

.slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.slider__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #ffb347);
}

/* Stats */
.stats {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding-bottom: 1rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.stat {
  text-align: center;
  padding: 0.5rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line);
}

.stat__num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* About */
.about {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(26, 95, 180, 0.06), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(224, 90, 26, 0.05), transparent 45%),
    var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about__img-wrap:hover img {
  transform: scale(1.04);
}

.about__badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.about__badge strong {
  color: var(--orange);
  font-size: 1.15rem;
}

.about__badge span {
  font-size: 0.82rem;
  color: var(--muted);
}

.about__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about__content > p:not(.about__lead) {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.25s ease;
}

.feature-chip:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c, var(--blue)) 40%, var(--line));
}

.feature-chip__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c) 15%, white);
  color: var(--c);
}

/* Guarantee */
.guarantee {
  padding-top: 2rem;
  background: var(--surface);
}

.guarantee__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(125deg, var(--blue-deep) 0%, #1a5fb4 55%, #2468c0 100%);
  border-radius: 24px;
  padding: 2.75rem;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(15, 61, 122, 0.28);
  position: relative;
  overflow: hidden;
}

.guarantee__card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 90, 26, 0.35), transparent 70%);
  top: -80px;
  left: -60px;
  pointer-events: none;
}

.guarantee__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.guarantee__icon img {
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
}

.guarantee__body {
  position: relative;
  z-index: 1;
}

.guarantee__body p {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

/* Products */
.products {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent, var(--blue)) 35%, var(--line));
}

.product-card__visual {
  height: 150px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, white), color-mix(in srgb, var(--accent) 22%, #f0f4f8));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__visual img {
  transform: scale(1.08);
}

.product-card__icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card__icon {
  transform: scale(1.12) rotate(-4deg);
}

.product-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.product-card__body h3 {
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.product-card__body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.products__more {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
}

/* Gallery */
.gallery {
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10, 30, 55, 0.85), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(8px);
  opacity: 0.85;
  transition: transform 0.35s var(--ease), opacity 0.35s ease;
}

.gallery__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* Loyalty */
.loyalty {
  background: var(--surface);
  padding-top: 2rem;
}

.loyalty__card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.loyalty__content {
  padding: 2.75rem;
}

.loyalty__content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.loyalty__list {
  margin-bottom: 1.75rem;
}

.loyalty__list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.loyalty__list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(224, 90, 26, 0.18);
}

.loyalty__visual {
  position: relative;
  min-height: 320px;
}

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

.loyalty__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 40%, rgba(255, 255, 255, 0.15));
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact__cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s ease;
}

a.info-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c, var(--blue)) 40%, var(--line));
  box-shadow: var(--shadow);
}

.info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 14%, white);
  color: var(--c);
}

.info-card h3 {
  font-size: 0.95rem;
  color: var(--blue-deep);
  margin-bottom: 0.2rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact__form h3 {
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.contact__form input,
.contact__form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 95, 180, 0.12);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--green);
  background: rgba(45, 159, 111, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

/* Footer */
.footer {
  background: #0b1f3a;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  margin-top: 2rem;
}

.footer__wave {
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 50px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer__wave img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  filter: brightness(0) saturate(100%) invert(8%) sepia(28%) saturate(1800%) hue-rotate(188deg) brightness(95%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo--footer img {
  background: var(--white);
}

.logo--footer .logo__text strong {
  color: var(--white);
}

.logo--footer .logo__text small {
  color: rgba(255, 255, 255, 0.55);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 22rem;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  color: var(--white);
}

.footer__social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__col h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer__col a,
.footer__col p {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #ffb088;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.85rem;
}

.footer__credit a {
  color: #7eb6ff;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer__credit a:hover {
  color: #ffb088;
  border-bottom-color: #ffb088;
}

/* To top */
.to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 95, 180, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease), background 0.25s ease;
  z-index: 800;
}

.to-top img {
  filter: brightness(0) invert(1);
  width: 18px;
  height: 18px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--orange);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 20, 40, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .header__call {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease);
    z-index: 890;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    color: var(--ink) !important;
    text-shadow: none !important;
    padding: 0.85rem 1rem;
  }

  .nav__link.active,
  .nav__link:hover {
    background: var(--blue-soft);
    color: var(--blue) !important;
  }

  .about__grid,
  .loyalty__card,
  .contact__grid,
  .guarantee__card {
    grid-template-columns: 1fr;
  }

  .about__img-wrap img {
    height: 320px;
  }

  .guarantee__icon {
    margin-inline: auto;
  }

  .guarantee__body {
    text-align: center;
  }

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

  .stat:nth-child(2)::after {
    display: none;
  }

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

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

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .loyalty__visual {
    min-height: 240px;
    order: -1;
  }

  .slider__btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .section {
    padding: 3.75rem 0;
  }

  .slide__title {
    max-width: none;
  }

  .stats {
    margin-top: -2rem;
  }

  .stats__grid {
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .guarantee__card {
    padding: 1.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .slide__img {
    transform: none !important;
  }
}
