/*
Theme Name: Oman Hanikayon Landing
Theme URI: https://jons.co.il/
Author: JONS.CO.IL
Author URI: https://jons.co.il/
Description: Clean water style RTL landing page for a professional cleaning company.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: oman-hanikayon
*/

:root {
  --ink: #062238;
  --blue-dark: #083d62;
  --blue: #0877a8;
  --aqua: #19c6d4;
  --aqua-soft: #dff8fb;
  --mint: #e8fbf6;
  --sky: #eefbff;
  --panel: #ffffff;
  --muted: #607686;
  --line: rgba(8, 119, 168, 0.16);
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 22px 60px rgba(6, 34, 56, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  direction: rtl;
  font-family: "Assistant", "Arial", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% 8%, rgba(25, 198, 212, 0.2), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(8, 119, 168, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fdff 0%, #eaf9fd 44%, #ffffff 100%);
}

body.admin-bar .site-header { top: 32px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-wrap { overflow: hidden; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(6, 34, 56, 0.06);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(25, 198, 212, 0.32);
  color: var(--blue);
  background: linear-gradient(145deg, #ffffff, var(--aqua-soft));
  box-shadow: 0 8px 24px rgba(25, 198, 212, 0.2);
  font-size: 22px;
  font-weight: 900;
}

.brand-title {
  display: block;
  font-size: 23px;
  font-weight: 900;
}

.brand-subtitle {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.nav-links a:hover { color: var(--aqua); }

.header-actions,
.hero-actions,
.sticky-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--aqua), var(--blue));
  box-shadow: 0 14px 32px rgba(8, 119, 168, 0.22);
}

.btn-outline {
  color: var(--blue-dark);
  border-color: rgba(8, 119, 168, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

.btn-whatsapp {
  color: #04120a;
  background: var(--green);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.2);
}

.btn-phone {
  direction: ltr;
  unicode-bidi: isolate;
}

.call-icon {
  position: relative;
  width: 17px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.call-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 50%;
  width: 5px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transform: translateX(50%);
}

.call-icon::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(50%);
}

.call-icon.light {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 64px 0 42px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 253, 255, 0.98) 0%, rgba(248, 253, 255, 0.9) 48%, rgba(248, 253, 255, 0.58) 100%),
    url("assets/images/clean-water-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, #eaf9fd 0%, rgba(234, 249, 253, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 900;
}

.aqua-text {
  display: block;
  color: var(--aqua);
  text-shadow: 0 10px 28px rgba(25, 198, 212, 0.18);
}

.hero-copy {
  max-width: 620px;
  margin: 20px 0 26px;
  color: var(--blue-dark);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 26px;
}

.trust-item {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(6, 34, 56, 0.08);
}

.trust-item strong {
  display: block;
  color: var(--aqua);
  font-size: 24px;
  line-height: 1;
}

.trust-item span {
  color: var(--muted);
  font-weight: 800;
}

.hero-card {
  align-self: stretch;
  display: grid;
  align-content: end;
}

.quote-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.quote-panel p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.phone-big {
  display: block;
  margin: 14px 0 18px;
  direction: ltr;
  text-align: right;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.section { padding: 82px 0; }
.section.alt { background: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--aqua);
  font-weight: 900;
  font-size: 17px;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  font-weight: 900;
}

.section-lead {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f2fcff);
  box-shadow: 0 14px 38px rgba(6, 34, 56, 0.08);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(25, 198, 212, 0.28);
  color: var(--blue);
  font-size: 25px;
  background: var(--aqua-soft);
}

.service-card h3 {
  margin: 24px 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-tile {
  min-height: 290px;
  aspect-ratio: 1 / 0.78;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.result-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(6, 34, 56, 0.26)),
    url("assets/images/before-cleaning.png") center / cover no-repeat;
}

.result-tile.after::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(6, 34, 56, 0.18)),
    url("assets/images/after-cleaning.png") center / cover no-repeat;
}

.result-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: var(--radius);
  background: var(--aqua);
  color: var(--white);
  font-weight: 900;
}

.bullets {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 18px;
}

.bullet span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--aqua);
  font-weight: 900;
}

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

.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(6, 34, 56, 0.08);
  padding: 22px;
}

.step-num {
  color: var(--aqua);
  font-size: 36px;
  font-weight: 900;
}

.process-step h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.final-cta {
  position: relative;
  isolation: isolate;
  padding: 74px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 34, 56, 0.9), rgba(8, 119, 168, 0.68)),
    url("assets/images/clean-water-hero.png") center / cover no-repeat;
}

.final-box { max-width: 760px; }

.final-box h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.final-box p {
  margin: 0 0 22px;
  color: #f7fdff;
  font-size: 21px;
  font-weight: 900;
}

.site-footer {
  padding: 26px 0 98px;
  color: var(--muted);
  background: #f8fdff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.8;
}

.credit a {
  color: var(--blue);
  font-weight: 900;
}

.sticky-bar {
  position: fixed;
  z-index: 60;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.93);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 34px rgba(6, 34, 56, 0.08);
  backdrop-filter: blur(14px);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-copy {
  color: var(--blue-dark);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid,
  .split { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }

  .nav {
    min-height: auto;
    padding: 12px 0;
  }

  .nav-links,
  .header-actions .btn-outline { display: none; }

  .hero {
    min-height: auto;
    padding: 48px 0 34px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(248, 253, 255, 0.95), rgba(248, 253, 255, 0.88)),
      url("assets/images/clean-water-hero.png") center / cover no-repeat;
  }

  .trust-row,
  .services-grid,
  .process-grid,
  .before-after { grid-template-columns: 1fr; }

  .section-head,
  .footer-inner,
  .sticky-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions,
  .sticky-actions { width: 100%; }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .btn,
  .sticky-actions .btn {
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .hero-actions .btn {
    min-width: min(100%, 156px);
  }

  .final-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .final-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .final-actions .btn-outline {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.9);
  }

  .sticky-copy {
    display: none;
  }

  .sticky-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sticky-actions .btn {
    min-width: 0;
  }

  .site-footer {
    padding-bottom: 122px;
  }

  .footer-inner {
    text-align: center;
  }

  .section { padding: 58px 0; }
  .quote-panel { padding: 22px; }
  .phone-big { font-size: 38px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand-title { font-size: 19px; }
  .btn {
    min-height: 46px;
    font-size: 15px;
    padding-inline: 12px;
  }

  .btn-phone {
    font-size: 17px;
  }

  .final-actions {
    grid-template-columns: 1fr;
  }

  .sticky-actions {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-actions .btn {
    font-size: 16px;
  }

  .hero h1 { font-size: 42px; }
}
