/* =========================================================
   YINON WEB STUDIO — style.css v4
   Full web studio redesign. Warm amber/charcoal palette.
   Fonts: Syne (display) + DM Sans (body)
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* -----------------------------
   Theme Tokens
----------------------------- */
:root {
  /* core palette */
  --bg0: #0E0C0A;
  --bg1: #141210;
  --bg2: #1C1916;
  --bg3: #231F1B;

  --text:  rgba(255, 248, 235, 0.95);
  --muted: rgba(255, 248, 235, 0.65);
  --soft:  rgba(255, 248, 235, 0.45);

  --line:  rgba(255, 220, 140, 0.12);
  --line2: rgba(255, 220, 140, 0.08);

  /* accent palette — amber / gold / electric lime */
  --a1: #F59E0B;   /* amber */
  --a2: #FCD34D;   /* gold */
  --a3: #84CC16;   /* lime */
  --a4: #F97316;   /* orange */

  /* gradients */
  --g-hero: radial-gradient(1000px 600px at 15% 15%, rgba(245,158,11,0.18), transparent 60%),
            radial-gradient(800px 500px at 80% 20%, rgba(132,204,22,0.12), transparent 55%),
            radial-gradient(700px 500px at 55% 88%, rgba(249,115,22,0.10), transparent 60%);

  --g-stroke: linear-gradient(90deg, #F59E0B, #FCD34D, #84CC16);
  --g-card:   radial-gradient(600px 400px at 10% 0%, rgba(245,158,11,0.14), transparent 60%),
              radial-gradient(600px 400px at 90% 0%, rgba(132,204,22,0.10), transparent 60%);
  --g-btn:    linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #84CC16 100%);

  /* radii */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  /* shadows */
  --sh-1: 0 10px 35px rgba(0,0,0,0.40);
  --sh-2: 0 20px 70px rgba(0,0,0,0.50);
  --glow: 0 25px 90px rgba(245,158,11,0.12);

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* layout */
  --container: 1180px;
  --nav-h: 72px;
}

/* -----------------------------
   Base
----------------------------- */
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global warm aura */
body::before {
  content: "";
  position: fixed;
  inset: -2px;
  pointer-events: none;
  z-index: -2;
  background:
    var(--g-hero),
    linear-gradient(180deg, #0E0C0A 0%, #121009 50%, #0E0C0A 100%);
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* -----------------------------
   Typography
----------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Syne", "DM Sans", system-ui, sans-serif;
  margin: 0 0 0.8rem 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: rgba(255, 248, 235, 0.98);
}

p {
  margin: 0 0 1.1rem 0;
  color: var(--muted);
  line-height: 1.8;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* -----------------------------
   Skip link
----------------------------- */
.skip-link {
  position: absolute;
  top: -46px;
  left: 0;
  background: var(--a1);
  color: #0E0C0A;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 12px 0;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14,12,10,0.60);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  box-shadow: 0 8px 40px rgba(0,0,0,0.30);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--g-stroke);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  color: rgba(255,248,235,0.80);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover {
  background: rgba(245,158,11,0.14);
  color: rgba(255,248,235,0.98);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--g-stroke);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.nav-menu a:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.nav-menu a[aria-current="page"] {
  background: rgba(245,158,11,0.16);
  color: rgba(255,248,235,0.98);
}

.nav-menu a:focus-visible {
  outline: 2px solid rgba(245,158,11,0.75);
  outline-offset: 4px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}

/* Aurora */
.hero::before {
  content: "";
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(700px 500px at 15% 25%, rgba(245,158,11,0.28), transparent 60%),
    radial-gradient(700px 500px at 78% 18%, rgba(132,204,22,0.18), transparent 60%),
    radial-gradient(600px 400px at 60% 82%, rgba(249,115,22,0.16), transparent 60%);
  filter: blur(1px);
  animation: auroraShift 14s var(--ease) infinite alternate;
  z-index: 0;
}

@keyframes auroraShift {
  0%   { transform: translate3d(-12px, -16px, 0) scale(1.02); }
  100% { transform: translate3d(20px, 14px, 0) scale(1.06); }
}

/* Vignette */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 550px at 50% 30%, transparent 35%, rgba(14,12,10,0.80) 100%);
  z-index: 0;
}

.hero-decoration {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  top: -290px;
  right: -290px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), rgba(255,255,255,0.04) 35%, transparent 65%),
    radial-gradient(circle at 60% 60%, rgba(245,158,11,0.18), transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(132,204,22,0.12), transparent 60%);
  box-shadow: 0 25px 90px rgba(245,158,11,0.08);
  animation: floatOrb 18s var(--ease) infinite;
  z-index: 1;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50%       { transform: translate3d(-45px, 50px, 0) rotate(150deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
}

.hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 1rem;
  background: linear-gradient(160deg, #FFFFFF 30%, #FCD34D 65%, #84CC16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 600;
  color: var(--a2);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245,158,11,0.22);
  background: rgba(245,158,11,0.08);
  color: rgba(255,248,235,0.85);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  margin: 0 auto 1.4rem;
  width: fit-content;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F59E0B, #84CC16);
  box-shadow: 0 0 0 5px rgba(245,158,11,0.12);
  flex-shrink: 0;
}

/* Hero actions */
.hero-actions {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

/* Ghost button */
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: rgba(255,248,235,0.88);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}
.ghost-button:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.07);
}
.ghost-button:focus-visible {
  outline: 2px solid rgba(245,158,11,0.85);
  outline-offset: 4px;
}

/* Hero chips */
.hero-chips {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 2.2rem;
  padding: 0;
  list-style: none;
  max-width: 900px;
}
.hero-chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,0.03);
  color: rgba(255,248,235,0.70);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Trust strip */
.trust-strip {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 18px 65px rgba(0,0,0,0.28);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.trust-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,248,235,0.80);
  font-weight: 600;
  line-height: 1.35;
  padding: 0.55rem 0.65rem;
  border-radius: var(--r-md);
  background: rgba(14,12,10,0.40);
  border: 1px solid var(--line2);
}
.trust-item span {
  font-size: 1.1rem;
}
.trust-item small {
  display: block;
  color: var(--soft);
  font-weight: 500;
  font-size: 0.82rem;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { justify-content: center; text-align: center; }
  html[lang="he"] .trust-item { text-align: right; justify-content: flex-end; }
  html[lang="en"] .trust-item { text-align: left; justify-content: flex-start; }
}

/* =========================================================
   MARQUEE TICKER
   ========================================================= */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  background: rgba(245,158,11,0.04);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item .marquee-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--a1);
  opacity: 0.7;
}

/* =========================================================
   SECTION SHARED
   ========================================================= */
section.services,
section.portfolio,
section.about,
section.contact,
.pricing-section,
.testimonials-section,
.faq-section {
  padding: 7rem 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.20);
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FFFFFF 40%, #FCD34D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--g-stroke);
  margin: 1.2rem auto 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 1.4rem auto 3rem;
  line-height: 1.75;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g-card);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,158,11,0.28);
  box-shadow: 0 24px 80px rgba(245,158,11,0.08), var(--sh-2);
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(245,158,11,0.10);
  border-radius: var(--r-md);
  border: 1px solid rgba(245,158,11,0.18);
}

.service-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
  color: rgba(255,248,235,0.96);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* =========================================================
   PORTFOLIO GRID
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  transform-style: preserve-3d;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,158,11,0.28);
  box-shadow: 0 28px 90px rgba(245,158,11,0.08), var(--sh-2);
}

.portfolio-image {
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(132,204,22,0.08));
}

.portfolio-image::after {
  content: "● ● ●";
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  color: rgba(255,248,235,0.25);
}

.portfolio-image-content {
  font-size: 3.2rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 30px rgba(245,158,11,0.20));
}

.portfolio-content {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-client {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 0.5rem;
}

.portfolio-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.portfolio-goal,
.portfolio-delivery {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* =========================================================
   PROCESS STEPS (horizontal timeline look)
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a1), transparent);
  opacity: 0.4;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.process-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--a1);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.93rem;
  line-height: 1.65;
  max-width: 280px;
}

@media (max-width: 700px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: 1.2rem; }
  html[lang="he"] .process-step { text-align: right; flex-direction: row-reverse; }
  .process-number { margin-bottom: 0; }
}

/* =========================================================
   PRICING SECTION
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g-card);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 80px rgba(245,158,11,0.08), var(--sh-2);
}

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

.pricing-card.featured {
  border-color: rgba(245,158,11,0.40);
  background: var(--bg3);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.20), 0 28px 90px rgba(245,158,11,0.12);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0E0C0A;
  background: var(--g-btn);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.pricing-tier {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.pricing-price {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,248,235,0.98);
  line-height: 1;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 600;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--soft);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  position: relative;
  z-index: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line2);
  line-height: 1.5;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: "✓";
  color: var(--a3);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

html[lang="he"] .pricing-features li {
  flex-direction: row-reverse;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  border: 1px solid var(--line);
  color: rgba(255,248,235,0.85);
  background: rgba(255,255,255,0.04);
}

.pricing-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(245,158,11,0.35);
}

.pricing-card.featured .pricing-cta {
  background: var(--g-btn);
  color: #0E0C0A;
  border: none;
  font-weight: 800;
  box-shadow: 0 10px 40px rgba(245,158,11,0.22);
}

.pricing-card.featured .pricing-cta:hover {
  box-shadow: 0 16px 55px rgba(245,158,11,0.30);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section { background: rgba(255,255,255,0.01); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.25);
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--a1);
  opacity: 0.35;
  font-family: "Syne", sans-serif;
  margin-bottom: 0.6rem;
}

.testimonial-text {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255,248,235,0.80);
  margin-bottom: 1.4rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html[lang="he"] .testimonial-author {
  flex-direction: row-reverse;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,158,11,0.4), rgba(132,204,22,0.3));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,248,235,0.92);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--soft);
}

.testimonial-stars {
  color: var(--a1);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

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

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 780px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0.2rem;
  cursor: pointer;
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(255,248,235,0.95);
  text-align: left;
  transition: color 0.22s var(--ease);
}

html[lang="he"] .faq-question {
  text-align: right;
  flex-direction: row-reverse;
}

.faq-question:hover { color: var(--a1); }

.faq-chevron {
  font-size: 1rem;
  color: var(--a1);
  transition: transform 0.28s var(--ease);
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 0.2rem 1.35rem;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.is-open .faq-answer { display: block; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.stat-item {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.3s var(--ease);
}

.stat-item:hover { border-color: rgba(245,158,11,0.30); }

.stat-number {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--g-stroke);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--soft);
  line-height: 1.4;
}

/* =========================================================
   CTA SECTION (mid-page push)
   ========================================================= */
.cta-band {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(245,158,11,0.12), transparent 65%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-band h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 40%, #FCD34D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* =========================================================
   CTA BUTTON (primary)
   ========================================================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #0E0C0A;
  background: var(--g-btn);
  background-size: 200% 100%;
  background-position: left;
  border: none;
  box-shadow: 0 12px 45px rgba(245,158,11,0.22), 0 4px 18px rgba(0,0,0,0.30);
  transition: transform 0.30s var(--ease), box-shadow 0.30s var(--ease), background-position 0.40s var(--ease);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 60px rgba(245,158,11,0.30), 0 6px 24px rgba(0,0,0,0.35);
  background-position: right;
}

.cta-button:active { transform: translateY(-1px) scale(0.99); }

.cta-button:focus-visible {
  outline: 2px solid rgba(245,158,11,0.85);
  outline-offset: 4px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 7rem 0; }

.contact-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 1rem auto 2.5rem;
  line-height: 1.75;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  color: #0E0C0A;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 10px 40px rgba(37,211,102,0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 55px rgba(37,211,102,0.30);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2.8rem;
  box-shadow: var(--sh-2);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,248,235,0.80);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.97rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  resize: vertical;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(245,158,11,0.45);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.10);
}

.submit-button {
  width: 100%;
  padding: 1.05rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0E0C0A;
  background: var(--g-btn);
  box-shadow: 0 10px 40px rgba(245,158,11,0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 55px rgba(245,158,11,0.30);
}

.submit-button:disabled { opacity: 0.7; cursor: not-allowed; }

.form-message {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.form-message.success {
  background: rgba(132,204,22,0.12);
  border: 1px solid rgba(132,204,22,0.25);
  color: #84CC16;
}

.form-message.error {
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.22);
  color: #F87171;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--line2);
  background: rgba(14,12,10,0.40);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--g-stroke);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-size: 0.87rem;
  color: var(--soft);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}

.footer-links a {
  font-size: 0.87rem;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--a1); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   SCROLL FADE ANIMATIONS
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease) forwards;
}

.fade-in-delay {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.15s var(--ease) forwards;
}

.fade-in-delay-2 {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.32s var(--ease) forwards;
}

.fade-in-delay-3 {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.50s var(--ease) forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 20px 70px rgba(37,211,102,0.20), 0 10px 30px rgba(0,0,0,0.30);
  z-index: 999;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 28px 90px rgba(37,211,102,0.26);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(245,158,11,0.75);
  outline-offset: 4px;
  border-radius: 10px;
}

.a11y-nav { position: relative; }

.a11y-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: rgba(255,248,235,0.9);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}

.a11y-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(92vw, 320px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(20,18,16,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 65px rgba(0,0,0,.50);
  padding: 0.9rem;
  z-index: 1400;
}

html[lang="he"] .a11y-nav-menu { left: 0; right: auto; }

.a11y-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  color: rgba(255,248,235,.85);
}

.a11y-steps { display: flex; align-items: center; gap: .5rem; }

.a11y-steps button {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: rgba(255,248,235,.95);
  cursor: pointer;
}

.a11y-toggle {
  display: flex;
  gap: .6rem;
  align-items: center;
  padding: 0.55rem 0;
  color: rgba(255,248,235,.85);
  user-select: none;
}
.a11y-toggle input { transform: scale(1.15); }

.a11y-reset {
  width: 100%;
  margin-top: .75rem;
  padding: .8rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: rgba(255,248,235,.92);
  cursor: pointer;
  font-weight: 600;
}

html.a11y-contrast body { filter: contrast(1.25) saturate(1.1); }
html.a11y-no-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-font-110 { font-size: 110%; }
html.a11y-font-120 { font-size: 120%; }
html.a11y-font-90  { font-size: 90%; }

html.a11y-no-motion .fade-in,
html.a11y-no-motion .fade-in-delay,
html.a11y-no-motion .fade-in-delay-2,
html.a11y-no-motion .fade-in-delay-3,
html.a11y-no-motion .scroll-fade {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-container {
    flex-wrap: nowrap;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .nav-toggle {
    display: inline-flex !important;
    margin-left: auto;
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 248, 235, 0.85);
  }
  .nav-toggle:active { transform: scale(0.97); }

  .nav-menu {
    display: flex;
    position: fixed;
    top: var(--nav-h, 72px);
    right: 0; left: auto;
    width: min(80vw, 340px);
    height: calc(100vh - var(--nav-h, 72px));
    margin: 0;
    padding: 0.8rem;
    flex-direction: column;
    gap: 0.3rem;
    border-radius: 20px 0 0 20px;
    background: rgba(20,18,16,0.99);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 65px rgba(0,0,0,0.50);
    z-index: 1200;
    transform: translateX(110%);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  .nav-menu.is-open {
    transform: translateX(0%);
    pointer-events: auto;
  }

  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.9rem;
    border-radius: var(--r-md);
  }
  .nav-menu a::after { display: none; }
}

/* Ensure backdrop never blocks clicks */
.nav-backdrop { display: none !important; pointer-events: none !important; }

@media (max-width: 860px) {
  html[lang="en"] .navbar .logo    { order: 1; }
  html[lang="en"] .navbar .a11y-nav { order: 2; margin-left: 0.6rem; }
  html[lang="en"] .navbar .nav-toggle { order: 3; margin-left: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats   { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  section.services,
  section.portfolio,
  section.about,
  section.contact,
  .pricing-section,
  .testimonials-section,
  .faq-section { padding: 5rem 0; }

  .hero { padding: 7rem 1.25rem 4rem; }

  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }

  .service-card { padding: 1.7rem; }
  .portfolio-content { padding: 1.5rem 1.6rem; }
  .contact-form { padding: 2rem 1.5rem; }

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

  .trust-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero::before,
  .hero-decoration,
  .marquee-track {
    animation: none !important;
  }

  .fade-in,
  .fade-in-delay,
  .fade-in-delay-2,
  .fade-in-delay-3,
  .scroll-fade {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cta-button,
  .service-card,
  .portfolio-card,
  .whatsapp-button,
  .submit-button,
  .ghost-button {
    transition: none !important;
  }
}

.portfolio-image {
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0E0C0A;
}
.portfolio-card,
.portfolio-card * {
  text-decoration: none;
  color: inherit;
}
.business-website-text {
  font-size: 2.5em;
}
