/* ===== CSS Variables — Lawyer palette (trust, prestige, warmth) ===== */
:root {
  /* Navy — authority & confidence */
  --color-navy-deep: #0b1523;
  --color-navy: #122337;
  --color-navy-light: #1a3050;
  --color-navy-mid: #243d5e;
  --color-navy-soft: #2f4a6e;

  /* Gold — refined antique bronze (not flashy yellow) */
  --color-gold: #b8942e;
  --color-gold-light: #d4bc72;
  --color-gold-dark: #967622;
  --color-gold-pale: #e8dcc0;

  /* Warm neutrals — parchment & ivory (legal prestige) */
  --color-ivory: #fdfbf7;
  --color-cream: #f5f1ea;
  --color-cream-dark: #e8e2d6;
  --color-white: #ffffff;

  /* Text */
  --color-text: #1e2a3a;
  --color-text-muted: #5c6578;
  --color-text-soft: #7a8494;
  --color-text-on-dark: rgba(253, 251, 247, 0.92);
  --color-text-on-dark-muted: rgba(253, 251, 247, 0.68);

  /* Semantic aliases */
  --color-gray-100: var(--color-cream);
  --color-gray-200: var(--color-cream-dark);
  --color-gray-600: var(--color-text-muted);
  --color-gray-800: var(--color-text);

  /* Gold transparency tokens */
  --gold-08: rgba(184, 148, 46, 0.08);
  --gold-12: rgba(184, 148, 46, 0.12);
  --gold-18: rgba(184, 148, 46, 0.18);
  --gold-25: rgba(184, 148, 46, 0.25);
  --gold-35: rgba(184, 148, 46, 0.35);

  --font-heading: 'Playfair Display', 'Cairo', serif;
  --font-body: 'Cairo', sans-serif;

  --header-height: 72px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(11, 21, 35, 0.1);
  --shadow-lg: 0 12px 48px rgba(11, 21, 35, 0.14);
  --shadow-gold: 0 6px 24px rgba(184, 148, 46, 0.22);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-ivory);
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: 'Cairo', sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(145deg, var(--color-gold-light) 0%, var(--color-gold) 45%, var(--color-gold-dark) 100%);
  color: var(--color-navy-deep);
  border-color: var(--color-gold-dark);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: linear-gradient(145deg, var(--color-gold-pale) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 148, 46, 0.32);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(253, 251, 247, 0.35);
}

.btn--outline:hover {
  background: var(--gold-08);
  border-color: var(--color-gold-light);
  color: var(--color-gold-pale);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 21, 35, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-18);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.nav__logo-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold-light);
  background: var(--gold-12);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-25);
  border-radius: var(--radius);
  padding: 3px;
}

.lang-switcher__btn {
  min-width: 36px;
  height: 32px;
  padding: 0 0.5rem;
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-text-on-dark-muted);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switcher__btn:hover {
  color: var(--color-gold-pale);
  background: var(--gold-12);
}

.lang-switcher__btn.active {
  background: linear-gradient(145deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-navy-deep);
  box-shadow: 0 2px 8px var(--gold-25);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, var(--color-navy-deep) 0%, var(--color-navy) 35%, var(--color-navy-light) 70%, var(--color-navy-mid) 100%);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, var(--gold-08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(212, 188, 114, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--color-cream) 0%, transparent 100%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8942e' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--gold-12);
  border: 1px solid var(--gold-25);
  border-radius: 50px;
  color: var(--color-gold-pale);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text-on-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  display: block;
  color: var(--color-gold-light);
}

.hero__description {
  font-size: 1.1rem;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-18);
}

.hero__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--color-text-on-dark-muted);
  margin-top: 0.25rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section__header {
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}

.section--dark {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: var(--color-text-on-dark);
}

.section__tag {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section--dark .section__tag {
  color: var(--color-gold-light);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.section--dark .section__title {
  color: var(--color-text-on-dark);
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
  max-width: 600px;
}

.section--dark .section__subtitle {
  color: var(--color-text-on-dark-muted);
}

/* ===== About ===== */
.about {
  background: var(--color-cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-gold);
}

.about__image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--color-navy-light), var(--color-navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-placeholder span {
  font-size: 6rem;
  opacity: 0.3;
}

.about__experience {
  position: absolute;
  bottom: -1rem;
  background: linear-gradient(145deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-deep);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

body[dir="rtl"] .about__experience {
  left: -1rem;
}

body[dir="ltr"] .about__experience {
  right: -1rem;
}

.about__experience-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about__experience-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* About content frames */
.about__panel {
  position: relative;
  background: var(--color-ivory);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.about__panel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-25);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

.about__text-frame {
  position: relative;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
  border-right: 4px solid var(--color-gold);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

body[dir="ltr"] .about__text-frame {
  border-right: 1px solid var(--color-cream-dark);
  border-left: 4px solid var(--color-gold);
}

.about__text-frame:hover {
  border-color: var(--gold-35);
  box-shadow: var(--shadow);
}

.about__text {
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.85;
}

.about__features {
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.about__feature-frame {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--color-navy);
  padding: 1rem 1.125rem;
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.about__feature-frame:hover {
  border-color: var(--color-gold);
  background: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.about__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-navy-deep);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--gold-25);
}

.about__cta-frame {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--gold-18);
  text-align: center;
}

.about__cta-frame .btn {
  min-width: 220px;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(253, 251, 247, 0.04);
  border: 1px solid var(--gold-18);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.service-card:hover {
  background: var(--gold-08);
  border-color: var(--gold-35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 21, 35, 0.25);
}

.service-card__image {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-25);
  background: var(--color-navy-deep);
}

.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 21, 35, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.service-card__image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.service-card__image::after {
  z-index: 1;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 1.35rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-on-dark);
  margin-bottom: 0.65rem;
}

.service-card__desc {
  color: var(--color-text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

/* ===== Trust Section ===== */
.trust {
  background: var(--color-cream);
  padding-top: 0;
}

.trust__banner {
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.trust__banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--gold-08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 188, 114, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.trust__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.trust__metric {
  text-align: center;
  padding: 1.25rem;
  background: rgba(253, 251, 247, 0.06);
  border: 1px solid var(--gold-18);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.trust__metric:hover {
  background: var(--gold-08);
  border-color: var(--gold-35);
  transform: translateY(-3px);
}

.trust__metric-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.trust__metric-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-gold);
}

.trust__metric-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-on-dark-muted);
  font-weight: 500;
}

.trust__header {
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}

.trust__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.trust-pillar {
  background: var(--color-ivory);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.trust-pillar:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.trust-pillar:hover::after {
  transform: scaleX(1);
}

.trust-pillar__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-navy-light), var(--color-navy-deep));
  border-radius: 50%;
  color: var(--color-gold-light);
  border: 2px solid var(--gold-25);
}

.trust-pillar__icon svg {
  width: 26px;
  height: 26px;
}

.trust-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.trust-pillar p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.trust__reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--gold-18);
}

.trust__reviews-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
}

.trust__rating-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-ivory);
  border: 2px solid var(--color-gold);
  border-radius: 50px;
  box-shadow: var(--shadow-gold);
}

.trust__rating-score {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}

.trust__rating-stars {
  display: block;
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.trust__rating-count {
  font-size: 0.78rem;
  color: var(--color-text-soft);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.trust-card {
  background: var(--color-ivory);
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.trust-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.trust-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, var(--color-ivory) 0%, rgba(184, 148, 46, 0.06) 100%);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.trust-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.trust-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.trust-card__verified {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: rgba(34, 139, 84, 0.1);
  color: #1a7a4c;
  border-radius: 50px;
  border: 1px solid rgba(34, 139, 84, 0.25);
}

.trust-card__outcome {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--gold-12);
  color: var(--color-gold-dark);
  border-radius: 50px;
  border: 1px solid var(--gold-25);
}

.trust-card__stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.trust-card__text {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.trust-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--gold-18);
  margin-top: auto;
}

.trust-card__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-navy-light), var(--color-navy-deep));
  color: var(--color-gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.trust-card__name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
}

.trust-card__role {
  font-size: 0.78rem;
  color: var(--color-text-soft);
}

.trust__seals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 1rem;
  background: var(--color-ivory);
  border: 1px solid var(--gold-18);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: all var(--transition);
}

.trust-seal:hover {
  border-color: var(--color-gold);
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.trust-seal__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.trust__cta {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-25);
  position: relative;
  overflow: hidden;
}

.trust__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--gold-12) 0%, transparent 60%);
  pointer-events: none;
}

.trust__cta p {
  position: relative;
  color: var(--color-text-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.trust__cta .btn {
  position: relative;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-ivory);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-12);
  border: 1px solid var(--gold-18);
  border-radius: var(--radius);
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.contact__item-icon svg {
  width: 22px;
  height: 22px;
}

.contact__item h4 {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact__item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact__form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-cream-dark);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius);
  background: var(--color-cream);
  color: var(--color-text);
  transition: all var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--gold-12);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__map-wrap {
  margin-top: 3rem;
}

.contact__map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact__map-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact__map-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  transition: color var(--transition);
}

.contact__map-link:hover {
  color: var(--color-gold);
}

.contact__map {
  height: 420px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-cream-dark);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  color: var(--color-text-on-dark-muted);
  padding: 3rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gold-18);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--color-gold-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-gold-pale);
}

.footer__contact p {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-on-dark-muted);
  opacity: 0.75;
}

/* ===== Floating Contact Button ===== */
.floating-contact {
  position: fixed;
  bottom: 1.5rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(145deg, var(--color-gold-light) 0%, var(--color-gold) 45%, var(--color-gold-dark) 100%);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--color-gold-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.5rem);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, box-shadow 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.floating-contact.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-contact:hover {
  box-shadow: 0 8px 28px rgba(184, 148, 46, 0.45);
  transform: translateY(-2px);
}

.floating-contact.visible:hover {
  transform: translateY(-2px);
}

.floating-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

body[dir="rtl"] .floating-contact {
  right: 1.5rem;
}

body[dir="ltr"] .floating-contact {
  left: 1.5rem;
}

@keyframes contact-bar-pulse {
  0%, 100% {
    box-shadow: 0 -4px 28px rgba(232, 168, 20, 0.55);
  }
  50% {
    box-shadow: 0 -4px 36px rgba(255, 200, 50, 0.75);
  }
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

body[dir="rtl"] .whatsapp-btn {
  left: 1.5rem;
}

body[dir="ltr"] .whatsapp-btn {
  right: 1.5rem;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__seals {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .testimonials__grid,
  .trust__metrics,
  .trust__pillars,
  .trust__grid,
  .trust__seals {
    grid-template-columns: 1fr;
  }

  .trust-card--featured {
    transform: none;
    order: -1;
  }

  .trust-card--featured:hover {
    transform: translateY(-4px);
  }

  .testimonials__stat,
  .trust__metric {
    border-inline-end: none;
    border-bottom: 1px solid var(--color-cream-dark);
    padding-bottom: 1.5rem;
    width: 100%;
  }

  .testimonials__stat:last-child,
  .trust__metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gold-18);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    text-align: center;
  }

  .nav__actions .btn--sm {
    display: none;
  }

  .lang-switcher__btn {
    min-width: 32px;
    height: 28px;
    font-size: 0.7rem;
  }

  .hero__content {
    padding: 3rem 1.5rem;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Mobile contact bar */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    border-radius: 0;
    border: none;
    border-top: 3px solid #ffe082;
    background: linear-gradient(180deg, #f5c842 0%, #e8a814 50%, #d4920a 100%);
    color: var(--color-navy-deep);
    transform: translateY(100%);
    box-shadow: 0 -4px 28px rgba(232, 168, 20, 0.55);
    z-index: 1001;
  }

  body[dir="rtl"] .floating-contact,
  body[dir="ltr"] .floating-contact {
    left: 0;
    right: 0;
  }

  .floating-contact.visible {
    transform: translateY(0);
    animation: contact-bar-pulse 2.5s ease-in-out infinite;
  }

  .floating-contact.visible:hover {
    transform: translateY(0);
  }

  .floating-contact span {
    display: inline;
  }

  .floating-contact svg {
    width: 22px;
    height: 22px;
  }

  .whatsapp-btn {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
  }

  .about__panel {
    padding: 1.5rem;
  }

  .about__text-frame {
    padding: 1rem 1.125rem;
  }

  .contact__map {
    height: 300px;
  }

  .contact__map iframe {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  body[dir="rtl"] .about__experience,
  body[dir="ltr"] .about__experience {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -1.5rem;
  }
}
