/* ============================================================
   AS Motors — style.css
   Pure CSS3. No preprocessors. No framework.
   ============================================================ */

/* ------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --color-eerie-black: #1A1A1A;
  --color-white-smoke: #F5F5F5;
  --color-deep-blue: #C8A23A;
  --color-deep-blue-hover: #B08C2E;
  --color-text-main: #333333;
  --color-text-inv: #FFFFFF;
  --color-viber: #7360F2;
  --color-border: #E0E0E0;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter Tight', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container-max: 1200px;
  --section-pad-v: 80px;
  --section-pad-h: 20px;
  --section-pad-v-mobile: 60px;
  --section-pad-h-mobile: 16px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --transition-fast: 150ms ease-out;
  --transition-base: 300ms ease-out;

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 4px 16px rgba(200, 162, 58, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-deep-blue) #1A1A1A;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #141414;
}

::-webkit-scrollbar-thumb {
  background: var(--color-deep-blue);
  border-radius: 6px;
  border: 2px solid #141414;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-deep-blue-hover);
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

/* ------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

.section-dark {
  background-color: var(--color-eerie-black);
  color: var(--color-text-inv);
}

.section-light {
  background-color: #FFFFFF;
  color: var(--color-text-main);
  border-top: 1px solid var(--color-border);
}

.section-smoke {
  background-color: #EFEFEF;
  color: var(--color-text-main);
  border-top: 1px solid #E0E0E0;
}

/* ------------------------------------------------------------
   4. TYPOGRAPHY SCALE
   ------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
}

small {
  font-size: 0.875rem;
}

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  background-color: var(--color-deep-blue);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-deep-blue-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-btn);
  outline: none;
}

.btn-primary:active {
  transform: scale(0.99);
}

/* ------------------------------------------------------------
   6. NAV
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 70px;
  background-color: var(--color-eerie-black);
  display: flex;
  align-items: center;
  padding: 0 var(--section-pad-h);
}

.nav .container {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-inv);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: #FFFFFF;
  transition: color var(--transition-fast);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--color-deep-blue);
  outline: none;
}

.nav__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  padding: 2px;
}

.nav__icon-link:hover,
.nav__icon-link:focus-visible {
  color: var(--color-deep-blue);
  outline: none;
}


/* ------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background-color: var(--color-eerie-black);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad-v) var(--section-pad-h);
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUpIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.05s;
}

.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-deep-blue);
  display: inline-block;
}

.hero .container {
  width: 100%;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--color-text-inv);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__motif {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__motif img,
.hero__motif svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ------------------------------------------------------------
   8. FEATURES
   ------------------------------------------------------------ */
.features {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

/* row 2 reverse handled by markup order — visual placed first in DOM */

.feature-row__visual {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.feature-row__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-deep-blue);
  margin-bottom: 8px;
}

.feature-row__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.feature-row__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   9. ABOUT
   ------------------------------------------------------------ */
.about {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.about__intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.about__intro h2 {
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.about__intro p {
  color: var(--color-text-main);
}

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

.about__card {
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.about__card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--color-deep-blue);
}

.about__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.about__card-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   9b. PARTS
   ------------------------------------------------------------ */
.parts {
  padding: var(--section-pad-v) var(--section-pad-h);
  background: #161616;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parts__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-bottom: 14px;
}

.parts__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-deep-blue);
  display: inline-block;
}

.parts__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-text-inv);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.parts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.parts__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 36px 32px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.parts__card:hover {
  border-color: rgba(200, 162, 58, 0.3);
  background: rgba(200, 162, 58, 0.04);
}

.parts__card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-text-inv);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.parts__card-badge--secondary {
  color: rgba(255, 255, 255, 0.85);
}

.parts__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.parts__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.parts__list svg {
  flex-shrink: 0;
}

.parts__footnote {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  letter-spacing: 0.2px;
}

/* ------------------------------------------------------------
   10. CONTACT
   ------------------------------------------------------------ */
.contact {
  padding: var(--section-pad-v) var(--section-pad-h);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(200, 162, 58, 0.08), transparent 60%),
    radial-gradient(900px 480px at 5% 110%, rgba(200, 162, 58, 0.05), transparent 60%),
    #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px clamp(24px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--color-deep-blue);
  margin-bottom: 14px;
}

.contact__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-deep-blue);
  display: inline-block;
}

.contact__heading {
  margin-bottom: 10px;
  color: var(--color-text-inv);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.contact__sub {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact__form {
  display: block;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.field {
  position: relative;
}

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

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px 16px 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-inv);
  transition: border-color var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
  min-height: 60px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  padding-top: 28px;
  font-family: var(--font-body);
  line-height: 1.5;
}

.field label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--transition-base), color var(--transition-base);
  background: transparent;
  padding: 0 4px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-deep-blue);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(200, 162, 58, 0.12);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-14px) scale(0.78);
  color: var(--color-deep-blue);
}

.field input:autofill + label,
.field input:-webkit-autofill + label {
  transform: translateY(-14px) scale(0.78);
  color: var(--color-deep-blue);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-text-inv);
  -webkit-box-shadow: 0 0 0 1000px #1A1A1A inset;
  caret-color: var(--color-text-inv);
}

#vin {
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.field__hint {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  padding-left: 4px;
  letter-spacing: 0.2px;
}

.contact__submit {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  color: #1A1A1A;
  background: var(--color-deep-blue);
  border: none;
  border-radius: 10px;
  padding: 18px 28px;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), background-color var(--transition-base);
}

.contact__submit:hover,
.contact__submit:focus-visible {
  background: #D6B048;
  box-shadow: 0 12px 30px -10px rgba(200, 162, 58, 0.45);
  outline: none;
}

.contact__submit:hover svg {
  transform: translateX(3px);
}

.contact__submit svg {
  transition: transform var(--transition-base);
}

.contact__submit:active {
  transform: translateY(1px);
}

.contact__viber-alt {
  text-align: center;
  margin-top: 22px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.contact__viber-alt a {
  color: var(--color-text-inv);
  font-weight: 500;
  border-bottom: 1px solid rgba(115, 96, 242, 0.5);
  padding-bottom: 1px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.contact__viber-alt a:hover {
  color: var(--color-viber);
  border-bottom-color: var(--color-viber);
}

/* ------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------ */
.footer {
  padding: 72px var(--section-pad-h) 28px;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-text-inv);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer__socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.footer__socials a:hover {
  color: var(--color-deep-blue);
  border-color: var(--color-deep-blue);
  background: rgba(200, 162, 58, 0.08);
}

.footer__col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-text-inv);
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col li,
.footer__col li a,
.footer__col li span {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer__col li a:hover {
  color: var(--color-deep-blue);
}

.footer__contact a {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  padding-bottom: 1px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer__legal {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  margin: 0;
}

.footer__legal span {
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------
   12. VIBER FAB
   ------------------------------------------------------------ */
.viber-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-viber);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(115, 96, 242, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.viber-fab:hover,
.viber-fab:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(115, 96, 242, 0.6);
  outline: none;
}

.viber-fab svg,
.viber-fab img {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

/* ------------------------------------------------------------
   13. SECTION HEADINGS (shared utility)
   ------------------------------------------------------------ */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------
   14. DIVIDER
   ------------------------------------------------------------ */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ------------------------------------------------------------
   15. RESPONSIVE — 768px
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Typography */
  h1,
  .hero__headline {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav {
    padding: 0 var(--section-pad-h-mobile);
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
    gap: 32px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__motif {
    display: none;
  }

  /* Features */
  .features {
    padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
  }

  .feature-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .feature-row--reverse {
    direction: ltr;
    flex-direction: column;
  }

  .feature-row__visual {
    order: -1;
  }

  /* About */
  .about {
    padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
  }

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

  /* Parts */
  .parts {
    padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
  }

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

  .parts__heading {
    font-size: 1.6rem;
  }

  .parts__card {
    padding: 28px 24px;
  }

  /* Contact */
  .contact {
    padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
    padding-bottom: 100px;
  }

  .contact__shell {
    padding: 36px 22px;
    border-radius: 14px;
  }

  .contact__heading {
    font-size: 1.6rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer */
  .footer {
    padding: 56px var(--section-pad-h-mobile) 24px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding-bottom: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }

  /* Section headings */
  .section-heading {
    margin-bottom: 32px;
  }

  /* General section containers */
  .container {
    padding: 0 var(--section-pad-h-mobile);
  }

  /* Viber FAB — smaller, less intrusive on mobile */
  .viber-fab {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}

/* ------------------------------------------------------------
   16. MOTION
   ------------------------------------------------------------ */

/* Hero word stagger — fires on load */
.hero__headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.25em;
}

.hero__headline .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroWordIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__headline .word:nth-child(1) > span { animation-delay: 0.10s; }
.hero__headline .word:nth-child(2) > span { animation-delay: 0.18s; }
.hero__headline .word:nth-child(3) > span { animation-delay: 0.26s; }
.hero__headline .word:nth-child(4) > span { animation-delay: 0.34s; }

@keyframes heroWordIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Hero sub + CTA reveal — load-triggered (no observer) */
.hero__sub.reveal,
.hero__cta.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUpIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__sub.reveal { animation-delay: 0.5s; }
.hero__cta.reveal { animation-delay: 0.65s; }

@keyframes fadeUpIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero motif — load-triggered fade + scale */
.hero__motif {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  animation: motifIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes motifIn {
  0% { opacity: 0; transform: scale(0.96) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Generic reveal — viewport-triggered */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Hero sub + CTA: drop transition base, run load animation instead */
.hero__sub.reveal,
.hero__cta.reveal {
  transition: none;
  transform: translateY(12px);
}

/* Stagger children inside .reveal-stagger */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }

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

/* Subtle floating idle on SVG once revealed */
.feature-row__visual {
  will-change: transform;
}

.feature-row.is-visible .feature-row__visual {
  animation: motifFloat 6s ease-in-out 1.2s infinite;
}

@keyframes motifFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Nav glass-morph on scroll */
.nav {
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-bottom-color 0.35s ease,
    box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background-color: rgba(20, 20, 20, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px -16px rgba(0, 0, 0, 0.5);
}

/* Submit button shimmer sweep */
.contact__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.contact__submit:hover::before,
.contact__submit:focus-visible::before {
  transform: translateX(110%);
}

.contact__submit > * {
  position: relative;
  z-index: 1;
}

.contact__submit:hover svg {
  transform: translateX(6px);
}

/* Form focus ring — gold pulse */
.field input:focus,
.field textarea:focus {
  animation: ringPulse 0.45s ease-out;
}

@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 162, 58, 0.35); }
  100% { box-shadow: 0 0 0 4px rgba(200, 162, 58, 0.12); }
}

/* About card hover lift */
.about__card {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  border: 1px solid transparent;
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.18);
  border-color: rgba(200, 162, 58, 0.25);
}

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

  .reveal, .reveal-stagger > *, .hero__motif,
  .hero__headline .word > span, .hero__sub.reveal, .hero__cta.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
