/* BEN'S — conversion & luxury overrides (loads after theme) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --bens-bg-deep: #0a0a0c;
  --bens-bg-card: #12121a;
  --bens-gold: #c9a962;
  --bens-gold-soft: #e8d5a3;
  --bens-cream: #f5f0e8;
  --bens-muted: rgba(245, 240, 232, 0.72);
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #2b2b30;
  background: #faf9f7;
}

h1, h2, h3, .logo-wordmark, .hero-lead .display-title {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* —— Logo wordmark —— */
.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-wordmark {
  font-size: clamp(0.95rem, 2.2vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bens-gold-soft);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  line-height: 1.12;
  white-space: nowrap;
}

.header-logo .site-logo {
  max-width: 100%;
}

/* Larger logo on tablet & mobile (header) */
@media (max-width: 991.98px) {
  .main-header .logo-wordmark {
    font-size: clamp(1.08rem, 2.4vw + 0.55rem, 1.48rem);
    letter-spacing: 0.055em;
    line-height: 1.1;
  }
}

@media (max-width: 575.98px) {
  .main-header .logo-wordmark {
    font-size: clamp(1.02rem, 3.2vw + 0.5rem, 1.38rem);
    letter-spacing: 0.05em;
  }
}

.header-sticky.sticky .logo-wordmark,
.header-transparent .main-header .site-logo .logo-wordmark {
  transition: color 0.3s ease;
}

.header-sticky.sticky .logo-wordmark {
  color: #1a1a1f;
  text-shadow: none;
}

@media (max-width: 767.98px) {
  .header-transparent .logo-wordmark {
    color: #1a1a1f;
    text-shadow: none;
  }
}

/* Header CTA — landing page */
.header-nav-cta {
  list-style: none;
}

.btn-header-cta {
  display: inline-block;
  padding: 0.5rem 1.1rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  background: linear-gradient(135deg, #c9a962, #a88b4a) !important;
  color: #0a0a0c !important;
  border: none !important;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-header-cta:hover {
  filter: brightness(1.06);
  color: #0a0a0c !important;
}

.header-sticky.sticky .btn-header-cta {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199.98px) {
  .main-header .main-nav > ul > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.footer-section .logo-wordmark {
  color: var(--bens-gold);
  text-shadow: none;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
  white-space: normal;
  max-width: 16rem;
}

@media (max-width: 575.98px) {
  .footer-section .logo-wordmark {
    font-size: clamp(1.12rem, 3.8vw, 1.55rem);
  }
}

/* Hide old logo images if any remain in footer */
.footer-logo .site-logo img {
  display: none;
}

/* —— Hero lead section —— */
.hero-lead-section {
  position: relative;
  min-height: auto;
  padding: clamp(5.5rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem);
  background-color: #0d0d12;
  color: var(--bens-cream);
  overflow: hidden;
}

/* Background photo + dimmed overlay (עמעום) for readable text */
.hero-lead-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      145deg,
      rgba(8, 8, 12, 0.78) 0%,
      rgba(12, 12, 20, 0.82) 45%,
      rgba(6, 6, 10, 0.88) 100%
    ),
    radial-gradient(ellipse 90% 60% at 65% 25%, rgba(201, 169, 98, 0.09), transparent 52%),
    url("../images/slider/1-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-lead-section .container {
  position: relative;
  z-index: 1;
}

.hero-lead-section .display-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead-section .lead-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--bens-muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-lead-section .btn-hero-secondary {
  border: 1px solid rgba(201, 169, 98, 0.45);
  color: var(--bens-gold-soft);
  padding: 0.65rem 1.35rem;
  font-size: 1rem;
  border-radius: 2px;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.hero-lead-section .btn-hero-secondary:hover {
  background: rgba(201, 169, 98, 0.12);
  color: #fff;
}

.hero-lead-form-wrap {
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 4px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-lead-form-wrap .form-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--bens-gold-soft);
  margin-bottom: 1.25rem;
  text-align: center;
}

.lead-capture-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-size: 1.0625rem;
  min-height: 48px;
}

.lead-capture-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.lead-capture-form .form-control:focus {
  border-color: var(--bens-gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.25);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.lead-capture-form .form-control.is-invalid {
  border-color: #e07070;
}

.lead-capture-form .invalid-feedback {
  display: block;
  color: #f0a8a8;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.btn-hero-submit {
  background: linear-gradient(135deg, #c9a962, #a88b4a);
  border: none;
  color: #0a0a0c !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  min-height: 52px;
  width: 100%;
}

.btn-hero-submit:hover {
  filter: brightness(1.08);
  color: #0a0a0c !important;
}

.lead-form-success {
  text-align: center;
  color: #a8e6c4;
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.lead-form-success.d-none {
  display: none !important;
}

/* Mobile: tight stack, no dead space */
@media (max-width: 991.98px) {
  .hero-lead-section {
    padding-top: 5.25rem;
  }

  .hero-lead-form-wrap {
    margin-top: 0.25rem;
  }
}

/* Full-width primary buttons on small screens */
@media (max-width: 575.98px) {
  .btn-mobile-block {
    display: block;
    width: 100%;
    text-align: center;
  }

  .about-section .btn-dark,
  .support-button .btn {
    width: 100%;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    font-size: 1.05rem;
  }
}

/* —— Trust section —— */
.trust-section {
  background: var(--bens-bg-deep);
  color: var(--bens-cream);
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.trust-section .section-kicker {
  color: var(--bens-gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.trust-section .trust-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 2rem;
}

.trust-card {
  background: var(--bens-bg-card);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: 4px;
  padding: 1.5rem 1.35rem;
  height: 100%;
}

.trust-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.trust-card .stars {
  color: var(--bens-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.trust-google-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.trust-card .trust-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bens-muted);
  margin-bottom: 1rem;
}

.trust-card .trust-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.trust-card .trust-role {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.5);
  margin: 0;
}

/* —— Portfolio mobile carousel —— */
.portfolio-mobile-swiper-wrap {
  padding-bottom: 2.5rem;
}

.portfolio-mobile-swiper {
  overflow: hidden;
  padding-bottom: 2.75rem;
}

.portfolio-mobile-swiper .swiper-slide {
  height: auto;
}

.portfolio-mobile-swiper .single-portfolio-wrap {
  margin-top: 0 !important;
}

.portfolio-mobile-swiper .portfolio-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-mobile-pagination {
  bottom: 0 !important;
}

.portfolio-mobile-pagination .swiper-pagination-bullet {
  background: var(--bens-gold);
  opacity: 0.35;
}

.portfolio-mobile-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* —— Accessibility tools —— */
.a11y-tools {
  position: fixed;
  left: 16px;
  bottom: 88px;
  z-index: 9998;
  font-family: "Outfit", system-ui, sans-serif;
}

.a11y-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: #12121a;
  color: var(--bens-gold-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  outline: 2px solid var(--bens-gold);
  outline-offset: 2px;
}

.a11y-panel {
  position: absolute;
  left: 0;
  bottom: 56px;
  width: min(280px, calc(100vw - 32px));
  background: #12121a;
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 4px;
  padding: 0.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.a11y-panel[hidden] {
  display: none !important;
}

.a11y-panel h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bens-gold);
  margin: 0 0 0.5rem;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

.a11y-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bens-cream);
  font-size: 0.9rem;
  border-radius: 2px;
  cursor: pointer;
}

.a11y-panel button:last-child {
  margin-bottom: 0;
}

.a11y-panel button:hover,
.a11y-panel button:focus-visible {
  border-color: var(--bens-gold);
  outline: none;
}

.a11y-panel button[aria-pressed="true"] {
  background: rgba(201, 169, 98, 0.2);
  border-color: var(--bens-gold);
}

/* Large text */
html.a11y-font-lg {
  font-size: 112.5%;
}

/* High contrast */
html.a11y-high-contrast body {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-high-contrast .hero-lead-section,
html.a11y-high-contrast .trust-section,
html.a11y-high-contrast .footer-section {
  background: #000 !important;
}

html.a11y-high-contrast a {
  color: #ffeb3b !important;
  text-decoration: underline;
}

html.a11y-high-contrast .btn-hero-submit {
  background: #ffeb3b !important;
  color: #000 !important;
}

/* Pause motion */
html.a11y-pause-motion *,
html.a11y-pause-motion *::before,
html.a11y-pause-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html.a11y-pause-motion *,
  html.a11y-pause-motion *::before,
  html.a11y-pause-motion *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Support section dark band for consistency */
.support-area#contact.bg-light {
  background: #eceae6 !important;
}

/* Readable section titles on homepage */
.section-title .title,
.section-title h3.title {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
}

.desc-content {
  font-size: 1.0625rem;
}

/* In-page anchors clear sticky header */
#hero-lead,
#services,
#portfolio,
#about,
#trust,
#contact {
  scroll-margin-top: 96px;
}

@media (max-width: 991.98px) {
  #hero-lead,
  #services,
  #portfolio,
  #about,
  #trust,
  #contact {
    scroll-margin-top: 72px;
  }
}

/* Footer legal buttons */
.footer-legal-actions .btn {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
}

/* Legal / policy pages */
.policy-legal-page {
  background: #faf9f7;
}

.policy-simple-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.policy-simple-header .logo-wordmark {
  color: #1a1a1f !important;
  text-shadow: none;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.policy-legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.policy-legal-main h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.policy-legal-main h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-legal-main p,
.policy-legal-main li {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #3a3a40;
}

.policy-legal-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.policy-legal-footer a {
  margin: 0 0.5rem;
  color: #122179;
  text-decoration: none;
}

.policy-legal-footer a:hover {
  text-decoration: underline;
}

.policy-simple-header a {
  color: #122179;
  text-decoration: none;
}

.policy-simple-header a:hover {
  text-decoration: underline;
}

/* —— Portfolio showreel video —— */
/* White areas in the video blend into the page so the phone mockup “floats” without a card frame */
#portfolio {
  background-color: #faf9f7;
}

.portfolio-showreel-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: none;
}

.portfolio-showreel-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  mix-blend-mode: multiply;
}

/* No playback UI (no controls attribute) — extra guard for WebKit */
.portfolio-showreel-video::-webkit-media-controls {
  display: none !important;
}

.portfolio-showreel-video::-webkit-media-controls-enclosure {
  display: none !important;
}

@media (max-width: 767.98px) {
  .portfolio-showreel-wrap {
    margin-bottom: 2rem;
  }
}

/* —— Partner logo marquee (white band, between About & Services) —— */
.partners-marquee-section {
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(26, 26, 31, 0.07);
  border-bottom: 1px solid rgba(26, 26, 31, 0.07);
}

.partners-marquee-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.partners-marquee-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a88b4a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.partners-marquee-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  color: #1a1a1f;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.partners-marquee-sub {
  font-size: 1rem;
  color: #5c5c66;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.5;
}

.partners-marquee-viewport {
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.partners-marquee-inner {
  display: flex;
  width: max-content;
  animation: partners-marquee-scroll 55s linear infinite;
}

.partners-marquee-section:hover .partners-marquee-inner {
  animation-play-state: paused;
}

.partners-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2.25rem, 5vw, 4rem);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.partners-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.partners-marquee-item img {
  display: block;
  height: clamp(64px, 11vw, 100px);
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  object-position: center;
  background-color: transparent;
  filter: grayscale(0.12) contrast(1.02) opacity(0.9);
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.partners-marquee-item img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 767.98px) {
  .partners-marquee-item img {
    height: clamp(78px, 22vw, 118px);
    max-width: min(300px, 78vw);
  }

  .partners-marquee-group {
    gap: clamp(1.85rem, 6vw, 3rem);
  }
}

@media (max-width: 400px) {
  .partners-marquee-item img {
    height: clamp(82px, 26vw, 120px);
    max-width: min(320px, 82vw);
  }
}

@keyframes partners-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee-inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    row-gap: 1.25rem;
  }

  .partners-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .partners-marquee-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partners-marquee-section:hover .partners-marquee-inner {
    animation-play-state: running;
  }
}

html.a11y-pause-motion .partners-marquee-inner {
  animation: none !important;
}
