

/* Self-hosted fonts (Inter + Rubik for multi-language support) */

/* Inter font (English / LTR languages) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
}

/* Rubik font (Hebrew / RTL languages) */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Rubik-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Rubik-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Rubik-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Rubik-Bold.woff2') format('woff2');
}


/* Self-hosted fonts (Inter + Rubik for multi-language support) */

/* Inter font (English / LTR languages) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
}

/* Rubik font (Hebrew / RTL languages) */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Rubik-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Rubik-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Rubik-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Rubik-Bold.woff2') format('woff2');
}
:root {
  --primary: #1F3558;
  --secondary: #5A6578;
  --accent: #C8A96B;
  --bg-light: #FAF8F4;
  --bg-dark: #1F3558;
  --text-dark: #202124;
  --text-light: #FAF8F4;
  --text-muted: #6C727F;
  --border-light: #D9DDE3;
  --border-dark: #41506D;
  --nav-bg: #FAF8F4;
  --nav-text: #202124;
  --nav-text-hover: #1a2d4b;

  --radius-sm: 2px;
  --radius-card: 2px;
  --radius-btn: 2px;
  --radius-img: 0px;
  --radius-badge: 2px;
  --radius-input: 2px;
  --shadow-subtle: 0 8px 24px rgba(49, 36, 18, 0.06);
  --shadow-card: 0 8px 24px rgba(49, 36, 18, 0.06);
  --shadow-elevated: 0 18px 44px rgba(49, 36, 18, 0.10);
  --shadow-btn-hover: 0 8px 24px rgba(199, 162, 74, 0.18);
  --spacing-section: 96px;
  --spacing-section-mobile: 56px;
  --spacing-card-padding: 40px;
  --spacing-card-gap: 32px;
  --spacing-element-gap: 24px;
  --transition-default: all 0.25s ease;
  --transition-hover: all 0.25s ease;

  --gradient-primary: linear-gradient(180deg, #CFAD58 0%, #C29A3F 100%);
  --gradient-gold-shine: linear-gradient(90deg, #B78E35 0%, #D8B866 50%, #BF973E 100%);
  --gradient-secondary: linear-gradient(180deg, #2B3550 0%, #1F2A44 100%);
  --gradient-gold-accent: linear-gradient(135deg, #D8B866 0%, #C7A24A 45%, #A87A22 100%);
  --gradient-dark-section: linear-gradient(180deg, #2A211B 0%, #1C1713 100%);
  --gradient-overlay-dark: linear-gradient(90deg, rgba(28, 23, 19, 0.78) 0%, rgba(28, 23, 19, 0.38) 46%, rgba(28, 23, 19, 0.12) 100%);
  --gradient-light-section: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  --gradient-overlay-light: linear-gradient(180deg, rgba(251, 249, 245, 0.95) 0%, rgba(242, 238, 231, 0.88) 100%);
}

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

html {
  font-size: 16px !important;
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h3 {
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
  font-family: 'Rubik', sans-serif;
}

small,
.small-text {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  font-family: 'Rubik', sans-serif;
}

span,
div,
li,
td,
th,
label,
figcaption,
blockquote,
cite,
legend,
caption {
  font-family: 'Rubik', sans-serif;
}

a {
  color: var(--accent, var(--primary));
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: inherit;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  p {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
  }

  h2 {
    font-size: 22px !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
  }

  h3 {
    font-size: 18px !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
  }

  p {
    font-size: 14px !important;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  padding: 14px 36px;
  font-weight: 500;
  font-size: 16px;
  text-transform: none;
  transition: var(--transition-hover);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-family: 'Rubik', sans-serif;
}

.btn:hover {
  box-shadow: var(--shadow-btn-hover);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-dark);
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--gradient-gold-accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow-btn-hover);
}

.section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.section-light {
  background: var(--gradient-light-section);
}

.section-dark {
  background: var(--gradient-dark-section);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark p {
  color: var(--text-light);
}

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

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-light {
  color: var(--text-light);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.bg-accent {
  background-color: var(--accent);
}

.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-card-padding);
  transition: var(--transition-hover);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-badge);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-accent {
  background: var(--gradient-gold-accent);
  color: var(--text-dark);
}

.badge-primary {
  background: var(--primary);
  color: var(--text-light);
}

.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--spacing-element-gap) 0;
}

.divider-dark {
  border-top-color: var(--border-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: 16px;
}

.gap-md {
  gap: var(--spacing-element-gap);
}

.gap-lg {
  gap: var(--spacing-card-gap);
}

.w-full {
  width: 100%;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-img);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

@media (min-width: 769px) {
  .whatsapp-float {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--spacing-section-mobile);
    padding-bottom: var(--spacing-section-mobile);
  }

  .container {
    padding: 0 16px;
  }

  .card {
    padding: 24px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  .d-flex {
    flex-direction: column;
  }

  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .container {
    padding: 0 20px;
  }
}

/* Navbar Styles */
:root {
  --primary: #1F3558;
  --secondary: #5A6578;
  --accent: #C8A96B;
  --bg-light: #FAF8F4;
  --bg-dark: #1F3558;
  --text-dark: #202124;
  --text-light: #FAF8F4;
  --text-muted: #6C727F;
  --border-light: #D9DDE3;
  --border-dark: #41506D;
  --nav-bg: #FAF8F4;
  --nav-text: #202124;
  --nav-text-hover: #1a2d4b;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(31, 53, 88, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(200, 169, 107, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
}

.nav-brand {
  flex-shrink: 0;
  margin-left: 48px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 20px;
  color: var(--nav-text);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 20px;
  left: 20px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--nav-text-hover);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta-container {
  margin-right: auto;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 28px;
  border-radius: 2px;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-transform: none;
}

.nav-cta-btn:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(31, 53, 88, 0.98);
  }

  .mobile-toggle {
    display: flex;
  }

  .phone-header-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 64px;
    height: 64px;
    justify-content: center;
  }

  .nav-brand {
    margin-left: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(31, 53, 88, 0.99);
    flex-direction: column;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(200, 169, 107, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-container {
    display: none;
  }
}
:root {
  --primary: #1F3558;
  --secondary: #5A6578;
  --accent: #C8A96B;
  --bg-light: #FAF8F4;
  --bg-dark: #1F3558;
  --text-dark: #202124;
  --text-light: #FAF8F4;
  --text-muted: #6C727F;
  --border-light: #D9DDE3;
  --border-dark: #41506D;
  --nav-bg: #FAF8F4;
  --nav-text: #202124;
  --nav-text-hover: #1a2d4b;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(31, 53, 88, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(200, 169, 107, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
}

.nav-brand {
  flex-shrink: 0;
  margin-left: 48px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 20px;
  color: var(--nav-text);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 20px;
  left: 20px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--nav-text-hover);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta-container {
  margin-right: auto;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 28px;
  border-radius: 2px;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-transform: none;
}

.nav-cta-btn:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(31, 53, 88, 0.98);
  }

  .mobile-toggle {
    display: flex;
  }

  .phone-header-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 64px;
    height: 64px;
    justify-content: center;
  }

  .nav-brand {
    margin-left: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(31, 53, 88, 0.99);
    flex-direction: column;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(200, 169, 107, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-container {
    display: none;
  }
}


/* ============================================
   NAVBAR LAYOUT - POST-GENERATION FIXES
   Structural layout only - colors from Claude
   ============================================ */

/* Base navbar styles - structural only, colors from AI */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* Background color is set by Claude's CSS - don't override */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ============================================
   DESKTOP LAYOUT (>768px)
   ============================================ */

/* Nav container - constrains max width and provides padding */
.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
}

/* Logo styling (desktop) — mobile logo stays at 110px/35px, do not adjust */
.logo {
  max-height: 40px;
  max-width: 160px !important;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link:focus {
  outline: none;
}

/* Remove browser default dark focus box on mouse-click; preserve for keyboard (:focus-visible). */
.navbar a:focus:not(:focus-visible),
.navbar button:focus:not(:focus-visible),
.nav-menu a:focus:not(:focus-visible) {
  outline: none;
}
.navbar a:focus-visible,
.navbar button:focus-visible,
.nav-menu a:focus-visible {
  outline: 2px solid var(--primary-color, var(--primary, #1F3558));
  outline-offset: 2px;
}

/* Nav brand container */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
}

/* Navigation menu - positioned adjacent to logo */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu > li > a,
.nav-menu > .nav-item > a {
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem;
  white-space: nowrap;
  color: var(--nav-text, var(--text-light)) !important;
}

.nav-menu > li > a:hover,
.nav-menu > .nav-item > a:hover {
  color: var(--nav-text-hover, var(--secondary)) !important;
}

/* CTA Container - pushed to end of navbar */
.nav-cta-container {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: center;
  height: auto;
  max-height: none;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-cta-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* CTA button - prevent stretching to fill navbar height.
   AI CSS provides colors/gradients/etc - we only constrain sizing.
   display: inline-flex + max-height: 44px keeps it as a compact pill. */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  align-self: center;
  height: auto;
  max-height: 44px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

/* ============================================
   LTR DESKTOP LAYOUT (English, Spanish, French)
   ============================================ */
html[dir="ltr"] .nav-container,
html[lang="en"] .nav-container,
html[lang="es"] .nav-container,
html[lang="fr"] .nav-container {
  justify-content: flex-start;
}

html[dir="ltr"] .nav-menu,
html[lang="en"] .nav-menu,
html[lang="es"] .nav-menu,
html[lang="fr"] .nav-menu {
  margin-left: 0;
  margin-right: 0;
}

html[dir="ltr"] .nav-cta-container,
html[lang="en"] .nav-cta-container,
html[lang="es"] .nav-cta-container,
html[lang="fr"] .nav-cta-container {
  margin-left: auto;
  margin-right: 0;
}

/* ============================================
   RTL DESKTOP LAYOUT (Hebrew, Arabic)
   ============================================ */
html[dir="rtl"] .nav-container,
html[lang="he"] .nav-container,
html[lang="ar"] .nav-container {
  flex-direction: row-reverse;
  justify-content: space-between;
}

/* CTA on the left in RTL */
html[dir="rtl"] .nav-cta-container,
html[lang="he"] .nav-cta-container,
html[lang="ar"] .nav-cta-container {
  order: -1;
  margin: 0;
}

/* Wrapper groups menu and logo together on the right */
html[dir="rtl"] .nav-right-group,
html[lang="he"] .nav-right-group,
html[lang="ar"] .nav-right-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 1;
  flex: 1;
  min-width: 0;
  flex-direction: row-reverse;
}

/* Within wrapper: Logo on far right, menu to its left */
html[dir="rtl"] .nav-right-group .nav-brand,
html[lang="he"] .nav-right-group .nav-brand,
html[lang="ar"] .nav-right-group .nav-brand {
  order: 2;
}

html[dir="rtl"] .nav-right-group .nav-menu,
html[lang="he"] .nav-right-group .nav-menu,
html[lang="ar"] .nav-right-group .nav-menu {
  order: 1;
}

/* ============================================
   DROPDOWN MENUS (Desktop)
   ============================================ */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.65rem;
  color: var(--nav-text, var(--text-light)) !important;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  color: var(--nav-text-hover, var(--secondary)) !important;
}

.dropdown-arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  overflow: visible !important;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--bg-light, #ffffff);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100001;
  list-style: none;
  margin: 0;
}

html[dir="rtl"] .dropdown-menu,
html[lang="he"] .dropdown-menu,
html[lang="ar"] .dropdown-menu {
  right: 0;
  left: auto;
}

html[dir="ltr"] .dropdown-menu,
html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .dropdown-menu {
  left: 0;
  right: auto;
}

@media (min-width: 769px) {
  .nav-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 400;
  font-size: 0.9em;
  color: var(--text-dark, #1a1a1a) !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background: rgba(128,128,128,0.1);
  color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
}

/* Desktop: Hide mobile-only elements */
@media (min-width: 769px) {
  .mobile-toggle,
  .phone-header-btn {
    display: none !important;
  }
  
  /* Hide Contact in nav-menu on desktop (it shows in CTA container instead) */
  .nav-menu .mobile-contact-link {
    display: none !important;
  }
  
  /* When .nav-right-group wrapper is absent, the nav-container has 3 direct
     children (brand, menu, CTA) with space-between. flex:1 makes the menu
     fill the gap, and justify-content:flex-start pushes items toward the
     logo side instead of centering them in the available space. */
  .nav-menu {
    flex: 1 !important;
    justify-content: flex-start !important;
  }
}

/* ============================================
   MOBILE RESPONSIVE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  /* Reset nav-container for mobile */
  /* CRITICAL: Reset position properties to prevent conflict with AI-generated mobile CSS */
  /* Some AI generations set .nav-container to position:fixed for slide-out menus, */
  /* position:relative is needed so .nav-brand (position:absolute) centers within it */
  .nav-container {
    padding: 0.75rem 1rem;
    gap: 0;
    justify-content: center !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 70px !important; /* Ensure height for absolutely positioned mobile buttons */
    width: 100% !important;
  }
  
  /* Show mobile elements - positioned as direct children of navbar */
  .mobile-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px; /* LTR default - hamburger on left */
    right: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    width: 36px !important;
    height: 36px !important;
    color: var(--nav-text, var(--text-light)) !important;
  }
  
  .phone-header-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px; /* LTR default - phone on right */
    left: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    width: 36px !important;
    height: 36px !important;
    color: var(--nav-text, var(--text-light)) !important;
  }
  
  /* Ensure logo-link is centered */
  .logo-link, .nav-brand a {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  
  .mobile-toggle svg,
  .phone-header-btn svg {
    width: 24px !important;
    height: 24px !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    transition: opacity 0.3s ease;
  }
  
  .mobile-toggle svg path,
  .phone-header-btn svg path {
    stroke: currentColor !important;
  }
  
  .mobile-toggle img,
  .phone-header-btn img {
    width: 24px !important;
    height: 24px !important;
    /* Filter removed - preserve original image colors */
    /* ColorContrastService will handle contrast adjustments */
  }
  
  .mobile-toggle:hover svg,
  .phone-header-btn:hover svg {
    opacity: 0.8;
  }
  
  /* Remove default button styles */
  .mobile-toggle:focus,
  .mobile-toggle:active,
  .phone-header-btn:focus,
  .phone-header-btn:active {
    outline: none;
    border: none;
    box-shadow: none;
  }
  
  /* Center logo on mobile - applies to both LTR and RTL */
  /* RTL selectors added for higher specificity to override desktop RTL rules */
  /* IMPORTANT: Do NOT use margin shorthand (margin: 0 auto) — it resets margin-top
     which breaks AI centering hacks (top:50% + margin-top:-Npx).
     Use explicit left/right + transform for robust vertical centering. */
  .nav-brand,
  html[dir="rtl"] .nav-brand,
  html[lang="he"] .nav-brand,
  html[lang="ar"] .nav-brand,
  html[dir="rtl"] .nav-right-group .nav-brand,
  html[lang="he"] .nav-right-group .nav-brand,
  html[lang="ar"] .nav-right-group .nav-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    text-align: center;
    order: 0 !important;
  }
  
  /* Mobile logo size: fixed at 35px/110px — do not adjust, especially for e-commerce/catalog sites */
  .logo {
    max-height: 35px !important;
    max-width: 110px !important;
  }
  
  /* Hide RTL wrapper on mobile */
  .nav-right-group {
    display: contents !important;
  }
  
  /* Hide CTA container on mobile - Contact will be in hamburger menu */
  .nav-cta-container {
    display: none !important;
  }
  
  /* Mobile menu - hidden by default */
  /* CRITICAL: flex-direction: column must have !important to override any desktop rules */
  .nav-menu {
    position: fixed;
    top: 70px;
    width: 50%;
    max-width: 300px;
    /* Mobile menu is position:fixed so it CANNOT inherit background from navbar.
       When --nav-bg is transparent (hero-overlay navbars), the menu would be invisible.
       Always use a solid background derived from the palette. */
    background-color: var(--bg-dark, #1a1a1a) !important;
    flex-direction: column !important;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
    margin: 0 !important;
    /* Align menu items to top, not center */
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  
  .nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  /* Show mobile-contact-link in hamburger menu */
  .nav-menu .mobile-contact-link {
    display: block !important;
  }
  
  /* LTR mobile menu text alignment - left aligned */
  html[dir="ltr"] .nav-menu a,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .nav-menu a {
    text-align: left !important;
  }
  
  .nav-menu a {
    display: block;
    padding: 15px 30px;
    width: 100%;
    font-weight: 500;
  }
  
  /* Mobile dropdown menus */
  .nav-dropdown {
    position: static;
  }
  
  .dropdown-toggle {
    display: flex;
    width: 100%;
    padding: 15px 30px;
    font-weight: 500;
    justify-content: space-between;
  }
  
  .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: rgba(128,128,128,0.06) !important;
    min-width: auto !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: max-height 0.3s ease !important;
  }
  
  .nav-dropdown .dropdown-menu {
    display: block;
    max-height: 0 !important;
    overflow: hidden !important;
  }
  
  .nav-dropdown.open > .dropdown-menu {
    display: block !important;
    max-height: 500px !important;
    overflow: visible !important;
    padding: 0.5rem 0 !important;
  }
  
  .dropdown-menu li a {
    padding: 12px 30px 12px 50px !important;
    font-size: 0.9em;
  }
  
  html[dir="rtl"] .dropdown-menu li a,
  html[lang="he"] .dropdown-menu li a,
  html[lang="ar"] .dropdown-menu li a {
    padding: 12px 50px 12px 30px !important;
  }

  /* Mobile submenu links: use nav panel text color instead of desktop submenu color.
     Desktop submenu uses light bg + dark text, but mobile submenu is inline (transparent)
     within the nav panel which may be dark. Cannot use 'inherit' because the container
     chain (.sub-menu, li) has dark color — only nav <a> tags get light color explicitly. */
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a,
  .nav-menu .sub-menu a,
  .zappy-products-dropdown .sub-menu a,
  .sub-menu a {
    color: var(--nav-text, var(--text-light)) !important;
  }
  .mobile-submenu-toggle {
    color: var(--nav-text, var(--text-light)) !important;
  }

  /* Force sub-menu hidden by default on mobile */
  .navbar .zappy-products-dropdown .sub-menu,
  .navbar .zappy-products-dropdown > .sub-menu {
    display: none !important;
    position: static !important;
    max-height: 0 !important;
    overflow: hidden !important;
     !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
  }
  /* Disable hover-triggered dropdowns on mobile — only open via click (.open class) */
  .navbar .zappy-products-dropdown:hover .sub-menu,
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu,
  .navbar .menu-item-has-children:hover > .sub-menu,
  .navbar .nav-dropdown:hover > .dropdown-menu {
    display: none !important;
     !important;
    visibility: hidden !important;
    max-height: 0 !important;
    pointer-events: none !important;
  }
  .navbar .zappy-products-dropdown.open .sub-menu,
  .navbar .zappy-products-dropdown.open > .sub-menu,
  .navbar .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .navbar .menu-item-has-children.open > .sub-menu,
  .navbar .menu-item-has-children > .sub-menu.mobile-expanded,
  .navbar .nav-dropdown.open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 500px !important;
    pointer-events: auto !important;
    position: static !important;
    overflow: visible !important;
    padding: 0.5rem 0 !important;
  }

  /* Prevent hero image fade gradient from bleeding over headline text below */
  /* The .image-fade-gradient has bottom: -30px which extends below parent; */
  /* on mobile stacked layout this overlaps the h1 text */
  .hero-image-column {
    overflow: hidden !important;
  }
  .image-fade-gradient {
    bottom: 0 !important;
  }
}

/* ============================================
   LTR POSITIONING (English, Spanish, French, etc.)
   For LTR mobile: hamburger on LEFT, phone on RIGHT
   Uses !important to override any inline styles
   ============================================ */
@media (max-width: 768px) {
  html[dir="ltr"] .mobile-toggle,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .mobile-toggle {
    left: 12px !important;
    right: auto !important;
  }
  
  html[dir="ltr"] .phone-header-btn,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .phone-header-btn {
    right: 12px !important;
    left: auto !important;
  }
  
  html[dir="ltr"] .nav-menu,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .nav-menu {
    left: 0 !important;
    right: auto !important;
  }
}

/* ============================================
   RTL POSITIONING (Hebrew, Arabic)
   For RTL mobile: hamburger on RIGHT, phone on LEFT
   (natural mirror of LTR layout)
   Uses !important to override any inline styles
   ============================================ */
@media (max-width: 768px) {
  html[dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    left: auto !important;
    right: 12px !important;
  }
  
  html[dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn {
    left: 12px !important;
    right: auto !important;
  }
  
  html[dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu {
    right: 0 !important;
    left: auto !important;
  }
  
  html[dir="rtl"] .nav-menu a,
  html[lang="he"] .nav-menu a,
  html[lang="ar"] .nav-menu a {
    text-align: right !important;
  }
  
  /* Hide desktop language switcher on mobile - hamburger menu handles it */
  /* High specificity to override stored CSS */
  .lang-switcher,
  .nav-cta-container .lang-switcher,
  .nav-container .lang-switcher,
  .navbar .lang-switcher,
  .navbar .nav-cta-container .lang-switcher {
    display: none !important;
  }
}

/* ============================================
   CLONED SITE NAVBAR FIXES
   For sites without nav-right-group wrapper
   ============================================ */

/* Force navbar to be truly full width */
header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.navbar {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw !important;
  max-width: none !important;
}

/* Constrained nav-container - content limited to 1200px and centered */
.nav-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* RTL layout for cloned sites (without nav-right-group) */
/* Base RTL styles - apply to all screens */
html[dir="rtl"] .nav-container,
html[lang="he"] .nav-container,
html[lang="ar"] .nav-container {
  justify-content: space-between !important;
}

/* Logo stays on right in RTL - DESKTOP ONLY */
/* On mobile, logo should be centered (handled by mobile media query) */
@media (min-width: 769px) {
  html[dir="rtl"] .nav-brand,
  html[dir="rtl"] .logo-link,
  html[lang="he"] .nav-brand,
  html[lang="he"] .logo-link,
  html[lang="ar"] .nav-brand,
  html[lang="ar"] .logo-link {
    order: 2 !important;
    margin-left: 1.5rem !important;
  }
}

/* Base RTL nav-menu styles - display:flex but NOT flex-direction (that's desktop-only) */
html[dir="rtl"] .nav-menu,
html[lang="he"] .nav-menu,
html[lang="ar"] .nav-menu {
  order: 1 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* CTA button pushed to far left in RTL */
html[dir="rtl"] .cta-button,
html[dir="rtl"] a.cta-button,
html[dir="rtl"] .nav-cta-btn,
html[lang="he"] .cta-button,
html[lang="he"] a.cta-button,
html[lang="he"] .nav-cta-btn,
html[lang="ar"] .cta-button,
html[lang="ar"] a.cta-button,
html[lang="ar"] .nav-cta-btn {
  order: 0 !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* DESKTOP ONLY: Horizontal flex layout for RTL navbar - prevents breaking mobile vertical menu */
@media (min-width: 769px) {
  html[dir="rtl"] .nav-container,
  html[lang="he"] .nav-container,
  html[lang="ar"] .nav-container {
    flex-direction: row-reverse !important;
  }
  
  html[dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    /* flex:1 ensures menu fills space between brand and CTA so items
       stay adjacent to the logo instead of centering when the
       .nav-right-group wrapper is absent (cloned sites, etc.).
       justify-content: flex-start pushes items toward the logo
       (in RTL, flex-start = right side, adjacent to the brand). */
    flex: 1 !important;
    justify-content: flex-start !important;
  }
}

/* ============================================
   END NAVBAR FIXES
   ============================================ */

/* Post-generation fix: Remove main element margin-top and padding-top */
main { margin-top: 0 !important; padding-top: 0 !important; }


/* Footer Styles */
.site-footer {
  --primary: #1F3558;
  --secondary: #5A6578;
  --accent: #C8A96B;
  --bg-light: #FAF8F4;
  --bg-dark: #1F3558;
  --text-dark: #202124;
  --text-light: #FAF8F4;
  --text-muted: #6C727F;
  --border-light: #D9DDE3;
  --border-dark: #41506D;

  background-color: #162843;
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  direction: rtl;
  box-sizing: border-box;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

/* ── Container ── */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Top Section ── */
.footer-top {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

/* ── Logo ── */
.footer-logo-wrap {
  margin-bottom: 1.25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-logo-wrap .logo {
  display: block;
  max-width: 150px;
  height: auto;
  filter: brightness(0) invert(1) opacity(0.92);
}

/* ── Tagline ── */
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.65);
  margin: 0 0 1.5rem;
  max-width: 260px;
}

/* ── Social Icons ── */
.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid var(--border-dark);
  color: rgba(250, 248, 244, 0.75);
  background: transparent;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #162843;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
}

/* ── Section Headings ── */
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-heading-accent {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Navigation Links ── */
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav li a {
  font-size: 0.9rem;
  color: rgba(250, 248, 244, 0.75);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0;
  position: relative;
}

.footer-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.footer-nav li a:hover {
  color: var(--text-light);
}

.footer-nav li a:hover::after {
  width: 100%;
}

/* ── Contact List ── */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.contact-text {
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.7);
  line-height: 1.5;
}

.contact-text a {
  color: rgba(250, 248, 244, 0.7);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.contact-text a:hover {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Hours ── */
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(250, 248, 244, 0.68);
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(65, 80, 109, 0.5);
}

.footer-hours-row:last-of-type {
  margin-bottom: 1.25rem;
}

.footer-disclaimer {
  font-size: 0.775rem;
  color: rgba(250, 248, 244, 0.42);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
  border-right: 2px solid var(--border-dark);
  padding-right: 0.75rem;
}

/* ── Divider ── */
.footer-divider {
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-dark) 20%, var(--accent) 50%, var(--border-dark) 80%, transparent);
  opacity: 0.6;
  margin: 0 2rem;
}

/* ── Bottom Bar ── */
.footer-bottom {
  padding: 1.4rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(250, 248, 244, 0.45);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(250, 248, 244, 0.5);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
  padding: 0.1rem 0;
}

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

.footer-legal-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--border-dark);
  vertical-align: middle;
}

.zappy-attribution {
  font-size: 0.78rem;
  color: rgba(250, 248, 244, 0.35) !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

.zappy-attribution:hover {
  color: rgba(250, 248, 244, 0.65) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: 3rem 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .footer-legal {
    gap: 0.35rem;
  }

  .footer-divider {
    margin: 0 1rem;
  }

  .footer-container {
    padding: 0 1.25rem;
  }
}


/* Footer Contrast Guard — overrides dark-on-dark text */
.site-footer .contact-list a,
.site-footer .contact-list li,
.site-footer .contact-list span,
.site-footer .footer-legal a,
.site-footer .copyright p,
.site-footer .footer-description,
.site-footer .footer-bottom a,
.site-footer .footer-bottom p,
.site-footer .footer-bottom span:not(.separator) {
  color: #6C727F !important;
}
.site-footer .contact-list a:hover,
.site-footer .footer-legal a:hover,
.site-footer .footer-bottom a:hover {
  color: #FAF8F4 !important;
}
.site-footer .footer-legal .separator {
  color: #41506D !important;
}
/* Footer contact alignment fix */
.footer-contact li > a { display: flex; align-items: flex-start; gap: inherit; }
/* index-hero */
.index-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: visible;
  background-color: #1F3558;
  color: var(--text-light);
  direction: rtl;
  padding-bottom: 90px;
}

/* ── Background Image ── */
.index-hero-section .index-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.index-hero-section .index-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* ── Scrim Overlay ── */
.index-hero-section .index-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(270deg,
      rgba(20, 30, 50, 0.82) 0%,
      rgba(20, 30, 50, 0.70) 38%,
      rgba(20, 30, 50, 0.30) 65%,
      rgba(20, 30, 50, 0.08) 100%
    );
}

/* ── Container ── */
.index-hero-section .index-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
}

/* ── Frosted Glass Card ── */
.index-hero-section .index-hero-card {
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 211, 194, 0.60);
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
  border-radius: 2px;
  padding: 52px 48px 44px;
  width: 44%;
  max-width: 560px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text-dark);
  text-align: right;
}

/* ── Eyebrow Label ── */
.index-hero-section .index-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-family: 'Rubik', sans-serif;
}

/* ── H1 ── */
.index-hero-section .index-hero-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  text-shadow: none;
}

/* ── H3 Subtitle ── */
.index-hero-section .index-hero-h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--secondary);
  margin: 0 0 22px 0;
  letter-spacing: 0;
}

/* ── Body Paragraph ── */
.index-hero-section .index-hero-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4A4E57;
  margin: 0 0 32px 0;
}

/* ── CTA Buttons ── */
.index-hero-section .index-hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.index-hero-section .index-hero-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--accent);
  box-shadow: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-primary:hover {
  background: #b8943e;
  border-color: #b8943e;
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.28);
}

.index-hero-section .index-hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-secondary:hover {
  background: rgba(31, 53, 88, 0.06);
  border-color: var(--secondary);
  color: var(--primary);
}

/* ── Accent Rule ── */
.index-hero-section .index-hero-accent-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(200, 169, 107, 0.3) 100%);
  border-radius: 1px;
  margin-inline-start: auto;
}

/* ── Bottom Divider ── */
.index-hero-section .index-hero-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

.index-hero-section .index-hero-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE: Tablet ── */
@media (max-width: 1024px) {
  .index-hero-section .index-hero-card {
    width: 54%;
    padding: 44px 40px 36px;
  }

  .index-hero-section .index-hero-h1 {
    font-size: 40px;
  }
}

/* ── RESPONSIVE: Mobile ── */
@media (max-width: 768px) {
  .index-hero-section {
    align-items: flex-start;
    padding-bottom: 90px;
    min-height: 100vh;
  }

  .index-hero-section .index-hero-scrim {
    background-image:
      linear-gradient(180deg,
        rgba(20, 30, 50, 0.55) 0%,
        rgba(20, 30, 50, 0.75) 100%
      );
  }

  .index-hero-section .index-hero-container {
    padding: 100px 16px 0;
    min-height: auto;
    align-items: flex-start;
  }

  .index-hero-section .index-hero-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 32px 24px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .index-hero-section .index-hero-h1 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .index-hero-section .index-hero-h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .index-hero-section .index-hero-body {
    margin-bottom: 24px;
  }

  .index-hero-section .index-hero-ctas {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .index-hero-section .index-hero-btn-primary,
  .index-hero-section .index-hero-btn-secondary {
    text-align: center;
    width: 100%;
    padding: 14px 24px;
  }

  .index-hero-section .index-hero-accent-rule {
    margin-inline-start: 0;
  }
}

/* index-services */
.index-services-section {
  position: relative;
  overflow: visible;
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 0 64px;
  direction: rtl;
}

/* Container */
.index-services-section .index-services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── Two-column editorial layout ── */
.index-services-section .index-services-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
  direction: rtl;
}

/* ── Content column (right/start) ── */
.index-services-section .index-services-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Section header */
.index-services-section .index-services-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: right;
}

.index-services-section .index-services-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Rubik', sans-serif;
}

.index-services-section .index-services-accent-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-block-start: 2px;
  margin-block-end: 4px;
}

.index-services-section .index-services-title {
  font-family: 'Rubik', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.index-services-section .index-services-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0;
  text-align: right;
}

/* ── Cards 2×2 grid ── */
.index-services-section .index-services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  direction: rtl;
}

/* Individual card */
.index-services-section .index-services-card {
  background: #FFFFFF;
  border: 1px solid #DDD3C2;
  border-radius: 2px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
  position: relative;
}

.index-services-section .index-services-card::before {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
  border-radius: 0 2px 0 0;
}

.index-services-section .index-services-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

.index-services-section .index-services-card:hover::before {
  height: 48px;
}

/* Card icon */
.index-services-section .index-services-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(200, 169, 107, 0.08);
  border: 1px solid rgba(200, 169, 107, 0.22);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Card body */
.index-services-section .index-services-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.index-services-section .index-services-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.index-services-section .index-services-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── Image column (left/end) ── */
.index-services-section .index-services-image-col {
  position: sticky;
  top: 120px;
  align-self: start;
}

.index-services-section .index-services-image-frame {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Thin muted-gold border frame effect */
.index-services-section .index-services-image-frame::before {
  content: '';
  position: absolute;
  inset-block-start: -10px;
  inset-inline-end: -10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid rgba(200, 169, 107, 0.45);
  pointer-events: none;
  z-index: 0;
}

.index-services-section .index-services-image-frame::after {
  content: '';
  position: absolute;
  inset-block-end: -10px;
  inset-inline-start: -10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid rgba(200, 169, 107, 0.25);
  pointer-events: none;
  z-index: 0;
}

.index-services-section .index-services-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 1;
  background-color: #D9DDE3;
}

.index-services-section .index-services-image-caption {
  position: relative;
  z-index: 2;
  margin-block-start: 14px;
  padding-block-start: 12px;
  border-block-start: 1px solid #DDD3C2;
  text-align: right;
}

.index-services-section .index-services-image-caption span {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Bottom geometric divider ── */
.index-services-section .index-services-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 5;
}

.index-services-section .index-services-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .index-services-section .index-services-layout {
    grid-template-columns: 1fr 260px;
    gap: 40px;
  }
  .index-services-section .index-services-img {
    height: 460px;
  }
}

@media (max-width: 768px) {
  .index-services-section {
    padding: 80px 0 64px;
  }
  .index-services-section .index-services-container {
    padding: 0 16px;
  }
  .index-services-section .index-services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .index-services-section .index-services-image-col {
    position: static;
    order: -1;
  }
  .index-services-section .index-services-img {
    height: 320px;
  }
  .index-services-section .index-services-image-frame::before,
  .index-services-section .index-services-image-frame::after {
    display: none;
  }
  .index-services-section .index-services-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .index-services-section .index-services-card {
    padding: 24px;
  }
  .index-services-section .index-services-title {
    font-size: 26px;
  }
  .index-services-section .index-services-intro {
    max-width: 100%;
  }
}

/* index-credentials */
.index-credentials-section {
  position: relative;
  overflow: visible;
  background-color: #1C1713;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(200,169,107,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(31,53,88,0.35) 0%, transparent 50%),
    linear-gradient(180deg, #2A211B 0%, #1C1713 100%);
  color: var(--text-light);
  padding: 96px 0 70px;
  direction: rtl;
}

.index-credentials-section .index-credentials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Main Grid ── */
.index-credentials-section .index-credentials-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}

/* ── Text Column ── */
.index-credentials-section .index-credentials-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.index-credentials-section .index-credentials-accent-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-inline-start: 0;
}

.index-credentials-section .index-credentials-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  letter-spacing: -0.01em;
  margin: 0;
}

.index-credentials-section .index-credentials-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.78);
  margin: 0;
  max-width: 480px;
}

/* ── Credential List ── */
.index-credentials-section .index-credentials-cred-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-inline-start: 1px solid rgba(221, 211, 194, 0.2);
  padding-inline-start: 24px;
  margin-top: 8px;
}

.index-credentials-section .index-credentials-cred-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(221, 211, 194, 0.12);
}

.index-credentials-section .index-credentials-cred-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.index-credentials-section .index-credentials-cred-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
  color: var(--accent);
  flex-shrink: 0;
}

.index-credentials-section .index-credentials-cred-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.index-credentials-section .index-credentials-cred-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0;
}

.index-credentials-section .index-credentials-cred-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.65);
  margin: 0;
}

/* ── Visual Column ── */
.index-credentials-section .index-credentials-visual-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.index-credentials-section .index-credentials-image-frame {
  position: relative;
  border: 1px solid rgba(200, 169, 107, 0.25);
}

.index-credentials-section .index-credentials-image-frame img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.92) contrast(1.05);
}

.index-credentials-section .index-credentials-image-caption {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(28, 23, 19, 0.85);
  border-top: 1px solid rgba(200, 169, 107, 0.2);
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.7);
  letter-spacing: 0.04em;
  font-family: 'Rubik', sans-serif;
}

.index-credentials-section .index-credentials-caption-divider {
  color: var(--accent);
  opacity: 0.5;
}

/* ── Badge Stack ── */
.index-credentials-section .index-credentials-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(221, 211, 194, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.index-credentials-section .index-credentials-badge {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(221, 211, 194, 0.1);
  transition: background 0.25s ease;
}

.index-credentials-section .index-credentials-badge:last-child {
  border-bottom: none;
}

.index-credentials-section .index-credentials-badge:hover {
  background: rgba(200, 169, 107, 0.06);
}

.index-credentials-section .index-credentials-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 107, 0.3);
  color: var(--accent);
  flex-shrink: 0;
}

.index-credentials-section .index-credentials-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-credentials-section .index-credentials-badge-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
}

.index-credentials-section .index-credentials-badge-text span {
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.55);
  line-height: 1.5;
}

/* ── Proof Tiles Row ── */
.index-credentials-section .index-credentials-proof-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid rgba(221, 211, 194, 0.18);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(2px);
}

.index-credentials-section .index-credentials-proof-divider {
  width: 1px;
  background: rgba(221, 211, 194, 0.18);
  margin: 24px 0;
}

.index-credentials-section .index-credentials-proof-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  gap: 6px;
  transition: background 0.25s ease;
}

.index-credentials-section .index-credentials-proof-tile:hover {
  background: rgba(200, 169, 107, 0.05);
}

.index-credentials-section .index-credentials-proof-number {
  font-family: 'Rubik', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.index-credentials-section .index-credentials-proof-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 4px;
}

.index-credentials-section .index-credentials-proof-desc {
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.55);
  line-height: 1.6;
  max-width: 220px;
}

/* ── Bottom Divider ── */
.index-credentials-section .index-credentials-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
  z-index: 5;
}

.index-credentials-section .index-credentials-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .index-credentials-section .index-credentials-main-grid {
    gap: 40px;
  }

  .index-credentials-section .index-credentials-container {
    padding: 0 28px;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .index-credentials-section {
    padding: 56px 0 70px;
  }

  .index-credentials-section .index-credentials-container {
    padding: 0 16px;
  }

  .index-credentials-section .index-credentials-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .index-credentials-section .index-credentials-heading {
    font-size: 1.75rem;
  }

  .index-credentials-section .index-credentials-visual-col {
    
  }

  .index-credentials-section .index-credentials-image-frame img {
    height: 260px;
  }

  .index-credentials-section .index-credentials-proof-row {
    grid-template-columns: 1fr;
  }

  .index-credentials-section .index-credentials-proof-divider {
    width: 100%;
    height: 1px;
    margin: 0 24px;
    background: rgba(221, 211, 194, 0.18);
  }

  .index-credentials-section .index-credentials-proof-tile {
    padding: 28px 20px;
  }

  .index-credentials-section .index-credentials-proof-number {
    font-size: 2rem;
  }

  .index-credentials-section .index-credentials-main-grid {
    margin-bottom: 40px;
  }
}
/* ZAPPY_POSTGEN_GUARD_RTL_ORDER:בית-credentials — stripped 1 order declaration(s) conflicting with RTL grid */


/* index-testimonials */
.index-testimonials-section {
  position: relative;
  overflow: visible;
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px 0;
  direction: rtl;
}

/* Container */
.index-testimonials-section .index-testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

/* Section Header */
.index-testimonials-section .index-testimonials-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.index-testimonials-section .index-testimonials-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent);
}

.index-testimonials-section .index-testimonials-title {
  font-family: 'Rubik', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 24px;
}

.index-testimonials-section .index-testimonials-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* Grid */
.index-testimonials-section .index-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
  direction: rtl;
}

/* Cards */
.index-testimonials-section .index-testimonials-card {
  background: #FFFFFF;
  border: 1px solid #DDD3C2;
  border-radius: 2px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.index-testimonials-section .index-testimonials-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

/* Center card elevated */
.index-testimonials-section .index-testimonials-card--center {
  margin-top: -20px;
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

.index-testimonials-section .index-testimonials-card--center:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(49, 36, 18, 0.14);
}

/* Quote Mark */
.index-testimonials-section .index-testimonials-quote-mark {
  font-family: 'Rubik', sans-serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
  direction: ltr;
  text-align: right;
}

/* Card Theme (H3) */
.index-testimonials-section .index-testimonials-card-theme {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin: 0;
  text-align: right;
}

/* Card Text */
.index-testimonials-section .index-testimonials-card-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
  text-align: right;
}

/* Card Footer */
.index-testimonials-section .index-testimonials-card-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #DDD3C2;
  padding-top: 20px;
  margin-top: 8px;
  gap: 12px;
}

.index-testimonials-section .index-testimonials-client-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.index-testimonials-section .index-testimonials-client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.index-testimonials-section .index-testimonials-client-role {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.index-testimonials-section .index-testimonials-stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}

/* Image Strip */
.index-testimonials-section .index-testimonials-image-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
}

.index-testimonials-section .index-testimonials-image-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.index-testimonials-section .index-testimonials-image-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgba(31,53,88,0.72) 0%, transparent 100%);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 32px 32px 16px;
  text-align: right;
}

/* Bottom Divider */
.index-testimonials-section .index-testimonials-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

.index-testimonials-section .index-testimonials-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Gold Rule above divider */
.index-testimonials-section .index-testimonials-gold-rule {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.6;
  z-index: 6;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .index-testimonials-section .index-testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .index-testimonials-section .index-testimonials-card--center {
    margin-top: 0;
  }

  .index-testimonials-section .index-testimonials-card:last-child {
    grid-column: 1 / -1;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .index-testimonials-section {
    padding: 56px 16px 0;
  }

  .index-testimonials-section .index-testimonials-container {
    padding-bottom: 72px;
  }

  .index-testimonials-section .index-testimonials-header {
    margin-bottom: 40px;
  }

  .index-testimonials-section .index-testimonials-title {
    font-size: 26px;
  }

  .index-testimonials-section .index-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .index-testimonials-section .index-testimonials-card {
    padding: 28px 24px;
  }

  .index-testimonials-section .index-testimonials-card--center {
    margin-top: 0;
    border-color: var(--accent);
  }

  .index-testimonials-section .index-testimonials-card:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .index-testimonials-section .index-testimonials-quote-mark {
    font-size: 52px;
  }

  .index-testimonials-section .index-testimonials-image-strip img {
    height: 180px;
  }

  .index-testimonials-section .index-testimonials-image-caption {
    font-size: 13px;
    padding: 24px 16px 12px;
  }

  .index-testimonials-section .index-testimonials-card-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

/* index-cta */
.index-cta-section {
  background-color: #1F3558;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200, 169, 107, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200, 169, 107, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #1F3558 0%, #162843 100%);
  color: var(--text-light);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
}

.index-cta-section .index-cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.index-cta-section .index-cta-accent-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 36px;
  flex-shrink: 0;
}

.index-cta-section .index-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 0 24px 0;
  letter-spacing: 0.01em;
  max-width: none !important;
  text-align: center;
}

.index-cta-section .index-cta-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.82);
  margin: 0 0 40px 0;
  max-width: 560px;
  text-align: center;
}

.index-cta-section .index-cta-btn {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1F3558;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
}

.index-cta-section .index-cta-btn:hover {
  background: #b8944f;
  border-color: #b8944f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.28);
}

.index-cta-section .index-cta-reassurance {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 248, 244, 0.52);
  margin: 24px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.index-cta-section .index-cta-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .index-cta-section {
    padding: 56px 20px;
  }

  .index-cta-section .index-cta-heading {
    font-size: 1.6rem;
  }

  .index-cta-section .index-cta-body {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .index-cta-section .index-cta-btn {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .index-cta-section .index-cta-reassurance {
    font-size: 13px;
    flex-direction: column;
    gap: 6px;
  }

  .index-cta-section .index-cta-dot {
    display: none;
  }
}

/* practice-areas-intro */
.practice-areas-intro-section {
  position: relative;
  overflow: visible;
  background-color: #F2EEE7;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 140px 0 80px;
  direction: rtl;
}

.practice-areas-intro-section .pai-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.practice-areas-intro-section .pai-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  direction: rtl;
}

/* ── Content Column ── */
.practice-areas-intro-section .pai-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.practice-areas-intro-section .pai-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-direction: row;
}

.practice-areas-intro-section .pai-eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.practice-areas-intro-section .pai-eyebrow-text {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.practice-areas-intro-section .pai-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0 0 20px 0;
  text-align: right;
}

.practice-areas-intro-section .pai-subheading {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary);
  margin: 0 0 28px 0;
  text-align: right;
}

.practice-areas-intro-section .pai-divider-rule {
  width: 56px;
  height: 1px;
  background-color: #DDD3C2;
  margin-bottom: 28px;
  margin-inline-start: 0;
}

.practice-areas-intro-section .pai-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: right;
  margin: 0 0 36px 0;
  max-width: 520px;
}

.practice-areas-intro-section .pai-cta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.practice-areas-intro-section .pai-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--accent);
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.practice-areas-intro-section .pai-btn-primary:hover {
  background: #b8944f;
  border-color: #b8944f;
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
}

.practice-areas-intro-section .pai-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
  background: transparent;
  color: var(--primary);
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--primary);
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.practice-areas-intro-section .pai-btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Image Column ── */
.practice-areas-intro-section .pai-image-col {
  position: relative;
}

.practice-areas-intro-section .pai-image-frame {
  position: relative;
  display: block;
}

.practice-areas-intro-section .pai-image-frame img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

.practice-areas-intro-section .pai-image-accent-bar {
  position: absolute;
  bottom: -16px;
  inset-inline-end: -16px;
  width: 120px;
  height: 4px;
  background: var(--accent);
  z-index: 2;
}

.practice-areas-intro-section .pai-image-badge {
  position: absolute;
  bottom: 40px;
  inset-inline-start: -28px;
  background: var(--primary);
  color: var(--text-light);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.12);
  z-index: 3;
  min-width: 88px;
}

.practice-areas-intro-section .pai-badge-number {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.practice-areas-intro-section .pai-badge-label {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
}

/* ── Bottom Divider ── */
.practice-areas-intro-section .pai-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  pointer-events: none;
  z-index: 5;
}

.practice-areas-intro-section .pai-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .practice-areas-intro-section .pai-grid {
    grid-template-columns: 1fr 380px;
    gap: 48px;
  }
  .practice-areas-intro-section .pai-image-frame img {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .practice-areas-intro-section {
    padding: 100px 0 72px;
  }
  .practice-areas-intro-section .pai-container {
    padding: 0 20px;
  }
  .practice-areas-intro-section .pai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .practice-areas-intro-section .pai-heading {
    font-size: 2.2rem;
  }
  .practice-areas-intro-section .pai-body {
    max-width: 100%;
  }
  .practice-areas-intro-section .pai-image-frame img {
    height: 320px;
  }
  .practice-areas-intro-section .pai-image-badge {
    position: static;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 20px;
    inset-inline-start: unset;
    bottom: unset;
  }
  .practice-areas-intro-section .pai-image-accent-bar {
    display: none;
  }
  .practice-areas-intro-section .pai-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* practice-areas-capabilities */
.practice-areas-capabilities-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  position: relative;
}

.practice-areas-capabilities-section .pac-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.practice-areas-capabilities-section .pac-header {
  text-align: center;
  margin-bottom: 56px;
}

.practice-areas-capabilities-section .pac-gold-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(135deg, #D8B866 0%, #C7A24A 100%);
  margin: 0 auto 28px auto;
  border-radius: 1px;
}

.practice-areas-capabilities-section .pac-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin: 0 0 20px 0;
  text-align: center;
}

.practice-areas-capabilities-section .pac-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.practice-areas-capabilities-section .pac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-inline-start: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  direction: rtl;
}

.practice-areas-capabilities-section .pac-block {
  border-inline-end: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.practice-areas-capabilities-section .pac-block:hover {
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  z-index: 2;
}

.practice-areas-capabilities-section .pac-block-inner {
  padding: 40px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.practice-areas-capabilities-section .pac-block-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
  position: relative;
  padding-bottom: 14px;
}

.practice-areas-capabilities-section .pac-block-title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.practice-areas-capabilities-section .pac-block-text {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
  flex: 1;
}

@media (max-width: 1024px) {
  .practice-areas-capabilities-section .pac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .practice-areas-capabilities-section {
    padding: 56px 0;
  }

  .practice-areas-capabilities-section .pac-container {
    padding: 0 16px;
  }

  .practice-areas-capabilities-section .pac-header {
    margin-bottom: 36px;
    padding: 0;
  }

  .practice-areas-capabilities-section .pac-title {
    font-size: 1.6rem;
  }

  .practice-areas-capabilities-section .pac-intro {
    font-size: 1rem;
  }

  .practice-areas-capabilities-section .pac-grid {
    grid-template-columns: 1fr !important;
    border-inline-start: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
  }

  .practice-areas-capabilities-section .pac-block-inner {
    padding: 28px 20px;
    gap: 12px;
  }

  .practice-areas-capabilities-section .pac-block-title {
    font-size: 1.2rem;
  }
}

/* practice-areas-process */
.practice-areas-process-section {
  direction: rtl;
  background-color: #1F3558;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(200, 169, 107, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(200, 169, 107, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #1F3558 0%, #162848 100%);
  color: var(--text-light);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
}

.practice-areas-process-section .process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.practice-areas-process-section .process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.practice-areas-process-section .process-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.practice-areas-process-section .process-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.75);
  margin: 0;
  text-align: center;
}

.practice-areas-process-section .process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  direction: rtl;
}

.practice-areas-process-section .process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  border-inline-start: 1px solid rgba(200, 169, 107, 0.2);
}

.practice-areas-process-section .process-step:last-child {
  border-inline-end: 1px solid rgba(200, 169, 107, 0.2);
}

.practice-areas-process-section .step-number {
  font-family: 'Rubik', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  display: block;
}

.practice-areas-process-section .step-connector {
  display: none;
}

.practice-areas-process-section .step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.practice-areas-process-section .step-icon-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
  margin-bottom: 20px;
  display: block;
}

.practice-areas-process-section .step-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0 0 14px;
  text-align: start;
}

.practice-areas-process-section .step-description {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.7);
  margin: 0;
  text-align: start;
}

@media (max-width: 1024px) {
  .practice-areas-process-section .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .practice-areas-process-section .process-step {
    padding: 32px 28px;
    border-inline-start: 1px solid rgba(200, 169, 107, 0.2);
    border-bottom: 1px solid rgba(200, 169, 107, 0.12);
  }

  .practice-areas-process-section .process-step:nth-child(2) {
    border-inline-end: 1px solid rgba(200, 169, 107, 0.2);
  }

  .practice-areas-process-section .process-step:last-child {
    border-inline-end: 1px solid rgba(200, 169, 107, 0.2);
    border-bottom: none;
  }

  .practice-areas-process-section .process-step:nth-child(3) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .practice-areas-process-section {
    padding: 56px 16px;
  }

  .practice-areas-process-section .process-header {
    margin-bottom: 48px;
  }

  .practice-areas-process-section .process-title {
    font-size: 1.75rem;
  }

  .practice-areas-process-section .process-steps {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .practice-areas-process-section .process-step {
    padding: 28px 0 28px 0;
    border-inline-start: none !important;
    border-inline-end: none !important;
    border-bottom: 1px solid rgba(200, 169, 107, 0.18);
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .practice-areas-process-section .process-step:last-child {
    border-bottom: none;
  }

  .practice-areas-process-section .step-number {
    font-size: 2.25rem;
    margin-bottom: 0;
    min-width: 52px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  .practice-areas-process-section .step-icon-line {
    display: none;
  }

  .practice-areas-process-section .step-content {
    padding-top: 4px;
  }

  .practice-areas-process-section .step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
}

/* practice-areas-faq */
.practice-areas-faq-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  position: relative;
}

.practice-areas-faq-section .faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.practice-areas-faq-section .faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px auto;
}

.practice-areas-faq-section .faq-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}

.practice-areas-faq-section .faq-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 10px auto 0 auto;
}

.practice-areas-faq-section .faq-title {
  font-family: 'Rubik', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0 0 20px 0;
}

.practice-areas-faq-section .faq-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.practice-areas-faq-section .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  direction: rtl;
}

.practice-areas-faq-section .faq-column {
  display: flex;
  flex-direction: column;
}

.practice-areas-faq-section .faq-item {
  padding: 36px 0;
  border-bottom: 1px solid #DDD3C2;
  position: relative;
}

.practice-areas-faq-section .faq-column .faq-item:first-child {
  border-top: 1px solid #DDD3C2;
}

.practice-areas-faq-section .faq-question {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
  margin: 0 0 14px 0;
  text-align: right;
  position: relative;
  padding-inline-end: 0;
}

.practice-areas-faq-section .faq-question::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  vertical-align: middle;
  margin-inline-end: 10px;
  flex-shrink: 0;
}

.practice-areas-faq-section .faq-answer {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
  padding-inline-start: 0;
}

@media (max-width: 768px) {
  .practice-areas-faq-section {
    padding: 56px 16px;
  }

  .practice-areas-faq-section .faq-header {
    margin-bottom: 48px;
  }

  .practice-areas-faq-section .faq-title {
    font-size: 26px;
  }

  .practice-areas-faq-section .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .practice-areas-faq-section .faq-column + .faq-column .faq-item:first-child {
    border-top: none;
  }

  .practice-areas-faq-section .faq-item {
    padding: 28px 0;
  }

  .practice-areas-faq-section .faq-question {
    font-size: 18px;
  }
}

/* about-profile */
.about-profile-section {
  background: linear-gradient(180deg, #FAF8F4 0%, #F2EEE7 100%);
  background-color: #FAF8F4;
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  padding: 120px 0 80px;
  direction: rtl;
}

.about-profile-section .about-profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-profile-section .about-profile-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  direction: rtl;
}

/* ── Eyebrow ── */
.about-profile-section .about-profile-eyebrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.about-profile-section .eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.about-profile-section .eyebrow-text {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── H1 ── */
.about-profile-section .about-profile-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0 0 8px 0;
  text-align: right;
}

.about-profile-section .about-profile-h1 .h1-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-style: italic;
}

/* ── H3 ── */
.about-profile-section .about-profile-h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  margin: 0 0 24px 0;
  text-align: right;
}

/* ── Gold Accent Rule ── */
.about-profile-section .about-profile-divider-accent {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(200, 169, 107, 0.3) 100%);
  margin-bottom: 28px;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* ── Paragraphs ── */
.about-profile-section .about-profile-p {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dark);
  text-align: right;
  margin: 0 0 20px 0;
  max-width: 560px;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* ── CTA Row ── */
.about-profile-section .about-profile-cta-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 36px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.about-profile-section .btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--accent);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  line-height: 1;
}

.about-profile-section .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
}

.about-profile-section .btn-secondary-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1;
}

.about-profile-section .btn-secondary-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Portrait Column ── */
.about-profile-section .about-profile-portrait-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-profile-section .about-profile-portrait-frame {
  position: relative;
  width: 100%;
}

.about-profile-section .portrait-mat {
  background: #FAF8F4;
  border: 1px solid var(--border-light);
  padding: 10px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  position: relative;
  z-index: 2;
}

.about-profile-section .about-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 680;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}

/* ── Corner Accent Decorations ── */
.about-profile-section .portrait-accent-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 3;
}

.about-profile-section .portrait-corner-tl {
  top: -12px;
  inset-inline-start: -12px;
  border-top: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
}

.about-profile-section .portrait-corner-br {
  bottom: -12px;
  inset-inline-end: -12px;
  border-bottom: 2px solid var(--accent);
  border-inline-end: 2px solid var(--accent);
}

/* ── Portrait Caption ── */
.about-profile-section .portrait-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-start: 10px;
  border-inline-start: 2px solid var(--accent);
}

.about-profile-section .portrait-caption-name {
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.about-profile-section .portrait-caption-title {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Bottom Curved Divider ── */
.about-profile-section .about-profile-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 5;
}

.about-profile-section .about-profile-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-profile-section .about-profile-grid {
    grid-template-columns: 1fr 380px;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .about-profile-section {
    padding: 100px 0 72px;
  }

  .about-profile-section .about-profile-container {
    padding: 0 20px;
  }

  .about-profile-section .about-profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: rtl;
  }

  /* On mobile, portrait column comes second (below text) */
  .about-profile-section .about-profile-content {
    order: 1;
  }

  .about-profile-section .about-profile-portrait-col {
    order: 2;
    align-items: center;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .about-profile-section .about-profile-h1 {
    font-size: 2.2rem;
  }

  .about-profile-section .about-profile-h3 {
    font-size: 1.15rem;
  }

  .about-profile-section .about-profile-p {
    max-width: 100%;
  }

  .about-profile-section .about-profile-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-profile-section .btn-primary,
  .about-profile-section .btn-secondary-outline {
    width: 100%;
    text-align: center;
  }

  .about-profile-section .portrait-accent-corner {
    display: none;
  }
}

/* about-philosophy */
.about-philosophy-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  position: relative;
}

.about-philosophy-section .about-philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── Intro Block ──────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-intro {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 56px;
}

.about-philosophy-section .about-philosophy-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-philosophy-section .about-philosophy-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  max-width: none !important;
  text-align: center;
}

.about-philosophy-section .about-philosophy-lead {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

/* ── Divider Rule ─────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-divider-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 56px auto;
  opacity: 0.85;
}

/* ── Cards Grid ───────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  direction: rtl;
}

/* ── Individual Card ──────────────────────────────────────── */
.about-philosophy-section .about-philosophy-card {
  background: #FFFFFF;
  border: 1px solid #DDD3C2;
  border-radius: 2px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: right;
  min-width: 250px;
  position: relative;
}

.about-philosophy-section .about-philosophy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

/* ── Card Number ──────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-card-number {
  font-family: 'Rubik', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ── Card Title ───────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #DDD3C2;
}

/* ── Card Text ────────────────────────────────────────────── */
.about-philosophy-section .about-philosophy-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

/* ── RESPONSIVE: Tablet ───────────────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-philosophy-section .about-philosophy-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .about-philosophy-section .about-philosophy-card {
    padding: 32px 28px;
  }
}

/* ── RESPONSIVE: Mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .about-philosophy-section {
    padding: 56px 16px;
  }

  .about-philosophy-section .about-philosophy-intro {
    margin-bottom: 36px;
  }

  .about-philosophy-section .about-philosophy-heading {
    font-size: 1.625rem;
  }

  .about-philosophy-section .about-philosophy-divider-rule {
    margin-bottom: 36px;
  }

  .about-philosophy-section .about-philosophy-cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .about-philosophy-section .about-philosophy-card {
    padding: 28px 24px;
    min-width: unset;
  }

  .about-philosophy-section .about-philosophy-card-number {
    font-size: 2rem;
    margin-bottom: 14px;
  }

  .about-philosophy-section .about-philosophy-card-title {
    font-size: 1.25rem;
  }
}

/* about-milestones */
.about-milestones-section {
  background-color: #1C1713;
  background-image: linear-gradient(180deg, #2A211B 0%, #1C1713 100%);
  color: var(--text-light);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
}

.about-milestones-section .milestones-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────────────────────────────────── */
.about-milestones-section .milestones-header {
  text-align: center;
  margin-bottom: 72px;
}

.about-milestones-section .milestones-header-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
}

.about-milestones-section .milestones-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.about-milestones-section .milestones-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.72);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ── TIMELINE ────────────────────────────────────────────────────────── */
.about-milestones-section .milestones-timeline {
  display: flex;
  flex-direction: column;
}

/* ── MILESTONE ROW ───────────────────────────────────────────────────── */
.about-milestones-section .milestone-row {
  display: grid;
  grid-template-columns: 120px 32px 1fr;
  gap: 0 24px;
  align-items: start;
  padding: 32px 0;
  direction: rtl;
}

/* ── YEAR COLUMN ─────────────────────────────────────────────────────── */
.about-milestones-section .milestone-year-col {
  text-align: end;
  padding-top: 4px;
}

.about-milestones-section .milestone-year {
  font-family: 'Rubik', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
  display: block;
}

.about-milestones-section .milestone-year--current {
  color: var(--accent);
  font-size: 0.875rem;
}

/* ── MARKER COLUMN ───────────────────────────────────────────────────── */
.about-milestones-section .milestone-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.about-milestones-section .milestone-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}

.about-milestones-section .milestone-dot--current {
  width: 14px;
  height: 14px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 169, 107, 0.22);
}

.about-milestones-section .milestone-line {
  display: block;
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: rgba(200, 169, 107, 0.28);
  margin-top: 8px;
}

/* ── CONTENT COLUMN ──────────────────────────────────────────────────── */
.about-milestones-section .milestone-content-col {
  padding-bottom: 8px;
}

.about-milestones-section .milestone-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.about-milestones-section .milestone-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.70);
  margin: 0 0 16px;
}

/* ── TAGS ─────────────────────────────────────────────────────────────── */
.about-milestones-section .milestone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  direction: rtl;
  margin-top: 4px;
}

.about-milestones-section .milestone-tag {
  font-family: 'Rubik', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid rgba(200, 169, 107, 0.38);
  border-radius: 2px;
  padding: 4px 10px;
  line-height: 1.4;
  background: rgba(200, 169, 107, 0.07);
  transition: all 0.25s ease;
}

.about-milestones-section .milestone-tag:hover {
  background: rgba(200, 169, 107, 0.14);
  border-color: rgba(200, 169, 107, 0.60);
}

/* ── DIVIDER ─────────────────────────────────────────────────────────── */
.about-milestones-section .milestone-divider {
  height: 1px;
  background: rgba(221, 211, 194, 0.14);
  margin: 0 0 0 0;
  width: 100%;
}

/* ── CURRENT ROW HIGHLIGHT ───────────────────────────────────────────── */
.about-milestones-section .milestone-row--current {
  position: relative;
}

.about-milestones-section .milestone-row--current::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200, 169, 107, 0.05);
  border-inline-start: 2px solid rgba(200, 169, 107, 0.45);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ── HOVER STATES ────────────────────────────────────────────────────── */
.about-milestones-section .milestone-row:hover .milestone-dot {
  box-shadow: 0 0 0 4px rgba(200, 169, 107, 0.18);
}

.about-milestones-section .milestone-row:hover .milestone-heading {
  color: var(--accent);
  transition: color 0.25s ease;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-milestones-section {
    padding: 56px 16px;
  }

  .about-milestones-section .milestones-header {
    margin-bottom: 48px;
  }

  .about-milestones-section .milestones-title {
    font-size: 1.625rem;
  }

  .about-milestones-section .milestone-row {
    grid-template-columns: 80px 24px 1fr;
    gap: 0 14px;
    padding: 24px 0;
  }

  .about-milestones-section .milestone-year {
    font-size: 0.7rem;
  }

  .about-milestones-section .milestone-heading {
    font-size: 1.125rem;
  }

  .about-milestones-section .milestone-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  .about-milestones-section .milestone-tags {
    gap: 6px;
  }

  .about-milestones-section .milestone-tag {
    font-size: 0.6875rem;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .about-milestones-section .milestone-row {
    grid-template-columns: 64px 20px 1fr;
    gap: 0 10px;
  }

  .about-milestones-section .milestone-year {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .about-milestones-section .milestone-dot {
    width: 8px;
    height: 8px;
  }

  .about-milestones-section .milestone-dot--current {
    width: 11px;
    height: 11px;
  }
}

/* about-office */
.about-office-section {
  background: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  background-color: #FBF9F5;
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
}

.about-office-section .about-office-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-office-section .about-office-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-office-section .about-office-accent-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
}

.about-office-section .about-office-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 auto 20px;
  max-width: 640px;
}

.about-office-section .about-office-description {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.about-office-section .about-office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  direction: rtl;
}

.about-office-section .about-office-tile {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: block;
}

.about-office-section .about-office-tile:hover {
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
  transform: translateY(-2px);
}

.about-office-section .about-office-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.about-office-section .about-office-tile--large {
  height: 100%;
  min-height: 520px;
}

.about-office-section .about-office-tile--large img {
  min-height: 520px;
}

.about-office-section .about-office-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-office-section .about-office-tile--small {
  flex: 1;
}

.about-office-section .about-office-tile--small img {
  height: 100%;
  min-height: 220px;
}

@media (max-width: 900px) {
  .about-office-section .about-office-tile--large {
    min-height: 360px;
  }
  .about-office-section .about-office-tile--large img {
    min-height: 360px;
  }
  .about-office-section .about-office-tile--small img {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .about-office-section {
    padding: 56px 16px;
  }
  .about-office-section .about-office-header {
    margin-bottom: 36px;
  }
  .about-office-section .about-office-heading {
    font-size: 1.6rem;
  }
  .about-office-section .about-office-gallery {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .about-office-section .about-office-tile--large {
    min-height: 260px;
  }
  .about-office-section .about-office-tile--large img {
    min-height: 260px;
  }
  .about-office-section .about-office-stack {
    gap: 16px;
  }
  .about-office-section .about-office-tile--small img {
    min-height: 200px;
  }
}

/* contact-contact-intro */
.contact-contact-intro-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  padding: 140px 0 80px;
  direction: rtl;
}

.contact-contact-intro-section .contact-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.contact-contact-intro-section .contact-intro-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  direction: rtl;
}

/* ── Text Column (Right / Start) ── */
.contact-contact-intro-section .contact-intro-text {
  padding-inline-end: 16px;
}

.contact-contact-intro-section .contact-intro-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-direction: row;
}

.contact-contact-intro-section .eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.contact-contact-intro-section .eyebrow-label {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.contact-contact-intro-section .contact-intro-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0 0 20px;
  text-align: right;
}

.contact-contact-intro-section .contact-intro-subheading {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary);
  margin: 0 0 28px;
  text-align: right;
}

.contact-contact-intro-section .contact-intro-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dark);
  margin: 0 0 40px;
  text-align: right;
  max-width: 520px;
}

/* ── Assurance Items ── */
.contact-contact-intro-section .contact-intro-assurance {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.contact-contact-intro-section .assurance-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-contact-intro-section .assurance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-contact-intro-section .assurance-text {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ── Image Column (Left / End) ── */
.contact-contact-intro-section .contact-intro-image-col {
  position: relative;
}

.contact-contact-intro-section .contact-intro-image-frame {
  position: relative;
  display: block;
}

.contact-contact-intro-section .contact-intro-img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.contact-contact-intro-section .image-accent-border {
  position: absolute;
  inset-inline-end: -16px;
  bottom: -16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border: 1.5px solid var(--accent);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Bottom Divider ── */
.contact-contact-intro-section .contact-intro-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 5;
}

.contact-contact-intro-section .contact-intro-gold-rule {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.45;
  margin-bottom: 0;
}

.contact-contact-intro-section .contact-intro-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 32px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .contact-contact-intro-section .contact-intro-grid {
    grid-template-columns: 1fr 380px;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .contact-contact-intro-section {
    padding: 100px 0 64px;
  }

  .contact-contact-intro-section .contact-intro-container {
    padding: 0 20px;
  }

  .contact-contact-intro-section .contact-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: rtl;
  }

  .contact-contact-intro-section .contact-intro-text {
    padding-inline-end: 0;
    order: 1;
  }

  .contact-contact-intro-section .contact-intro-image-col {
    order: 2;
  }

  .contact-contact-intro-section .contact-intro-heading {
    font-size: 2.2rem;
  }

  .contact-contact-intro-section .contact-intro-subheading {
    font-size: 1.15rem;
  }

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

  .contact-contact-intro-section .contact-intro-img {
    height: 320px;
  }

  .contact-contact-intro-section .image-accent-border {
    inset-inline-end: -10px;
    bottom: -10px;
  }

  .contact-contact-intro-section .contact-intro-assurance {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* contact-contact-details */
.contact-contact-details-section {
  direction: rtl;
  background-color: #1F3558;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(200, 169, 107, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(200, 169, 107, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #1F3558 0%, #172944 100%);
  color: var(--text-light);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
}

.contact-contact-details-section .ccd-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-contact-details-section .ccd-header {
  text-align: center;
  margin-block-end: 56px;
}

.contact-contact-details-section .ccd-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  letter-spacing: -0.01em;
  margin: 0 0 20px 0;
  max-width: none !important;
}

.contact-contact-details-section .ccd-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.78);
  max-width: 640px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.contact-contact-details-section .ccd-accent-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 1px;
}

.contact-contact-details-section .ccd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  direction: rtl;
}

.contact-contact-details-section .ccd-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.contact-contact-details-section .ccd-card::before {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}

.contact-contact-details-section .ccd-card:hover::before {
  height: 100%;
}

.contact-contact-details-section .ccd-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.contact-contact-details-section .ccd-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: rgba(200, 169, 107, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-contact-details-section .ccd-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: right;
}

.contact-contact-details-section .ccd-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0;
}

.contact-contact-details-section .ccd-card-label {
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(250, 248, 244, 0.55);
  margin: 0;
  letter-spacing: 0.01em;
}

.contact-contact-details-section .ccd-card-value {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  display: inline-block;
  margin-block-start: 4px;
}

.contact-contact-details-section .ccd-card-value:hover {
  color: #e0c080;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .contact-contact-details-section .ccd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-contact-details-section {
    padding: 56px 16px;
  }

  .contact-contact-details-section .ccd-header {
    margin-block-end: 36px;
  }

  .contact-contact-details-section .ccd-title {
    font-size: 1.6rem;
  }

  .contact-contact-details-section .ccd-subtitle {
    font-size: 1rem;
  }

  .contact-contact-details-section .ccd-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .contact-contact-details-section .ccd-card {
    padding: 24px 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-contact-details-section .ccd-card-body {
    flex: 1;
  }
}

/* contact-form */
.contact-form-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 120px 24px 96px;
  position: relative;
  direction: rtl;
}

.contact-form-section__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  direction: rtl;
}

/* ── INFO COLUMN ───────────────────────────────────── */
.contact-form-section__info {
  padding-inline-end: 24px;
}

.contact-form-section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-form-section__heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0 0 20px;
  text-align: start;
}

.contact-form-section__lead {
  font-size: 1rem !important;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 28px;
  text-align: start;
}

.contact-form-section__divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
  margin-inline-start: 0;
}

.contact-form-section__assurance {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem !important;
  line-height: 1.7;
  color: var(--secondary);
  background: rgba(200, 169, 107, 0.07);
  border: 1px solid rgba(200, 169, 107, 0.25);
  border-radius: 2px;
  padding: 14px 16px;
  margin-bottom: 36px;
  text-align: start;
}

.contact-form-section__assurance-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contact-form-section__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-section__contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: start;
}

.contact-form-section__contact-icon {
  flex-shrink: 0;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-section__contact-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-form-section__contact-link:hover {
  color: var(--accent);
}

/* ── FORM PANEL ────────────────────────────────────── */
.contact-form-section__panel {
  background: #FFFFFF;
  border: 1px solid #DDD3C2;
  border-radius: 2px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
  transition: box-shadow 0.25s ease;
}

.contact-form-section__panel:hover {
  box-shadow: 0 18px 44px rgba(49, 36, 18, 0.10);
}

.contact-form-section__field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.contact-form-section__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  text-align: start;
}

.contact-form-section__input {
  width: 100%;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: #FAF8F4;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  direction: rtl;
  text-align: start;
  font-family: 'Rubik', sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-section__input::placeholder {
  color: #B0AEAD;
  font-size: 0.9rem;
}

.contact-form-section__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 107, 0.12);
  background: #FFFFFF;
}

.contact-form-section__textarea {
  resize: vertical;
  min-height: 130px;
}

/* Privacy consent */
.contact-form-section .privacy-consent {
  margin-bottom: 24px;
  color: var(--text-dark);
}

.contact-form-section .privacy-consent-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dark);
  cursor: pointer;
  text-align: start;
}

.contact-form-section .privacy-consent-checkbox {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.contact-form-section .privacy-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s ease;
}

.contact-form-section .privacy-consent a:hover {
  color: var(--accent);
}

/* Submit button */
.contact-form-section__submit {
  display: inline-block;
  width: 100%;
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font-family: 'Rubik', sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-section__submit:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-form-section__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-section__info {
    padding-inline-end: 0;
  }
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 100px 16px 56px;
  }

  .contact-form-section__container {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .contact-form-section__panel {
    padding: 24px 20px;
  }

  .contact-form-section__heading {
    font-size: 1.6rem;
  }
}

/* contact-reassurance */
.contact-reassurance-section {
  background-color: #FAF8F4;
  background-image: linear-gradient(180deg, #FBF9F5 0%, #F2EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
}

.contact-reassurance-section .contact-reassurance-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* ── HEADER ── */
.contact-reassurance-section .contact-reassurance-header {
  text-align: center;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-reassurance-section .contact-reassurance-rule {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto;
}

.contact-reassurance-section .contact-reassurance-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.contact-reassurance-section .contact-reassurance-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

/* ── REASSURANCE POINTS ── */
.contact-reassurance-section .contact-reassurance-points {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(49, 36, 18, 0.06);
}

.contact-reassurance-section .contact-reassurance-divider-v {
  width: 1px;
  background: var(--border-light);
  flex-shrink: 0;
  align-self: stretch;
}

.contact-reassurance-section .contact-reassurance-point {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px;
  text-align: right;
  transition: background 0.25s ease;
  min-width: 0;
}

.contact-reassurance-section .contact-reassurance-point:hover {
  background: #FBF9F5;
}

.contact-reassurance-section .contact-reassurance-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-reassurance-section .contact-reassurance-point:hover .contact-reassurance-icon-wrap {
  background: var(--accent);
  color: #FFFFFF;
}

.contact-reassurance-section .contact-reassurance-point-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-reassurance-section .contact-reassurance-point-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.contact-reassurance-section .contact-reassurance-point-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── CTA ── */
.contact-reassurance-section .contact-reassurance-cta-wrap {
  display: flex;
  justify-content: center;
}

.contact-reassurance-section .contact-reassurance-btn {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 2px;
  background: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.contact-reassurance-section .contact-reassurance-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(199, 162, 74, 0.18);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-reassurance-section .contact-reassurance-points {
    flex-direction: column;
  }
  .contact-reassurance-section .contact-reassurance-divider-v {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .contact-reassurance-section .contact-reassurance-point {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  .contact-reassurance-section {
    padding: 56px 16px;
  }
  .contact-reassurance-section .contact-reassurance-container {
    gap: 40px;
  }
  .contact-reassurance-section .contact-reassurance-title {
    font-size: 26px;
  }
  .contact-reassurance-section .contact-reassurance-point {
    padding: 28px 20px;
    gap: 16px;
  }
  .contact-reassurance-section .contact-reassurance-icon-wrap {
    width: 44px;
    height: 44px;
  }
  .contact-reassurance-section .contact-reassurance-point-title {
    font-size: 19px;
  }
  .contact-reassurance-section .contact-reassurance-btn {
    padding: 14px 32px;
    width: 100%;
    text-align: center;
    max-width: 320px;
  }
}



/* Global font override - exclude icon fonts and special elements */
*:not(.fas):not(.far):not(.fab):not(.fa):not([class*="fa-"]):not(.iconify):not([class*="icon"]):not(code):not(pre):not(i[class*="fa"]) {
  font-family: 'Rubik', sans-serif !important;
}


/* Logo size constraint - enforce max-height only */
.logo, img.logo, .logo img, .logo-link img, .nav-brand img {
  max-height: 40px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
}


/* Hide WhatsApp float button on desktop (mobile-only) */
@media (min-width: 769px) {
  .whatsapp-float {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


/* Footer contact alignment fix */
.footer-contact li > a { display: flex; align-items: flex-start; gap: inherit; }


/* ============================================
   MOBILE RESPONSIVE FIXES (Auto-generated)
   Safe, minimal fixes for common overflow issues
   ============================================ */

@media (max-width: 768px) {
  
  /* 1. GLOBAL FIXES - Essential for preventing horizontal scroll */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  /* 2. FORM FIXES - Forms often have fixed widths */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="search"],
  select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .form-field,
  .form-group,
  .input-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. GRID TO COLUMN CONVERSION */
  /* Only convert grids that don't have proper mobile handling */
  [style*="display: grid"]:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid),
  [style*="display:grid"]:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid),
  .grid:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid) {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  /* Ensure auto-grids use single column on mobile */
  [data-zappy-auto-grid="true"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Force single-column for AI-generated grids with class names like gallery-grid, features-grid, etc. */
  /* These often have fixed column counts (repeat(3, 1fr) or repeat(4, 1fr)) that don't fit mobile */
  [class*="-grid"]:not([data-zappy-auto-grid="true"]):not([data-zappy-explicit-columns="true"]) {
    grid-template-columns: 1fr !important;
  }
  
  /* Reset any column/row spanning items on mobile - they cause overflow */
  [class*="-grid"] > [class*="-large"],
  [class*="-grid"] > [class*="-item-large"],
  [class*="-grid"] > [style*="grid-column: span"],
  [class*="-grid"] > [style*="grid-row: span"] {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  /* Fix zoom wrapper images to be responsive on mobile */
  [data-zappy-zoom-wrapper="true"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  [data-zappy-zoom-wrapper="true"] img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* Hero sections need extra padding-top to clear the sticky navbar */
  /* The navbar is ~70px tall, so hero needs at least 100px padding-top */
  /* IMPORTANT: Use section tag to avoid matching child elements like buttons that contain "-hero-section" in their BEM class */
  section[class*="-hero-section"]:first-of-type,
  main > section:first-child {
    padding-top: 100px !important;
  }

  /* 4. TYPOGRAPHY SCALING - Only headings, NOT spans (breaks icons) */
  h1 {
    font-size: clamp(28px, 8vw, 48px) !important;
  }
  
  h2 {
    font-size: clamp(24px, 6vw, 36px) !important;
  }
  
  h3 {
    font-size: clamp(20px, 5vw, 28px) !important;
  }
  
  h4 {
    font-size: clamp(18px, 4vw, 24px) !important;
  }

  /* Body text scaling - exclude spans to avoid breaking icons */
  p, li {
    font-size: clamp(14px, 4vw, 18px) !important;
  }

  /* 5. IMAGE RESPONSIVENESS */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 5b. HERO BG IMAGE EXCEPTION - fullscreen hero backgrounds must fill their
     absolute-positioned wrapper, not shrink to natural aspect-ratio height.
     data-hero-bg is added deterministically by sectionGenerationService. */
  img[data-hero-bg] {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* 6. MULTI-COLUMN LAYOUTS */
  .columns,
  [style*="column-count"],
  [style*="columns:"] {
    column-count: 1 !important;
    columns: 1 !important;
  }

  /* 7. TABLES */
  table {
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
  }

  /* 8. CARDS/BLOCKS */
  .card,
  .block,
  .box {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 9. HERO SECTIONS - Targeted selectors only */
  section.hero,
  section.hero-section,
  section[class*="hero-section"] {
    min-height: auto !important;
    height: auto !important;
    padding: 2rem 1rem !important;
  }

  /* 9b. HERO SECTION CHILDREN - prevent 100vh min-height on inner wrappers
     AI often sets content-wrappers / scrim divs to min-height:100vh which
     creates huge empty space on mobile. Reset direct children so the section
     sizes to its content. Absolute-positioned backgrounds are unaffected. */
  section.hero > *,
  section.hero-section > *,
  section[class*="hero-section"] > * {
    min-height: auto !important;
  }

  /* 9c. FULLSCREEN HERO EXCEPTION - preserve viewport height for fullscreen
     hero sections. Rule 9 above resets all heroes to height:auto which is correct
     for side-by-side heroes, but fullscreen-scrim/fullscreen-card heroes are
     designed to fill the viewport with a background image behind a scrim.
     data-hero-type is added deterministically by sectionGenerationService. */
  section[data-hero-type*="fullscreen"] {
    min-height: 100vh !important;
    height: auto !important;
  }

  /* 10. HERO TITLE ACCENTS - ensure inline display for proper text flow */
  h1 span[class*="accent"],
  h2 span[class*="accent"],
  .hero-title span,
  .hero-heading span {
    display: inline !important;
  }

  /* 11. PACKAGES/CARDS GRIDS - Specific class targeting */
  .packages-grid,
  .cards-grid,
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* 12. PREVENT HORIZONTAL SCROLL - Safety net */
  body > * {
    max-width: 100vw !important;
  }
}

/* END MOBILE RESPONSIVE FIXES */

/* === NAVBAR STYLE OVERRIDES START === */
.navbar { background-color: #FAF8F4 !important; }
.zappy-catalog-menu, #zappy-catalog-menu {}
.navbar .nav-menu > li > a,
.navbar .nav-menu > .nav-item > a,
.navbar .nav-link,
.navbar .navbar-nav .nav-link,
.navbar a:not(.nav-cta-btn) { color: #202124 !important; }
.navbar .nav-menu > li > a:hover,
.navbar .nav-menu > .nav-item > a:hover,
.navbar .nav-link:hover,
.navbar a:not(.nav-cta-btn):hover { color: #1a2d4b !important; }
.navbar .navbar-brand, .navbar .navbar-brand a { color: #202124 !important; }
.navbar .dropdown-toggle { color: #202124 !important; }
.navbar .dropdown-toggle:hover { color: #1a2d4b !important; }
.navbar .mobile-hamburger-btn, .navbar .mobile-close-btn { color: #202124 !important; }
.navbar-toggler { color: #202124 !important; border-color: #20212444 !important; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23202124' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }
.navbar .dropdown-menu { background-color: #FAF8F4 !important; }
.navbar .dropdown-menu li a,
.navbar .dropdown-menu .dropdown-item { color: #202124 !important; }
.navbar .dropdown-menu li a:hover,
.navbar .dropdown-menu .dropdown-item:hover { color: #1a2d4b !important; background-color: rgba(128,128,128,0.1) !important; }
.navbar .sub-menu,
.navbar ul.sub-menu,
nav.navbar .sub-menu { background-color: #FAF8F4 !important; }
.navbar .sub-menu a,
.navbar .sub-menu li a,
.navbar .nav-menu .sub-menu a,
.navbar .nav-menu .sub-menu li a,
.navbar .zappy-products-dropdown .sub-menu a,
nav.navbar .sub-menu li a { color: #202124 !important; }
.navbar .sub-menu a:hover,
.navbar .sub-menu li a:hover,
nav.navbar .sub-menu li a:hover { color: #1a2d4b !important; background-color: rgba(128,128,128,0.1) !important; }
.navbar .mobile-submenu-toggle { color: #202124 !important; }
.navbar .phone-header-btn { color: #202124 !important; }
.navbar .nav-search-input,
.navbar .nav-search-box .nav-search-input { color: #202124 !important; }
.navbar .nav-search-input::placeholder { color: var(--text-muted, rgba(128,128,128,0.6)) !important; }
@media (min-width: 769px) {
  .navbar .nav-search-box .nav-search-btn { color: #202124 !important; }
  .navbar .nav-search-box .nav-search-btn svg { stroke: #202124 !important; fill: none !important; }
}
.navbar .nav-search-result-name { color: #202124 !important; }
.navbar .nav-search-result-item a { color: #202124 !important; }
.navbar .nav-search-result-price { color: var(--accent, var(--primary)) !important; }
.navbar .nav-search-no-results,
.navbar .search-no-results { color: var(--text-muted, rgba(128,128,128,0.6)) !important; }
.zappy-catalog-menu, #zappy-catalog-menu { background: #FAF8F4 !important; }
.zappy-catalog-menu .catalog-menu-item,
.zappy-catalog-menu .catalog-menu-all { color: #202124 !important; }
.zappy-catalog-menu .catalog-menu-item:hover,
.zappy-catalog-menu .catalog-menu-all:hover { color: #1a2d4b !important; background: rgba(128,128,128,0.1) !important; }
.navbar .cart-link.nav-cart,
.navbar .login-link.nav-login,
.navbar .nav-search-toggle,
.navbar .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
.navbar .cart-link.nav-cart:hover,
.navbar .login-link.nav-login:hover,
.navbar .nav-search-toggle:hover,
.navbar .search-toggle:hover { background: rgba(128,128,128,0.15) !important; color: var(--text-dark, #1a1a1a) !important; }
.navbar .cart-link.nav-cart svg, .navbar .login-link.nav-login svg, .navbar .nav-search-toggle svg, .navbar .search-toggle svg { color: inherit !important; fill: none !important; stroke: currentColor !important; }

.navbar.scrolled .cart-link.nav-cart,
.navbar.scrolled .login-link.nav-login,
.navbar.scrolled .nav-search-toggle,
.navbar.scrolled .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
@media (max-width: 768px) {
  .navbar { background-color: #FAF8F4 !important; background-image: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
  .zappy-catalog-menu, #zappy-catalog-menu { background-image: none !important; }
  .navbar::before, .navbar::after { background: transparent !important; opacity: 0 !important; }
  body.menu-open .navbar, body.nav-open .navbar, body.mobile-menu-open .navbar, .navbar.scrolled, .navbar.active, .navbar.open, .navbar.show, .navbar.menu-open, .navbar:has(.nav-menu.active), .navbar:has(#navMenu.active), .navbar:has(.mobile-menu.active), .navbar:has(.mobile-toggle.active), .navbar:has(#mobileToggle.active) { background-color: #FAF8F4 !important; }
  .nav-menu, .nav-menu.active, .nav-menu.nav-menu-active, #navMenu, #navMenu.active, .mobile-menu, .mobile-menu.active, .mobile-nav, .mobile-nav.active { background-color: #FAF8F4 !important; background: #FAF8F4 !important; }
  .nav-menu.active, .nav-menu.nav-menu-active, #navMenu.active, .mobile-menu.active, .mobile-nav.active { max-height: calc(100dvh - 70px) !important; overflow-y: auto !important; }
  .nav-menu a, .nav-menu > li > a, #navMenu a, #navMenu > li > a { color: #202124 !important; }
  .nav-menu a:hover, .nav-menu > li > a:hover { color: #1a2d4b !important; }
  .nav-menu .dropdown-menu { background: rgba(128,128,128,0.06) !important; }
  .nav-menu .dropdown-menu a, .nav-menu .dropdown-menu li a { color: #202124 !important; }
  .nav-menu .dropdown-menu a:hover { color: #1a2d4b !important; }
  .nav-menu .sub-menu a { color: #202124 !important; }
  .nav-menu .sub-menu a:hover { color: #1a2d4b !important; }
  .nav-menu > li { position: relative !important; }
  .navbar .nav-menu .mobile-submenu-toggle { color: #202124 !important; position: static !important; height: auto !important; flex-shrink: 0 !important; align-self: stretch !important; }
  .mobile-toggle { color: #202124 !important; }
  .mobile-toggle svg { color: inherit !important; }
  .mobile-toggle svg path { stroke: currentColor !important; }
  
  /* When menu is open or navbar is scrolled in mobile, the background is dropdownBg, so text should be mobileMenuText */
  .navbar.scrolled .mobile-toggle, .navbar.scrolled .mobile-hamburger-btn, .navbar.scrolled .mobile-close-btn,
  .navbar.scrolled .navbar-brand, .navbar.scrolled .dropdown-toggle, .navbar.scrolled .phone-header-btn,
  body.menu-open .navbar .mobile-toggle, body.nav-open .navbar .mobile-toggle, body.mobile-menu-open .navbar .mobile-toggle,
  .navbar.active .mobile-toggle, .navbar.open .mobile-toggle, .navbar.show .mobile-toggle, .navbar.menu-open .mobile-toggle,
  .navbar:has(.nav-menu.active) .mobile-toggle, .navbar:has(#navMenu.active) .mobile-toggle, .navbar:has(.mobile-menu.active) .mobile-toggle, .navbar:has(.mobile-toggle.active) .mobile-toggle,
  body.menu-open .navbar .navbar-brand, body.nav-open .navbar .navbar-brand, body.mobile-menu-open .navbar .navbar-brand,
  .navbar.active .navbar-brand, .navbar.open .navbar-brand, .navbar.show .navbar-brand, .navbar.menu-open .navbar-brand,
  .navbar:has(.nav-menu.active) .navbar-brand, .navbar:has(#navMenu.active) .navbar-brand, .navbar:has(.mobile-menu.active) .navbar-brand, .navbar:has(.mobile-toggle.active) .navbar-brand,
  body.menu-open .navbar .phone-header-btn, body.nav-open .navbar .phone-header-btn, body.mobile-menu-open .navbar .phone-header-btn,
  .navbar.active .phone-header-btn, .navbar.open .phone-header-btn, .navbar.show .phone-header-btn, .navbar.menu-open .phone-header-btn,
  .navbar:has(.nav-menu.active) .phone-header-btn, .navbar:has(#navMenu.active) .phone-header-btn, .navbar:has(.mobile-menu.active) .phone-header-btn, .navbar:has(.mobile-toggle.active) .phone-header-btn {
    color: #202124 !important;
  }
  
  .navbar.scrolled .mobile-toggle svg { color: inherit !important; }
  .navbar.scrolled .mobile-toggle svg path { stroke: currentColor !important; }
  
  .navbar.scrolled .nav-menu > li > a,
  .navbar.scrolled .nav-menu > .nav-item > a,
  .navbar.scrolled .nav-link,
  .navbar.scrolled a:not(.nav-cta-btn) { color: #202124 !important; }
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle,
  .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg,
  .search-toggle svg { stroke: var(--text-dark, #1a1a1a) !important; color: var(--text-dark, #1a1a1a) !important; }
  .mobile-search-panel { color: #FAF8F4 !important; }
  .mobile-search-panel input { color: #FAF8F4 !important; background: rgba(255,255,255,0.12) !important; }
  .mobile-search-panel .close-search { color: #FAF8F4 !important; background: rgba(255,255,255,0.15) !important; }
  .mobile-search-panel .close-search svg { stroke: #FAF8F4 !important; color: #FAF8F4 !important; }
  .mobile-search-panel .close-search:hover { color: #FAF8F4 !important; background: rgba(255,255,255,0.25) !important; }
  .mobile-search-panel .close-search:hover svg { stroke: #FAF8F4 !important; color: #FAF8F4 !important; }
  .navbar .zappy-products-dropdown .sub-menu,
  .navbar .zappy-products-dropdown > .sub-menu {
    display: none !important; position: static !important; max-height: 0 !important;
    overflow: hidden !important; opacity: 0 !important; visibility: hidden !important;
    pointer-events: none !important; box-shadow: none !important; border: none !important;
    padding: 0 !important; transform: none !important;
  }
  .navbar .zappy-products-dropdown:hover .sub-menu,
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu,
  .navbar .menu-item-has-children:hover > .sub-menu,
  .navbar .nav-dropdown:hover > .dropdown-menu {
    display: none !important; opacity: 0 !important; visibility: hidden !important;
    max-height: 0 !important; pointer-events: none !important;
  }
  .navbar .zappy-products-dropdown.open .sub-menu,
  .navbar .zappy-products-dropdown.open > .sub-menu,
  .navbar .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .navbar .menu-item-has-children.open > .sub-menu,
  .navbar .menu-item-has-children > .sub-menu.mobile-expanded,
  .navbar .nav-dropdown.open > .dropdown-menu {
    display: block !important; opacity: 1 !important; visibility: visible !important;
    max-height: 60vh !important; pointer-events: auto !important; position: static !important;
    overflow-y: auto !important; padding: 0.5rem 0 !important;
  }
}
/* === NAVBAR STYLE OVERRIDES END === */

/* Legal Pages Content Styles */
.legal-page-content {
  padding: 120px 0 60px;
  min-height: 60vh;
  color: inherit;
}

.legal-page-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: inherit;
}

.legal-page-content .last-updated {
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.legal-page-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: inherit;
}

.legal-page-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

[dir="rtl"] .legal-page-content ul {
  padding-left: 0;
  padding-right: 1.5rem;
}

.legal-page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-page-content .contact-box,
.legal-page-content .contact-info {
  background: rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-page-content .contact-box a,
.legal-page-content .contact-info a {
  color: inherit;
  text-decoration: underline;
}

.legal-page-content .contact-box a:hover,
.legal-page-content .contact-info a:hover {
  opacity: 0.8;
}

.legal-page-content .important-notice,
.legal-page-content .legal-reference {
  background: rgba(0, 0, 0, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid currentColor;
}

[dir="rtl"] .legal-page-content .important-notice,
[dir="rtl"] .legal-page-content .legal-reference {
  border-left: none;
  border-right: 4px solid currentColor;
}


/* Cookie Consent Styles */

/* Cookie Consent Customizations */
:root {
  --cc-btn-primary-bg: #3b82f6;
  --cc-btn-primary-border: #3b82f6;
  --cc-btn-primary-hover-bg: #2269dd;
}

#cc--main {
  font-family: inherit !important;
}

.cc-btn.cc--btn-primary {
  background-color: var(--cc-btn-primary-bg) !important;
  border-color: var(--cc-btn-primary-border) !important;
}

.cc-btn.cc--btn-primary:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #cc--main .cc__btn {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  .cc__modal .cc__modal-content {
    margin: 10px !important;
  }
}

/* Cookie preferences button in footer */
.cookie-preferences-btn:hover {
  text-decoration: none !important;
}

/* Accessibility Styles */

/* Basic Accessibility Enhancements */
:root {
  --accessibility-focus: #162843;
}

/* Skip link styles */
.skip-link:focus {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: #000 !important;
  color: white !important;
  padding: 8px !important;
  text-decoration: none !important;
  z-index: 10000 !important;
  border-radius: 4px !important;
}

/* Enhanced focus indicators */
*:focus {
  outline: 2px solid var(--accessibility-focus) !important;
  outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Custom Accessibility Toolbar Styling - Zappy Style */

/* Main button icon - ONLY target the floating button, not menu elements */
#mic-access-tool-general-button {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* AGGRESSIVELY hide all text in the button */
#mic-access-tool-general-button,
#mic-access-tool-general-button *:not(svg):not(path):not(circle):not(rect):not(polygon):not(ellipse):not(line):not(polyline):not(g) {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  line-height: 0 !important;
  letter-spacing: -999em !important;
  white-space: nowrap !important;
}

/* Hide text nodes specifically */
#mic-access-tool-general-button::before,
#mic-access-tool-general-button::after {
  content: none !important;
  display: none !important;
}

/* Hover state - keep text hidden */
#mic-access-tool-general-button:hover {
  background-color: rgba(22, 40, 67, 0.1) !important;
  background: rgba(22, 40, 67, 0.1) !important;
  box-shadow: 0 2px 8px rgba(22, 40, 67, 0.2) !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

/* Target the SVG and make it the selected color */
#mic-access-tool-general-button svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  /* Convert green to selected color using dynamic CSS filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Also directly target all SVG elements to be the selected color */
#mic-access-tool-general-button svg,
#mic-access-tool-general-button svg *,
#mic-access-tool-general-button svg path,
#mic-access-tool-general-button svg circle,
#mic-access-tool-general-button svg rect,
#mic-access-tool-general-button svg polygon,
#mic-access-tool-general-button svg ellipse,
#mic-access-tool-general-button svg line,
#mic-access-tool-general-button svg polyline,
#mic-access-tool-general-button svg g {
  fill: #162843 !important;
  stroke: #162843 !important;
  color: #162843 !important;
}

/* Target images if the icon is an img instead of SVG */
#mic-access-tool-general-button img,
#mic-access-tool-general-button i {
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* Convert green to selected color using dynamic filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Menu header with selected color */
#mic-access-tool-box .mic-access-tool-box-header,
.mic-access-tool-box-header,
div[id*="mic-access-tool-box"] header,
div[id*="mic-access-tool-box"] .header {
  background: #162843 !important;
  color: white !important;
}

/* Make header text white - title and close button */
#mic-access-tool-box .mic-access-tool-box-header *,
.mic-access-tool-box-header *,
div[id*="mic-access-tool-box"] header *,
div[id*="mic-access-tool-box"] .header * {
  color: white !important;
}

/* Close button text */
#mic-access-tool-box .mic-access-tool-box-header button,
#mic-access-tool-box .mic-access-tool-box-header a,
#mic-access-tool-box [class*="close"],
#mic-access-tool-box button[title*="close"],
#mic-access-tool-box button[title*="Close"] {
  color: white !important;
  background: transparent !important;
}

/* Active buttons and highlights in menu */
#mic-access-tool-box button.active,
#mic-access-tool-box button:hover,
div[id*="mic-access-tool-box"] button.active,
div[id*="mic-access-tool-box"] button:hover {
  border-color: #162843 !important;
  color: #162843 !important;
  background-color: rgba(22, 40, 67, 0.1) !important;
}

/* Reset button */
#mic-access-tool-box button[title*="reset"],
#mic-access-tool-box button[title*="Reset"],
#mic-access-tool-box [class*="reset"],
div[id*="mic-access-tool-box"] button[class*="reset"] {
  background: #162843 !important;
  color: white !important;
}

/* Reset button text and icon */
#mic-access-tool-box button[title*="reset"] *,
#mic-access-tool-box button[title*="Reset"] *,
#mic-access-tool-box [class*="reset"] *,
div[id*="mic-access-tool-box"] button[class*="reset"] * {
  color: white !important;
}

/* Hide accessibility widget by default on all screen sizes */
/* TODO: Can be re-enabled in the future by removing display: none */
/* The widget can be shown via ALT+A keyboard shortcut (desktop only) */
/* Target Mickidum accessibility button with high specificity */
#mic-access-tool-general-button,
.mic-access-tool-general-button,
#mic-init-access-tool .mic-access-tool-general-button,
#mic-init-access-tool #mic-access-tool-general-button,
._access-icon {
  display: none !important; /* Hidden by default - can be re-enabled */
}

/* Target Mickidum accessibility menu with high specificity */
#mic-access-tool-box,
.mic-access-tool-box,
#mic-init-access-tool #mic-access-tool-box,
div[id*="mic-access-tool-box"],
._access-menu {
  display: none !important; /* Hidden by default - can be re-enabled */
}

/* Show accessibility widget when ALT+A keyboard shortcut is used (desktop only) */
body.accessibility-widget-visible #mic-access-tool-general-button,
body.accessibility-widget-visible .mic-access-tool-general-button,
body.accessibility-widget-visible #mic-init-access-tool .mic-access-tool-general-button,
body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-general-button,
body.accessibility-widget-visible ._access-icon {
  display: flex !important; /* Show button when visible class is added */
}

body.accessibility-widget-visible #mic-access-tool-box,
body.accessibility-widget-visible .mic-access-tool-box,
body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-box,
body.accessibility-widget-visible div[id*="mic-access-tool-box"],
body.accessibility-widget-visible ._access-menu {
  display: block !important; /* Show menu when visible class is added */
}

/* On mobile, ensure it stays hidden */
@media (max-width: 768px) {
  /* Hide the accessibility button on mobile - higher specificity */
  #mic-access-tool-general-button,
  .mic-access-tool-general-button,
  #mic-init-access-tool .mic-access-tool-general-button,
  #mic-init-access-tool #mic-access-tool-general-button,
  ._access-icon {
    display: none !important; /* Hidden on mobile - can be re-enabled */
  }
  
  /* Hide the accessibility menu on mobile - higher specificity */
  #mic-access-tool-box,
  .mic-access-tool-box,
  #mic-init-access-tool #mic-access-tool-box,
  div[id*="mic-access-tool-box"],
  ._access-menu {
    display: none !important; /* Hidden on mobile - can be re-enabled */
  }
  
  /* Ensure mobile never shows widget even with keyboard shortcut */
  body.accessibility-widget-visible #mic-access-tool-general-button,
  body.accessibility-widget-visible .mic-access-tool-general-button,
  body.accessibility-widget-visible #mic-init-access-tool .mic-access-tool-general-button,
  body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-general-button,
  body.accessibility-widget-visible ._access-icon,
  body.accessibility-widget-visible #mic-access-tool-box,
  body.accessibility-widget-visible .mic-access-tool-box,
  body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-box,
  body.accessibility-widget-visible div[id*="mic-access-tool-box"],
  body.accessibility-widget-visible ._access-menu {
    display: none !important;
  }
}

.about-milestones-section {
  display: none !important;
}

/* ========== EMPTY SUBMENU HIDING (Auto-added by Zappy) ========== */
.sub-menu:empty,
.dropdown-menu:empty,
.sub-menu.zappy-empty-submenu,
.dropdown-menu.zappy-empty-submenu,
.nav-menu .sub-menu.zappy-empty-submenu,
nav .sub-menu.zappy-empty-submenu,
.navbar .sub-menu.zappy-empty-submenu,
#navMenu .sub-menu.zappy-empty-submenu,
#navMenu .dropdown-menu.zappy-empty-submenu {
  display: none !important;
}


/* ========== RTL MOBILE NAVBAR FIX (zappy-rtl-mobile-fix) ========== */
/* High-specificity rules to ensure RTL positioning wins over any [lang="en"] conflicts */
/* For RTL sites: hamburger on RIGHT, phone on LEFT (mirror of LTR layout) */
/* NOTE: Includes both html[dir="rtl"] AND [dir="rtl"] selectors as fallback */
/* because some pages may be wrapped with <html lang="en"> (missing dir="rtl" on html) */
/* but still have dir="rtl" on <body> or other ancestor elements */

@media (max-width: 768px) {
  /* RTL Mobile Toggle (hamburger) - positioned on RIGHT */
  /* Using multiple parent selectors for higher specificity */
  html[dir="rtl"] .navbar .mobile-toggle,
  html[dir="rtl"] nav .mobile-toggle,
  html[dir="rtl"] header .mobile-toggle,
  html[dir="rtl"] .nav-container .mobile-toggle,
  html[dir="rtl"] .mobile-toggle,
  [dir="rtl"] .navbar .mobile-toggle,
  [dir="rtl"] nav .mobile-toggle,
  [dir="rtl"] header .mobile-toggle,
  [dir="rtl"] .nav-container .mobile-toggle,
  [dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    left: auto !important;
    right: 15px !important;
  }
  
  /* RTL Phone Button - positioned on LEFT */
  html[dir="rtl"] .navbar .phone-header-btn,
  html[dir="rtl"] nav .phone-header-btn,
  html[dir="rtl"] header .phone-header-btn,
  html[dir="rtl"] .nav-container .phone-header-btn,
  html[dir="rtl"] .phone-header-btn,
  [dir="rtl"] .navbar .phone-header-btn,
  [dir="rtl"] nav .phone-header-btn,
  [dir="rtl"] header .phone-header-btn,
  [dir="rtl"] .nav-container .phone-header-btn,
  [dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn {
    left: 15px !important;
    right: auto !important;
  }
  
  /* RTL Mobile Menu - slides from RIGHT */
  html[dir="rtl"] .navbar .nav-menu,
  html[dir="rtl"] nav .nav-menu,
  html[dir="rtl"] header .nav-menu,
  html[dir="rtl"] .nav-container .nav-menu,
  html[dir="rtl"] .nav-menu,
  [dir="rtl"] .navbar .nav-menu,
  [dir="rtl"] nav .nav-menu,
  [dir="rtl"] header .nav-menu,
  [dir="rtl"] .nav-container .nav-menu,
  [dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu {
    left: auto !important;
    right: 0 !important;
  }
  
  /* RTL Mobile Menu Links - text align right */
  html[dir="rtl"] .nav-menu a,
  html[dir="rtl"] .nav-menu li,
  [dir="rtl"] .nav-menu a,
  [dir="rtl"] .nav-menu li,
  html[lang="he"] .nav-menu a,
  html[lang="he"] .nav-menu li,
  html[lang="ar"] .nav-menu a,
  html[lang="ar"] .nav-menu li {
    text-align: right !important;
  }
}

/* ========== END RTL MOBILE NAVBAR FIX ========== */


/* ========== NAV CONTAINER MIN-HEIGHT FIX (nav-container-min-height-fix) ========== */
/* On mobile, all nav children are position:absolute/fixed (out of flow), */
/* so height:auto collapses to 0px. min-height ensures the navbar is visible. */

/* DEFENSIVE: Ensure CTA container is visible on desktop */
/* This guards against CSS minifiers (CleanCSS level 2) that may pull */
/* the mobile display:none rule out of its @media query */
@media (min-width: 769px) {
  .nav-cta-container,
  .nav-cta-container:not(:has(.lang-switcher)) {
    display: flex !important;
    align-items: center !important;
  }
}

@media (max-width: 768px) {
  .nav-container {
    min-height: 70px !important;
    position: relative !important;
  }
  /* Reset nav-cta-container desktop styling (box-shadow/padding) on mobile */
  .nav-cta-container {
    box-shadow: none !important;
    padding: 0 !important;
  }
  /* Hide nav-cta-container when no lang-switcher (only CTA btn, which is hidden on mobile) */
  .nav-cta-container:not(:has(.lang-switcher)) {
    display: none !important;
  }
}

/* ========== END NAV CONTAINER MIN-HEIGHT FIX ========== */


/* ========== HERO IMAGE GRADIENT FIX (hero-image-gradient-fix) ========== */
/* Prevent hero image fade gradient from bleeding over headline text below. */
/* The .image-fade-gradient has bottom: -30px which extends below its parent; */
/* on mobile stacked layout this overlaps the h1 text. */

@media (max-width: 768px) {
  .hero-image-column {
    overflow: hidden !important;
  }
  .image-fade-gradient {
    bottom: 0 !important;
  }
}

/* ========== END HERO IMAGE GRADIENT FIX ========== */


/* ========== PRODUCT ICON STYLES (product-icon-styles) ========== */
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; }
.product-title-row h1 { flex: 1; min-width: 0; }
.product-icon-actions { display: flex; gap: 8px; flex-shrink: 0; padding-top: 6px; }
.icon-btn { width: 36px; height: 36px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s; color: currentColor; padding: 0; }
.icon-btn:hover { color: var(--primary-color, #ff0083); }
.icon-btn.active { color: #e74c3c; }
.icon-btn.active .heart-outline { display: none !important; }
.icon-btn.active .heart-filled { display: block !important; }
.profile-section, .addresses-section, .favorites-section, .orders-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; background: transparent; }
.favorites-section h2 { font-size: 1.25rem; color: var(--text-color, #1f2937); margin-bottom: 20px; }
.favorites-loading { text-align: center; padding: 20px; color: var(--text-secondary, #6b7280); }
.favorites-empty { text-align: center; padding: 32px; color: var(--text-secondary, #6b7280); }
.favorites-empty p { margin-bottom: 16px; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.favorite-card { background: transparent; border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s; position: relative; }
.favorite-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.favorite-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.favorite-card-body { padding: 12px; }
.favorite-card-body h4 { font-size: 0.875rem; font-weight: 500; color: var(--text-color, #1f2937); margin: 0 0 6px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.favorite-price { font-weight: 600; color: var(--primary-color, #ff0083); font-size: 0.9rem; }
.favorite-remove-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: #dc2626; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.favorite-remove-btn:hover { background: #dc2626; color: white; }
@media (max-width: 480px) { .favorites-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
/* ========== END PRODUCT ICON STYLES ========== */

/* ========== ORPHANED_ZOOM_IMG_FIX ========== */
@media (max-width: 768px) {
  .zappy-preserve-css-grid > img[data-zappy-zoom],
  [class*="-grid"] > img[data-zappy-zoom] {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: cover !important;
    left: auto !important;
    top: auto !important;
  }
}
/* ========== END ORPHANED_ZOOM_IMG_FIX ========== */


/* ========== GRID RESPONSIVE FIX (zappy-grid-mobile-fix) ========== */
/* Ensures grids with explicit columns use CSS variable and are responsive on mobile */

/* DESKTOP: Explicit column grids use CSS variable for grid-template-columns */
/* The deployment process ensures --zappy-grid-cols is always set in inline styles */
[data-zappy-explicit-columns="true"] {
  display: grid !important;
  grid-template-columns: var(--zappy-grid-cols, repeat(2, minmax(0, 1fr))) !important;
}
/* Carousel mode overrides grid display to allow flex-based track layout */
.zappy-carousel-mode,
[data-zappy-display-mode="carousel"] {
  display: block !important;
}

/* ZOOM WRAPPER: Ensure overflow:hidden and position:relative for crop zoom effect */
/* The wrapper clips the oversized image to create the zoom/crop effect */
/* position:relative is needed so absolutely positioned images stay within the wrapper */
[data-zappy-zoom-wrapper="true"] {
  overflow: hidden !important;
  position: relative !important;
}

/* Prevent inserted elements from exceeding their container width.
   max-width uses no !important so inline styles can set a specific constraint. */
.zappy-inserted-element {
  max-width: 100%;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  /* Auto-grid (AI-generated) grids - force single column on mobile */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"],
  [data-zappy-auto-grid="true"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Grid children: override min-width:auto so children with fixed-width
     content (e.g. zoom wrappers with width:448px!important) can shrink
     to fit the 1fr column instead of overflowing the grid container. */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > *,
  [data-zappy-auto-grid="true"] > *,
  [data-zappy-explicit-columns="true"] > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  /* Featured grids - force single column on mobile */
  .featured-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Neutralize centering transforms on mobile */
  [data-zappy-center-transform] {
    transform: none !important;
  }
  
  /* Media-only grid items - constrain height on mobile */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > .zappy-grid-item-media-only,
  [data-zappy-auto-grid="true"] > .zappy-grid-item-media-only {
    height: auto !important;
    max-height: 300px !important;
  }
  
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > .zappy-grid-item-media-only img,
  [data-zappy-auto-grid="true"] > .zappy-grid-item-media-only img {
    height: auto !important;
    max-height: 300px !important;
  }
  
  /* Full-width mode zoom wrappers - ensure image is visible (not collapsed) */
  [data-zappy-zoom-wrapper-width-mode="full"] img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 300px !important;
    left: auto !important;
    top: auto !important;
    object-fit: cover !important;
  }
  
  /* MOBILE: Explicit column grids - force single column on mobile */
  [data-zappy-explicit-columns="true"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Inline grid with fixed pixel columns - make responsive */
  .zappy-inline-grid-active.zappy-preserve-css-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* AI-generated section grids with common naming patterns */
  /* These often have fixed pixel column widths that don't adapt to mobile */
  [class*="-grid"]:not([data-zappy-auto-grid]):not(.zappy-preserve-css-grid):not([data-zappy-explicit-columns="true"]) {
    grid-template-columns: 1fr !important;
  }
  
  /* Reset any column/row spanning items on mobile - they cause overflow */
  /* Gallery grids often have -large items that span multiple columns */
  [class*="-grid"] > [class*="-large"],
  [class*="-grid"] > [class*="-item-large"],
  [class*="-grid"] > [style*="grid-column: span"],
  [class*="-grid"] > [style*="grid-row: span"] {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  /* Common AI-generated visual/frame containers that may overflow */
  [class*="-visual"],
  [class*="-frame"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  /* CRITICAL: Constrain zoom wrappers on mobile - they often have fixed pixel widths */
  [data-zappy-zoom-wrapper="true"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }
  
  /* Fix zoom wrapper images on mobile - make responsive */
  [data-zappy-zoom-wrapper="true"] img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
  
  /* Carousel: ensure block display on mobile */
  .zappy-carousel-mode,
  [data-zappy-display-mode="carousel"] {
    display: block !important;
  }
  /* JS-initialized carousel: constrain wrapper on mobile */
  .zappy-carousel-js-init .zappy-carousel-container-wrapper {
    max-width: calc(100% - 20px) !important;
  }
  .zappy-carousel-js-init .zappy-carousel-item {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  /* CSS-only fallback: if JS didn't initialize, stack items vertically */
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-container-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-track {
    flex-direction: column !important;
    transform: none !important;
    gap: 1.5rem !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) > :not(style):not(script):not(.zappy-carousel-btn):not(.zappy-carousel-dots):not(.zappy-carousel-container-wrapper) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-btn,
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-dots {
    display: none !important;
  }
  /* Carousel items: fix zoom wrapper padding creating excess spacing */
  .zappy-carousel-item [data-zappy-zoom-wrapper="true"],
  .zappy-carousel-mode > div [data-zappy-zoom-wrapper="true"] {
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  /* Carousel buttons: position inside the card area on mobile */
  .zappy-carousel-js-init > .zappy-carousel-btn {
    left: 4px !important;
    right: auto !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    background: rgba(255,255,255,0.9) !important;
  }
  .zappy-carousel-js-init > .zappy-carousel-btn.zappy-carousel-right {
    left: auto !important;
    right: 4px !important;
  }
  
  /* ========== MAIN PADDING FIX ========== */
  /* Fix double-padding from old V2 mobile CSS that applied padding to both main and sections */
  /* Exclude ecommerce-page which needs its own horizontal padding for proper mobile layout */
  main:not(.ecommerce-page) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Hero sections need flex-column on mobile for proper stacking */
  section[class*="hero"],
  .home-Hero-section {
    flex-direction: column !important;
  }
  
  /* Hero sections need extra padding-top to clear the sticky navbar */
  /* The navbar is ~70px tall, so hero needs at least 100px padding-top */
  /* IMPORTANT: Use section tag to avoid matching child elements like buttons that contain "-hero-section" in their BEM class */
  section[class*="-hero-section"]:first-of-type,
  main > section:first-child {
    padding-top: 100px !important;
  }
  
  /* ========== HERO CONTAINER FULL-WIDTH (FULLSCREEN HEROES ONLY) ========== */
  /* Only strip container padding/width for heroes with actual background images.
     Text-only and side-by-side hero sections on inner pages need normal padding. */
  .hero-container,
  /* V2 generation-time fullscreen heroes */
  section[data-hero-type="fullscreen-scrim"] > .container,
  section[data-hero-type="fullscreen-card"] > .container,
  /* Editor-applied background images on hero sections */
  section[class*="hero"][data-zappy-bg-type="image"] > .container,
  section[class*="hero"][data-zappy-bg-type="video"] > .container,
  /* V1 fallback: hero sections with known bg structures */
  section[class*="hero"]:has(.hero-bg-container) > .container,
  section[class*="hero"]:has([data-hero-bg]) > .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* ========== HERO WIDTH FIX ========== */
  /* Remove nested horizontal padding for fullscreen-type heroes only */
  .home-Hero-section .hero-container,
  .home-Hero-section .hero-content,
  .home-Hero-section .hero-metrics,
  .home-Hero-section .hero-image-column,
  .home-Hero-section .hero-image-frame,
  .home-Hero-section .container,
  .home-Hero-section .wrapper,
  /* V2 fullscreen heroes */
  section[data-hero-type="fullscreen-scrim"] .hero-container,
  section[data-hero-type="fullscreen-scrim"] .hero-content,
  section[data-hero-type="fullscreen-scrim"] .container,
  section[data-hero-type="fullscreen-card"] .hero-container,
  section[data-hero-type="fullscreen-card"] .hero-content,
  section[data-hero-type="fullscreen-card"] .container,
  /* Editor-applied background images on hero sections */
  section[class*="hero"][data-zappy-bg-type="image"] .hero-container,
  section[class*="hero"][data-zappy-bg-type="image"] .hero-content,
  section[class*="hero"][data-zappy-bg-type="image"] .container,
  section[class*="hero"][data-zappy-bg-type="video"] .hero-container,
  section[class*="hero"][data-zappy-bg-type="video"] .hero-content,
  section[class*="hero"][data-zappy-bg-type="video"] .container,
  /* V1 fallback: hero sections with known bg structures */
  section[class*="hero"]:has(.hero-bg-container) .hero-container,
  section[class*="hero"]:has(.hero-bg-container) .hero-content,
  section[class*="hero"]:has(.hero-bg-container) .container,
  section[class*="hero"]:has([data-hero-bg]) .hero-container,
  section[class*="hero"]:has([data-hero-bg]) .hero-content,
  section[class*="hero"]:has([data-hero-bg]) .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
  }
  
  /* ========== HERO VERTICAL SPACING FIX ========== */
  .home-Hero-section .hero-content,
  .home-Hero-section .hero-container,
  .home-Hero-section .hero-image-column {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  
  .hero-cta-row {
    padding: 8px 0 !important;
    margin: 8px 0 12px !important;
  }
  
  .hero-content {
    gap: 12px !important;
  }
  
  .hero-metrics {
    gap: 10px !important;
  }
  
  .metric-card {
    padding: 12px !important;
  }
  
  .hero-container {
    gap: 16px !important;
  }

  /* ========== GRID OVERFLOW FIX ========== */
  /* CSS Grid items default to min-width:auto, preventing them from shrinking
     below their content's intrinsic size. Fixed-width zoom wrappers or large
     images inside grid items can force the column wider than the viewport. */
  .hero-container > * {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  /* Zappy-inserted image elements with fixed-width zoom wrappers must
     respect the parent container width on mobile */
  .zappy-inserted-element,
  [data-zappy-zoom-wrapper] {
    max-width: 100% !important;
  }
}

/* ========== HERO SECTION WIDTH CONSTRAINT (ALL VIEWPORTS) ========== */
/* Prevent hero sections from exceeding viewport width.                */
/* Root cause: AI-generated CSS may use width:100vw or add horizontal  */
/* padding to the section, causing it to overflow the viewport.        */
/* NOTE: Do NOT add overflow:hidden here — it clips SVG bottom dividers */
/* that need overflow:visible to extend into the next section.          */
section[class*="hero" i],
section[class*="Hero"],
section[data-hero-type] {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ========== SVG DIVIDER OVERLAY FIX ========== */
/* Many AI sections place .section-divider absolutely at the bottom of a section,
   which can overlap/cut off the last row of content. The safest CSS-only fix
   is to prevent overlay by forcing the divider into normal flow. */
.section-divider {
  position: relative !important;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  margin-top: 16px !important;
}

.section-divider svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* Exclude small icon SVGs from full-width sizing - these are decorative icons, not wave dividers */
.section-divider svg.divider-icon,
.section-divider svg[width="32"],
.section-divider svg[width="24"],
.section-divider svg[width="48"],
.section-divider svg[viewBox="0 0 32 32"],
.section-divider svg[viewBox="0 0 24 24"],
.section-divider svg[viewBox="0 0 48 48"] {
  width: auto !important;
  height: auto !important;
  max-width: 64px !important;
  max-height: 64px !important;
}

/* ========== END SVG DIVIDER OVERLAY FIX ========== */

/* ========== HORIZONTAL-PAIR GRID MEDIA FIX ========== */
/* Ensures media in horizontal-pair grids fills columns correctly */

/* Image/video media cells: stretch to fill the grid cell */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"]:not([data-element-type="icon"]) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  min-height: 0 !important;
}

/* Icon media cells: use flex for centering but allow alignment to be controlled by the editor */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"][data-element-type="icon"] {
  position: relative !important;
  display: flex !important;
  min-height: 0 !important;
}

/* Images/videos: preserve aspect ratio while filling column width */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > img,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Icons/SVG: respect their explicit pixel size from the editor */
/* Do NOT force width/height: 100% - icons should use their inline size */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > svg,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > .iconify,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > .iconify svg {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  display: inline-block !important;
}

/* Non-media grid items (buttons, text, etc.) should NOT stretch */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) {
  align-self: start !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Buttons inside non-media grid items should NOT stretch horizontally */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) .btn,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) [data-element-type="button"] {
  width: auto !important;
  flex: 0 0 auto !important;
}

/* ========== END HORIZONTAL-PAIR GRID MEDIA FIX ========== */

/* ========== END GRID RESPONSIVE FIX ========== */


/* ZAPPY_CONTACT_FORM_LAYOUT_FIX */
form.contact-form, .contact-form { flex-direction: column !important; align-items: stretch !important; }
form.contact-form > .contact-form-field, .contact-form > .contact-form-field { width: 100% !important; align-self: stretch !important; }
form.contact-form .contact-input, form.contact-form .contact-textarea { width: 100% !important; box-sizing: border-box !important; }


/* ZAPPY_NAVBAR_CTA_ALIGNMENT_FIX */
.nav-cta-container .zappy-search-container,
.zappy-search-container { align-self: center; }
.nav-cta-container p { margin: 0 !important; }


/* ZAPPY_SECTION_BG_TYPE_FIX */
[data-zappy-bg-type="color"] { background-image: none !important; background-color: var(--zappy-bg-color, transparent) !important; }
[data-zappy-bg-type="image"] { background-image: linear-gradient(var(--zappy-bg-overlay, rgba(0,0,0,0)), var(--zappy-bg-overlay, rgba(0,0,0,0))), var(--zappy-bg-image, none) !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
[data-zappy-bg-type="video"] { background-image: none !important; }
