/* ============================================================
   Self-hosted Vazirmatn (fonts/ directory) — no Google dependency
   for Persian text. font-display: swap = text is always visible
   immediately in the fallback font, upgrading when loaded.
   ============================================================ */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter — the Latin brand mark (logo/footer), self-hosted (Bold only)
   so the "PADASHIAN" wordmark matches shop.padashian.com exactly. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Padashian Tech — styles.css
   ------------------------------------------------------------
   Single stylesheet, organized top-to-bottom:
     1. Design tokens (CSS custom properties)
     2. Reset & base
     3. Layout primitives (.container, .section)
     4. Components (header, buttons, eyebrow, footer)
     5. Home page sections (hero, about, services)
     6. Reveal animation
     7. Responsive adjustments
   All colors/spacing/type come from the tokens in :root — never
   hardcode a raw value in a rule further down; add a token first.
   ============================================================ */

/* 1. DESIGN TOKENS ------------------------------------------- */
:root {
  /* Color — navy-tinted dark scale shared by hero + footer */
  --graphite-950: #05070d;
  --graphite-900: #0b1220;
  --graphite-800: #16233a;
  --graphite-700: #22344f;
  --titanium-500: #8a8f98;
  --titanium-300: #c7c9ce;
  --titanium-200: #e4e4e7;
  --titanium-100: #f0f0f1;
  --signal-white: #fafafa;
  --pure-white: #ffffff;
  --ion-600: #2952c8;
  --ion-500: #3b6ef6;
  --solar-500: #f5a623; /* renewable-energy contexts only; use sparingly */

  /* Type — Vazirmatn carries all Persian text (body + headings);
     Inter is the Latin brand mark (logo/footer), matching shop.padashian.com. */
  --font-display: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, -apple-system, sans-serif;
  --font-latin: "Inter", "Vazirmatn", sans-serif;

  /* Fluid type scale */
  --text-display-xl: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --text-display-md: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-body-sm: 0.875rem;

  /* Spacing & layout */
  --section-y: clamp(3rem, 8vw, 6rem);
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --content-max: 1280px;
  --header-height: 4.25rem; /* برابر با هدر فروشگاه */

  /* Radius */
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base: 300ms;
  --duration-slow: 600ms;

  /* Semantic tokens — light theme (default). Components below use ONLY
     these for theme-dependent colors, so dark mode is just a re-mapping.
     The hero/page-hero/statement bands stay dark in both themes (brand). */
  --bg: var(--signal-white);
  --bg-soft: var(--titanium-100);
  --surface: var(--pure-white);
  --border: var(--titanium-200);
  --text: var(--graphite-950);
  --text-soft: var(--graphite-800);
  --text-muted: var(--titanium-500);
  --header-bg: rgba(250, 250, 250, 0.85);
}

/* Dark theme — enabled by data-theme="dark" on <html> (set by js/main.js,
   persisted in localStorage + a .padashian.com cookie shared with the shop). */
:root[data-theme="dark"] {
  --bg: var(--graphite-950);
  --bg-soft: var(--graphite-900);
  --surface: var(--graphite-900);
  --border: var(--graphite-800);
  --text: var(--signal-white);
  --text-soft: var(--titanium-300);
  --text-muted: var(--titanium-500);
  --header-bg: rgba(5, 7, 13, 0.82);
}

/* 2. RESET & BASE -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: 1.8; /* Persian script needs more vertical room than Latin */
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3; /* Persian ascenders/descenders clip at Latin-tight line heights */
  letter-spacing: 0; /* negative tracking breaks Persian letter connections */
}

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

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

/* Visible, deliberate focus states — WCAG requirement, and the right
   signal for an industrial/government audience. */
:focus-visible {
  outline: 2px solid var(--ion-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--ion-500);
  color: var(--pure-white);
}

/* Skip link for keyboard users — visually hidden until focused. */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--graphite-950);
  color: var(--signal-white);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 1rem;
}

/* 3. LAYOUT PRIMITIVES ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

/* Pages without a full-bleed hero need their content pushed below the
   fixed header. This handles it automatically for every future page:
   main gets the offset by default, and removes it when a .hero is
   present (the hero fills the space itself). Browsers too old for
   :has() would show a small harmless gap above the home hero. */
main {
  padding-top: var(--header-height);
}

main:has(.hero) {
  padding-top: 0;
}

.section--muted {
  background: var(--bg-soft);
}

/* 4. COMPONENTS ------------------------------------------------ */

/* Header — fixed; transparent over the hero, solid after scroll.
   JS toggles .is-solid (see js/main.js). */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

/* Three-part layout, same as the shop header: logo pinned to the LEFT edge,
   menu dead-center, account/cart actions on the RIGHT edge. Explicit column
   numbers (3/2/1) keep that left/right assignment in RTL, and grid-row: 1
   keeps all three on one line despite the reversed DOM/column order. */
.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.site-header__logo { grid-row: 1; grid-column: 3; justify-self: end; }
.site-nav          { grid-row: 1; grid-column: 2; justify-self: center; }
.header-actions    { grid-row: 1; grid-column: 1; justify-self: start; }

.site-header__logo {
  font-family: var(--font-latin);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem; /* برابر با main-nav فروشگاه */
}

.site-nav a {
  font-size: 0.95rem; /* برابر با nav-link فروشگاه */
  color: rgba(250, 250, 250, 0.85);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-nav a:hover {
  color: var(--signal-white);
}

/* Header actions — cart/account pills + favorites/search icons. These all
   deep-link into shop.padashian.com, which owns accounts, cart, favorites
   and product search; the main site has no session of its own. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.4rem;
  padding-inline: 0.9rem;
  border: 1px solid rgba(250, 250, 250, 0.5);
  border-radius: 999px;
  color: var(--signal-white);
  font-size: var(--text-body-sm);
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

.header-btn:hover {
  background: rgba(250, 250, 250, 0.12);
}

.header-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.header-btn--cart {
  background: var(--ion-500);
  border-color: var(--ion-500);
}

.header-btn--cart:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--signal-white);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out-expo);
}

.icon-btn:hover {
  background: rgba(250, 250, 250, 0.12);
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Cart — icon-only round button with a blue ring + count badge on top.
   The count comes from the shop's cart API when reachable (js/main.js);
   the badge stays hidden until a real count is known. */
.cart-btn {
  position: relative;
  border: 1px solid var(--ion-500);
}

.cart-btn:hover {
  background: rgba(59, 110, 246, 0.15);
}

.site-header.is-solid .cart-btn {
  color: var(--ion-500);
  border-color: var(--ion-500);
}

.cart-badge {
  position: absolute;
  top: -0.4rem;
  inset-inline-start: -0.4rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ion-500);
  color: var(--signal-white);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
}

.cart-badge[hidden] {
  display: none;
}


.site-header.is-solid .header-btn {
  color: var(--text);
  border-color: var(--border);
}

.site-header.is-solid .header-btn:hover {
  background: var(--bg-soft);
}

.site-header.is-solid .header-btn--cart {
  color: var(--signal-white);
  background: var(--ion-500);
  border-color: var(--ion-500);
}

.site-header.is-solid .header-btn--cart:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.site-header.is-solid .icon-btn {
  color: var(--text);
}

.site-header.is-solid .icon-btn:hover {
  background: var(--bg-soft);
}

/* Search panel — slides open under the header bar. It submits to the shop's
   product search, which owns the search engine and product database. */
.search-panel {
  max-height: 0;
  overflow: hidden;
  /* No background/border while closed — a painted background under the
     transparent border showed up as a 1px white line below the header. */
  background: transparent;
  transition: max-height var(--duration-base) var(--ease-out-expo);
}

.search-panel.is-open {
  max-height: 6rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.search-panel form {
  display: flex;
  gap: 0.6rem;
  padding-block: 0.9rem;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  padding-inline: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
}

.search-panel input:focus {
  outline: none;
  border-color: var(--ion-500);
}

.search-panel .btn {
  height: 2.75rem;
  padding-inline: 1.5rem;
}

.site-header.is-solid {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-solid .site-header__logo {
  color: var(--text);
}

.site-header.is-solid .site-nav a {
  color: var(--text-muted); /* خاکستری ملایم — مثل nav-link فروشگاه */
}
.site-header.is-solid .site-nav a:hover { color: var(--text); }

.site-header.is-solid .site-nav a:hover {
  color: var(--ion-500);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--signal-white);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.site-header.is-solid .nav-toggle {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo);
}

.btn--pill {
  border-radius: 999px;
}

.btn--lg {
  height: 3.5rem;
  padding-inline: 2rem;
  font-size: var(--text-body-lg);
}

.btn--primary {
  background: var(--ion-500);
  color: var(--signal-white);
  border: 1px solid var(--ion-500);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--primary:hover {
  background: var(--ion-600);
  border-color: var(--ion-600);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  height: 3rem;
  padding-inline: 1.75rem;
}

.btn--outline:hover {
  border-color: var(--text);
}

.btn--outline-light {
  border: 1px solid rgba(250, 250, 250, 0.4);
  color: var(--signal-white);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: var(--signal-white);
  background: rgba(250, 250, 250, 0.1);
}

/* CTA شیشه‌ای روی هیرو — عیناً مثل دکمهٔ «مشاوره خرید» فروشگاه */
.btn--glass {
  background: rgba(250, 250, 250, 0.08);
  color: var(--signal-white);
  border: 1px solid rgba(250, 250, 250, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(250, 250, 250, 0.18);
  border-color: var(--signal-white);
}

/* Eyebrow — small uppercase label above section headings */
.eyebrow {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--text-muted);
}

/* Latin-only styling (applies if an English page reuses .eyebrow later) */
.eyebrow:lang(en) {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Text link with arrow (Learn More / View All Services) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ion-500);
  transition: color var(--duration-base) var(--ease-out-expo);
}

.text-link:hover {
  color: var(--ion-600);
}

.text-link svg {
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* In RTL the arrow icon must point left and travel left on hover */
[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .text-link:hover svg {
  transform: scaleX(-1) translateX(3px);
}

/* Footer — light, four-column grid; mirrors shop.padashian.com's footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.site-footer .container {
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-contact {
  display: block;
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  padding: 0.25rem 0;
  transition: color var(--duration-base) var(--ease-out-expo);
}

.footer-col a:hover,
a.footer-contact:hover {
  color: var(--text);
}

/* Brand column — keep the Latin wordmark pinned to the right edge in RTL */
.footer-brand {
  text-align: right;
}

.site-footer__brand {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  direction: ltr;
}

.footer-tagline {
  margin-top: 0.6rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.footer-about {
  margin-top: 0.75rem;
  max-width: 22rem;
  font-size: var(--text-body-sm);
  line-height: 2;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Dark/light theme toggle — round outline button, same as the shop's */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-out-expo);
}

.theme-toggle:hover {
  border-color: var(--text);
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* Show the icon of the theme a click takes you TO */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 0.9fr;
  }
}

/* 5. HOME PAGE SECTIONS ---------------------------------------- */

/* Hero — compact band like the shop hero (earth photo, centered stack),
   sits flush behind the fixed transparent header */
.hero {
  position: relative;
  min-height: min(58vh, 560px); /* دقیقاً مثل هیرو فروشگاه */
  padding-top: var(--header-height); /* clear the fixed transparent header */
  display: flex;
  align-items: center; /* محتوا وسط‌چین — مثل فروشگاه */
  justify-content: center;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--graphite-950), var(--graphite-900) 55%, var(--graphite-800));
}

/* The hero photo (real Earth image, webp + jpg fallback). Anchored to the
   bottom so the planet's glowing horizon stays in frame at every aspect
   ratio; .hero__sky behind it acts as a fallback if the image fails. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* دقیقاً مثل فروشگاه: بخش پایینِ عکس (سیاره) دیده شود و تیتر وسط‌چین بنشیند */
  object-position: center 78%;
}

/* Subtle dark scrim at the very top so the transparent header's white
   logo/nav stay readable over the photo's brighter star regions. */
/* پوشش تیرهٔ روی کل عکس — عیناً مثل هیرو فروشگاه (has-image::before) */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 46%, rgba(5, 7, 13, 0.42) 0%, transparent 100%),
    linear-gradient(to top, rgba(5, 7, 13, 0.8) 0%, rgba(5, 7, 13, 0.22) 55%, rgba(5, 7, 13, 0.45) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding-block: 3.5rem;
  max-width: 46rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 22px rgba(5, 7, 13, 0.75);
}

/* Company tagline right under the title, like the shop's hero subtitle */
.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--titanium-200);
  margin: 0 0 1rem;
  text-shadow: 0 1px 14px rgba(5, 7, 13, 0.8);
}

/* دو دکمهٔ کنار هم — عیناً مثل هیرو فروشگاه */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
/* اندازهٔ دقیق دکمه‌ها برابر با btn-lg فروشگاه (0.95rem × 2.8rem) */
.hero__actions .btn {
  height: auto;
  padding: 0.95rem 2.8rem;
  font-size: 1.05rem;
}

/* About preview */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* Graceful placeholder until images/home/solar-panels.jpg is added */
  background: linear-gradient(135deg, var(--titanium-100), var(--titanium-200));
}

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

.about-copy h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.about-copy p {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--text-muted);
}

.about-copy .text-link {
  margin-top: 1.5rem;
}

/* Page hero — inner pages' compact dark banner. Reuses the earth photo
   (already cached from the home page, so no extra download) under a dark
   overlay. Deliberately NOT .hero: the fixed header stays solid on inner
   pages, and main's default top padding applies. */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* بالای عکس (آسمان پرستاره) دیده شود تا تیتر در تاریکی بنشیند و
     قوسِ درخشان زمین پایینِ کادر بماند (مطابق طرح مرجع) */
  object-position: center 78%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.55), rgba(5, 7, 13, 0.75));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.page-hero__content h1 {
  font-size: var(--text-display-md);
}

.page-hero__content p {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 34rem;
  color: var(--titanium-300);
}

/* Service panels (services page) — larger sibling of .contact-card */
.service-panels {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.service-panel {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.service-panel:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.service-panel svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ion-500);
}

.service-panel h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.service-panel p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* "Read more" row inside the (now clickable) service panels */
.service-panel__more {
  margin-top: 1.25rem;
  font-size: var(--text-body-sm);
}

/* Coming soon (projects page) */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(2rem, 8vw, 5rem);
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.coming-soon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ion-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(59, 110, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 110, 246, 0); }
}

.coming-soon__title {
  margin-top: 1.75rem;
  font-size: var(--text-display-xl);
}

.coming-soon__text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--text-muted);
}

.coming-soon__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* About story */
.about-story {
  max-width: 44rem;
  margin-inline: auto;
}

.about-copy p.about-story__lead,
.about-story__lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--text);
  max-width: none;
}

.about-story p + p {
  margin-top: 1.5rem;
  color: var(--text-muted);
}

/* Values cards inherit .contact-card; just neutralize link-hover cursor */
.values-grid .contact-card {
  cursor: default;
}

/* Belief statement band (dark, closing moment of the About page) */
.statement-band {
  background: var(--graphite-950);
  color: var(--signal-white);
  text-align: center;
}

.statement-band .container {
  padding-block: clamp(4rem, 10vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statement-band__text {
  max-width: 38rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display-md);
  line-height: 1.5;
}

.statement-band__slogan {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
  color: var(--titanium-300);
}

.statement-band__cta {
  margin-top: 2.5rem;
}

/* Portrait variant of the about media frame (founder photo) */
.about-media--portrait {
  aspect-ratio: 4 / 5;
  max-width: 26rem;
}

/* Founder signature line under the story text */
.founder-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.founder-note__name {
  font-weight: 700;
  color: var(--text);
}

.founder-note__role {
  margin-top: 0.2rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Team grid (Apple-leadership style: photo, name, role) */
.team-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 17rem;
  text-align: center;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

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

.team-card h3 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.team-card p {
  margin-top: 0.25rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* 1. Breathing room between the values heading and the cards */
.values-grid {
  margin-top: 3.5rem;
}

/* Light variant of the statement band: same form, page background */
.statement-band--light {
  background: var(--bg);
  color: var(--text);
}

.statement-band--light .statement-band__slogan {
  color: var(--text-muted);
}

/* Contact cards */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.contact-card:hover {
  border-color: var(--ion-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 7, 13, 0.08);
}

.contact-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.contact-card h2 {
  margin-top: 1.25rem;
  font-size: var(--text-body-lg);
}

.contact-card p {
  margin-top: 0.5rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.contact-card__value {
  margin-top: 1.25rem;
  font-family: var(--font-latin);
  font-weight: 500;
  color: var(--ion-500);
}

/* Services preview */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-header h2 {
  margin-top: 0.75rem;
  font-size: var(--text-display-md);
}

.services-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--ion-500);
}

.service-card h3 {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 500;
  letter-spacing: 0;
}

.service-card p {
  margin-top: 0.5rem;
  max-width: 240px;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.services-footer {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* Shop teaser (home) — category cards that link into shop.padashian.com,
   styled after the shop's own category cards (light card, pill arrow). */
.shop-teaser__lead {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--text-muted);
}

.shop-cat-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.shop-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  transition:
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

.shop-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--ion-500);
  box-shadow: 0 16px 44px rgba(5, 7, 13, 0.1);
}

.shop-cat-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 700;
  letter-spacing: 0;
}

.shop-cat-card p {
  margin-top: 0.35rem;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.shop-cat-arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  transition:
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo);
}

.shop-cat-card:hover .shop-cat-arrow {
  background: var(--ion-500);
  border-color: var(--ion-500);
  color: var(--signal-white);
}

.shop-teaser__cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* 6. REVEAL ANIMATION ------------------------------------------ */
/* Elements with [data-reveal] start slightly lowered and transparent;
   js/main.js adds .is-revealed when they enter the viewport. If JS is
   disabled, the `no-js` class on <html> (removed by JS) keeps
   everything fully visible — content never depends on JS to appear. */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

html:not(.no-js) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 7. RESPONSIVE ADJUSTMENTS ------------------------------------ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Four category cards → 2×2, matching the shop's category grid */
  .shop-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

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

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

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

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

@media (min-width: 640px) and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Wide-but-tight screens (tablet landscape / small laptop): keep the full
   menu but shrink it, and collapse the pill labels to icons so the
   three-part header never overflows. */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.85rem;
  }

  .header-btn__text {
    display: none;
  }

  .header-btn {
    width: 2.4rem;
    padding-inline: 0;
    justify-content: center;
  }

  .header-actions {
    gap: 0.35rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-btn__text {
    display: none;
  }

  .header-btn {
    width: 2.4rem;
    padding-inline: 0;
    justify-content: center;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .hero {
    min-height: min(48vh, 460px);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo),
      visibility 0s linear var(--duration-base);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      transform var(--duration-base) var(--ease-out-expo);
  }

  .site-nav a {
    padding: 1rem var(--gutter);
    color: var(--text);
    border-top: 1px solid var(--border);
  }

  /* When the mobile menu is open the header must be solid regardless of
     scroll position, or white nav text would sit on a white panel. JS
     adds .is-solid whenever the menu opens. */
}

/* Reduced motion: kill transitions/animations and the smooth scroll.
   The reveal elements simply appear in place. */
@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;
  }
}


/* نماد اعتماد الکترونیکی — هماهنگ با فروشگاه */
.enamad-box {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
}
.enamad-box img { display: block; max-width: 7rem; height: auto; }

/* محتوای صفحه‌های ساخته‌شده با صفحه‌ساز پنل */
.page-content {
  max-width: 46rem;
  line-height: 2.1;
  color: var(--text-soft, inherit);
}
.page-content h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.4rem;
}
.page-content h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1.1rem;
}
.page-content p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}
.page-content ul {
  margin: 0.25rem 1.25rem 1rem;
  color: var(--text-muted);
}
.page-content li {
  margin-bottom: 0.4rem;
}

/* ═══ محتوای ویرایشگر بصری در صفحه‌های عمومی ═══ */
.page-content figure.paded-img { margin: 1.25rem auto; }
.page-content figure.paded-img img { max-width: 100%; height: auto; display: block; border-radius: 12px; }
.page-content figure.paded-img figcaption { font-size: 0.8rem; color: var(--text-muted); text-align: center; padding-top: 0.4rem; }
.page-content .paded-img.align-center { margin-inline: auto; }
.page-content .paded-img.align-right { float: right; margin: 0.3rem 0 1rem 1.25rem; }
.page-content .paded-img.align-left { float: left; margin: 0.3rem 1.25rem 1rem 0; }
.page-content .paded-video { position: relative; padding-top: 56.25%; margin: 1.25rem 0; }
.page-content .paded-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.page-content .paded-table { border-collapse: collapse; width: 100%; margin: 1.25rem 0; }
.page-content .paded-table th, .page-content .paded-table td { border: 1px solid var(--border); padding: 0.55rem 0.9rem; }
.page-content .paded-table th { background: var(--bg-soft); }
.page-content .paded-download {
  display: inline-block; padding: 0.6rem 1.5rem; border-radius: 999px;
  background: var(--ion-500); color: #fff !important; text-decoration: none;
}
.page-content blockquote {
  border-inline-start: 3px solid var(--ion-500); margin: 1rem 0;
  padding: 0.5rem 1.1rem; background: var(--bg-soft); border-radius: 8px;
}
.page-content pre {
  direction: ltr; text-align: left; background: #10131a; color: #e4e4e7;
  padding: 0.9rem 1.1rem; border-radius: 10px; overflow-x: auto; font-size: 0.82rem;
}
.page-content::after { content: ''; display: block; clear: both; }

/* ═══ مقاله‌ها ═══ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: var(--surface, #fff);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(5,7,13,.2); }
.article-card__media { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-card__body h2 { font-size: 1.05rem; margin: 0; }
.article-card__excerpt { font-size: 0.87rem; color: var(--text-muted); margin: 0; }
.article-card__date { font-size: 0.78rem; color: var(--text-muted); margin-top: auto; direction: ltr; text-align: right; }

.article-cover { margin: 0 0 1.25rem; }
.article-cover img { width: 100%; max-height: 24rem; object-fit: cover; border-radius: 14px; }
.article-date { font-size: 0.82rem; color: var(--text-muted); direction: ltr; text-align: right; }
.article-body { max-width: 46rem; }

/* شبکه‌های اجتماعی فوتر — لینک‌های خالی (#) خودکار مخفی می‌مانند */
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border: 1px solid var(--border);
  border-radius: 999px; color: var(--text-muted);
  padding: 0;
  transition: color .2s ease, border-color .2s ease;
}
.footer-social a:hover { color: var(--ion-500); border-color: var(--ion-500); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-social a[href="#"], .footer-social a[href=""] { display: none; }

/* ═══ فرم «پیام بگذارید» پایین صفحه‌ها ═══ */
.pd-msg-section { padding-top: 0; }
.pd-msg-box { border: 1px solid #e3e8f0; border-radius: 16px; overflow: hidden; background: #fff; max-width: 860px; margin: 0 auto; }
.pd-msg-title { margin: 0; padding: 0.95rem 1.3rem; font-size: 1.02rem; background: #2563eb; color: #fff; }
.pd-msg-body { padding: 1.4rem; }
.pd-msg-hint { margin: 0 0 1.1rem; color: #5a6372; font-size: 0.9rem; }
.pd-msg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pd-msg-span { grid-column: 1 / -1; }
.pd-msg-grid label span { display: block; font-size: 0.83rem; color: #444d5c; margin-bottom: 0.4rem; }
.pd-msg-grid input, .pd-msg-grid textarea {
  width: 100%; box-sizing: border-box; padding: 0.7rem 0.95rem; border: 1px solid #d5dae3;
  border-radius: 10px; font: inherit; font-size: 0.92rem; background: #fafbfd; color: #1c2333;
}
.pd-msg-grid input:focus, .pd-msg-grid textarea:focus { outline: 2px solid #2563eb; outline-offset: -1px; }
.pd-msg-note { margin: 0.8rem 0 1.1rem; color: #8a93a3; font-size: 0.8rem; }
.pd-msg-send { min-width: 11rem; }
@media (max-width: 768px) {
  .pd-msg-grid { grid-template-columns: 1fr; }
  .pd-msg-send { width: 100%; }
}

/* اعتبارسنجی اینلاین فرم «پیام بگذارید» */
.cf-err { display: none; color: #dc2626; font-size: 0.76rem; font-style: normal; margin-top: 0.35rem; }
.cf-field.is-invalid .cf-err { display: block; }
.cf-field.is-invalid input, .cf-field.is-invalid textarea { border-color: #dc2626 !important; background: rgba(220,38,38,.04); }
.msg-alert { padding: 0.75rem 1.1rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.9rem; }
.msg-alert.is-success { background: rgba(31,157,92,.12); color: #1f9d5c; }
.msg-alert.is-error { background: rgba(220,38,38,.1); color: #dc2626; }

/* منوی بازشوی «محصولات» در هدر سایت اصلی — هم‌شکل با فروشگاه */
.nav-products { position: relative; display: inline-flex; align-items: center; }
.nav-caret { font-size: 0.7em; font-weight: 400; }
.nav-dropdown {
  position: absolute; top: calc(100% + 0.9rem); inset-inline-start: 50%;
  transform: translateX(50%) translateY(6px);
  min-width: 13rem; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px;
  box-shadow: 0 18px 44px rgba(6,10,20,.16); padding: 0.5rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.nav-products:hover .nav-dropdown, .nav-products:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(50%) translateY(0);
}
.nav-products::after { content: ''; position: absolute; top: 100%; right: 0; left: 0; height: 1rem; }
.site-nav .nav-dropdown a {
  display: block; padding: 0.55rem 0.9rem; border-radius: 9px;
  color: #3a4152 !important; font-size: 0.9rem;
}
.site-nav .nav-dropdown a:hover { background: #f2f5fa; color: #2563eb !important; }
.site-nav .nav-dropdown a:first-child { color: #2563eb !important; font-weight: 500; }
/* در حالت هدر شفاف روی هیرو، خود «محصولات» روشن بماند ولی آیتم‌های بازشو تیره */
.site-header:not(.is-solid) .nav-dropdown a { color: #3a4152 !important; }
@media (max-width: 900px) {
  .nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0.25rem 0 0.25rem 1rem; }
  .nav-products { display: block; }
  .nav-caret { display: none; }
}

/* ══════════════ تغییر زبان فارسی/انگلیسی ══════════════ */
/* هم‌شکلِ دکمهٔ شب/روز — گِرد، کنار همان دکمه در فوتر */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; flex: none;
  border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--text); cursor: pointer;
  font-family: "Inter", "Segoe UI", sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; line-height: 1;
  transition: border-color var(--duration-base, .2s) var(--ease-out-expo, ease);
}
.lang-toggle:hover { border-color: var(--ion-500); }
/* دکمهٔ زبان و دکمهٔ شب/روز کنارِ هم در فوتر (کپی‌رایت فضای خالی را می‌گیرد) */
.footer-bottom > p { margin-inline-end: auto; }

/* حالت انگلیسی: فقط متن و فونت عوض می‌شود؛ چیدمان سرِ جای خودش می‌ماند (بدون آینه‌شدن) */
html.lang-en { --font-display: "Inter", "Segoe UI", Tahoma, sans-serif; --font-body: "Inter", "Segoe UI", Tahoma, sans-serif; }
html.lang-en body { font-family: var(--font-body); }
/* خودِ متن‌های محتوا چپ‌به‌راست خوانده شوند تا نقطه/علامت سؤال سرِ جای درست بیفتد؛
   ولی جعبه‌ها و چیدمان (هدر، فوتر، ستون‌ها، لوگو) هیچ تکان نمی‌خورند. */
html.lang-en main :where(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption, dt, dd, td, th, label) {
  direction: ltr;
  text-align: left;
}
html.lang-en main :where(.hero__title, .hero__tagline, [class*="center"], [style*="text-align:center"]) { text-align: center; }

/* کد امنیتی داخل فرم «پیام بگذارید» */
.cf-field .cf-captcha-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0; }
.cf-captcha-row img { border: 1px solid var(--border); border-radius: 10px; background: #f5f7fa; flex: none; }
.cf-captcha-row input { flex: 1; min-width: 0; letter-spacing: 0.3em; text-align: center; }
@media (max-width: 420px) { .cf-captcha-row img { width: 120px; } }
