/* =================================================================
   Alon Karpel — Financial & Pension Planner
   Vanilla CSS · RTL (Hebrew) · Mobile-first
   ================================================================= */

/* ---------- Design tokens / brand variables ---------- */
:root {
  --trust-blue: #004AAD;
  --trust-blue-deep: #00337A;
  --slate: #1E293B;
  --slate-deep: #131C2E;
  --gold: #C5A880;
  --gold-bright: #D4AF37;
  --gold-soft: #E8D9BC;
  /* AA-accessible gold for TEXT on light backgrounds (≥4.5:1 on white/off-white).
     The lighter --gold / --gold-bright remain for decorative lines & dark-bg text. */
  --gold-text: #946A2A;
  --bg-soft: #F8FAFC;
  --bg-soft-2: #F1F5F9;
  --white: #FFFFFF;

  --ink: #1E293B;
  --ink-soft: #475569;
  --line: #E2E8F0;
  --line-soft: #EDF1F6;
  --danger: #C0392B;
  --wa-green: #25D366;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Layered, softer, more premium shadow scale (cool blue-tinted) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow: 0 4px 10px rgba(15, 23, 42, .05), 0 18px 40px rgba(15, 23, 42, .09);
  --shadow-lg: 0 8px 20px rgba(15, 23, 42, .08), 0 32px 70px rgba(15, 23, 42, .16);
  --shadow-blue: 0 10px 30px rgba(0, 74, 173, .22);
  --shadow-gold: 0 12px 30px rgba(197, 168, 128, .40);

  --header-h: 76px;
  --container: 1200px;

  /* Spacing scale (8px rhythm) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --grad-blue: linear-gradient(135deg, #003a87 0%, #004AAD 55%, #0a5fd1 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  /* Deep ocean depth gradient — nods to the whale's habitat */
  --grad-depth: linear-gradient(160deg, #0a1b33 0%, #102a52 32%, #00337A 62%, #004AAD 100%);

  --font: 'Heebo', 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Alef', 'Heebo', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  text-align: right;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  line-height: 1.18;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -.015em;
  text-wrap: balance;
}

::selection { background: rgba(0, 74, 173, .14); color: var(--slate); }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-soft {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 74, 173, .04), transparent 60%),
    var(--bg-soft);
}

.section-head { max-width: 740px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  color: var(--gold-text);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.section-head .section-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -.02em;
}
/* Gold flourish underline on centered section titles */
.section-head .section-title { position: relative; padding-bottom: 22px; }
.section-head .section-title::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}
.section-lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 2000;
  background: var(--slate);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .005em;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
/* Gradient-shift sweep layer (animates without repainting background) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-gold);
  opacity: 0;
  transform: scale(1.1);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
  border: 2px solid transparent;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--slate);
  transform: translateY(-3px) scale(1.025);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover::before,
.btn-primary:focus-visible::before { opacity: 1; transform: scale(1); }
.btn-primary:active { transform: translateY(-1px) scale(.99); }

.btn-outline {
  background: transparent;
  color: var(--trust-blue);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(197, 168, 128, .12);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--slate);
  border-color: var(--gold-bright);
  transform: translateY(-3px) scale(1.025);
  box-shadow: var(--shadow-gold);
}
.btn-outline:hover::before,
.btn-outline:focus-visible::before { opacity: 1; transform: scale(1); }
.btn-outline:active { transform: translateY(-1px) scale(.99); }
.btn-block { width: 100%; }

/* ===============================================================
   3.1  HEADER
   =============================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              backdrop-filter .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, .78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: rgba(197, 168, 128, .35);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand (right side in RTL) */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(0, 74, 173, .08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.04);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(197, 168, 128, .4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.1rem; color: var(--slate); letter-spacing: -.01em; }
.brand-role { font-size: .76rem; color: var(--ink-soft); font-weight: 500; }

/* Center nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--slate);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-block-end: 4px;
  inset-inline: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--trust-blue); background: rgba(0, 74, 173, .05); }
.nav-link.active { color: var(--trust-blue); }
.nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle .caret { transition: transform .25s var(--ease); }
.nav-dropdown[data-open="true"] .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-dropdown[data-open="true"] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--slate);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible { background: var(--bg-soft-2); color: var(--trust-blue); }

/* Header actions (left side) */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 11px 22px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  margin-inline: auto;
}

/* Mobile menu modal */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--grad-depth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: scale(1); }
.mobile-close {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: 24px;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 18px; text-align: center; }
.mobile-link {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s var(--ease);
}
.mobile-link:hover { color: var(--gold-bright); }
.mobile-group { display: flex; flex-direction: column; gap: 10px; }
.mobile-group-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: .04em;
}
.mobile-sublink { font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.mobile-sublink:hover { color: #fff; }
.mobile-cta { margin-top: 12px; }

/* ===============================================================
   3.2  HERO
   =============================================================== */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 64px) clamp(96px, 12vw, 160px);
  overflow: hidden;
  background: var(--grad-depth);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* Soft colored depth glows — ocean light + gold warmth */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.hero-glow-1 {
  width: 46vw; height: 46vw;
  inset-block-start: -12%;
  inset-inline-end: -8%;
  background: radial-gradient(circle, rgba(58, 130, 230, .55), transparent 70%);
  animation: heroFloat 14s ease-in-out infinite;
}
.hero-glow-2 {
  width: 40vw; height: 40vw;
  inset-block-end: -16%;
  inset-inline-start: -6%;
  background: radial-gradient(circle, rgba(197, 168, 128, .40), transparent 70%);
  animation: heroFloat 18s ease-in-out infinite reverse;
}
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -24px, 0) scale(1.06); }
}
/* Faint geometric depth grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: .06em;
  margin-bottom: 18px;
  font-size: .92rem;
}
.hero-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(3rem, 7.5vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.hero-subtitle {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--gold-soft);
  margin-top: 10px;
  letter-spacing: -.01em;
}
.hero-quote {
  position: relative;
  margin: 30px 0 36px;
  padding-inline-start: 24px;
  border-inline-start: 3px solid var(--gold-bright);
  font-family: var(--font-accent);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  max-width: 56ch;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 16px; }
/* Light variant of the outline button for the dark hero */
.btn-outline-light { color: #fff; border-color: rgba(232, 217, 188, .6); }
.btn-outline-light:hover,
.btn-outline-light:focus-visible { color: var(--slate); border-color: var(--gold-bright); }

/* Hero trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 26px);
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-trust > li:not(.hero-trust-div) { display: flex; flex-direction: column; line-height: 1.2; }
.hero-trust-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: -.01em;
}
.hero-trust-label { font-size: .82rem; color: rgba(255, 255, 255, .72); font-weight: 500; }
.hero-trust-div { width: 1px; height: 34px; background: rgba(255, 255, 255, .16); }

/* Wave divider into the page */
.hero-wave {
  position: absolute;
  inset-block-end: -1px;
  inset-inline: 0;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: clamp(60px, 8vw, 110px); }

/* Portrait frame / glass card */
.hero-visual { display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  width: min(100%, 460px);
  border-radius: var(--radius-xl);
  padding: 12px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 30px 70px rgba(5, 14, 30, .5);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  animation: portraitIn 1s var(--ease-out) .15s both;
}
@keyframes portraitIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}
/* Gold ring + soft outer glow */
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--grad-gold);
  z-index: -1;
  opacity: .85;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .35), transparent 70%);
  z-index: -2;
  filter: blur(24px);
}
.portrait {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 8px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.portrait-badge {
  position: absolute;
  inset-block-end: -18px;
  inset-inline-start: -18px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 22px;
  box-shadow: 0 16px 36px rgba(5, 14, 30, .4);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.badge-num { font-size: 1.95rem; font-weight: 900; line-height: 1; color: var(--gold-bright); }
.badge-label { font-size: .72rem; font-weight: 600; opacity: .92; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 26px; height: 42px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  z-index: 2;
  display: none;
}
.scroll-cue span {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ===============================================================
   3.3  ABOUT
   =============================================================== */
.about-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-lg);
}
.about-accent {
  position: absolute;
  inset-block-end: -22px;
  inset-inline-end: -22px;
  width: 62%;
  height: 62%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
}
/* Soft gold corner glow behind the about image */
.about-media::before {
  content: "";
  position: absolute;
  inset-block-start: -24px;
  inset-inline-start: -24px;
  width: 56%;
  height: 56%;
  background: radial-gradient(circle, rgba(197, 168, 128, .26), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.about-text .section-eyebrow { justify-content: flex-start; }
.about-text .section-title { margin-top: 6px; }
.about-text p { margin-top: 18px; color: var(--ink-soft); }
.about-text p + p { position: relative; }
.about-text .btn { margin-top: 32px; }

/* ===============================================================
   3.4  SERVICES
   =============================================================== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.service-row:last-child { margin-bottom: 0; }
.service-row.reveal:nth-of-type(2) { --reveal-delay: 80ms; }
.service-row.reveal:nth-of-type(3) { --reveal-delay: 120ms; }
/* Swap visual order for alternating layout */
.service-row-reverse .service-text { order: 2; }
.service-row-reverse .service-visual { order: 1; }

.service-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--gold-text);
  line-height: 1;
}
.service-index::before {
  content: "";
  width: 36px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.service-headline {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin: 14px 0 16px;
  color: var(--slate);
}
.service-text p { color: var(--ink-soft); margin-bottom: 26px; }

.service-card-graphic {
  position: relative;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* Subtle gold hairline frame inset */
.service-card-graphic::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(197, 168, 128, .3);
  border-radius: calc(var(--radius-xl) - 12px);
  pointer-events: none;
}
.service-card-graphic:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-graphic svg { position: relative; z-index: 1; width: 76%; height: auto; }
.graphic-growth { background: linear-gradient(140deg, #e8f0fe 0%, #f6faff 60%, #fffdf8 100%); }
.graphic-retire { background: linear-gradient(140deg, #fdf6e9 0%, #fffdf8 60%, #f4f9ff 100%); }

/* Photo-backed card (whale + coins lifestyle visual) */
.graphic-photo {
  position: relative;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
}
.graphic-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 74, 173, .18), rgba(19, 28, 46, .42));
}
.graphic-photo::after { border-color: rgba(255, 255, 255, .28); }

/* ===============================================================
   3.5  QUESTIONNAIRE  +  forms (shared)
   =============================================================== */
.form-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
}
/* Gold gradient accent bar at the top of the card */
.form-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--grad-gold);
}
.questionnaire {
  position: relative;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(0, 74, 173, .04), transparent 70%),
    #fff;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field-full { grid-column: 1 / -1; }
.form-grid .field { margin-bottom: 0; }
.form-grid + .field, .form-grid + fieldset { margin-top: 20px; }

label, legend { font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.req { color: var(--danger); }
.field-hint { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: #cbd5e1; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--trust-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 74, 173, .12), 0 2px 8px rgba(0, 74, 173, .08);
}
textarea { resize: vertical; min-height: 110px; }
/* Custom RTL-aware select caret */
select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 12px;
  padding-inline-start: 40px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
.checkbox-group.invalid .checkbox-grid { border-color: var(--danger); }
.field.invalid input, .field.invalid select, .field.invalid textarea {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .10);
}
.error-msg {
  display: none;
  color: var(--danger);
  font-size: .85rem;
  font-weight: 600;
  margin-top: 7px;
}
.error-msg.show { display: block; }

/* Checkbox groups */
.checkbox-group { border: none; }
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  cursor: pointer;
  font-weight: 500;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.checkbox:hover { border-color: var(--gold); background: #fff; box-shadow: var(--shadow-sm); }
.checkbox:has(input:checked) {
  border-color: var(--trust-blue);
  background: rgba(0, 74, 173, .05);
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--trust-blue); flex-shrink: 0; }
.checkbox span,
.checkbox > label { line-height: 1.4; }
/* Checkbox labels are inline within the flex row — no block margin/heavy weight */
.checkbox > label { margin-bottom: 0; font-weight: 500; cursor: pointer; }
.checkbox-privacy { background: transparent; border: none; padding: 0; }
.checkbox-privacy a { color: var(--trust-blue); text-decoration: underline; }

/* Success state */
.form-success { text-align: center; padding: 24px 8px; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  animation: popIn .4s var(--ease);
}
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-icon {
  border: 2px solid rgba(212, 175, 55, .5);
  box-shadow: 0 10px 28px rgba(0, 74, 173, .25);
}
.success-text { font-size: 1.2rem; font-weight: 600; color: var(--slate); max-width: 46ch; margin: 0 auto; }
.submit-title { color: var(--slate); }

/* ===============================================================
   3.6  TESTIMONIALS
   =============================================================== */
.carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-track {
  flex: 1;
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius-lg);
}
.testimonial-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 74, 173, .03), transparent 60%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
}
.testimonial-slide::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-gold);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: .55;
  color: var(--gold);
  opacity: .5;
  height: 42px;
}
.testimonial-slide blockquote {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--slate);
  font-family: var(--font-accent);
  margin-bottom: 22px;
}
.testimonial-slide figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial-slide figcaption strong { color: var(--trust-blue); font-size: 1.05rem; }
.testimonial-slide figcaption span { color: var(--ink-soft); font-size: .9rem; }

.carousel-btn {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--trust-blue);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.carousel-btn:hover {
  background: var(--grad-gold);
  color: var(--slate);
  border-color: var(--gold-bright);
  transform: scale(1.1);
  box-shadow: var(--shadow);
}

.carousel-dots {
  position: absolute;
  inset-block-end: -34px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel-dots button.active { background: var(--gold-bright); transform: scale(1.25); }

/* Submit testimonial form */
.testimonial-submit {
  position: relative;
  max-width: 820px;
  margin: 80px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.testimonial-submit::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--grad-gold);
}
.submit-title { font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.testimonial-submit .btn { margin-top: 6px; }

/* ===============================================================
   3.8  FOOTER
   =============================================================== */
.site-footer {
  position: relative;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 74, 173, .25), transparent 55%),
    var(--slate-deep);
  color: rgba(255, 255, 255, .82);
  padding: clamp(64px, 7vw, 96px) 0 40px;
  border-top: 1px solid rgba(197, 168, 128, .35);
}
/* Gold gradient hairline across the footer top edge */
.site-footer::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.footer-heading { color: #fff; font-size: 1.15rem; margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 3px; }
.footer-logo span { font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-disclaimer { font-size: .86rem; line-height: 1.6; opacity: .72; margin-bottom: 16px; }
.footer-copy { font-size: .85rem; opacity: .6; }

.contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(197, 168, 128, .25);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-weight: 700;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.contact-list li:hover .contact-ico { background: rgba(212, 175, 55, .14); border-color: rgba(212, 175, 55, .5); }
.contact-list a { transition: color .2s var(--ease); }
.contact-list a:hover { color: var(--gold-bright); }
.footer-cta { padding: 11px 22px; }

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--gold-bright); }

/* ===============================================================
   3.7  FLOATING WHATSAPP WIDGET
   =============================================================== */
.whatsapp-fab {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 1200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: waEntrance .6s var(--ease) .4s both, waPulse 2.4s ease-in-out 1.4s infinite;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .6); }
.whatsapp-icon { width: 34px; height: 34px; }
.whatsapp-tooltip {
  position: absolute;
  inset-inline-start: calc(100% + 14px);
  white-space: nowrap;
  background: rgba(19, 28, 46, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  box-shadow: var(--shadow);
}
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  inset-inline-end: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-inline-end-color: rgba(19, 28, 46, .92);
}
.whatsapp-fab:hover .whatsapp-tooltip,
.whatsapp-fab:focus-visible .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

@keyframes waEntrance { from { transform: scale(0) rotate(-45deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===============================================================
   Reveal-on-scroll
   =============================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===============================================================
   Responsive breakpoints
   =============================================================== */
@media (max-width: 1024px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 12px; }
  .hero-inner { gap: 40px; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding-bottom: clamp(110px, 16vw, 150px); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; margin-bottom: 12px; }
  .hero-eyebrow { justify-content: center; }
  .hero-quote { margin-inline: auto; border-inline-start: none; padding-inline-start: 0; padding-block: 0; border-top: 2px solid var(--gold-bright); padding-top: 18px; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .portrait-frame { max-width: 340px; }
  .scroll-cue { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin-inline: auto; }
  .about-text { text-align: center; }

  .service-row,
  .service-row-reverse { grid-template-columns: 1fr; text-align: center; }
  .service-row-reverse .service-text,
  .service-row-reverse .service-visual { order: initial; }
  .service-text { order: 2; }
  .service-visual { order: 1; }
  .service-text .btn { margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: right; }
  .hero-cta-group .btn { width: 100%; }
  .hero-trust { gap: 14px 18px; row-gap: 14px; }
  .hero-trust-num { font-size: 1.25rem; }
  .whatsapp-fab { width: 56px; height: 56px; inset-block-end: 18px; inset-inline-start: 18px; }
  .portrait-badge { inset-inline-start: 8px; padding: 12px 16px; }
  .carousel-btn { width: 44px; height: 44px; }
}

/* ===============================================================
   Reduced motion
   =============================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-fab { animation: none; }
}
