/* ============================================
   סאלי פרידמן — איפור ושיער | Luxury Dark Mode
   ============================================ */

:root {
  --bg-dark: #070707;
  --bg-card: #121212;
  --bg-card-hover: #1a1a1a;
  --gold: #d4af37;
  --gold-light: #f3d472;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --text-main: #f2f2f2;
  --text-muted: #a3a3a3;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 175, 55, 0.3);
  
  --shadow-glow: 0 10px 40px -10px rgba(212, 175, 55, 0.15);
  --glass-bg: rgba(10, 10, 10, 0.7);
  
  --display: "Cormorant Garamond", serif;
  --sans: "Heebo", sans-serif;
  
  --maxw: 1280px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--text-main);
  background: var(--bg-dark);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.accent { 
  color: var(--gold); 
  font-style: italic; 
  font-family: var(--display); 
  font-weight: 300;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
}
.btn-primary:hover { 
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px); 
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { 
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}
.btn-block { width: 100%; text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
.eyebrow.light { color: var(--gold); }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.section-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-main);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.hero-content { flex: 1; z-index: 2; }
.hero-visual { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-main);
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.hero-social { justify-content: center; margin-bottom: 60px; }

.hero-trust { display: flex; align-items: center; gap: 40px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.trust-item span { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }
.trust-divider { width: 1px; height: 50px; background: var(--border-subtle); }

/* hero image */
.hero-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.inside-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.1);
  transition: transform 1.5s ease;
}
.hero-img-frame:hover .inside-img {
  transform: scale(1.03);
}

.hero-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.hero-badge-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.hero-badge-text {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* ===== Image placeholders ===== */
.img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: 1px;
}
.img-placeholder span { padding: 12px; line-height: 1.5; }

/* ===== WHY ===== */
.why { padding: 140px 0; background: var(--bg-dark); }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.benefit {
  background: transparent;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  transition: border-color 0.4s;
}
.benefit:hover { border-color: var(--gold); }
.benefit-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.benefit h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 16px;
}
.benefit p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== GALLERY ===== */
.gallery { padding: 140px 0; background: #050505; overflow: hidden; }
.gallery-marquee-container {
  display: flex;
  overflow: hidden;
  gap: 24px;
  width: 100vw;
  margin-right: calc(-50vw + 50%);
  margin-left: calc(-50vw + 50%);
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.gallery-marquee-container:hover .gallery-marquee-track {
  animation-play-state: paused;
}
.gallery-marquee-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  cursor: grab;
  will-change: transform;
}
.gallery-marquee-inner:active {
  cursor: grabbing;
}
.gallery-marquee-track {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.gallery-item {
  width: clamp(260px, 40vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: grayscale(20%);
}
.gallery-item:hover img { 
  transform: scale(1.05);
  filter: grayscale(0%);
}
.work-15-adjusted img {
  filter: grayscale(20%) brightness(1.05) contrast(1.15) saturate(1.1);
}
.work-15-adjusted:hover img {
  filter: grayscale(0%) brightness(1.15) contrast(1.2) saturate(1.2);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.social-links.hero-social a {
  width: auto;
  padding: 0 20px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.social-links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transform: skewX(-25deg);
  z-index: 0;
}
.social-links a:hover::after {
  animation: shimmer-shine 0.7s ease-in-out forwards;
}
.social-links a svg, .social-links a span {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-links a svg {
  width: 18px;
  height: 18px;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.social-links a:hover svg {
  transform: translateY(-2px) scale(1.05);
}

@keyframes shimmer-shine {
  0% { left: -150%; }
  100% { left: 250%; }
}

/* ===== PRICING ===== */
.pricing { padding: 140px 0; background: var(--bg-dark); }
.price-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: transform 0.4s, background 0.4s;
}
.price-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); }
.price-card-feature {
  border-color: var(--border-gold);
  position: relative;
}
.price-card-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.price-cat {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.price-list { list-style: none; display: grid; gap: 20px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.price-list li span { flex: 1; }
.price-list li b {
  font-family: "Lora", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.price-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
}
.policy-card {
  margin-top: 60px;
  background: rgba(212, 175, 55, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.policy-card h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 300;
}
.policy-card p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
.policy-card .accent-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.price-cta { text-align: center; margin-top: 60px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 140px 0; background: #050505; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.wa-chat {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm0-1.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z' fill='%23d9d0c7' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  text-align: right;
  direction: rtl;
}
.wa-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.3;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.wa-client {
  background: #ffffff;
  align-self: flex-start;
  border-top-right-radius: 0;
}
.wa-client::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 0;
  border-color: #ffffff transparent transparent transparent;
}
.wa-saly {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-left-radius: 0;
}
.wa-saly::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #dcf8c6 transparent transparent;
}
.wa-text {
  margin-bottom: 4px;
}
.wa-meta {
  font-size: 0.75rem;
  /* was #999: 2.85:1 on the white bubble, below the 4.5:1 AA minimum at 12px */
  color: #5e6b73;
  text-align: left;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.wa-ticks {
  /* was #34b7f1: 1.99:1 on the #dcf8c6 bubble. WhatsApp's own tick blue fails
     contrast on its own bubble colour; copying the look faithfully copied the
     defect too. Darkened to clear AA while staying recognisably the blue tick. */
  color: #10627f;
  font-weight: bold;
  letter-spacing: -2px;
  margin-right: 2px;
}

/* ===== LEAD FORM ===== */
.lead {
  padding: 140px 0;
  background: var(--bg-dark);
}
.lead-inner { display: flex; gap: 80px; align-items: center; }
.lead-copy { flex: 1; }
.lead-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 32px;
}
.lead-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 40px; max-width: 480px; }
.lead-points { list-style: none; display: grid; gap: 16px; }
.lead-points li {
  position: relative;
  padding-right: 32px;
  color: var(--text-main);
  font-weight: 300;
}
.lead-points li::before {
  content: "-";
  position: absolute;
  right: 0;
  color: var(--gold);
}

.lead-card { flex: 1; }
.lead-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 60px 48px;
  position: relative;
}
.lead-form::before {
  content: '';
  position: absolute;
  top: -1px; left: 40px; right: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-title {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 40px;
  text-align: center;
}
.field { margin-bottom: 24px; }
.field label,
.field legend {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.field input,
.field select {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-main);
  background: transparent;
  transition: border-color 0.3s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a3a3' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 4px center;
  padding-left: 24px;
}
.field select option {
  background: #1a1a1a;
  color: var(--text-main);
}
.field select optgroup {
  background: #111;
  color: var(--gold);
  font-weight: 700;
}
.date-field { border: 0; padding: 0; min-inline-size: 0; }
.date-field legend { padding: 0; }
.date-row {
  display: flex;
  gap: 12px;
}
.date-row select {
  flex: 1;
}
.field input[type="time"] {
  color-scheme: dark;
}
.field input:focus, .field select:focus {
  border-bottom-color: var(--gold);
}
/* Hide the outline only for mouse focus; keyboard focus keeps the visible ring below. */
.field input:focus:not(:focus-visible), .field select:focus:not(:focus-visible) {
  outline: none;
}
input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.field input::placeholder {
  color: #888;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ===== FOOTER ===== */
.footer { background: #000; color: var(--text-muted); padding: 80px 0; text-align: center; border-top: 1px solid #111;}
.footer-phone {
  display: inline-block;
  margin: 24px 0 32px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.2rem;
  font-family: var(--display);
  letter-spacing: 1px;
  transition: color 0.3s;
}
.footer-phone:hover { color: var(--gold); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }
.footer-legal a { display: inline-block; padding: 10px 4px; }
.footer-brand { font-family: var(--display); font-size: 2.5rem; color: var(--gold); }
.footer-tag { font-size: 0.85rem; margin: 16px 0 24px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px;}
.footer-copy { font-size: 0.75rem; color: #888; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 50;
  background: var(--gold);
  color: #000;
  text-align: center;
  padding: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: var(--shadow-glow);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 60px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { width: 100%; max-width: 500px; margin: 0 auto; }
  
  .benefits { grid-template-columns: 1fr; gap: 60px; text-align: center;}
  .testi-grid { grid-template-columns: 1fr; gap: 60px; text-align: center;}
  .price-cols { grid-template-columns: 1fr; gap: 40px;}
  .lead-inner { flex-direction: column; gap: 60px; text-align: center;}
  .lead-points { display: inline-block; text-align: right; }
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }
  .hero { padding: 80px 0 100px; }
  .why, .gallery, .testimonials, .lead, .pricing { padding: 100px 0; }
  body { padding-bottom: 100px; }
  .sticky-cta { 
    display: block; 
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
  }
  .sticky-cta.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2.2rem; }
  .lead-form { padding: 40px 24px; }
}

/* ===== Accessibility ===== */
/* NO transition on `top`. There used to be `transition: top 0.3s` here, and it
   made the skip link useless: measured on the deployed site 2026-08-05, a real
   Tab press on a freshly loaded page left the link at top:-40px — off-screen —
   for at least 700ms, well past the 300ms the transition should have taken.
   A control element with byte-identical rules MINUS the transition jumped to
   top:0 immediately; the same control WITH the transition stayed stuck. The
   transition was the cause.

   A skip link is the first thing a keyboard user reaches and it must appear at
   once, so nothing of value is lost. Do not reintroduce an animation here
   without re-running that test — the failure is invisible to anyone using a
   mouse, and the site declares AA under ת"י 5568. */
.skip {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: #000;
  padding: 8px;
  z-index: 100;
}
.skip:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) { 
  * { 
    animation: none !important; 
    transition: none !important; 
    scroll-behavior: auto !important; 
  } 
}
