/* ═══════════════════════════════════════════════════
   ARMIN SERVICE — Premium Mobile Car Maintenance
   CSS Design System
═══════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────── */
:root {
  /* Core Palette */
  --c-bg:           #09090b;
  --c-surface:      #111114;
  --c-surface-2:    #18181d;
  --c-card:         #1c1c22;
  --c-card-hover:   #22222a;

  /* Gold Accent System */
  --c-gold:         #c9a84c;
  --c-gold-light:   #ddbf6a;
  --c-gold-dark:    #a8893a;
  --c-gold-subtle:  rgba(201, 168, 76, 0.1);
  --c-gold-border:  rgba(201, 168, 76, 0.22);
  --c-gold-glow:    rgba(201, 168, 76, 0.12);

  /* Text */
  --c-text-1:  #f0f0f3;
  --c-text-2:  #9899a8;
  --c-text-3:  #5c5d70;

  /* Borders */
  --c-border:       rgba(255, 255, 255, 0.06);
  --c-border-hover: rgba(255, 255, 255, 0.12);

  /* Brand CTAs */
  --c-whatsapp:       #25d366;
  --c-whatsapp-dark:  #1db954;
  --c-whatsapp-bg:    rgba(37, 211, 102, 0.12);
  --c-instagram:      #e1306c;
  --c-instagram-dark: #c62a5e;
  --c-instagram-bg:   rgba(225, 48, 108, 0.12);

  /* Typography */
  --f-display:  'Bebas Neue', sans-serif;
  --f-heading:  'Rajdhani', sans-serif;
  --f-body:     'Jost', sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */
  --text-7xl:  4.5rem;    /* 72px */

  /* Spacing (8pt grid) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-in:  cubic-bezier(0.4, 0.0, 1.0, 1.0);
  --t-fast:   150ms var(--ease-out);
  --t-base:   250ms var(--ease-out);
  --t-slow:   400ms var(--ease-out);

  /* Z-Index */
  --z-base:   0;
  --z-card:   10;
  --z-sticky: 100;
  --z-overlay:200;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text-1);
  font-family: var(--f-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--c-gold);
  color: var(--c-bg);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus {
  top: var(--sp-4);
}

/* ─── Layout ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--sp-12); }
}

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

@media (min-width: 768px) {
  .section { padding-block: var(--sp-24); }
}
@media (min-width: 1024px) {
  .section { padding-block: var(--sp-32); }
}

/* ─── Reveal Animations ──────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

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

[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal][data-reveal-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-lg);
  font-family: var(--f-heading);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-fast),
    border-color var(--t-base),
    color var(--t-base);
  touch-action: manipulation;
  min-height: 48px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: var(--c-whatsapp);
  color: #fff;
  font-size: var(--text-base);
}
.btn-whatsapp:hover {
  background-color: var(--c-whatsapp-dark);
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.3);
}

/* Instagram button */
.btn-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.btn-instagram:hover {
  box-shadow: 0 0 32px rgba(225, 48, 108, 0.35);
  filter: brightness(1.08);
}

/* Instagram outline */
.btn-instagram-outline {
  background: transparent;
  color: var(--c-text-1);
  border: 1px solid var(--c-border);
}
.btn-instagram-outline:hover {
  border-color: rgba(225, 48, 108, 0.5);
  background: var(--c-instagram-bg);
  color: #fff;
}

/* Outline/secondary button */
.btn-outline {
  background: transparent;
  color: var(--c-text-1);
  border: 1px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-gold-border);
  background: var(--c-gold-subtle);
  color: var(--c-gold-light);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  min-height: 40px;
  border-radius: var(--r-md);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  min-height: 56px;
  border-radius: var(--r-xl);
}

.btn-xl {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-xl);
  min-height: 64px;
  border-radius: var(--r-xl);
}

/* ─── Section Header Pattern ─────────────────────── */
.section-header {
  max-width: 640px;
  margin-bottom: var(--sp-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--c-gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--f-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text-1);
  margin-bottom: var(--sp-5);
}

.title-accent {
  color: var(--c-gold);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 560px;
}


/* ══════════════════════════════════════════════════
   HEADER / NAVIGATION
══════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: background var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-3);
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 120px;
  width: 120px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
  transition: transform var(--t-base), filter var(--t-base);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(201, 168, 76, 0.35));
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-main {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-text-1);
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--f-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: -2px;
}
.nav-logo:hover .nav-logo-main {
  color: var(--c-gold-light);
  transition: color var(--t-base);
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-2);
  transition: color var(--t-fast);
  padding-block: var(--sp-2);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-gold);
  transition: width var(--t-base);
  border-radius: 2px;
}
.nav-link:hover {
  color: var(--c-text-1);
}
.nav-link:hover::after {
  width: 100%;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: var(--sp-2);
  z-index: calc(var(--z-sticky) + 1);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

.bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-text-1);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
  transform-origin: center;
}

.nav-toggle.is-open .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: var(--z-sticky);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
}

.mobile-link {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 8vw, 3rem);
  color: var(--c-text-2);
  letter-spacing: 0.06em;
  transition: color var(--t-base);
}
.mobile-link:hover {
  color: var(--c-gold-light);
}

.mobile-cta-btn {
  margin-top: var(--sp-2);
  width: 100%;
  max-width: 320px;
}


/* ══════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 140px;
}

/* Background system */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 85% 40%, rgba(201, 168, 76, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 15% 70%, rgba(20, 20, 60, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(9, 9, 11, 0.8) 0%, transparent 60%);
  animation: heroBreath 10s ease-in-out infinite;
}

@keyframes heroBreath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
}

.hero-angle {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(155deg, transparent 45%, rgba(201, 168, 76, 0.025) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Background watermark text */
.hero-watermark {
  position: absolute;
  bottom: -20px;
  left: -10px;
  font-family: var(--f-display);
  font-size: clamp(120px, 22vw, 340px);
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-16);
}

.hero-content {
  max-width: 760px;
}

@media (min-width: 900px) {
  .hero-content {
    max-width: none;
  }
}

/* Hero 2-column split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

/* Right column: logo */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-visual {
    justify-content: flex-end;
  }
}

.hero-logo-svg {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  transform: scale(1.5);
  filter:
    drop-shadow(0 8px 40px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 60px rgba(201, 168, 76, 0.18));
  transition: filter var(--t-slow), transform var(--t-slow);
}

.hero-logo-svg:hover {
  transform: scale(1.53);
  filter:
    drop-shadow(0 12px 48px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 80px rgba(201, 168, 76, 0.28));
}

@media (max-width: 899px) {
  .hero-logo-svg {
    max-width: 420px;
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--c-gold-border);
  color: var(--c-gold-light);
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 100px;
  margin-bottom: var(--sp-8);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero headline */
.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--c-text-1);
  margin-bottom: var(--sp-6);
  text-transform: uppercase;
}

/* On 2-col layout, cap size so it fits left column */
@media (min-width: 900px) {
  .hero-headline {
    font-size: clamp(3rem, 5vw, 5.5rem);
  }
}

.hero-headline-accent {
  color: var(--c-gold);
  display: block;
}

/* Hero sub */
.hero-sub {
  font-family: var(--f-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: var(--sp-5);
  line-height: 1.4;
}

/* Hero body */
.hero-body {
  font-size: var(--text-lg);
  color: var(--c-text-2);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: var(--sp-10);
  font-weight: 300;
}

/* Hero CTA row */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

/* Trust indicators */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.trust-sep {
  width: 4px;
  height: 4px;
  background: var(--c-gold);
  border-radius: 50%;
  opacity: 0.6;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ══════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════ */
.services-section {
  background: var(--c-surface);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-border), transparent);
}

/* Category block */
.service-category {
  margin-bottom: var(--sp-16);
}
.service-category:last-child {
  margin-bottom: 0;
}

/* Category header */
.category-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--c-gold-subtle);
  border: 1px solid var(--c-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  flex-shrink: 0;
}

.category-icon svg {
  width: 18px;
  height: 18px;
}

.category-label > span {
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Half-split category (detailing + diagnostics) */
.service-category--half {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .service-category--half {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

.services-col {
  display: flex;
  flex-direction: column;
}

.services-grid--single {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Service card */
.service-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 2;
}

.service-card:hover {
  background: var(--c-card-hover);
  border-color: var(--c-gold-border);
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--c-gold-border),
    0 0 40px rgba(201, 168, 76, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

/* Card image */
.service-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  background: var(--c-surface-2);
  position: relative;
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(9, 9, 11, 0.55));
  pointer-events: none;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

/* Card body (icon + title + desc) */
.service-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.service-card:hover .service-card-icon {
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
}

.service-card-title {
  font-family: var(--f-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}

.service-card-desc {
  font-size: var(--text-base);
  color: var(--c-text-2);
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   WHY CHOOSE US SECTION
══════════════════════════════════════════════════ */
.why-section {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Feature card */
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-base);
  position: relative;
}

.feature-card:hover {
  background: var(--c-surface-2);
  border-color: var(--c-gold-border);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--c-gold-subtle);
  border: 1px solid var(--c-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
  transition: box-shadow var(--t-base);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.2);
}

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

.feature-title {
  font-family: var(--f-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: var(--sp-3);
}

.feature-desc {
  font-size: var(--text-base);
  color: var(--c-text-2);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════
   HOW IT WORKS / STEPS SECTION
══════════════════════════════════════════════════ */
.steps-section {
  background: var(--c-surface);
  position: relative;
}

.steps-section::before,
.steps-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-border), transparent);
}
.steps-section::before { top: 0; }
.steps-section::after  { bottom: 0; }

/* Steps grid */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

/* Individual step */
.step {
  flex: 1;
  padding: var(--sp-8) var(--sp-6);
  position: relative;
}

@media (min-width: 768px) {
  .step { padding: var(--sp-6); }
}

/* Step number (decorative) */
.step-number {
  font-family: var(--f-display);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(201, 168, 76, 0.08);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-4);
  display: block;
}

/* Step icon */
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-xl);
  background: var(--c-gold-subtle);
  border: 1px solid var(--c-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
  transition: box-shadow var(--t-base);
}

.step:hover .step-icon {
  box-shadow: 0 0 28px rgba(201, 168, 76, 0.2);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-title {
  font-family: var(--f-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.step-desc {
  font-size: var(--text-base);
  color: var(--c-text-2);
  line-height: 1.75;
}

/* Connector between steps */
.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 88px;
    width: 40px;
    position: relative;
  }

  .step-connector::before {
    content: '';
    display: block;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--c-gold-border), var(--c-gold));
    border-radius: 2px;
  }
}


/* ══════════════════════════════════════════════════
   INSTAGRAM SECTION
══════════════════════════════════════════════════ */
.instagram-section {
  background: var(--c-bg);
  padding-block: var(--sp-16);
}

@media (min-width: 768px) {
  .instagram-section { padding-block: var(--sp-20); }
}

.instagram-card {
  border-radius: var(--r-2xl);
  border: 1px solid var(--c-border);
  overflow: hidden;
  position: relative;
  background: var(--c-card);
}

.instagram-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.04) 0%, rgba(230, 104, 60, 0.03) 25%, rgba(220, 39, 67, 0.04) 50%, rgba(204, 35, 102, 0.03) 75%, rgba(188, 24, 136, 0.04) 100%);
  pointer-events: none;
}

.instagram-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
  padding: var(--sp-10) var(--sp-8);
}

@media (min-width: 768px) {
  .instagram-content {
    flex-direction: row;
    align-items: center;
    padding: var(--sp-12);
    gap: var(--sp-10);
  }
}

.instagram-icon-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(225, 48, 108, 0.3);
}

.instagram-text {
  flex: 1;
}

.instagram-title {
  font-family: var(--f-heading);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.instagram-desc {
  font-size: var(--text-lg);
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 520px;
}

.instagram-desc strong {
  color: var(--c-text-1);
  font-weight: 500;
}


/* ══════════════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 60%, rgba(201, 168, 76, 0.07) 0%, transparent 60%);
  animation: heroBreath 8s ease-in-out infinite;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--f-heading);
  font-size: clamp(var(--text-4xl), 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text-1);
  margin-bottom: var(--sp-6);
}

.cta-body {
  font-size: var(--text-xl);
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.cta-actions {
  margin-bottom: var(--sp-8);
}

.cta-trust {
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--sp-16);
  }
}

/* Footer brand */
.footer-brand {
  max-width: 360px;
}

.footer-logo {
  margin-bottom: var(--sp-3);
}

.footer-logo-img {
  height: 88px;
  width: 88px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: filter var(--t-base), transform var(--t-base);
}

.footer-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(201, 168, 76, 0.3));
}

.footer-tagline {
  font-family: var(--f-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}

.footer-brand-line {
  font-size: var(--text-base);
  color: var(--c-text-3);
  line-height: 1.7;
}

/* Footer nav */
.footer-nav {
  display: flex;
  gap: var(--sp-12);
}

.footer-nav-heading {
  font-family: var(--f-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: var(--sp-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--c-text-2);
  transition: color var(--t-fast);
}
.footer-link:hover {
  color: var(--c-gold-light);
}

.footer-link--cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--c-text-3);
  line-height: 1.6;
}

/* ─── Responsive adjustments ─────────────────────── */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    justify-content: center;
  }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
  .trust-sep {
    display: none;
  }
  .instagram-content {
    padding: var(--sp-8) var(--sp-6);
  }
}

@media (max-width: 640px) {
  .footer-nav {
    flex-direction: column;
    gap: var(--sp-8);
  }
  .section-header {
    margin-bottom: var(--sp-10);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--c-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--c-surface-2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-text-3);
}

/* Selection highlight */
::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--c-text-1);
}

/* Farsi Language Override */
html[lang="fa"] {
  --f-display: 'Vazirmatn', sans-serif;
  --f-heading: 'Vazirmatn', sans-serif;
  --f-body: 'Vazirmatn', sans-serif;
}

/* ══════════════════════════════════════════════════
   MOBILE NAV — hamburger & logo sizing fix
══════════════════════════════════════════════════ */
@media (max-width: 899px) {
  .nav {
    height: 72px;
  }

  .nav-logo-img {
    height: 54px;
    width: 54px;
  }

  .nav-logo-main {
    font-size: 1.15rem;
  }

  .nav-logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  /* Make sure the toggle button is always visible */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    cursor: pointer;
    z-index: calc(var(--z-sticky) + 2);
    flex-shrink: 0;
  }

  .nav-toggle .bar {
    width: 22px;
    height: 2px;
    background: var(--c-text-1);
    border-radius: 2px;
    display: block;
    transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
    transform-origin: center;
  }

  .nav-toggle.is-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open .bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .nav-toggle.is-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero padding adjustment for smaller nav */
  .hero {
    padding-top: 100px;
  }
}

