/* ============================================================
   TRIO - Insurance & Finance | style.css
   RTL Hebrew Design | Navy + Gold Color Scheme
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1e35;
  --navy-dark:  #070f1c;
  --navy-mid:   #162d4a;
  --gold:       #b08a2f;
  --gold-dark:  #a8882e;
  --white:      #ffffff;
  --off-white:  #f7f9fb;
  --light-gray: #eef1f5;
  --mid-gray:   #9aacbf;
  --dark-gray:  #4a5568;
  --text:       #2d3748;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.16);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: .3s ease;
  --header-h:   83px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Assistant', Arial, sans-serif;
  direction: rtl;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ── Scroll animation classes ───────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }
.delay-4 { transition-delay: .6s; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(245,166,35,.4);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,.5);
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 4px 14px rgba(201,168,76,.45); }
  50%       { transform: scale(1.07); box-shadow: 0 6px 30px rgba(201,168,76,.9), 0 0 22px rgba(201,168,76,.55); }
}
.page-cta .btn-gold,
.checkup-cta .btn-gold {
  animation: ctaPulse 1.9s ease-in-out infinite;
}
.page-cta .btn-gold:hover,
.checkup-cta .btn-gold:hover {
  animation-play-state: paused;
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── Section Labels ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(245,166,35,.15);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin-inline: auto;
  margin-top: 1.2rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(135deg, #0a1a2e 0%, #0d2137 60%, #112844 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  border-bottom: 2px solid rgba(201,168,76,.45);
  transition: box-shadow var(--transition);
}
.site-header .nav-link { color: var(--white); }
.site-header .nav-link:visited { color: var(--white) !important; }
.site-header .nav-link:active  { color: var(--white); }.site-header .logo-main { color: var(--white); }
.site-header .logo-sub  { color: var(--gold); }
.site-header .hamburger-line { background: var(--white); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  line-height: 1;
  flex-shrink: 0;
}
.logo-main {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo-sep {
  color: var(--gold);
  font-weight: 300;
  font-size: 1.2rem;
}
.logo-sub {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* Header Logo */
.header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  line-height: 1;
}
.header-logo .logo-main { font-size: 1.93rem; font-weight: 800; color: var(--white); }
.header-logo .logo-sep  { color: var(--gold); font-size: 1.15rem; font-weight: 300; margin: 0 .35rem; }
.header-logo .logo-sub  { font-size: 1.75rem; font-weight: 700; color: var(--gold); white-space: nowrap; transition: color .2s; }
.header-logo .logo-sub:hover { color: var(--white); }
@media (max-width: 900px) {
  .header-logo { display: flex; }
  .header-inner { justify-content: space-between; position: relative; }
  .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-logo .logo-main { font-size: 1.90rem; }
  .header-logo .logo-sub  { font-size: 1.73rem; }
}
@media (min-width: 1101px) {
  .hero { background-attachment: fixed; }
}
@media (max-width: 1100px) and (min-width: 769px) {
  .main-nav    { display: none; }
  .header-phone { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { display: block; }
  .header-inner { justify-content: space-between; position: relative; }
  .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-content { flex-direction: column; text-align: center; padding-block: 3.5rem; }
  .hero-badge { display: none; }
  .hero-title { white-space: normal; font-size: clamp(1.4rem, 5vw, 2.2rem); }
}

/* Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: .1rem;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-link {
  padding: .3rem .4rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .97rem;
  color: var(--navy);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); background: transparent; }
.mobile-nav-link.active { font-weight: 700; }

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  background: var(--light-gray);
  padding: .45rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  flex-shrink: 0;
  direction: ltr;
}
.header-phone:hover { background: var(--gold); color: var(--navy-dark); }

/* Header new elements */
.header-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header-phone-num {
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  direction: ltr;
  display: inline-block;
}
.header-phone-num:hover { color: var(--gold); }
.header-email-icon {
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.header-email-icon:hover { color: var(--gold); }
.btn-personal-area {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1.04rem;
  padding: .4rem 1rem;
  border-radius: 4px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-personal-area:hover { background: rgba(201,168,76,.15); }
.header-whatsapp {
  color: #25d366;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: var(--transition);
}
.header-whatsapp i { font-size: 1.3rem; }
.header-whatsapp:hover { color: #1faf54; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--navy-dark);
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-nav-list { padding: .5rem 1.5rem; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 0;
  color: var(--white) !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--gold) !important; }
.mobile-phone { color: var(--gold) !important; direction: ltr; justify-content: flex-end; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(60,90,120,.65) 0%, rgba(60,90,120,.60) 100%),
    url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1600&q=80') center/cover no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-block: 5rem;
  width: 100%;
}
.hero-text { max-width: 100%; text-align: center; width: 100%; margin: 0 auto; }
.hero-text h1, .hero-text p { text-align: center; width: 100%; }
.hero-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(2.07rem, 4.37vw, 4.14rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  white-space: nowrap;
  text-align: center;
  transition: color 0.3s ease;
}
.hero-title:hover { color: var(--gold); }
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-subtitle {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2.2rem;
  text-align: center;
  transition: color 0.3s ease;
}
.hero-subtitle:hover { color: var(--gold); }
.hero-badge {
  flex-shrink: 0;
}
.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(245,166,35,.4);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  backdrop-filter: blur(8px);
  color: var(--white);
  text-align: center;
}
.badge-icon { font-size: 2.8rem; color: var(--gold); }
.badge-text { font-size: 1rem; font-weight: 700; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 20px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 2rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: .5rem 3rem;
  cursor: default;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  transition: color 0.9s ease, transform 0.9s ease;
}
.stat-item:hover .stat-number,
.stat-item.stat-auto-active .stat-number { color: var(--white); transform: scale(1.5); }
.stat-plus { font-size: 1.3rem; }
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  transition: color 0.9s ease, transform 0.9s ease;
}
.stat-item:hover .stat-label,
.stat-item.stat-auto-active .stat-label { color: var(--white); transform: scale(1.5); }
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { padding: 5rem 0; background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-card.seq-glow {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,0.32), 0 4px 16px rgba(13,30,53,0.1);
}
/* Makes entire card clickable via the service-link */
.service-card .service-link::before {
  content: '';
  position: absolute;
  inset: 0;
}
.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}
.service-icon { font-size: 1.5rem; color: var(--white); }
.dual-service-icon { display: flex; align-items: flex-end; gap: 5px; color: var(--white); }
.dual-service-icon .fa-car { font-size: 1.05rem; }
.dual-service-icon .fa-house { font-size: 1.2rem; }
.shield-heart-icon { font-size: 1.1rem; color: var(--white); }
.shield-heart-icon .fa-inverse { color: var(--navy); font-size: 0.6em; }
.service-svg-icon { width: 38px; height: 38px; }
.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.service-desc {
  font-size: .88rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 5rem 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
/* Watercolor background */
.about::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: url('tal-wide.jpg') center -1.5cm/100% auto no-repeat;
  filter: saturate(0.85) contrast(0.9) brightness(1.1) blur(0.5px) sepia(0.05);
  z-index: 0;
}
/* White overlay for readability */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.54);
  z-index: 1;
}
.about > * { position: relative; z-index: 2; }
.section-sep-gold {
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, #0d1e35 0%, #c9a84c 28%, #c9a84c 72%, #0d1e35 100%);
}
.section-sep-blue {
  width: 100%;
  height: 3px;
  background: linear-gradient(to left, #f7f9fb 0%, #2b6cb0 28%, #2b6cb0 72%, #f7f9fb 100%);
}
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding-top: calc(30vw - 3cm);
}
.about-image-wrap {
  width: 100%;
  max-width: 520px;
}
.about-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-inner .section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0; margin-top: 1.5rem; text-align: center; }
.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  gap: .75rem;
  font-size: .9rem;
}
.about-image-placeholder i { font-size: 3rem; }
.about-badge-img {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.6rem;
  color: var(--navy-dark);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}
.about-badge-img .badge-num { font-size: 2rem; display: block; }
.about-badge-img .badge-lbl { font-size: .8rem; }

.about-content .section-label { display: inline-block; }
.about-content .section-title { text-align: right; }
.about-text {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.about-highlights li {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.about-highlights .highlight-icon {
  flex-shrink: 0;
}
/* About bio */
.about-bio {
  max-width: 860px;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--light-gray);
  line-height: 1.85;
  color: var(--dark-gray);
  font-size: 1rem;
}
.about-bio p { margin-bottom: 1.25rem; text-align: center; }
.about-bio-intro + p { margin-top: calc(17vw - 12.5rem + 0.5cm); }
.year-num { font-size: 1.15em; font-weight: 700; }
.about-bio-intro {
  font-size: 1.39rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: -0.5cm;
  margin-bottom: calc(1.5rem + 0.5cm);
  text-align: center;
}
.about-bio-heading {
  font-family: 'Heebo', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2rem 0 .75rem;
  text-align: center;
}
.about-bio-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
  padding-right: 1.2rem;
  text-align: center;
  list-style: none;
  padding-right: 0;
}
.about-bio-list li { line-height: 1.75; }
br.mobile-br { display: none; }
.about-mobile-order { display: none !important; }
@media (max-width: 768px) {
  .about-desktop-order { display: none !important; }
  .about-mobile-order { display: inline !important; }
}
.about-bio-closing {
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.8rem;
  margin: calc(1.75rem + 1cm) auto 1.5rem;
  text-align: center;
  display: table;
}
.closing-gold {
  color: var(--gold);
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.about-highlight i {
  color: var(--gold);
  margin-top: .2rem;
  flex-shrink: 0;
}
.about-highlight span { font-size: .95rem; color: var(--dark-gray); }

/* Team ovals */
.team-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .75rem;
}

.team-ovals { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.team-ovals-lead-row { display: flex; justify-content: center; }
.team-ovals-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }

.team-oval {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  background: var(--white);
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(13,30,53,.07);
  text-align: center;
  min-width: 170px;
  transition: var(--transition);
}
.team-oval:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(13,30,53,.13); border-color: var(--gold); }
.orbit-oval:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(13,30,53,.13); }

/* Orbit scene */
.team-orbit-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.team-lead-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5cm;
}
.team-members-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: .75rem;
}
.team-oval-lead-center {
  position: relative;
}
.orbit-oval {
  position: static;
  cursor: default;
}

/* ── Team oval animations ── */
@keyframes ovalPulse {
  0%,100% { transform:scale(1);    box-shadow:0 2px 8px rgba(13,30,53,.07); }
  50%     { transform:scale(1.07); box-shadow:0 6px 26px rgba(201,168,76,.85),0 0 18px rgba(201,168,76,.5); }
}
@keyframes ovalBorderGlow {
  0%,100% { border-color:#e2e8f0; box-shadow:0 2px 8px rgba(13,30,53,.07); }
  50%     { border-color:var(--gold); box-shadow:0 0 22px rgba(201,168,76,.75); }
}
@keyframes ovalFloat {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-9px); }
}
@keyframes ovalShimmer {
  0%   { background-position:200% center; }
  100% { background-position:-200% center; }
}
@keyframes ovalHeartbeat {
  0%  { transform:scale(1); }
  12% { transform:scale(1.08); }
  24% { transform:scale(1); }
  36% { transform:scale(1.05); }
  68%,100% { transform:scale(1); }
}
@keyframes ovalRipple {
  0%   { box-shadow:0 0 0 0 rgba(201,168,76,.55),0 2px 8px rgba(13,30,53,.07); }
  70%  { box-shadow:0 0 0 16px rgba(201,168,76,0),0 2px 8px rgba(13,30,53,.07); }
  100% { box-shadow:0 0 0 0 rgba(201,168,76,0),0 2px 8px rgba(13,30,53,.07); }
}
@keyframes ovalColorFill {
  0%,100% { background:#fff; border-color:#e2e8f0; }
  50%     { background:rgba(201,168,76,.14); border-color:var(--gold); }
}

.anim-pulse      { animation:ovalPulse      1.9s ease-in-out infinite; }
.anim-glow       { animation:ovalBorderGlow 2.2s ease-in-out infinite; }
.anim-float      { animation:ovalFloat      2.6s ease-in-out infinite; }
.anim-shimmer    {
  background:linear-gradient(110deg,#fff 30%,rgba(201,168,76,.35) 50%,#fff 70%);
  background-size:250% auto;
  animation:ovalShimmer 2.2s linear infinite;
}
.anim-heartbeat  { animation:ovalHeartbeat  1.8s ease-in-out infinite; }
.anim-ripple     { animation:ovalRipple     2s ease-out infinite; }
.anim-colorfill  { animation:ovalColorFill  2.8s ease-in-out infinite; }

.anim-pulse:hover, .anim-glow:hover, .anim-float:hover,
.anim-shimmer:hover, .anim-heartbeat:hover, .anim-ripple:hover,
.anim-colorfill:hover { animation-play-state:paused; }
@media (max-width: 768px) {
  .team-orbit-scene { gap: 1rem; }
  .team-lead-row { margin-bottom: .75rem; }
  .team-oval-lead-center { min-width: 0; width: 85vw; max-width: 320px; padding: 1rem 1.5rem; }
  .team-members-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .orbit-oval {
    min-width: 0;
    width: 100%;
    padding: .75rem .6rem;
    font-size: .88rem;
  }
  .orbit-oval .oval-name { font-size: .9rem; }
  .orbit-oval .oval-role { font-size: .75rem; }
}

.team-oval-lead {
  background: var(--navy);
  border-color: var(--navy);
  padding: 1rem 3rem;
  min-width: 240px;
}
.team-oval-lead .oval-name { color: var(--white); font-size: 1.15rem; }
.team-oval-lead .oval-role { color: var(--gold); font-size: .88rem; }

.oval-name { font-weight: 700; font-size: .95rem; color: var(--navy); line-height: 1.3; }
.oval-role { font-size: .78rem; color: var(--dark-gray); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  margin: 0 auto .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-card-lead .team-avatar { background: rgba(255,255,255,.15); border: 2px solid var(--gold); }
.team-avatar-lead { width: 96px; height: 96px; }
.avatar-initials {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.team-role { font-size: .8rem; color: var(--dark-gray); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { padding: 5rem 0; background: var(--navy-dark); }
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,.7); }
.why-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.why-card {
  flex: 0 1 260px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(245,166,35,.12);
  border-color: rgba(245,166,35,.4);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.why-desc { font-size: .88rem; color: rgba(255,255,255,.65); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 3rem 0 1rem; background: var(--white); }
.testimonials-carousel-wrap {
  overflow: hidden;
  padding-top: 24px;
  margin-top: -24px;
  direction: ltr;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  user-select: none;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollTestimonials 45s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes scrollTestimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem 1rem;
  min-width: 340px;
  max-width: 340px;
  direction: rtl;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: scale(1.035); box-shadow: var(--shadow-md); z-index: 10; }
.quote-icon {
  font-size: 3rem;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: .5rem;
  font-family: Georgia, serif;
}
.testimonial-stars { text-align: center; margin-bottom: .5rem; }
.testimonial-text {
  font-size: .95rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.stars { color: var(--gold); font-size: .85rem; margin-top: .1rem; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact { padding: 5rem 0; background: var(--white); }
.contact-inner {
  display: block;
}

/* Contact Info */
.contact-info .section-title { text-align: right; }
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
}
.contact-info-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: .78rem;
  color: var(--mid-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-info-value {
  font-size: .95rem;
  color: var(--text);
  font-weight: 600;
}
.contact-info-value a { color: var(--navy); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--gold-dark); }

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-4 { grid-template-columns: repeat(4, 1fr); }
.form-row-msg { grid-template-columns: 1fr auto; align-items: end; gap: 1rem; }
.form-group-btn { display: flex; flex-direction: column; justify-content: flex-end; min-width: 160px; }
.form-row-msg .form-textarea { min-height: unset; }
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-label .required { color: #e53e3e; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,58,92,.1);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: #e53e3e; }
.form-error-msg { font-size: .78rem; color: #e53e3e; min-height: 1rem; }
.form-textarea { resize: none; min-height: unset; }
.form-submit { margin-top: .5rem; }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: .9rem;
  font-size: 1.05rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: var(--radius);
  color: #276749;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 3.5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub  { color: var(--mid-gray); }
.footer-logo .logo-sep  { color: var(--gold); margin: 0 .35rem; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.55); margin-top: .75rem; line-height: 1.6; }
.footer-brand { text-align: center; }
.footer-logo { display: flex; justify-content: center; align-items: center; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  color: var(--white);
}
.social-fb { background: #1877f2; }
.social-fb:hover { background: #1464d8; transform: translateY(-2px); }
.social-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-ig:hover { opacity: .85; transform: translateY(-2px); }
.social-li { background: #0a66c2; }
.social-li:hover { background: #0855a1; transform: translateY(-2px); }

.footer-col-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-link {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }
.footer-link i { font-size: .65rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact-icon { color: var(--gold); margin-top: .15rem; flex-shrink: 0; }
.footer-contact-link { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-contact-link:hover { color: var(--gold); }

.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}
.footer-copy, .footer-legal { font-size: .82rem; color: rgba(255,255,255,.45); }

/* ============================================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: #1da851;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}
.whatsapp-icon { font-size: 1.8rem; color: var(--white); }
.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  margin-right: .7rem;
  background: var(--navy-dark);
  color: var(--white);
  padding: .35rem .75rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .about-inner { gap: 2.5rem; }
  .contact-inner { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 69px; }

  .main-nav  { display: none; }
  .header-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Shrink logo on mobile so it doesn't overflow into EN/IL button */
  .header-logo .logo-main { font-size: 1.25rem; }
  .header-logo .logo-sep  { font-size: .9rem; margin: 0 .2rem; }
  .header-logo .logo-sub  { font-size: 1.15rem; }
  /* Ensure EN/IL stays above the centered logo */
  .header-left { position: relative; z-index: 2; }

  .hero-content { flex-direction: column; text-align: center; padding-block: 3.5rem; }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: clamp(1.4rem, 5vw, 2rem); white-space: normal; }
  .hero-subtitle { margin-inline: auto; font-size: clamp(1.1rem, 4vw, 1.5rem); }

  .about { padding-top: 4.5rem; }
  .about::before { background-position: center top; }
  .about-inner { grid-template-columns: 1fr; padding-top: calc(42vw + 1.75rem - 1cm); }
  .about-bio-intro + p { margin-top: 1rem; }
  br.mobile-br { display: inline; }
  .about-image-wrap { order: -1; }
  .about-badge-img { bottom: -1rem; left: -0.5rem; }
  .about-content .section-title { text-align: center; }
  .about-content .section-label { display: block; text-align: center; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Reset full-width alt card to normal card on mobile */
  .alt-invest-card {
    grid-column: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 2rem 1.5rem !important;
    gap: 0 !important;
    text-align: center;
  }
  .alt-invest-icon { margin-bottom: 1rem !important; flex-shrink: unset !important; }
  .alt-invest-card .service-title { margin-bottom: .5rem !important; }
  .alt-invest-card .service-desc { margin-bottom: 1rem !important; }
  .alt-invest-link { margin-top: auto !important; flex-shrink: unset !important; }

  .team-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .team-card-lead { max-width: 220px; }

  .contact-inner { grid-template-columns: 1fr; }
  .contact-info .section-title { text-align: center; }
  .contact-info .section-label { display: block; text-align: center; }
  .contact-info-list { align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
  .form-row-4 { grid-template-columns: 1fr 1fr; }
  .form-row-msg { grid-template-columns: 1fr; }
  .form-group-btn { min-width: unset; }

  .footer-top-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .stats-inner { gap: 1rem; }
  .stat-item { padding: .5rem 1.5rem; }
  .stat-divider { display: none; }

  .whatsapp-float { bottom: 1.5rem; left: 1rem; width: 48px; height: 48px; }
  .back-to-top { bottom: 5.5rem; left: 1rem; width: 38px; height: 38px; }
  .btn-personal-area { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row-4 { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { min-width: 290px; max-width: 290px; }
  .testimonials-track { animation-duration: 23s; }
  .team-grid { grid-template-columns: 1fr; max-width: 240px; margin-inline: auto; }
  .hero-badge { display: none; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .hero-subtitle { font-size: 1rem; }
}

/* ── Missing utility classes ────────────────────────────── */
.section-tag {
  display: inline-block;
  background: rgba(245,166,35,.15);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  padding: .28rem .85rem;
  border-radius: 50px;
  margin-bottom: .6rem;
}
.section-tag-light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}

.btn-block { width: 100%; justify-content: center; }
.btn-icon  { margin-right: .4rem; }

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.contact-intro {
  font-size: .95rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.form-error {
  font-size: .78rem;
  color: #e53e3e;
  min-height: 1rem;
  display: block;
}

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: var(--radius);
  color: #276749;
  font-weight: 600;
  font-size: .95rem;
}
.form-success[hidden] { display: none; }
.form-success i { font-size: 1.4rem; flex-shrink: 0; }

/* ============================================================
   PARTNERS / COMPANIES STRIP
   ============================================================ */
.partners {
  padding: 3.5rem 0;
  background: var(--white);
  overflow: hidden;
}
.partners .section-header { margin-bottom: 2.5rem; }
.partners-tagline {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
  text-align: center;
}

.partners-track-wrap {
  overflow: hidden;
  position: relative;
  direction: ltr;
  margin-bottom: 1.25rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  pointer-events: none;
  user-select: none;
}
.partners-track-wrap:last-child { margin-bottom: 0; }

.partners-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scrollPartners 36s linear infinite;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}
.partners-track-reverse {
  animation: scrollPartnersReverse 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes scrollPartners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollPartnersReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 150px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: .75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  cursor: default;
  pointer-events: none;
}
.partner-logo img {
  max-width: 195px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(40%);
}
.logo-analyst {
  width: 195px;
  height: 78px;
  object-fit: contain;
  transform: scale(1.8);
  transform-origin: center;
}

@media (max-width: 768px) {
  .partners-track { animation-duration: 20s; }
  .partner-logo { min-width: 120px; height: 100px; padding: .5rem 1rem; }
  .logo-analyst { transform: scale(1.1); }
  .partner-logo img { max-width: 150px; max-height: 63px; }
}

/* ── How We Work ─────────────────────────────────────────── */
.how-we-work {
  background: var(--navy-dark);
  padding: 5rem 0;
}
.how-we-work .section-title,
.how-we-work .section-subtitle {
  color: var(--white);
  text-align: center;
}
.how-we-work .section-title { font-size: clamp(2rem, 4.4vw, 3rem); }
.how-we-work .section-subtitle { color: rgba(255,255,255,.7); margin-bottom: 3rem; }

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.how-step {
  flex: 1;
  text-align: center;
  max-width: 220px;
  padding: 1rem .5rem;
}
.how-num {
  font-family: 'Assistant', Arial, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .75rem;
  text-shadow: 0 2px 10px rgba(201,168,76,.4);
}
.how-step-title {
  font-family: 'Heebo', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.how-step-text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

/* Animated arrows */
.how-arrows {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  padding-top: 1.8rem;
  flex-shrink: 0;
}
.arr {
  font-size: 2.25rem;
  color: var(--gold);
  opacity: 0;
}
.arr-1 { animation: flowArr1 2.4s ease-in-out infinite; }
.arr-2 { animation: flowArr2 2.4s ease-in-out infinite; }
.arr-3 { animation: flowArr3 2.4s ease-in-out infinite; }

@keyframes flowArr1 {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  85%  { opacity: 1; }
  92%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes flowArr2 {
  0%   { opacity: 0; }
  33%  { opacity: 0; }
  38%  { opacity: 1; }
  85%  { opacity: 1; }
  92%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes flowArr3 {
  0%   { opacity: 0; }
  63%  { opacity: 0; }
  68%  { opacity: 1; }
  85%  { opacity: 1; }
  92%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes flowArr {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 768px) {
  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .how-arrows {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding-top: 0;
    transform: none;
  }
  .how-arrows .arr {
    display: inline-block;
    transform: rotate(-90deg);
  }
  .how-step { max-width: 100%; }
}

/* ── Hero touch word highlight ───────────────────────────── */
.hero-touch {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 1.35em;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .02em;
  display: inline-block;
  transform: rotate(-2deg);
  text-shadow: 0 2px 8px rgba(245,166,35,.35);
}

/* ── Accessibility: Skip to content ─────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  padding: .75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 99999;
  transition: top .2s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--navy); }

/* ── Accessibility: visible focus indicator ──────────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Footer disclaimer ───────────────────────────────────────── */
.footer-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  white-space: nowrap;
  margin: .6rem auto 0;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .footer-disclaimer { white-space: normal; max-width: 95%; }
}
.footer-links-legal {
  text-align: center;
  margin-top: .5rem;
  font-size: .82rem;
}
.footer-legal-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.footer-legal-link:hover { text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,.35); margin: 0 .5rem; }

/* ── Market status: legal warning box ───────────────────────── */
.market-legal-notice {
  max-width: 820px;
  margin: 0 auto 2rem;
  background: #fff8e6;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .93rem;
  color: #5a4200;
  line-height: 1.7;
}
.market-legal-notice i { color: var(--gold); font-size: 1.2rem; margin-top: .15rem; flex-shrink: 0; }
.market-legal-notice strong { font-weight: 800; }

/* ── Accessibility Widget ────────────────────────────────────── */
.a11y-widget {
  position: fixed;
  bottom: 10.5rem;
  left: 1.5rem;
  z-index: 9999;
  direction: rtl;
}
.a11y-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0,0,0,.35);
  transition: var(--transition);
}
.a11y-toggle:hover { background: var(--navy-mid); transform: scale(1.08); }
.a11y-panel {
  position: absolute;
  bottom: 62px;
  left: 0;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-width: 252px;
  display: none;
  flex-direction: column;
  gap: .4rem;
  box-shadow: var(--shadow-lg);
}
.a11y-panel.open { display: flex; }
.a11y-panel-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.28rem;
  text-align: center;
  padding-bottom: .68rem;
  border-bottom: 1px solid rgba(201,168,76,.3);
  margin-bottom: .1rem;
}
.a11y-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: 6px;
  padding: .63rem 1.13rem;
  font-size: 1.23rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
  font-family: inherit;
  direction: rtl;
}
.a11y-btn i { font-size: .8rem; }
.a11y-btn:hover { background: rgba(201,168,76,.15); border-color: var(--gold); }
.a11y-btn.active { background: rgba(201,168,76,.2); border-color: var(--gold); color: var(--gold); }
.a11y-reset { color: rgba(255,255,255,.55); font-size: .78rem; margin-top: .2rem; }
/* High contrast mode */
body.high-contrast { filter: contrast(1.6) brightness(1.05); }
/* No animations mode */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}
/* Highlight links mode */
body.highlight-links a:not(.btn):not(.btn-gold):not(.btn-personal-area):not(.nav-link):not(.whatsapp-float):not(.back-to-top) {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
/* Text spacing mode */
body.text-spacing p,
body.text-spacing li,
body.text-spacing span,
body.text-spacing a,
body.text-spacing label,
body.text-spacing td,
body.text-spacing th {
  letter-spacing: 0.1em !important;
  word-spacing: 0.15em !important;
  line-height: 1.9 !important;
}
@media (max-width: 768px) {
  .a11y-widget { bottom: 5.5rem; left: 1rem; }
  .a11y-toggle { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* ── Photo Lightbox ──────────────────────────────────────────── */
.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,15,28,.88);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.photo-modal.open { display: flex; }

/* Popup tooltip on lead card */
.team-oval-lead-center { position: relative; cursor: pointer; }
.tal-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 190px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 500;
}
.team-oval-lead-center:hover .tal-popup,
.team-oval-lead-center.popup-open .tal-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.tal-popup img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  height: 155px;
}
.tal-popup-card {
  background: #0d1e35;
  border: 2px solid var(--gold);
  border-top: none;
  padding: .55rem .9rem;
  text-align: center;
}
.tal-popup-name {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
}
.tal-popup-title {
  display: block;
  font-size: .65rem;
  color: var(--gold);
  margin-top: .25rem;
  line-height: 1.4;
}
.tal-popup-contact {
  display: block;
  margin-top: .2rem;
}
.tal-popup-contact a {
  font-size: .65rem;
  color: #cfe0ff;
  text-decoration: none;
}
.tal-popup-contact a:hover { text-decoration: underline; }

/* Member oval hover popup */
.orbit-oval { position: relative; }
.member-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: .55rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 400;
}
/* bridge the gap so hovering over the popup keeps it visible */
.member-popup::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.orbit-oval:hover .member-popup,
.member-popup:hover {
  opacity: 1;
  pointer-events: auto;
}
.member-popup a {
  font-size: .72rem;
  color: #cfe0ff;
  text-decoration: none;
  display: block;
  text-align: center;
}
.member-popup a[href^="https://wa.me"] { color: var(--gold); font-weight: 600; }
.member-popup a:hover { text-decoration: underline; }
.tal-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  max-width: min(170px, 50vw);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tal-profile-card img {
  width: 100%;
  max-height: 22vh;
  object-fit: cover;
  object-position: center top;
  display: block;
  cursor: default;
}
.tal-card {
  background: #0d1e35;
  border: 2px solid var(--gold);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: .6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  width: 100%;
  box-sizing: border-box;
}
.tal-card-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.tal-card-title {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 400;
  text-align: center;
  line-height: 1.4;
}
.photo-modal-close {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}
.photo-modal-close:hover { color: var(--white); }

/* ---- Advisor Value Table — mobile ---- */
@media (max-width: 640px) {
  .advisor-table th,
  .advisor-table td {
    padding: .55rem .6rem !important;
    font-size: .78rem !important;
  }
}

/* ---- Advisor cards grid — 1 column on mobile ---- */
@media (max-width: 640px) {
  .advisor-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Animated underline pulse ---- */
@keyframes underline-fade {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}
@keyframes white-to-gold {
  0%, 100% { color: #ffffff; }
  50%       { color: var(--gold); }
}
.blink-white-gold {
  animation: white-to-gold 5s ease-in-out infinite;
}
.underline-pulse {
  position: relative;
  display: inline;
}
.underline-pulse::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: underline-fade 2.4s ease-in-out infinite;
}

/* ---- Advisor subtitle — wrap on mobile ---- */
@media (max-width: 640px) {
  .advisor-subtitle-nowrap {
    white-space: normal !important;
  }
}

/* ---- Header nav hover — white→gold, gold→white ---- */
.site-header .nav-link {
  transition: color .3s ease;
}
.site-header .nav-link:hover {
  color: var(--gold) !important;
  background: transparent;
}
.lang-switch-btn {
  transition: color .3s ease;
}
.lang-switch-btn:hover {
  color: var(--white) !important;
}
.header-logo .logo-main {
  transition: color .3s ease;
}
.header-logo:hover .logo-main {
  color: var(--gold);
}
.header-logo .logo-sub {
  transition: color .3s ease;
}
.header-logo:hover .logo-sub {
  color: var(--white);
}
