/* almog-plumbing.co.il - fast static site */

/* Self-hosted font (Heebo subsets from Google Fonts) */
@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'HeeboLocal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1220;
  --muted: #5a6477;
  --paper: #ffffff;
  --bg: #f4f6fb;
  --line: #e5e8f0;

  --brand: #ffb703; /* warm */
  --brand-2: #219ebc; /* cool */
  --brand-3: #023047; /* deep */

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);

  --max: 1100px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body {
  margin: 0;
  font-family: 'HeeboLocal', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  direction: rtl;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover { color: var(--brand-2); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(33, 158, 188, 0.45);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  top: 10px;
  right: 10px;
  transform: translateY(-200%);
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.mini {
  font-size: 0.95rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 48, 71, 0.08);
  color: var(--brand-3);
  font-weight: 600;
}

.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 251, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 183, 3, 1), rgba(33, 158, 188, 1));
  box-shadow: 0 10px 22px rgba(2, 48, 71, 0.24);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-sub {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(2, 48, 71, 0.06);
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  text-decoration: none;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-1px);
  transition: transform 140ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; transition: none; }
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 183, 3, 1), rgba(255, 209, 102, 1));
  border-color: rgba(2, 48, 71, 0.08);
}

.btn-secondary {
  background: rgba(33, 158, 188, 0.08);
  border-color: rgba(33, 158, 188, 0.22);
}

.btn-whatsapp {
  background: rgba(18, 140, 126, 0.10);
  border-color: rgba(18, 140, 126, 0.28);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 26px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -200px -180px auto -180px;
  height: 520px;
  background: radial-gradient(circle at 30% 40%, rgba(33, 158, 188, 0.22), rgba(244, 246, 251, 0) 58%),
              radial-gradient(circle at 65% 35%, rgba(255, 183, 3, 0.22), rgba(244, 246, 251, 0) 55%),
              radial-gradient(circle at 80% 70%, rgba(2, 48, 71, 0.08), rgba(244, 246, 251, 0) 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.0rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  margin: 14px 0 10px;
  letter-spacing: -0.3px;
}

.hero h1 .hl {
  background: linear-gradient(180deg, rgba(255, 183, 3, 0) 60%, rgba(255, 183, 3, 0.55) 0);
  border-radius: 10px;
  padding: 0 6px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.trust {
  border: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 14px 36px rgba(11, 18, 32, 0.06);
}

.trust strong {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-art {
  border-radius: 26px;
  border: 1px solid rgba(229, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65));
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-art .art-inner {
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(33, 158, 188, 0.20), rgba(255, 183, 3, 0.14) 55%, rgba(244, 246, 251, 0) 100%);
  padding: 18px;
}

.kicker {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--brand-3);
  font-weight: 700;
}

.section {
  padding: 44px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card {
  grid-column: span 6;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.07);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 140px;
  background: radial-gradient(circle at 50% 20%, rgba(33, 158, 188, 0.16), rgba(255, 183, 3, 0.12) 55%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .card-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--brand-3);
  align-items: center;
  gap: 8px;
}

.card .card-link:hover { color: var(--brand-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(2, 48, 71, 0.06);
  color: var(--brand-3);
  font-weight: 700;
  text-decoration: none;
}

.pill:hover { background: rgba(33, 158, 188, 0.12); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-3);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.note {
  background: rgba(255, 183, 3, 0.14);
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: var(--radius);
  padding: 16px;
}

.faq {
  border-radius: var(--radius);
  border: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.06);
  overflow: hidden;
}

.faq details {
  border-top: 1px solid rgba(229, 232, 240, 0.95);
  padding: 0;
}

.faq details:first-child { border-top: 0; }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .chev {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(229, 232, 240, 0.95);
  display: grid;
  place-items: center;
  background: #fff;
  flex: 0 0 auto;
}

.faq details[open] summary .chev {
  transform: rotate(180deg);
}

.faq .answer {
  padding: 0 18px 18px;
  color: var(--muted);
}

.footer {
  padding: 34px 0 90px;
  border-top: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.footer a { color: var(--brand-3); }

.footer small { color: var(--muted); }

/* Floating WhatsApp (center screen as requested) */
.wa-float {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 90;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 140, 126, 0.30);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.16);
}

.wa-float strong { font-weight: 800; }

.wa-float:hover {
  background: rgba(18, 140, 126, 0.10);
}

.wa-icon {
  width: 22px;
  height: 22px;
}

/* Mobile dock */
.cta-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  border-top: 1px solid rgba(229, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.cta-dock .dock-inner {
  width: min(var(--max), calc(100% - 20px));
  margin: 0 auto;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;
}

.dock-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 800;
  border: 1px solid rgba(229, 232, 240, 0.95);
  color: var(--brand-3);
  background: rgba(2, 48, 71, 0.04);
}

.dock-btn:hover { background: rgba(2, 48, 71, 0.08); }

.dock-btn.primary {
  background: rgba(18, 140, 126, 0.10);
  border-color: rgba(18, 140, 126, 0.22);
}

.dock-btn.primary:hover { background: rgba(18, 140, 126, 0.16); }

/* Keep content visible even if JS is blocked (SEO/no-JS friendly). */
[data-reveal] { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-cta .btn-secondary { display: none; }
  .cards { gap: 12px; }
  .card { grid-column: span 12; }
  .wa-float { display: none; }
}
