/* ==========================================================================
   אדוות הריפוי — clean rebuild
   Palette: mint #38A168 | teal #037892 | coral #EE6868 | bone #F2F2F0
            navy #0D2352 | green #4AA81E | headline gradient #0496AC→#5A9329
   (mint/teal/coral/cyan darkened from the original Elementor values
    #80D3A6/#0388A6/#F28D8D/#05D3F2 for readable contrast on light backgrounds)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Disacordia";
  src: url("fonts/Discordia-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Disacordia";
  src: url("fonts/Discordia-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Monopol";
  src: url("fonts/FtMonopol-Hair.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Monopol";
  src: url("fonts/FtMonopol-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Monopol";
  src: url("fonts/FtMonopol-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Base ---------- */
:root {
  --mint: #38A168;
  --teal: #037892;       /* darkened from #0388A6: 4.5:1+ on the bone/white backgrounds */
  --coral: #EE6868;      /* darkened from #F28D8D: 3:1+ on the card gradient */
  --bone: #F2F2F0;
  --navy: #0D2352;
  --green: #4AA81E;
  --green-text: #3B8518; /* darkened from #4AA81E for small text on white */
  /* cyan stop darkened from #05D3F2: 3:1+ where the gradient meets light bg */
  --headline-grad: radial-gradient(at top left, #04A8C4 0%, #5A9329 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Monopol", sans-serif;
  font-size: 18px;
  color: var(--teal);
  background: var(--bone);
  overflow-x: hidden;
}

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

/* ---------- Layout primitives ---------- */
.section {
  position: relative;
  overflow: hidden;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container.narrow { max-width: 800px; }

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Parallax background layer (mirrors Elementor's motion-effects layer) */
.pbg {
  position: absolute;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}
[data-parallax="y"] > .pbg {
  left: 0;
  right: 0;
  top: -25%;
  height: 150%; /* 25% overhang each side — the JS shifts at most 20% */
}
[data-parallax="x"] > .pbg {
  top: 0;
  bottom: 0;
  left: -20%;
  width: 140%;
}

.rich p { margin: 1 0 2em; }
.rich p:last-child { margin-bottom: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bone); /* matches the overlay's bottom stop, so no hard edge can show */
}
.hero .pbg {
  background-image: url("img/hero-bg.jpg");
  top: -40%;     /* biased up: the original shows the lower band of the photo */
  height: 165%;  /* keeps 25% overhang below despite the bias */
}
.hero-overlay {
  background-image: linear-gradient(180deg, #FFFFFF1A 50%, #F2F2F0 100%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 360px;
  max-width: 90%;
  padding: 10px;
  margin-top: 60px;
  background-color: #E752CB24;
  border-radius: 20px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, box-shadow 0.3s;
}
.hero-card:hover {
  background-color: #FF84E870;
  box-shadow: 0px 5px 15px 0px rgba(255, 132, 232, 0.44);
}
.hero-title {
  margin: 0;
  font-family: "Disacordia", sans-serif;
  font-size: 90px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  /* tight shadow for edge contrast on light photo areas + the original soft one */
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6), 0px 10px 30px #000000;
}
.wave { display: block; object-fit: contain; }
.wave-lg {
  width: 70px;
  height: 70px;
  margin: -12px;
  /* white glyph over a bright photo — shadow gives it an edge */
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.55));
}
.profile {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 6px solid #FFFFFF87;
  border-radius: 50%;
  margin: -60px 0 0; /* hangs out over the card's top edge */
}
.hero-name {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-name .name,
.hero-name .role {
  padding: 10px;
  font-size: 18px;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.55), 0px 3px 10px rgba(0, 0, 0, 0.65);
}
.hero-name .name {
  font-weight: 700;
  border-left: 1px solid #FFFFFF; /* divider between name and role */
}
.chevron {
  margin-top: 25px;
  color: #FFFFFF;
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.55));
  animation: hang 1.5s ease-in-out infinite alternate;
}
@keyframes hang {
  from { transform: translateY(0); }
  to   { transform: translateY(12px); }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  background: var(--bone);
  padding: 20px 0;
}
.intro-text {
  text-align: center;
  font-size: 22px;
  color: var(--teal);
  text-shadow: 0px 3px 10px rgba(3, 136, 166, 0.32);
}

/* ==========================================================================
   Water-properties cards
   ========================================================================== */
.cards-section {
  background-color: #010C18;
  padding: 10px 0 340px;
}
.cards-section .pbg { background-image: url("img/lotus-bg.jpg"); }
.cards-overlay {
  background-image: linear-gradient(180deg, #F2F2F0 0%, #FFFFFF7A 100%);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 60px 40px;
  padding-top: 60px; /* room for the overhanging icons */
}
.card {
  padding: 20px;
  text-align: center;
  background-image: linear-gradient(0deg, #FFFFFFD1 0%, #FFFFFF45 100%);
  border-radius: 50px;
  box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.1);
}
.card-icon {
  display: block;
  width: 100px;
  height: 100px;
  padding: 15px;
  margin: -60px auto 15px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.3);
}
.card-icon img {
  height: 70px;
  width: 70px;
}
.card h3 {
  margin: 0 0 7px;
  font-family: "Disacordia", sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--coral);
  text-shadow: 0px 3px 10px rgba(242, 141, 141, 0.37);
}
.card p {
  margin: 0;
  font-size: 18px;
  color: var(--teal);
}

/* Shape divider (wave) at the bottom of the cards section */
.shape-bottom {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(137% + 1.3px);
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.shape-bottom svg {
  display: block;
  width: 100%;
  height: 307px;
  fill: var(--bone);
}

/* ==========================================================================
   Split (two-column) sections
   ========================================================================== */
.split {
  background: var(--bone);
  padding: 70px 0;
}
.split .container { max-width: 1400px; }
.split.watsu {
  background: linear-gradient(180deg, #F2F2F0 0%, #F8FBFC 100%);
}
.two-col {
  display: grid;
  grid-template-columns: 2fr 3.4fr; /* text / image — image dominant */
  gap: 90px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 3.4fr 2fr; }
/* bleed the blob toward the outer edge, away from the text */
.two-col .col-img { margin-inline-end: -80px; }         /* image in left column (RTL) */
.two-col.reverse .col-img { margin-inline-start: -80px; margin-inline-end: 0; } /* image in right column */
.headline {
  margin: 0;
  text-align: center;
  font-family: "Disacordia", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  background-image: var(--headline-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0px 30px 90px rgba(102, 242, 233, 0.56));
}
.headline-en {
  display: block;
  margin-top: 8px;
  text-align: center;
}
.wave-sm { width: 100px; height: 100px; margin: -20px 0; }
/* orig: split headlines/text are start-aligned (right in RTL), 32px */
.split .headline, .split .headline-en { text-align: start; }
.split .headline { font-size: 46px; }
.side-text {
  font-size: 20px;
  color: var(--teal);
  text-shadow: 0px 3px 10px rgba(3, 136, 166, 0.32);
}
.side-text p { margin: 0; } /* no gaps between lines in the text block */
.blob-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2; /* orig blobs render 658x440 */
  object-fit: cover;
  -webkit-mask-image: url("img/blob.svg");
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("img/blob.svg");
  mask-size: contain;
  mask-position: center center;
  mask-repeat: no-repeat;
}

/* ==========================================================================
   Genesis (quote) section
   ========================================================================== */
.genesis {
  background-color: #F8FBFC;
  padding: 10% 0;
  text-align: center;
}
.genesis .pbg { background-image: url("img/blue-stain-bg.jpg"); }
.genesis-overlay {
  background-image: radial-gradient(at center center, #F8FBFC52 0%, #FAFBFD 70%);
}
.wave-xl {
  width: 150px;
  height: 150px;
  margin-inline: auto;
}
.wave-xl.flip { transform: rotate(180deg); }
.genesis-quote {
  font-size: 40px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.genesis-src {
  margin: -10px 0 25px;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.1;
  color: #2D5F0E;
}
.genesis-text {
  margin: 0 10% 1em;
  font-size: 18px;
  line-height: 1.2;
  color: var(--teal);
  text-shadow: 0px 3px 9px rgba(26, 104, 122, 0.35);
}

/* ==========================================================================
   CTA section
   ========================================================================== */
.cta {
  background-color: #CFF4F7;
  min-height: 75vh;
  padding: 40px 0 120px;
  display: flex;
  align-items: center;
  text-align: center;
}
.cta .pbg { background-image: url("img/water-texture-bg.jpg"); }
.cta-overlay {
  background-image: linear-gradient(180deg, #59C2FF00 0%, #CFF4F7 100%);
}
.cta-small {
  margin: 0 0 10px;
  font-family: "Disacordia", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
}
.cta-big {
  margin: 0 0 10px;
  font-family: "Disacordia", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
}
.cta-note {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

/* ---------- Flip box ---------- */
.flip-box {
  position: relative;
  width: 300px;
  height: 250px;
  margin: 20px auto 0;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s ease;
}
.flip-front {
  background-image: radial-gradient(at center center, #7CFF3E8A 0%, #4AA81E00 50%);
  transform: rotateY(0deg);
}
.flip-back {
  background-image: radial-gradient(at center center, #FFFFFF 0%, #FFFFFF00 46%);
  transform: rotateY(180deg);
}
.flip-box:hover .flip-front,
.flip-box:focus .flip-front,
.flip-box:focus-within .flip-front { transform: rotateY(-180deg); }
.flip-box:hover .flip-back,
.flip-box:focus .flip-back,
.flip-box:focus-within .flip-back { transform: rotateY(0deg); }

.flip-icon {
  line-height: 0;
  padding: 25px;
  color: #FFFFFF;
  background-color: var(--green);
  border-radius: 50%;
}
.flip-back h3 {
  margin: 0 0 5px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green);
}
.flip-phone {
  margin-bottom: 25px;
  font-size: 18px;
  color: var(--green-text);
  direction: ltr;
}
.flip-btn {
  display: inline-block;
  padding: 10px 30px;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: none;
  background-color: var(--green);
  border: 2px solid var(--green);
  border-radius: 10px;
  transition: 0.3s;
}
.flip-btn:hover {
  background-color: #FFFFFF;
  color: var(--green);
}

/* ==========================================================================
   Persistent contact buttons
   ========================================================================== */
.contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.contact-btn {
  pointer-events: auto;
  display: flex;
  padding: 10px;
  color: #FFFFFF;
  background-image: radial-gradient(at center center, #00000054 0%, #00000000 60%);
}
.contact-btn svg {
  width: 44px;  /* 22px glyph + 11px padding all round */
  height: 44px;
  padding: 11px;
  background: var(--green);
  border-radius: 50%;
  transition: 0.3s;
}
.contact-btn:hover {
  color: var(--green);
}
.contact-btn:hover svg {
  background: #FFFFFF;
}

/* ==========================================================================
   Entrance animations
   ========================================================================== */
.anim { opacity: 0; }
.anim.in { animation: 1.25s ease both; }
.anim.in[data-anim="fadeIn"]      { animation-name: fadeIn; }
.anim.in[data-anim="fadeInUp"]    { animation-name: fadeInUp; }
.anim.in[data-anim="fadeInDown"]  { animation-name: fadeInDown; }
.anim.in[data-anim="fadeInRight"] { animation-name: fadeInRight; }
.anim.in[data-anim="fadeInLeft"]  { animation-name: fadeInLeft; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim { opacity: 1; }
  .anim.in { animation: none; }
  .chevron { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .profile { width: 75px; height: 75px; }
  .hero-name .name,
  .hero-name .role { padding: 5px; }

  .intro-text { font-size: 18px; }

  .cards { grid-template-columns: 1fr; gap: 80px; }
  .cards-section { padding-bottom: 180px; }
  .shape-bottom svg { height: 120px; }

  .split { padding: 40px 0; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col .col-img, .two-col.reverse .col-img { order: -1; margin-inline: 0; } /* image above text, like the original */
  .headline, .split .headline { font-size: 30px; text-align: center; }
  .headline-en, .split .headline-en { text-align: center; }
  .side-text { text-align: center; }
  .wave-sm { margin-inline: auto; }

  .genesis-quote { font-size: 30px; }
  .genesis-src { font-size: 14px; }
  .genesis-text { margin-inline: 0; }

  .cta-note { margin-top: 20px; }

  .contact-btn { padding: 5px; }
}
