/* רינת אקוקה – עיצוב גרפי ומיתוג */
:root {
  --teal: #22a6b6;
  --teal-light: #c9e9ee;
  --magenta: #b02a7f;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --dark: #2a2a2a;
  --bg: #ffffff;
  --maxw: 980px;
  --font: "Assistant", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  direction: rtl;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

.skip-link {
  position: absolute; top: -40px; right: 8px; z-index: 1000;
  background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 4px;
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 96px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.brand-name { font-size: 35px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; }
.brand-tag { font-size: 22px; font-weight: 300; letter-spacing: .12em; line-height: 1.2; }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; width: 27px; height: 27px; color: var(--text); }
.social a:hover { color: var(--teal); }
.social svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- Page title ---------- */
.page-title {
  text-align: center; font-weight: 500; font-size: 37px; letter-spacing: .15em;
  margin: 48px 0 32px;
}
.page-title::after {
  content: ""; display: block; width: 180px; height: 1px; margin: 12px auto 0;
  background: var(--magenta);
}

/* ---------- Gallery grid ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 0 0 60px; margin: 0; list-style: none;
}
.home-gallery { padding-top: 32px; }
.gallery li { margin: 0; }
.gallery button {
  all: unset; display: block; width: 100%; aspect-ratio: 1 / 1; cursor: zoom-in;
  overflow: hidden; position: relative; background: #f2f2f2;
}
.gallery button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.gallery img, .gallery video {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.gallery button:hover img, .gallery button:hover video { transform: scale(1.04); }

/* video gallery */
.video-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-grid button { aspect-ratio: 16 / 9; cursor: pointer; }
.video-grid .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.25); transition: background .3s;
}
.video-grid button:hover .play { background: rgba(0,0,0,.4); }
.video-grid .play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center;
}
.video-grid .play svg { width: 26px; height: 26px; fill: var(--magenta); margin-right: -4px; }
.video-grid .duration {
  position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.65); color: #fff;
  font-size: 13px; padding: 1px 8px; border-radius: 3px;
}
.video-caption { font-weight: 500; font-size: 18px; margin-top: 8px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(255,255,255,.97);
  display: none; align-items: center; justify-content: center; padding: 56px 64px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img, .lightbox video {
  max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; object-fit: contain;
}
.lightbox figcaption { margin-top: 10px; font-size: 16px; }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer; color: var(--text);
  width: 48px; height: 48px; display: grid; place-items: center;
}
.lightbox button svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lightbox button:hover { color: var(--magenta); }
.lb-close { top: 10px; left: 10px; }
.lb-prev { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.testimonials { background: rgba(34,166,182,.94); padding: 24px 0 70px; }
.testimonials .section-title { color: #fff; }
.section-title {
  text-align: center; font-weight: 500; font-size: 37px; letter-spacing: .12em; margin: 0 0 40px;
}
.section-title::before {
  content: ""; display: block; width: 180px; height: 1px; margin: 0 auto 14px;
  background: currentColor;
}
.slider {
  position: relative; max-width: 614px; margin: 0 auto;
  min-height: 260px; padding: 40px 70px 28px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(255,255,255,.14), transparent 60%),
    rgba(255,255,255,.1);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.slide { display: none; align-items: center; gap: 36px; color: #fff; }
.slide.active { display: flex; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slide .who { flex: 0 0 120px; text-align: center; }
.slide .who img {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px;
  border: 3px solid #fff;
}
.slide .who strong { display: block; font-weight: 500; font-size: 17px; color: var(--text); }
.slide .who span { display: block; font-size: 17px; color: var(--magenta); }
.slide .who svg { width: 44px; height: 44px; margin: 8px auto 0; display: block; }
.slide blockquote { margin: 0; flex: 1; text-align: center; font-size: 17px; }
.slide blockquote h3 { font-weight: 300; font-size: 26px; margin: 0 0 12px; }
.slide blockquote p { margin: 0 0 10px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
  cursor: pointer; color: var(--magenta); width: 44px; height: 44px; display: grid; place-items: center;
}
.slider-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.slider-prev { right: 12px; }
.slider-next { left: 12px; }
.dots { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); cursor: pointer;
}
.dots button[aria-current="true"] { background: #fff; transform: scale(1.3); }

/* ---------- Contact ---------- */
.contact { padding: 50px 0 40px; }
.contact .section-title { color: var(--teal); }
.contact .section-title::before { background: var(--magenta); }
.contact-form { max-width: 386px; margin: 0 auto; display: grid; gap: 12px; }
.contact-form .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 8px 10px;
  border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 0;
}
.contact-form textarea { min-height: 42px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.btn {
  font: inherit; font-size: 18px; font-weight: 300; background: var(--teal); color: #fff;
  border: 0; padding: 6px 20px; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--magenta); }
.form-msg { text-align: center; color: var(--teal); font-weight: 500; min-height: 1.5em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 48px 0 64px; align-items: start; }
.about h1 { font-weight: 500; font-size: 30px; letter-spacing: .15em; margin: 0 0 20px; }
.about p { margin: 0 0 16px; font-size: 17px; }
.about img { width: 100%; filter: grayscale(1); }
.about .phone { font-size: 22px; font-weight: 500; color: var(--teal); text-decoration: none; }

/* ---------- Text pages ---------- */
.text-page { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }
.text-page h2 { font-weight: 500; font-size: 22px; margin: 28px 0 8px; }
.text-page p, .text-page li { font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; padding-bottom: 20px; }
.footer-nav { border-bottom: 1px solid rgba(255,255,255,.6); max-width: 612px; margin: 0 auto; }
.footer-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.footer-nav li { position: relative; }
.footer-nav a, .footer-nav button.menu-toggle {
  display: block; padding: 4px 26px; color: #fff; text-decoration: none; font: inherit;
  font-size: 18px; font-weight: 500; background: none; border: 0; cursor: pointer; line-height: 2;
}
.footer-nav > ul > li > a:hover, .footer-nav button.menu-toggle:hover,
.footer-nav a[aria-current="page"], .footer-nav .is-current > .menu-toggle { background: var(--teal); }
.submenu {
  list-style: none; margin: 0; padding: 0; position: absolute; bottom: 100%; right: 0;
  min-width: 180px; background: var(--dark); display: none; z-index: 20;
  box-shadow: 0 -2px 10px rgba(0,0,0,.25);
}
.submenu.open { display: block; }
.submenu a { font-size: 16px; font-weight: 300; padding: 4px 20px; white-space: nowrap; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--teal); }
.copyright { text-align: center; font-size: 13px; margin: 30px 0 0; }
.copyright a { text-decoration: underline; }
.footer-links { text-align: center; font-size: 13px; margin-top: 6px; }
.footer-links a { color: #ccc; margin: 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-header .container { min-height: 76px; }
  .brand-name { font-size: 26px; }
  .brand-tag { font-size: 16px; }
  .brand img { width: 48px; height: 48px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .video-grid { grid-template-columns: 1fr; }
  .page-title, .section-title { font-size: 28px; }
  .slider { padding: 28px 44px 22px; }
  .slide.active { flex-direction: column; gap: 14px; }
  .slide .who { flex-basis: auto; }
  .contact-form .row { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about img { max-width: 320px; margin: 0 auto; }
  .footer-nav a, .footer-nav button.menu-toggle { padding: 4px 12px; font-size: 16px; }
  .lightbox { padding: 56px 8px; }
}
@media (max-width: 420px) {
  .brand-tag { letter-spacing: .05em; }
  .social { gap: 10px; }
  .social a { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
