:root {
  /* برای تغییر رنگ‌بندی سایت، فقط مقادیر این بخش را ویرایش کنید */
  --navy-950: #061729;
  --navy-900: #09233c;
  --navy-800: #0e3352;
  --navy-700: #164866;
  --green-600: #0f9d68;
  --green-500: #19b879;
  --green-400: #4cd49a;
  --green-100: #e6f8f0;
  --cream: #f6f8f5;
  --white: #ffffff;
  --ink: #132434;
  --muted: #687785;
  --line: #dfe8e4;
  --shadow: 0 24px 60px rgba(8, 35, 60, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.page-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--navy-950);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 42px;
}

.loader-mark span {
  width: 8px;
  border-radius: 10px;
  background: var(--green-500);
  animation: loader 0.8s ease-in-out infinite alternate;
}

.loader-mark span:nth-child(1) {
  height: 18px;
}

.loader-mark span:nth-child(2) {
  height: 34px;
  animation-delay: 0.18s;
}

.loader-mark span:nth-child(3) {
  height: 25px;
  animation-delay: 0.36s;
}

@keyframes loader {
  to {
    height: 42px;
    background: var(--white);
  }
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled,
.solid-header {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(8, 35, 60, 0.1);
  backdrop-filter: blur(16px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 25px;
}

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

.brand-mark {
  display: grid;
  flex: 0 0 49px;
  width: 49px;
  height: 49px;
  padding: 7px;
  place-items: center;
  color: var(--white);
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 10px 24px rgba(15, 157, 104, 0.28);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  line-height: 1.35;
  flex-direction: column;
}

.brand-copy strong {
  color: currentColor;
  font-size: 1.52rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 31px 0;
  font-size: 0.91rem;
  font-weight: 600;
  opacity: 0.76;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  width: 0;
  height: 3px;
  border-radius: 4px;
  background: var(--green-500);
  content: "";
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions,
.header-phone {
  display: flex;
  align-items: center;
}

.header-phone {
  gap: 10px;
}

.header-phone > span:last-child {
  display: flex;
  line-height: 1.45;
  flex-direction: column;
}

.header-phone small {
  font-size: 0.66rem;
  opacity: 0.65;
}

.header-phone b {
  font-size: 0.82rem;
}

.icon-circle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green-400);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.scrolled .icon-circle,
.solid-header .icon-circle {
  border-color: var(--line);
}

.icon-circle svg {
  width: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  background: var(--green-500);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  color: var(--white);
  background: var(--navy-950);
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 18, 32, 0.02) 15%, rgba(5, 25, 43, 0.88) 64%, #061729 100%),
    linear-gradient(0deg, rgba(5, 23, 41, 0.45), transparent 50%);
}

.hero-grid {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-copy {
  width: min(610px, 58%);
  margin-right: 0;
  animation: heroIn 1s 0.25s both ease-out;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  gap: 10px;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--green-500);
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(3rem, 5.2vw, 5.45rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.065em;
}

.hero h1 em {
  position: relative;
  display: block;
  color: var(--green-400);
  font-style: normal;
}

.hero h1 em::after {
  display: inline-block;
  width: 72px;
  height: 5px;
  margin-right: 18px;
  border-radius: 10px;
  background: var(--green-500);
  content: "";
  vertical-align: middle;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 1rem;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 18px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 12px 30px rgba(15, 157, 104, 0.28);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(15, 157, 104, 0.4);
}

.button-glass {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.button-light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(5, 25, 43, 0.16);
}

.hero-trust {
  display: flex;
  margin-top: 44px;
  gap: 0;
}

.hero-trust div {
  display: flex;
  min-width: 125px;
  padding: 0 22px;
  line-height: 1.4;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-trust div:first-child {
  padding-right: 0;
  border-right: 0;
}

.hero-trust strong {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-trust strong::after {
  color: var(--green-400);
  content: "+";
  font-size: 0.9rem;
}

.hero-trust div:last-child strong::after {
  content: "/۷";
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 37px;
  left: 50%;
  display: flex;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-50%);
}

.scroll-hint i {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.scroll-hint i::after {
  position: absolute;
  top: 7px;
  right: 50%;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--green-400);
  content: "";
  transform: translateX(50%);
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  70%,
  100% {
    opacity: 0;
    transform: translate(50%, 11px);
  }
}

.quick-features {
  position: relative;
  z-index: 4;
  margin-top: -22px;
}

.feature-strip {
  display: grid;
  padding: 26px 35px;
  border: 1px solid rgba(223, 232, 228, 0.8);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(3, 1fr);
}

.feature-strip article {
  display: flex;
  padding: 0 30px;
  align-items: center;
  gap: 15px;
  border-left: 1px solid var(--line);
}

.feature-strip article:first-child {
  padding-right: 0;
}

.feature-strip article:last-child {
  border-left: 0;
}

.feature-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--green-600);
  border-radius: 14px;
  background: var(--green-100);
}

.feature-icon svg {
  width: 24px;
}

.feature-strip article > div {
  display: flex;
  line-height: 1.5;
  flex-direction: column;
}

.feature-strip strong {
  font-size: 0.88rem;
}

.feature-strip small {
  color: var(--muted);
  font-size: 0.69rem;
}

.section {
  padding: 120px 0;
}

.solutions {
  background:
    radial-gradient(circle at 12% 20%, rgba(25, 184, 121, 0.07), transparent 23%),
    var(--cream);
}

.section-heading {
  display: flex;
  margin-bottom: 50px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.about-copy h2,
.contact-form-wrap h2 {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.solution-card {
  position: relative;
  min-height: 360px;
  padding: 34px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.solution-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(25, 184, 121, 0.07));
  content: "";
  transition: height 0.35s ease;
}

.solution-card:hover {
  border-color: rgba(25, 184, 121, 0.48);
  box-shadow: 0 24px 50px rgba(8, 35, 60, 0.11);
  transform: translateY(-9px);
}

.solution-card:hover::before {
  height: 65%;
}

.card-number {
  position: absolute;
  top: 26px;
  left: 25px;
  color: rgba(8, 35, 60, 0.08);
  font-size: 2rem;
  font-weight: 900;
}

.solution-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 27px;
  place-items: center;
  color: var(--green-600);
  border-radius: 23px;
  background: var(--green-100);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.solution-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.6;
}

.solution-card:hover .solution-icon {
  color: var(--white);
  background: var(--green-500);
  transform: rotate(-4deg) scale(1.05);
}

.solution-card h3 {
  position: relative;
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: 1.2rem;
  font-weight: 900;
}

.solution-card p {
  position: relative;
  min-height: 74px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.79rem;
}

.solution-card a {
  position: relative;
  display: inline-flex;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  align-items: center;
  gap: 8px;
}

.solution-card a span {
  transition: transform 0.2s ease;
}

.solution-card:hover a span {
  transform: translateX(-5px);
}

.card-badge {
  position: absolute;
  top: 36px;
  right: 120px;
  padding: 4px 9px;
  color: var(--white);
  border-radius: 20px;
  background: var(--green-500);
  font-size: 0.58rem;
  font-weight: 800;
}

.about {
  position: relative;
  overflow: hidden;
}

.about::after {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 390px;
  height: 390px;
  border: 90px solid rgba(25, 184, 121, 0.04);
  border-radius: 50%;
  content: "";
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: 1fr 1fr;
}

.about-visual {
  position: relative;
  min-height: 490px;
}

.about-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 84%;
  height: 440px;
  border-radius: 34px 8px 34px 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
}

.about-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(30deg, rgba(6, 23, 41, 0.45), transparent 60%);
  content: "";
}

.experience-card {
  position: absolute;
  z-index: 2;
  right: 58%;
  bottom: 4px;
  display: flex;
  width: 205px;
  height: 155px;
  padding: 25px;
  color: var(--white);
  border: 7px solid var(--white);
  border-radius: 8px 28px 8px 28px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(15, 157, 104, 0.25);
}

.experience-card strong {
  font-size: 2.9rem;
  line-height: 1;
}

.experience-card span {
  margin-top: 8px;
  font-size: 0.76rem;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(25, 184, 121, 0.18);
  border-radius: 50%;
}

.orbit-one {
  top: 60px;
  right: -40px;
  width: 430px;
  height: 430px;
}

.orbit-two {
  top: 115px;
  right: 15px;
  width: 320px;
  height: 320px;
}

.about-copy > p {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 0.91rem;
}

.check-list {
  display: grid;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
  gap: 13px;
  grid-template-columns: repeat(2, 1fr);
}

.check-list li {
  display: flex;
  color: var(--navy-800);
  font-size: 0.8rem;
  font-weight: 700;
  align-items: center;
  gap: 9px;
}

.check-list span {
  display: grid;
  width: 23px;
  height: 23px;
  color: var(--green-600);
  border-radius: 50%;
  background: var(--green-100);
  place-items: center;
  font-size: 0.7rem;
}

.text-link {
  display: inline-flex;
  color: var(--green-600);
  font-size: 0.83rem;
  font-weight: 900;
  align-items: center;
  gap: 10px;
}

.text-link span {
  font-size: 1.3rem;
}

.cta-section {
  padding: 20px 0 100px;
}

.cta-box {
  position: relative;
  display: flex;
  min-height: 210px;
  padding: 40px 55px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-pattern,
.contact-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 80%, var(--green-400) 0 2px, transparent 3px),
    linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, 0.1) 46%, transparent 47%);
  background-size: 28px 28px, 90px 90px;
}

.cta-box > div:not(.cta-pattern),
.cta-box > a {
  position: relative;
}

.cta-box span {
  color: var(--green-400);
  font-size: 0.8rem;
  font-weight: 800;
}

.cta-box h2 {
  margin: 7px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.5;
}

.site-footer {
  position: relative;
  padding: 78px 0 0;
  color: rgba(255, 255, 255, 0.63);
  background: var(--navy-950);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -220px;
  right: -100px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: rgba(25, 184, 121, 0.08);
  filter: blur(30px);
}

.footer-grid {
  position: relative;
  display: grid;
  padding-bottom: 55px;
  gap: 55px;
  grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
}

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

.footer-brand p {
  max-width: 340px;
  margin: 24px 0 0;
  font-size: 0.76rem;
}

.footer-grid h3 {
  margin: 10px 0 22px;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-grid > div > p {
  margin: 4px 0;
  font-size: 0.75rem;
}

.footer-links,
.footer-contact {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 9px;
  font-size: 0.75rem;
}

.footer-links a,
.footer-contact a {
  transition: color 0.2s ease, padding 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  padding-right: 5px;
  color: var(--green-400);
}

.socials {
  display: flex;
  margin-top: 20px;
  gap: 8px;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  transition: border 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  border-color: var(--green-500);
  background: var(--green-500);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
}

.floating-call {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 56px;
  height: 56px;
  color: var(--white);
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 10px 30px rgba(15, 157, 104, 0.42);
  place-items: center;
  animation: callPulse 2.5s infinite;
}

.floating-call svg {
  width: 23px;
}

@keyframes callPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(15, 157, 104, 0.4);
  }
  50% {
    box-shadow: 0 10px 30px rgba(15, 157, 104, 0.4), 0 0 0 12px rgba(25, 184, 121, 0.08);
  }
}

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

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

.solution-card:nth-child(2),
.contact-card:nth-child(2) {
  transition-delay: 0.08s;
}

.solution-card:nth-child(3),
.contact-card:nth-child(3) {
  transition-delay: 0.16s;
}

.solution-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* Contact page */
.contact-hero {
  position: relative;
  display: flex;
  min-height: 490px;
  padding-top: 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 45%, rgba(25, 184, 121, 0.22), transparent 25%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  align-items: center;
  overflow: hidden;
}

.contact-hero::after {
  position: absolute;
  top: 80px;
  left: 8%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.018);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.light-kicker {
  color: var(--green-400);
}

.contact-hero h1 {
  margin: 8px 0;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.contact-hero p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.breadcrumb {
  display: flex;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.52);
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
}

.breadcrumb b {
  color: var(--green-400);
}

.contact-section {
  padding: 0 0 110px;
  background: var(--cream);
}

.contact-cards {
  position: relative;
  z-index: 5;
  display: grid;
  margin-bottom: 90px;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(-55px);
}

.contact-card {
  position: relative;
  display: flex;
  min-height: 175px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  align-items: center;
  gap: 18px;
  box-shadow: 0 15px 40px rgba(8, 35, 60, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.contact-card:hover {
  border-color: var(--green-400);
  box-shadow: 0 22px 50px rgba(8, 35, 60, 0.12);
  transform: translateY(-7px);
}

.contact-card-icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: var(--green-600);
  border-radius: 17px;
  background: var(--green-100);
  place-items: center;
}

.contact-card-icon svg {
  width: 27px;
}

.contact-card > div {
  display: flex;
  flex-direction: column;
}

.contact-card small {
  color: var(--muted);
  font-size: 0.67rem;
}

.contact-card strong {
  margin: 3px 0;
  color: var(--navy-900);
  font-size: 0.94rem;
}

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

.contact-arrow {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--green-500);
  transition: transform 0.2s ease;
}

.contact-card:hover .contact-arrow {
  transform: translateX(-5px);
}

.contact-main-grid {
  display: grid;
  align-items: start;
  gap: 50px;
  grid-template-columns: 1.15fr 0.85fr;
}

.contact-form-wrap {
  padding: 45px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 35, 60, 0.08);
}

.contact-form-wrap h2 {
  font-size: 2rem;
}

.contact-form-wrap > p {
  margin: 9px 0 30px;
  color: var(--muted);
  font-size: 0.77rem;
}

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

.contact-form label {
  display: flex;
  gap: 7px;
  flex-direction: column;
}

.contact-form label > span {
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  outline: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  font-size: 0.75rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 49px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(25, 184, 121, 0.1);
}

.full-field {
  grid-column: 1 / -1;
}

.submit-button {
  justify-self: start;
}

.form-status {
  display: flex;
  min-height: 54px;
  color: var(--green-600);
  font-size: 0.72rem;
  align-items: center;
}

.map-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 35, 60, 0.08);
  overflow: hidden;
}

.fake-map {
  position: relative;
  height: 390px;
  background-color: #dfeae5;
  background-image:
    linear-gradient(31deg, transparent 45%, rgba(255, 255, 255, 0.8) 46% 51%, transparent 52%),
    linear-gradient(122deg, transparent 42%, rgba(255, 255, 255, 0.9) 43% 48%, transparent 49%),
    linear-gradient(70deg, transparent 65%, rgba(155, 202, 177, 0.55) 66% 73%, transparent 74%);
  background-size: 180px 160px, 250px 230px, 150px 170px;
}

.fake-map::before,
.fake-map::after {
  position: absolute;
  width: 110px;
  height: 65px;
  border: 2px solid rgba(8, 35, 60, 0.12);
  border-radius: 4px;
  content: "";
  transform: rotate(12deg);
}

.fake-map::before {
  top: 70px;
  right: 45px;
}

.fake-map::after {
  right: 190px;
  bottom: 45px;
}

.map-label {
  position: absolute;
  color: rgba(8, 35, 60, 0.4);
  font-size: 0.58rem;
  transform: rotate(-30deg);
}

.label-one {
  top: 84px;
  left: 65px;
}

.label-two {
  right: 70px;
  bottom: 80px;
}

.map-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  display: grid;
  width: 55px;
  height: 55px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 50% 6px;
  background: var(--green-500);
  place-items: center;
  transform: rotate(-45deg);
  box-shadow: 0 12px 25px rgba(8, 35, 60, 0.24);
}

.map-pin span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
}

.map-info {
  display: flex;
  padding: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.map-info > div {
  display: flex;
  flex-direction: column;
}

.map-info strong {
  color: var(--navy-900);
  font-size: 0.85rem;
}

.map-info > div span {
  color: var(--muted);
  font-size: 0.65rem;
}

.map-info a {
  color: var(--green-600);
  font-size: 0.71rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-bottom {
  padding: 0 0 90px;
  background: var(--cream);
}

.contact-bottom-inner {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 40px 55px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 50%, rgba(76, 212, 154, 0.22), transparent 22%),
    linear-gradient(120deg, var(--green-600), #08734d);
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.contact-bottom-inner::after {
  position: absolute;
  top: -120px;
  left: 12%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.04);
}

.contact-bottom-inner > * {
  position: relative;
  z-index: 2;
}

.contact-bottom-inner > div > span {
  font-size: 0.77rem;
  opacity: 0.78;
}

.contact-bottom-inner h2 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

@media (max-width: 1050px) {
  .header-phone {
    display: none;
  }

  .main-nav {
    gap: 24px;
  }

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

  .about-grid {
    gap: 55px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }

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

  .contact-card:last-child {
    grid-column: 1 / -1;
  }
}

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

  .header-shell {
    min-height: 76px;
  }

  .brand {
    min-width: auto;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .brand-copy small {
    display: block;
    font-size: 0.62rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    display: flex;
    width: 100%;
    height: 100vh;
    padding: 120px 35px 35px;
    color: var(--white);
    background: rgba(6, 23, 41, 0.98);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

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

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 750px;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 25% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #061729 12%, rgba(5, 25, 43, 0.9) 55%, rgba(5, 25, 43, 0.2) 100%),
      linear-gradient(90deg, rgba(5, 25, 43, 0.15), rgba(5, 25, 43, 0.45));
  }

  .hero-content {
    padding: 110px 0 90px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero h1 em::after {
    width: 42px;
  }

  .hero-copy > p {
    font-size: 0.86rem;
  }

  .hero-trust {
    margin-top: 34px;
  }

  .hero-trust div {
    min-width: auto;
    padding: 0 16px;
  }

  .hero-trust strong {
    font-size: 1.2rem;
  }

  .scroll-hint {
    display: none;
  }

  .quick-features {
    margin-top: -35px;
  }

  .feature-strip {
    padding: 10px 20px;
    grid-template-columns: 1fr;
  }

  .feature-strip article,
  .feature-strip article:first-child {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    margin-bottom: 35px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 2rem;
  }

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

  .about-visual {
    min-height: 400px;
  }

  .about-frame {
    width: 92%;
    height: 360px;
  }

  .experience-card {
    right: auto;
    bottom: 0;
    left: 0;
    width: 175px;
    height: 125px;
  }

  .experience-card strong {
    font-size: 2.25rem;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding-bottom: 75px;
  }

  .cta-box,
  .contact-bottom-inner {
    padding: 38px 28px;
    text-align: center;
    flex-direction: column;
    gap: 24px;
  }

  .footer-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 18px 0;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .contact-hero {
    min-height: 420px;
    padding-top: 76px;
  }

  .contact-cards {
    margin-bottom: 45px;
    grid-template-columns: 1fr;
    transform: translateY(-35px);
  }

  .contact-card:last-child {
    grid-column: auto;
  }

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

  .contact-form-wrap {
    padding: 30px 22px;
  }

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

  .full-field {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-trust {
    justify-content: space-between;
  }

  .hero-trust div {
    padding: 0 10px;
  }

  .hero-trust span {
    font-size: 0.59rem;
  }

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

  .solution-card {
    min-height: 330px;
  }

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

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-card-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Product catalogue and homepage slider */
.home-slider {
  position: relative;
  min-height: 780px;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
}

.slider-track,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

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

.slide .hero-image,
.slide .hero-overlay,
.slide .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide .hero-content {
  height: 100%;
  padding-top: 100px;
  display: flex;
  align-items: center;
}

.slide .hero-copy {
  animation: none;
}

.slide.is-active .hero-copy {
  animation: heroIn 0.8s 0.15s both ease-out;
}

.slide-overlay-green {
  background:
    linear-gradient(90deg, rgba(4, 18, 32, 0.08) 15%, rgba(6, 53, 50, 0.88) 64%, #061729 100%),
    linear-gradient(0deg, rgba(5, 23, 41, 0.45), transparent 50%);
}

.slide-overlay-light {
  background:
    linear-gradient(90deg, rgba(9, 35, 60, 0.04) 15%, rgba(24, 45, 51, 0.9) 64%, #061729 100%),
    linear-gradient(0deg, rgba(5, 23, 41, 0.45), transparent 50%);
}

.slider-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 36px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.slider-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  border-color: var(--green-400);
  background: var(--green-600);
  transform: translateY(-2px);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.slider-dots button.is-active {
  width: 28px;
  border-radius: 10px;
  background: var(--green-400);
}

.center-action {
  display: flex;
  margin-top: 38px;
  justify-content: center;
}

.product-showcase {
  background: var(--cream);
}

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

.product-grid-home {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(8, 35, 60, 0.06);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  border-color: rgba(25, 184, 121, 0.5);
  box-shadow: 0 23px 48px rgba(8, 35, 60, 0.13);
  transform: translateY(-7px);
}

.product-visual,
.detail-visual {
  position: relative;
  display: block;
  min-height: 200px;
  background: #dcebe5;
  overflow: hidden;
}

.product-visual::after,
.detail-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 23, 41, 0.03), rgba(6, 23, 41, 0.47));
  content: "";
}

.product-visual img,
.detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
  mix-blend-mode: multiply;
  opacity: 0.65;
}

.product-tone-mint { background: linear-gradient(135deg, #c4ecda, #398f77); }
.product-tone-aqua { background: linear-gradient(135deg, #c5eaf0, #387b98); }
.product-tone-sun { background: linear-gradient(135deg, #f4e5ba, #bc8641); }
.product-tone-violet { background: linear-gradient(135deg, #ddd2ec, #7660a0); }
.product-tone-blue { background: linear-gradient(135deg, #c9dcf0, #4875a5); }
.product-tone-coral { background: linear-gradient(135deg, #f4d4c7, #af644f); }

.product-visual-icon {
  position: absolute;
  z-index: 2;
  right: 50%;
  top: 50%;
  display: grid;
  width: 92px;
  height: 92px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  background: rgba(6, 23, 41, 0.24);
  box-shadow: 0 15px 30px rgba(6, 23, 41, 0.17);
  place-items: center;
  font-size: 3.3rem;
  transform: translate(50%, -50%) rotate(-6deg);
  backdrop-filter: blur(5px);
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  color: var(--white);
  border-radius: 20px;
  background: var(--green-600);
  font-size: 0.63rem;
  font-weight: 800;
}

.product-card-body {
  padding: 22px 21px 20px;
}

.product-category {
  color: var(--green-600);
  font-size: 0.66rem;
  font-weight: 800;
}

.product-card h3 {
  min-height: 57px;
  margin: 7px 0 8px;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.7;
}

.product-card h3 a:hover {
  color: var(--green-600);
}

.product-card p {
  min-height: 52px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.9;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card-footer strong {
  color: var(--navy-900);
  font-size: 0.76rem;
  white-space: nowrap;
}

.product-link {
  display: inline-flex;
  color: var(--green-600);
  font-size: 0.72rem;
  font-weight: 800;
  align-items: center;
  gap: 7px;
}

.product-link span {
  transition: transform 0.2s ease;
}

.product-link:hover span {
  transform: translateX(-5px);
}

.inner-hero {
  position: relative;
  display: flex;
  min-height: 440px;
  padding-top: 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 55%, rgba(25, 184, 121, 0.2), transparent 28%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  align-items: center;
  overflow: hidden;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  max-width: 820px;
  margin: 9px 0 4px;
  font-size: clamp(2.55rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.06em;
}

.inner-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.catalog-section,
.detail-section {
  padding: 70px 0 105px;
  background: var(--cream);
}

.catalog-toolbar {
  display: flex;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  align-items: center;
  gap: 15px;
  box-shadow: 0 14px 36px rgba(8, 35, 60, 0.06);
}

.catalog-search {
  display: flex;
  flex: 1 1 210px;
  height: 48px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  align-items: center;
  gap: 8px;
}

.catalog-search span {
  color: var(--green-600);
  font-size: 1.5rem;
  line-height: 1;
}

.catalog-search input {
  width: 100%;
  height: 100%;
  color: var(--ink);
  outline: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.catalog-filters button {
  padding: 9px 12px;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: 0.68rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.catalog-filters button:hover,
.catalog-filters button.is-active {
  color: var(--green-700, #08734d);
  background: var(--green-100);
}

#productSort {
  height: 48px;
  padding: 0 11px;
  color: var(--navy-800);
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  font-size: 0.7rem;
}

.catalog-meta {
  display: flex;
  margin: 30px 0 17px;
  color: var(--navy-800);
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
}

.catalog-note {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 400;
}

.empty-state {
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
}

.product-detail-card {
  display: grid;
  margin-bottom: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8, 35, 60, 0.08);
  grid-template-columns: 0.9fr 1.1fr;
}

.detail-visual {
  min-height: 530px;
}

.detail-visual img {
  min-height: 530px;
}

.detail-visual .product-visual-icon {
  width: 150px;
  height: 150px;
  font-size: 5.2rem;
}

.detail-copy {
  padding: 58px 58px 48px;
}

.detail-copy h2 {
  margin: 9px 0 12px;
  color: var(--navy-900);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.45;
}

.detail-copy p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 2.1;
}

.detail-copy .detail-lead {
  color: var(--navy-800);
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-price {
  margin: 27px 0 20px;
  color: var(--green-600);
  font-size: 1.3rem;
  font-weight: 900;
}

.spec-list {
  display: grid;
  margin-bottom: 30px;
  gap: 10px 18px;
  grid-template-columns: repeat(2, 1fr);
}

.spec-list span {
  color: var(--navy-800);
  font-size: 0.74rem;
  font-weight: 700;
}

.spec-list span::first-letter {
  color: var(--green-600);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-soft {
  color: var(--navy-800);
  background: var(--green-100);
}

.related-products .section-heading {
  margin-bottom: 30px;
}

@media (max-width: 1050px) {
  .product-grid-home { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { align-items: stretch; flex-wrap: wrap; }
  .catalog-search { flex-basis: 100%; }
  .catalog-filters { flex: 1; justify-content: flex-start; }
  .product-detail-card { grid-template-columns: 1fr; }
  .detail-visual, .detail-visual img { min-height: 390px; }
}

@media (max-width: 780px) {
  .home-slider { min-height: 750px; }
  .slide .hero-content { padding: 110px 0 90px; align-items: flex-end; }
  .slider-controls { bottom: 23px; justify-content: center; }
  .inner-hero { min-height: 390px; padding-top: 76px; }
  .inner-hero h1 { font-size: 2.45rem; }
  .catalog-section, .detail-section { padding: 52px 0 75px; }
  .catalog-filters { display: grid; grid-template-columns: repeat(2, 1fr); }
  .catalog-filters button { text-align: center; }
  #productSort { width: 100%; }
  .product-grid, .product-grid-home { grid-template-columns: 1fr; }
  .product-card h3 { min-height: auto; }
  .product-card p { min-height: auto; }
  .product-detail-card { margin-bottom: 65px; }
  .detail-visual, .detail-visual img { min-height: 300px; }
  .detail-copy { padding: 34px 24px 30px; }
  .detail-copy h2 { font-size: 1.8rem; }
  .spec-list { grid-template-columns: 1fr; }
}

/* Product management panel */
.admin-hero {
  min-height: 410px;
}

.admin-section,
.admin-list-section {
  padding: 70px 0;
  background: var(--cream);
}

.admin-list-section {
  padding-top: 0;
}

.admin-layout {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.admin-form-card,
.admin-side-card {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 35, 60, 0.07);
}

.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.admin-card-heading h2,
.admin-side-card h2 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.45;
}

.admin-local-badge {
  padding: 6px 10px;
  color: var(--green-700, #08734d);
  border-radius: 20px;
  background: var(--green-100);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-helper {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-form {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(2, 1fr);
}

.admin-form label {
  display: flex;
  gap: 7px;
  flex-direction: column;
}

.admin-form label > span {
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  font-size: 0.76rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form input,
.admin-form select {
  height: 47px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(25, 184, 121, 0.1);
}

.admin-full-field {
  grid-column: 1 / -1;
}

.admin-file-label input {
  padding: 10px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-form-actions .button {
  min-height: 48px;
}

.admin-side-card {
  position: sticky;
  top: 110px;
}

.admin-steps {
  display: grid;
  padding: 0;
  margin: 25px 0;
  list-style: none;
  gap: 17px;
  counter-reset: admin-step;
}

.admin-steps li {
  position: relative;
  padding-right: 42px;
  counter-increment: admin-step;
}

.admin-steps li::before {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  border-radius: 50%;
  background: var(--green-500);
  content: counter(admin-step);
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.admin-steps b,
.admin-steps span {
  display: block;
}

.admin-steps b {
  color: var(--navy-900);
  font-size: 0.8rem;
}

.admin-steps span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.8;
}

.reset-products-button {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 11px 14px;
  cursor: pointer;
  color: #a33c3c;
  border: 1px solid rgba(163, 60, 60, 0.2);
  border-radius: 10px;
  background: rgba(163, 60, 60, 0.05);
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(25, 184, 121, 0.14), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  padding: 30px 20px;
  place-items: center;
}

.admin-login-card {
  width: min(100%, 440px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.admin-login-brand {
  margin-bottom: 40px;
  color: var(--navy-900);
}

.admin-login-card h1 {
  margin: 9px 0 10px;
  color: var(--navy-900);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.5;
}

.admin-login-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-login-form {
  display: grid;
  gap: 17px;
}

.admin-login-form label {
  display: flex;
  gap: 7px;
  flex-direction: column;
}

.admin-login-form label span {
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-login-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfb;
  font-size: 0.82rem;
}

.admin-login-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(25, 184, 121, 0.1);
}

.admin-login-form .button {
  width: 100%;
  margin-top: 5px;
}

.admin-login-error {
  margin-bottom: 18px;
  padding: 11px 13px;
  color: #a33c3c;
  border: 1px solid rgba(163, 60, 60, 0.18);
  border-radius: 10px;
  background: rgba(163, 60, 60, 0.06);
  font-size: 0.72rem;
}

.admin-back-link {
  display: block;
  margin-top: 22px;
  color: var(--green-600);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-logout-link {
  padding: 8px 10px;
  color: var(--green-600);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.66rem;
  font-weight: 800;
}

.catalog-admin-link {
  display: flex;
  margin: -2px 0 18px;
  color: var(--muted);
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
}

.catalog-admin-link a {
  display: inline-flex;
  color: var(--green-600);
  font-weight: 800;
  align-items: center;
  gap: 7px;
}

.admin-product-list {
  display: grid;
  gap: 10px;
}

.admin-product-row {
  display: flex;
  min-height: 78px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  align-items: center;
  gap: 13px;
}

.admin-product-thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.admin-product-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.admin-product-info strong {
  color: var(--navy-900);
  font-size: 0.8rem;
}

.admin-product-info small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
}

.admin-product-actions {
  display: flex;
  gap: 7px;
}

.admin-product-actions button {
  padding: 8px 10px;
  cursor: pointer;
  color: var(--green-700, #08734d);
  border: 1px solid rgba(25, 184, 121, 0.25);
  border-radius: 8px;
  background: var(--green-100);
  font-size: 0.65rem;
  font-weight: 800;
}

.admin-product-actions .danger-action {
  color: #a33c3c;
  border-color: rgba(163, 60, 60, 0.2);
  background: rgba(163, 60, 60, 0.05);
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-side-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-full-field {
    grid-column: auto;
  }

  .admin-form-card,
  .admin-side-card {
    padding: 25px 20px;
  }

  .admin-card-heading {
    flex-direction: column;
  }

  .catalog-admin-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .admin-product-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-product-info {
    flex-basis: calc(100% - 70px);
  }

  .admin-product-actions {
    width: 100%;
    padding-right: 67px;
  }

  .admin-login-card {
    padding: 30px 22px;
  }
}
