/* ============================================
   Tipa Pratit - Shared Base Styles
   ============================================ */

/* --- Custom Font: almoni-tzar (Hebrew) --- */
@font-face {
  font-family: 'almoni-tzar';
  src: url('../assets/fonts/almoni-tzar-aaa-300.woff') format('woff'),
       url('../assets/fonts/almoni-tzar-aaa-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Font: titillium (English quotes) --- */
@font-face {
  font-family: 'titillium';
  src: url('../assets/fonts/titillium-regular-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f6f6f6;
  --color-bg-nav: #494949;
  --color-nav-hover: #3c3c3c;
  --color-nav-active: #43494c;
  --color-text-primary: rgb(116, 116, 116);
  --color-text-white: #ffffff;
  --color-accent: #a0ce4e;
  --color-border: #e8e8e8;
  --color-border-dark: #dadada;
  --color-btn-bg: #32373c;
  --color-btn-text: #ffffff;
  --color-hamburger-bg: #c6c6c6;

  /* Section-specific backgrounds from live site */
  --color-bg-pink: rgb(246, 191, 203);
  --color-bg-about: rgb(228, 228, 228);
  --color-bg-sleep: rgb(248, 249, 242);
  --color-bg-testimonials: rgb(130, 151, 169);
  --color-bg-contact: rgb(200, 219, 229);

  --font-family-body: 'PT Sans', Arial, Helvetica, sans-serif;
  --font-family-content: almoni-tzar, 'PT Sans Narrow', sans-serif;
  --font-family-nav: 'Antic Slab', Arial, Helvetica, sans-serif;
  --font-family-quote-en: titillium, arial;
  --font-size-base: 24px;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-body: 1.54;

  --max-content-width: 1100px;
  --nav-height: 50px;
  --transition-speed: 0.3s;
}

/* --- Modern CSS Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  /* Live site uses default (auto) font smoothing — subpixel rendering.
     "antialiased" makes text appear thinner than the live site. */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Skip to Content --- */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 0;
  z-index: 10000;
  background: var(--color-accent);
  color: var(--color-text-primary);
  padding: 10px 20px;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   NAVIGATION - Desktop
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: rgba(73, 73, 73, 0.5);
  width: 100%;
  transition: background-color 0.3s ease, padding 0.3s ease, transform 0.3s ease;
  transform: translateY(-100%);
}

/* Show nav once user scrolls past the hero */
.site-header.is-visible {
  transform: translateY(0);
}

/* Gradient color strip below nav — same rainbow as section separators */
.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right,
    #65cceb 0%, #19b6e1 10%, #33bac0 20%, #67c181 28%,
    #a0c93d 38%, #c8955e 50%, #e76e75 58%, #f1627e 65%,
    #f27758 75%, #f48a34 82%, #f5941f 92%, #fab769 100%
  );
}

/* Sticky shrink state – toggled by JS on scroll */
.site-header.is-sticky {
  background-color: rgba(73, 73, 73, 0.65);
}

.site-header.is-sticky .nav-menu a {
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  font-family: var(--font-family-content);
  color: var(--color-text-white);
  padding: 31px 0;
  margin-inline-end: 45px;
  font-size: 23px;
  font-weight: var(--font-weight-regular);
  line-height: 23px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s linear;
  white-space: nowrap;
}

.nav-menu a:hover {
  border-color: var(--color-accent);
}

.lang-switch {
  display: none;
  align-items: center;
  gap: 5px;
  color: var(--color-accent);
  padding: 15px 12px;
  font-size: 24px;
  font-family: var(--font-family-nav);
  border-top: 3px solid transparent;
  transition: border-color 0.2s linear;
}

.lang-switch:hover {
  border-color: var(--color-accent);
}

.lang-switch img {
  width: 16px;
  height: 11px;
  display: inline-block;
}

/* --- Language Flag (top-left corner, all resolutions) --- */
.lang-flag {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 999999;
  display: block;
  line-height: 0;
}

.lang-flag img {
  width: 32px;
  height: 22px;
  display: block;
}

/* --- Mobile Bottom Bar (phone, email, facebook) --- */
.mobile-bottom-bar {
  display: none; /* Shown only on mobile via media query */
}

/* --- Hamburger Menu (CSS-only) --- */
.menu-toggle-input {
  display: none;
}

.hamburger-label {
  display: none;
}

.menu-overlay {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-white);
  overflow: hidden;
  /* Fallback if video/GIF both fail */
  background: #d8d8d8 url('../assets/images/hero-video-thumb.webp') center / cover no-repeat;
}

/* Video background - fills the hero, desktop only */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Animated GIF fallback - hidden on desktop, shown on mobile */
.hero-gif {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 60px 20px;
}

/* Visually hidden but accessible to screen readers and SEO */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero h1 {
  font-size: 60px;
  font-weight: var(--font-weight-regular);
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin: 0 auto;
}

/* Scroll-down arrow — bouncing hint at bottom of hero */
.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #919191;
  animation: hero-bounce 1.8s infinite;
  line-height: 0;
}

@keyframes hero-bounce {
  0%   { transform: translateX(-50%) translateY(0); }
  40%  { transform: translateX(-50%) translateY(-15px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* ============================================
   RAINBOW SEPARATOR — CSS gradient matching
   the 4 logo drop colors (blue→green→pink→orange).
   Replaces the tiled JPEG on the live site so it
   scales seamlessly at every viewport width.
   ============================================ */
.intro-section::before,
.quote-section::before,
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 2;
  background: linear-gradient(to right,
    #65cceb 0%,
    #19b6e1 10%,
    #33bac0 20%,
    #67c181 28%,
    #a0c93d 38%,
    #c8955e 50%,
    #e76e75 58%,
    #f1627e 65%,
    #f27758 75%,
    #f48a34 82%,
    #f5941f 92%,
    #fab769 100%
  );
}

/* ============================================
   INTRO SECTION (dark gray, after hero)
   ============================================ */
.intro-section {
  background-color: var(--color-bg-nav);
  color: var(--color-text-white);
  padding: 20px 0px;
  text-align: start;
  overflow: hidden;
  position: relative;
}

.intro-section .section-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.intro-two-col {
  display: flex;
  align-items: center;
}

.intro-col-text {
  flex: 0 0 65.33%;
}

.intro-col-image {
  flex: 0 0 30.67%;
  min-width: 0;
  overflow: visible;
  position: relative;
  margin-left: 4%;
}

.intro-col-image img {
  display: block;
  max-width: none;
  width: 786px;
  height: auto;
  margin-inline-start: -360px;
  transform: scaleX(-1);
}

.intro-section h2 {
  font-family: var(--font-family-content);
  font-size: 48px;
  font-weight: var(--font-weight-regular);
  margin-bottom: 20px;
  color: var(--color-text-white);
}

.intro-section p {
  font-family: var(--font-family-content);
  font-size: 38px;
  font-weight: var(--font-weight-bold);
  line-height: 100%;
  color: rgb(218, 218, 218);
  max-width: 680px;
  margin-top: 27px;
  margin-inline-start: auto;
}

/* ============================================
   CONTENT SECTIONS - Shared
   ============================================ */
.section {
  padding: 40px 20px;
  text-align: start;
}

.section-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-family-content);
  font-size: 48px;
  font-weight: var(--font-weight-regular);
  margin-bottom: 24px;
  line-height: 41px;
  color: var(--color-text-primary);
}

.section h3 {
  font-family: var(--font-family-content);
  font-size: 36px;
  font-weight: var(--font-weight-regular);
  margin-bottom: 15px;
  line-height: 36px;
  color: rgb(51, 51, 51);
}

.section p {
  font-family: var(--font-family-content);
  font-size: 24px;
  font-weight: var(--font-weight-light);
  margin-bottom: 20px;
  line-height: 30px;
  color: var(--color-text-primary);
}

.section ul {
  margin-bottom: 15px;
  padding-inline-start: 0;
}

.section ul li {
  font-family: var(--font-family-content);
  list-style: none;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(102, 102, 102);
}


/* ============================================
   VIP SERVICE SECTION - Wood texture background
   ============================================ */
.vip-section {
  background-image: url('../assets/images/backgrounds/vip-wood-bg.jpg');
  background-size: cover;
  background-position: 50% 100px;
  background-repeat: no-repeat;
  padding: 50px 20px;
  overflow: hidden;
  position: relative;
}

/* VIP top area: full-width text + illustration */
.vip-top {
  max-width: 1000px;
  margin: 0 auto;
  display: flow-root;
}

.vip-description {
  margin-bottom: 20px;
}

.text-orange {
  color: #f5941f;
}

.text-blue {
  color: #18b6e1;
}

/* English text spans within Hebrew headings (e.g., "VIP") */
.englishspan {
  font-family: titillium, arial;
}

/* VIP service H4 text elements */
.vip-service {
  font-family: var(--font-family-content);
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
  color: var(--color-text-white);
  margin: 47.88px 0;
  padding-bottom: 50px;
}

.vip-service--blue span {
  color: #18b6e1;
}

.vip-service--green span {
  color: #a1c93e;
}

.vip-service--pink span {
  color: #ed697b;
}

.vip-illustration {
  float: right;
  margin: -60px 0 0 15px;
}

/* ============================================
   WHY / WHO / WHAT (3 columns)
   Semi-transparent white background cards
   ============================================ */
.three-col {
  display: flex;
  gap: 0;
  clear: both;
}

.three-col .col {
  width: 30.6666%;
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  margin-inline-start: 4%;
  margin-bottom: 20px;
}

.three-col .col:last-child {
  margin-inline-start: 4%;
  margin-bottom: 0;
}

.three-col .col:first-child {
  margin-inline-start: 0;
}

.three-col .col .col-title {
  font-family: var(--font-family-content);
  font-size: 24px;
  font-weight: var(--font-weight-regular);
  line-height: 30px;
  color: #18b6e1;
  margin-bottom: 20px;
}

.three-col .col p {
  font-family: var(--font-family-content);
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 20px;
}

/* ============================================
   QUOTE / BLOCKQUOTE SECTIONS
   Background images with parallax effect
   ============================================ */
.quote-section {
  text-align: center;
  padding: 86px 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-text-white);
  position: relative;
}

/* No dark overlay — live site has none (parallax-inner at z-index:-1 with no tint) */

.quote-section .section-inner {
  max-width: 1000px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.quote-section blockquote {
  font-family: var(--font-family-content);
  font-size: 30px;
  font-style: normal;
  font-weight: var(--font-weight-light);
  line-height: 30px;
  color: var(--color-text-white);
  margin: 40px 0;
  display: flow-root;
}

.quote-section blockquote p {
  margin-bottom: 0;
  color: var(--color-text-white);
}

.quote-section cite {
  font-family: var(--font-family-content);
  font-size: 24px;
  font-style: normal;
  font-weight: var(--font-weight-light);
  line-height: 30px;
  display: block;
  color: var(--color-text-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0 0 20px;
}

/* English quote sections use titillium font */
.quote-section--2 blockquote,
.quote-section--4 blockquote {
  font-family: var(--font-family-quote-en);
}

.quote-section--2 cite,
.quote-section--4 cite {
  font-family: var(--font-family-quote-en);
}

/* Individual quote backgrounds */
.quote-section--1 {
  background-image: url('../assets/images/backgrounds/quote1-moment.jpg');
}

.quote-section--2 {
  background-image: url('../assets/images/backgrounds/quote2-child-talks.jpg');
}

.quote-section--2 .section-inner {
  padding: 0;
}

.quote-section--3 {
  background-image: url('../assets/images/backgrounds/quote3-fulltime-mom.jpg');
}

.quote-section--4 {
  background-image: url('../assets/images/backgrounds/quote4-being-parent.jpg');
}

/* ============================================
   ABOUT ME SECTION - Gray with background image
   ============================================ */
.about-section {
  background-color: var(--color-bg-about);
  background-image: url('../assets/images/backgrounds/about-me-bg.jpg');
  background-size: cover;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 0;
}

.about-section .about-decorative {
  position: absolute;
  left: -66px;
  top: 0;
  width: 616px;
  max-width: none;
  height: auto;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.about-section .section-inner {
  padding: 50px 0 0;
  max-width: 1100px;
  margin: 0 auto;
}

.about-section .about-content {
  display: block;
  position: relative;
  z-index: 1;
  width: 65.33%;
  margin-inline-end: auto;
  box-sizing: border-box;
  padding: 0 20px 100px;
}

.about-section .about-photo {
  width: 150px;
  height: 150px;
  border-radius: 0;
  object-fit: cover;
}

.about-section .about-photo-wrapper {
  float: right;
  width: 160px;
  margin: 0 0 0 15px;
  text-align: start;
}

.about-section .about-photo-caption {
  font-family: var(--font-family-content);
  font-size: 24px;
  font-weight: var(--font-weight-light);
  color: rgb(116, 116, 116);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 30px;
}

.about-section .about-text {
  overflow: hidden; /* contain around float */
}

.about-section h2 {
  color: rgb(127, 96, 94);
  margin-bottom: 24px;
}

.about-section p {
  color: rgb(127, 96, 94);
}

/* ============================================
   NURSE SECTION - Full background image
   ============================================ */
.nurse-section {
  background-size: cover;
  background-position: 100% 0%;
  background-repeat: no-repeat;
  padding: 0;
  min-height: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.nurse-section .section-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0;
}

.nurse-section .nurse-top-row {
  position: relative;
  display: flow-root;
}

.nurse-section .nurse-col-text {
  width: 58.4%;
  margin-inline-end: 4%;
  padding: 0 20px;
  display: flow-root;
  text-align: right;
}

.nurse-section--he .nurse-col-text {
  margin-top: 27px;
  margin-bottom: 20px;
}

.nurse-section .nurse-col-text h3 {
  font-size: 36px;
  margin: 36px 0;
  line-height: 36px;
  color: var(--color-text-white);
}

.nurse-section .nurse-col-text p {
  color: var(--color-text-white);
}

.nurse-section .nurse-col-image {
  position: absolute;
  top: 0;
  inset-inline-start: 62.4%;
  width: 37.6%;
  overflow: visible;
}

.nurse-section .nurse-col-image img {
  position: absolute;
  top: 0;
  left: -567px;
  width: 1503px;
  max-width: none;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.nurse-section .nurse-bottom-row {
  padding: 0 20px 20px;
  position: relative;
  z-index: 1;
  text-align: right;
}

.nurse-section--he .nurse-bottom-row {
  margin-bottom: 0;
}

.nurse-section--en .nurse-bottom-row {
  margin-bottom: 0;
}

.nurse-section .nurse-bottom-row p {
  color: var(--color-text-white);
}

/* Language-specific nurse backgrounds are set via inline style or HTML class */
.nurse-section--he {
  background-image: url('../assets/images/backgrounds/nurse-bg-he.png');
}

.nurse-section--en {
  background-image: url('../assets/images/backgrounds/nurse-bg-en.png');
}

/* ============================================
   TWO-COLUMN SECTIONS (Nurse, Sleep, etc.)
   ============================================ */
.two-col-section .two-col {
  display: flex;
  align-items: center;
  gap: 40px;
}

.two-col-section .col-text {
  flex: 1;
}

.two-col-section .col-image {
  flex: 1;
  text-align: center;
}

.two-col-section .col-image img {
  max-width: 100%;
  margin: 0 auto;
}

/* Mobile image hidden by default on desktop */
.mobile-only-img {
  display: none;
}

/* ============================================
   JAUNDICE/NEWBORN SECTION - Pink background
   ============================================ */
.newborn-section {
  background-color: var(--color-bg-pink);
  padding: 0;
  overflow: hidden;
}

.newborn-section .section-inner {
  max-width: 100%;
}

.newborn-section .two-col {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.newborn-section .col-text {
  flex: 0 0 65.33%;
  padding: 40px 40px 60px;
  margin-inline-end: 4%;
  display: flow-root;
  text-align: right;
}

.newborn-section .col-text h3 {
  font-size: 36px;
  margin: 36px 0;
}

.newborn-section .col-image {
  flex: 0 0 30.67%;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: right top;
}

.newborn-section .col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   SLEEP SECTION - Light greenish background
   ============================================ */
.sleep-section {
  background-color: var(--color-bg-sleep);
  background-position: 100% 50%;
  padding: 0;
  overflow: hidden;
}

.sleep-section .section-inner {
  max-width: 1100px;
  padding: 0;
}

.sleep-section .two-col {
  display: block;
  position: relative;
}

.sleep-section .col-text {
  width: 48%;
  padding: 10px 0 0;
  margin-inline-start: 4%;
  display: flow-root;
}

.sleep-section .col-text .sleep-text-inner {
  padding: 28px 20px;
}

.sleep-section .col-text h3 {
  font-size: 36px;
  margin: 36px 0;
}

.sleep-section .two-col .col-image {
  position: absolute;
  top: 0;
  inset-inline-start: 52%;
  height: 100%;
  overflow: hidden;
}

.sleep-section .two-col .col-image img {
  width: 767px;
  max-width: none;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* ============================================
   TESTIMONIALS / HAPPY CUSTOMERS - Blue-gray
   ============================================ */
.testimonials-section {
  background-color: var(--color-bg-testimonials);
  color: #ffffff;
  padding: 0 0 82px;
  overflow: hidden;
}

.testimonials-section .section-inner {
  max-width: 1100px;
  padding: 0;
}

.testimonials-two-col {
  position: relative;
  display: flow-root;
}

.testimonials-col-text {
  width: 48%;
  margin-inline-end: 4%;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 20px;
  display: flow-root;
}

.testimonials-col-text h3 {
  font-size: 36px;
  margin: 36px 0;
  color: #ffffff;
  line-height: 36px;
}

.testimonials-col-text p {
  font-family: var(--font-family-content);
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  font-weight: var(--font-weight-light);
  margin-bottom: 20px;
}

.testimonials-col-image {
  position: absolute;
  top: 0;
  inset-inline-start: 52%;
}

.testimonials-col-image img {
  display: block;
  width: 700px;
  max-width: none;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* Video lightbox trigger — play button is already embedded in the thumbnail image */
.video-lightbox-trigger {
  display: block;
  cursor: pointer;
  line-height: 0;
}

/* Video lightbox overlay */
.video-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(11, 11, 11, 0.8);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.video-lightbox-overlay.active {
  display: flex;
}

.video-lightbox-content {
  position: relative;
  width: 80vw;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  cursor: default;
}

.video-lightbox-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  top: -40px;
  inset-inline-end: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.video-lightbox-close:hover {
  opacity: 1;
}

/* ============================================
   CTA + CONTACT SECTION - Light blue background
   ============================================ */
.contact-section {
  background-color: var(--color-bg-contact);
  padding: 0 30px 0 43px;
  position: relative;
}

.contact-section .section-inner {
  max-width: 100%;
}

.contact-two-col {
  position: relative;
  display: flow-root;
}

.contact-col-image {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 37.6%;
  margin-inline-start: 4%;
  overflow: visible;
}

.contact-col-image .cta-image {
  display: block;
  width: 633px;
  height: 637px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 88%, transparent 100%);
}

.contact-col-text {
  width: 58.4%;
  max-width: 650px;
  margin-inline-start: 41.6%;
  padding: 20px;
  text-align: center;
  min-height: 632px;
}

.contact-title {
  font-family: var(--font-family-content);
  font-size: 30px;
  font-weight: var(--font-weight-regular);
  line-height: normal;
  margin: 39.9px 0;
  text-align: center;
  color: var(--color-text-white);
}

.contact-section p {
  font-family: var(--font-family-content);
  text-align: center;
}

.contact-phone {
  text-align: center;
  direction: ltr;
}

.contact-phone a {
  color: #473a31;
  font-family: var(--font-family-content);
  font-size: var(--font-size-base);
}

.contact-email {
  text-align: center;
}

.contact-email a {
  color: #18b6e1;
  font-family: var(--font-family-content);
  font-size: var(--font-size-base);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  flex: 1;
  height: 29px;
  padding: 0 15px;
  font-size: 16px;
  font-family: var(--font-family-body);
  border: 1px solid #d2d2d2;
  border-radius: 0;
  background: #fff;
  color: var(--color-text-primary);
  direction: rtl;
}

.contact-form input::placeholder {
  color: #aaa;
}

.contact-form-wide {
  flex: 1;
}

.contact-form-submit {
  padding: 12px 5px;
  background-color: rgb(92, 141, 181);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 14px;
  font-family: var(--font-family-body);
  cursor: pointer;
  min-width: 80px;
  transition: background-color var(--transition-speed);
}

.contact-form-submit:hover {
  background-color: rgb(72, 121, 161);
}

/* Consent checkbox */
.contact-form-consent {
  margin: 10px 0;
  font-size: 13px;
  color: #7f605e;
}

.contact-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.contact-form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: rgb(92, 141, 181);
}

.contact-form-consent a {
  color: rgb(92, 141, 181);
  text-decoration: underline;
}

.contact-form-consent a:hover {
  color: rgb(72, 121, 161);
}

/* Thank-you message (shown after form submit) */
.contact-form.is-submitted .contact-form-row,
.contact-form.is-submitted .contact-form-consent,
.contact-form.is-submitted .visually-hidden {
  display: none;
}

.contact-form-thankyou {
  display: none;
  text-align: center;
  padding: 20px 10px;
  color: #473a31;
  font-size: 18px;
  line-height: 1.6;
}

.contact-form.is-submitted .contact-form-thankyou {
  display: block;
}

.contact-form-thankyou p {
  margin: 5px 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-bg-nav);
  color: var(--color-text-white);
  text-align: center;
  padding: 40px 20px;
}

.site-footer address {
  font-style: normal;
}

/* --- Floating Accessibility Icon --- */
.accessibility-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  background: #1565c0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.accessibility-float:hover {
  background: #0d47a1;
  transform: scale(1.1);
}

.accessibility-float:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.accessibility-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* On mobile, offset above the bottom bar */
@media (max-width: 768px) {
  .accessibility-float {
    bottom: 70px;
  }
}

.footer-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.footer-logo {
  margin: 0 auto 20px;
  max-width: 250px;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--color-text-white);
  padding: 8px 12px;
  font-size: 13px;
  transition: color var(--transition-speed);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-white);
  margin-bottom: 15px;
  font-size: 13px;
}

.footer-lang-switch img {
  width: 16px;
  height: 11px;
  display: inline-block;
}

.footer-social {
  margin-bottom: 15px;
}

.footer-social a {
  color: var(--color-text-white);
  font-size: 14px;
  padding: 8px;
  transition: color var(--transition-speed);
}

.footer-social a:hover {
  color: var(--color-accent);
}

.footer-accessibility-link {
  display: inline-block;
  color: var(--color-text-white);
  font-size: 13px;
  margin-bottom: 15px;
  padding: 8px;
  transition: color var(--transition-speed);
}

.footer-accessibility-link:hover {
  color: var(--color-accent);
}

.go-to-top {
  display: inline-block;
  color: var(--color-text-white);
  font-size: 13px;
  margin-bottom: 15px;
  padding: 8px;
  transition: color var(--transition-speed);
}

.go-to-top:hover {
  color: var(--color-accent);
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 15px;
}

/* ============================================
   ACCESSIBILITY STATEMENT
   ============================================ */
.accessibility-section {
  border-top: 1px solid var(--color-border);
}

.accessibility-section h2 {
  font-size: 20px;
}

.accessibility-section p {
  font-size: 13px;
  line-height: 1.7;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .quote-section {
    background-attachment: scroll;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .hamburger-label,
  .menu-overlay,
  .go-to-top,
  .video-container,
  .footer-social,
  .lang-switch,
  .footer-lang-switch {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* ============================================
   ENGLISH-SPECIFIC OVERRIDES
   EN site uses 20px base font, 22.6px line-height
   ============================================ */
html[lang="en"] .section p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .vip-section p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .three-col .col .col-title {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .three-col .col p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .nurse-section .nurse-col-text p,
html[lang="en"] .nurse-section .nurse-bottom-row p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .newborn-section .col-text p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .about-section {
  min-height: 750px;
}

html[lang="en"] .about-section .about-decorative {
  left: auto;
  right: 0;
  top: 0;
  width: auto;
  height: 100%;
  max-width: none;
  opacity: 1;
  /* Live Avada site flips the girl image horizontally for EN */
  transform: scaleX(-1);
}

html[lang="en"] .about-section .section-inner {
  padding: 40px 0 0;
  max-width: none;
  margin: 0;
}

html[lang="en"] .about-section .about-content {
  padding: 0 0 0 20px;
}

html[lang="en"] .about-section .about-photo-wrapper {
  float: left;
  margin: 0 15px 0 0;
}

html[lang="en"] .about-section .about-photo-caption {
  display: none;
}

html[lang="en"] .about-section h2 {
  margin-bottom: 10px;
  padding: 0 0 0 20px;
  /* Live Avada site: H2 is 48px but text is in a <span> at 29px / brown.
     Span lh=22px but H2 block is 41px tall. We match the visible text styles
     while keeping proper block height for spacing. */
  font-size: 29px;
  line-height: 41px;
  font-weight: 400;
  color: rgb(127, 96, 94);
}

/* h3 removed - "My Credo" is now correctly h2 */

html[lang="en"] .about-section p {
  font-size: 20px;
  line-height: 22.6px;
  /* Live Avada: P base is gray but ALL text is in brown <span style="color: #7f605e;">.
     The VISIBLE color is brown rgb(127, 96, 94). */
  color: rgb(127, 96, 94);
}

html[lang="en"] .testimonials-col-text p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .contact-section p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .contact-section h2 {
  font-size: 30px;
}

html[lang="en"] .sleep-section .col-text p {
  font-size: 20px;
  line-height: 22.6px;
}

html[lang="en"] .nurse-section .nurse-col-text h4 {
  font-size: 30px;
  font-weight: var(--font-weight-regular);
  line-height: normal;
  margin: 39.9px 0;
  color: var(--color-text-white);
}

html[lang="en"] .nurse-section--en .nurse-bottom-row {
  margin-bottom: 0;
}

/* EN: Newborn section text-align (HE uses right for RTL, EN needs start/left) */
html[lang="en"] .newborn-section .col-text {
  text-align: start;
}

/* EN: Newborn image - show bassinet without cutting it off */
html[lang="en"] .newborn-section .col-image img {
  object-position: 35% center;
}

/* EN: Nurse section text-align (HE uses right for RTL, EN needs start/left) */
html[lang="en"] .nurse-section .nurse-col-text {
  text-align: start;
}

html[lang="en"] .nurse-section .nurse-bottom-row {
  text-align: start;
}

/* EN: Live site (Avada) doesn't bold <strong> in section content — it inherits parent weight.
   Without this, <strong> renders as 700 (browser default) instead of matching live site. */
html[lang="en"] .section strong {
  font-weight: inherit;
}

/* EN: VIP col-title uses 300 weight on live site (not 400) */
html[lang="en"] .three-col .col .col-title {
  font-weight: 300;
}

/* EN: Sleep section text is black on live site (via inline spans) */
html[lang="en"] .sleep-section .col-text h3 {
  color: rgb(0, 0, 0);
}

html[lang="en"] .sleep-section .col-text p {
  color: rgb(0, 0, 0);
}

/* EN: Contact form inputs should be LTR (base rule sets RTL for Hebrew) */
html[lang="en"] .contact-form input[type="text"],
html[lang="en"] .contact-form input[type="tel"],
html[lang="en"] .contact-form input[type="email"] {
  direction: ltr;
}

/* EN nurse image: different offset than HE (-567px vs -525px) */
html[lang="en"] .nurse-section .nurse-col-image img {
  left: -525px;
}

/* EN Contact section overrides */
html[lang="en"] .contact-col-image .cta-image {
  width: 100%;
  height: auto;
}

html[lang="en"] .contact-col-text {
  min-height: 580px;
  max-width: none;
  padding: 0 40px;
  display: flow-root;
}

/* EN VIP section overrides */
html[lang="en"] .vip-top {
  max-width: 1100px;
  margin-bottom: 20px;
}

html[lang="en"] .vip-service {
  padding-bottom: 55px;
}

/* EN Intro: live EN site uses full-width row (not 1100px constrained) */
html[lang="en"] .intro-section .section-inner {
  max-width: 100%;
}

html[lang="en"] .intro-col-text {
  margin-left: 4%;
}

html[lang="en"] .intro-col-image {
  margin-left: 0;
  margin-bottom: 20px;
}

/* EN image uses float:right (no negative margin) to anchor to viewport edge */
html[lang="en"] .intro-col-image img {
  float: right;
  margin-inline-start: 0;
  transform: none;
}

/* EN Quotes: different padding */
html[lang="en"] .quote-section {
  padding: 83px 0;
}

/* EN Testimonials: different padding-bottom */
html[lang="en"] .testimonials-section {
  padding-bottom: 24px;
}

html[lang="en"] .testimonials-col-text {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* EN Sleep: different inner padding */
html[lang="en"] .sleep-section .col-text .sleep-text-inner {
  padding: 10px 20px 40px;
}
