/* boof Defender — black/white + ~20% accent, 3D depth, bilingual */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;700;800&family=Manrope:wght@400;500;600;700&family=Vazirmatn:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --surface: #1a1a1d;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #E85D04;
  --accent-2: #0D7377;
  --shadow-deep: 0 28px 60px rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --font-display: "Syne", "Vazirmatn", sans-serif;
  --font-body: "Manrope", "Vazirmatn", sans-serif;
}

[dir="rtl"] {
  --font-display: "Vazirmatn", "Syne", sans-serif;
  --font-body: "Vazirmatn", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 93, 4, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(13, 115, 119, 0.08), transparent 50%),
    linear-gradient(180deg, #050506 0%, var(--bg) 40%, #0c0c0e 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem clamp(0.85rem, 4vw, 2.5rem);
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.brand-text {
  display: block;
  line-height: 1.25;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  font-weight: 600;
  max-width: min(58vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav a.is-active {
  color: var(--ink);
}

/* Home hero: brand logo middle-left (RTL) / middle-right (LTR), 3D spin */
.hero-logo-stage {
  position: absolute;
  top: 46%;
  z-index: 1;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

html[dir="rtl"] .hero-logo-stage {
  left: clamp(0.75rem, 5vw, 3.5rem);
  right: auto;
}

html[dir="ltr"] .hero-logo-stage {
  left: auto;
  right: clamp(0.75rem, 5vw, 3.5rem);
}

.hero-logo {
  display: block;
  width: min(240px, 34vw);
  aspect-ratio: 240 / 184;
  height: auto;
  /* Tint mark to site orange (--accent / #E85D04), same as .btn */
  background-color: var(--accent);
  -webkit-mask-image: var(--hero-logo-url);
  mask-image: var(--hero-logo-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 1;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.55));
  animation:
    logoSpinY 5.2s linear infinite,
    logoFloat 6.4s ease-in-out infinite;
}

@keyframes logoSpinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes logoFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (max-width: 720px) {
  .hero-logo-stage {
    top: 38%;
  }

  .hero-logo {
    width: min(160px, 40vw);
  }
}

.hero-company {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-compact {
  min-height: min(70vh, 560px);
}

.hero-split {
  min-height: min(88vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg-auditor {
  filter: none;
  background-size: cover;
  background-position: center;
  opacity: 0.92;
}

.hero-split::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.82) 0%, rgba(5, 5, 6, 0.55) 42%, rgba(5, 5, 6, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.25) 0%, rgba(5, 5, 6, 0.72) 100%);
}

.hero-split-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-split-inner {
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.2fr);
    column-gap: clamp(4rem, 16vw, 760px);
  }
}

@media (min-width: 1400px) {
  .hero-split-inner {
    width: min(1600px, 100%);
    column-gap: 760px;
  }
}

.hero-split .hero-copy {
  max-width: none;
  padding: 0;
  perspective: none;
}

.hero-split .hero-brand {
  transform: none;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.hero-slideshow .shot-frame {
  aspect-ratio: 16 / 10;
}

.hero-slideshow .slideshow-slide figcaption strong,
.hero-slideshow .slideshow-slide figcaption span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.backup-all-in-one {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.35rem 0 0;
  color: var(--accent);
}

.backup-feature-list {
  margin-top: 1.25rem;
}

.product-tile {
  background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--line);
  padding: 1.35rem;
  box-shadow: var(--shadow-deep);
}

.product-tile h3 {
  font-family: var(--font-display);
  margin: 1rem 0 0.5rem;
  font-size: 1.35rem;
}

.product-tile p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.product-tile .price {
  margin-bottom: 1rem;
}

.product-tile-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.shot-frame {
  border: 1px solid var(--line);
  background: #0d0d0f;
  box-shadow: var(--shadow-deep), 10px 10px 0 rgba(232, 93, 4, 0.16);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.shot-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: transparent;
}

.admin-feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .admin-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-shot {
  margin: 0;
}

.admin-shot figcaption {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.admin-shot figcaption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.admin-shot figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-shots .shot-frame {
  aspect-ratio: 16 / 10;
}

.slideshow {
  margin-top: 1.5rem;
}

.slideshow-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 2px;
}

.slideshow-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slideshow-slide {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.slideshow-slide figcaption {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
  min-height: 3.5rem;
  padding-inline: 0.15rem;
}

.slideshow-slide figcaption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.slideshow-slide figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
}

.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.slideshow-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slideshow-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slideshow-dots {
  display: flex;
  gap: 0.5rem;
}

.slideshow-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.slideshow-dots button.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.25);
}

html[dir="rtl"] .slideshow-track {
  /* keep LTR slide math; track still moves with negative translate */
  direction: ltr;
}

html[dir="rtl"] .slideshow-slide figcaption {
  direction: rtl;
  text-align: right;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.locale-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  overflow: hidden;
}

.locale-switch a {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.locale-switch a.active {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 50;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 5rem 1.25rem 1.5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.15rem;
    background: #111114;
    border-left: 1px solid var(--line);
    border-right: none;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav a {
    display: block;
    padding: 0.85rem 0.35rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav .locale-switch {
    margin-top: 1rem;
    align-self: flex-start;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 0, 0, 0.55);
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .brand-text {
    max-width: 48vw;
    font-size: 0.7rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232, 93, 4, 0.35);
  transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(232, 93, 4, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.35rem;
}

.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: -2;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.35) 0%, rgba(5, 5, 6, 0.72) 55%, rgba(5, 5, 6, 0.96) 100%),
    radial-gradient(circle at 70% 40%, rgba(232, 93, 4, 0.22), transparent 45%);
}

/* Home misty teal hero — deepen bottom/sides so FA/EN copy stays readable */
.hero-home::after {
  background:
    linear-gradient(180deg, rgba(4, 18, 22, 0.42) 0%, rgba(3, 10, 14, 0.78) 48%, rgba(2, 6, 10, 0.96) 100%),
    linear-gradient(90deg, rgba(2, 8, 12, 0.55) 0%, transparent 42%, rgba(2, 8, 12, 0.28) 100%),
    radial-gradient(circle at 78% 28%, rgba(13, 115, 119, 0.18), transparent 50%);
}

.hero-home .hero-company,
.hero-home .hero-inner > p {
  color: rgba(236, 244, 246, 0.92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-home h1 {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.hero-inner {
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  max-width: 760px;
  perspective: 1000px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  margin: 0 0 1rem;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  transform: rotateX(8deg);
  transform-origin: bottom;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: #fff;
  max-width: 18ch;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.glow-pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.35), transparent 70%);
  filter: blur(8px);
  animation: pulse 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.section .lead {
  color: var(--muted);
  max-width: 55ch;
  margin: 0 0 2rem;
}

.about-details {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .about-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

.about-block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  letter-spacing: -0.01em;
}

.about-block > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.about-block > p a.petrotech-link {
  color: #59A7D5;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-block > p a.petrotech-link:hover {
  color: #3E94C9;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list li {
  display: block;
  position: relative;
  padding-inline-start: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 1px;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .split.reverse .copy { order: 2; }
  .split.reverse .visual { order: 1; }
}

.visual-3d {
  position: relative;
  transform-style: preserve-3d;
  perspective: 900px;
}

.made-in-iran {
  margin: 0;
  max-width: 100%;
}

.made-in-iran img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
}

.made-in-iran figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--text);
}

.visual-3d img,
.panel-media {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep), 12px 12px 0 rgba(232, 93, 4, 0.18);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.45s ease;
}

.visual-3d:hover img,
.visual-3d:hover .panel-media {
  transform: rotateY(-1deg) rotateX(0deg) translateY(-4px);
}

.heritage-strip {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: end start;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.heritage-strip .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.85) contrast(1.05);
  transform: scale(1.08);
}

.heritage-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.35));
}

.heritage-strip .copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 540px;
}

.product-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-deep);
  transform: perspective(900px) rotateX(2deg);
}

.specs {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.specs strong {
  color: var(--ink);
  font-weight: 600;
}

.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem 1.2rem;
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  background: rgba(232, 93, 4, 0.06);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.closer {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.closer .parallax {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.7) brightness(0.75);
  will-change: transform;
}

.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.55), rgba(5, 5, 6, 0.88));
}

.closer .copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 640px;
}

.inquiry {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #0d0d0f;
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(232, 93, 4, 0.45);
  outline-offset: 1px;
}

.alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.alert.ok {
  border-color: rgba(13, 115, 119, 0.5);
  background: rgba(13, 115, 119, 0.12);
}

.alert.err {
  border-color: rgba(220, 38, 38, 0.5);
  background: rgba(220, 38, 38, 0.12);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.accent-dot {
  color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .slideshow-track {
    transition: transform 0.45s ease !important;
  }
  .hero-bg { transform: none; }
  .visual-3d img { transform: none; }
  .hero-logo {
    animation: none !important;
    transform: rotateY(-18deg);
  }
}
