/* ליקה חיות — מספרה ופנסיון לכלבים וחתולים, ראשון לציון */
:root {
  --primary: #d9711f;
  --primary-dark: #a8530f;
  --accent: #f2a541;
  --accent-light: #ffe3b8;
  --bg: #ffffff;
  --surface: #fdf6ec;
  --diagonal: #f3e2c8;
  --text: #2c2418;
  --text-light: #6b5c47;
  --border: #ece0cc;
  --radius: 14px;
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

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

a { color: inherit; }

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

/* Skip link */
.skip-link {
  position: absolute;
  right: 8px;
  top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 10000;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #3a2a16 0%, #6b4423 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .18;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 60px 24px;
}
.hero__brand {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.hero__tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #2c1a05;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.hero__phone:hover { background: #fff; transform: translateY(-2px); }
.hero__phone svg { width: 20px; height: 20px; }

/* ===== Intro ===== */
.intro { padding: 56px 24px; text-align: center; }
.intro h1 { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 20px; }
.intro p {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 1.08rem;
  color: var(--text);
}

/* ===== Services grid ===== */
.services { padding: 40px 24px 64px; background: var(--surface); }
.services .container { max-width: 1000px; }
.services h2 { text-align: center; font-size: 2rem; color: var(--primary); margin-bottom: 40px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.s-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(60,40,10,.08);
}
.s-card svg { width: 48px; height: 48px; color: var(--primary); margin: 0 auto 16px; }
.s-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 10px; }
.s-card p { color: var(--text-light); font-size: .95rem; }

/* ===== Experience badge ===== */
.badge-strip {
  display: flex;
  justify-content: center;
  padding: 8px 24px 56px;
}
.badge-strip__inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent-light);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
}
.badge-strip svg { width: 26px; height: 26px; }

/* ===== Before / After ===== */
.before-after { padding: 64px 24px; text-align: center; }
.before-after h2 { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.before-after__note { color: var(--text-light); margin-bottom: 36px; }
.ba__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 560px) { .ba__grid { grid-template-columns: 1fr; } }
.ba-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(60,40,10,.1);
}
.ba-card svg { width: 100%; height: 100%; }
.ba-card__label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
}

/* ===== Gallery ===== */
.gallery { padding: 64px 24px; background: var(--surface); text-align: center; }
.gallery h2 { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.gallery__note { color: var(--text-light); margin-bottom: 36px; max-width: 640px; margin-inline: auto; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.g-tile {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 14px rgba(60,40,10,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-tile svg { width: 56%; height: 56%; color: var(--accent); }

/* ===== Contact ===== */
.contact { position: relative; background: #2c1a05; color: #fff; padding: 72px 24px 0; }
.contact .container { position: relative; z-index: 2; }
.contact h2 { font-size: 2rem; margin-bottom: 36px; text-align: center; }
.contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact__grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button {
  grid-column: 1 / -1;
  background: var(--accent);
  color: #2c1a05;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
}
.contact-form button:hover { background: #fff; }
.contact-form button:disabled { opacity: .7; cursor: default; }
.contact-info { display: flex; flex-direction: column; gap: 18px; font-size: 1.05rem; }
.contact-info a, .contact-info span {
  display: flex; align-items: flex-start; gap: 10px; text-decoration: none; color: #fff;
}
.contact-info svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.contact-info .addr-label { display: block; font-size: .82rem; color: var(--accent-light); margin-bottom: 2px; }

.map-wrap { margin-top: 40px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Footer ===== */
footer {
  background: #1e1206;
  color: #cbb493;
  font-size: .9rem;
  line-height: 1.9;
  padding: 24px 24px;
  text-align: center;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links {
  text-align: center;
  padding: 14px 24px;
  background: #1e1206;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-links a { color: var(--accent); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { text-decoration: underline; }

/* ===== Thank you page ===== */
.thanks-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--surface);
}
.thanks-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(60,40,10,.15);
  padding: 56px 48px;
  text-align: center;
  max-width: 480px;
}
.thanks-card h1 { font-size: 2.4rem; color: var(--primary-dark); margin-bottom: 14px; }
.thanks-card p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 28px; }
.thanks-card svg { width: 120px; height: auto; margin: 0 auto 8px; color: var(--accent); }
.thanks-card .back-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 700; text-decoration: none; }

/* ===== Accessibility statement page ===== */
.a11y-page { padding: 64px 24px; max-width: 820px; margin: 0 auto; }
.a11y-page h1 { color: var(--primary-dark); margin-bottom: 24px; font-size: 2rem; }
.a11y-page h2 { color: var(--primary); margin: 28px 0 10px; font-size: 1.3rem; }
.a11y-page p { margin-bottom: 12px; }
.a11y-page a { color: var(--primary); }

/* ===== FAB buttons (bottom-left, agency standard) ===== */
.fab-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,.32); }
.fab svg { width: 28px; height: 28px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }

/* ===== Accessibility widget (agency standard, bottom-right) ===== */
#a11y-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
#a11y-toggle svg { width: 26px; height: 26px; }
#a11y-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: #fff;
  color: var(--text);
  z-index: 9999;
  box-shadow: -4px 0 20px rgba(0,0,0,.2);
  overflow-y: auto;
  transition: right .25s ease;
  padding: 20px;
}
#a11y-panel.open { right: 0; }
#a11y-panel h2 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 16px; }
#a11y-panel button.a11y-close {
  position: absolute; top: 14px; left: 14px;
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text);
}
.a11y-btn {
  display: block;
  width: 100%;
  text-align: right;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
}
.a11y-btn:hover { background: var(--accent-light); }
.a11y-report {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-light);
}
.a11y-report strong { color: var(--text); }

/* Accessibility state classes applied to <html> */
html.a11y-contrast { filter: contrast(1.3); }
html.a11y-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-grayscale img, html.a11y-grayscale svg.illustration { filter: grayscale(1); }
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-no-anim * { animation: none !important; transition: none !important; }
html.a11y-readable body { font-family: Arial, sans-serif !important; letter-spacing: .3px; }
