:root {
  --bg: #ffffff;
  --bg-soft: #faf6ee;
  --bg-alt: #f3ece0;
  --text: #1a1612;
  --text-muted: #5c5348;
  --primary: #c9a227;
  --primary-dark: #8b6914;
  --primary-light: #e4c878;
  --accent: #d4af37;
  --accent-light: #f0d78c;
  --footer-bg: #0a0a0a;
  --footer-accent: #d4af37;
  --gold-rgb: 201, 162, 39;
  --blob-blue-rgb: 186, 206, 235;
  --blob-lavender-rgb: 210, 198, 235;
  --border: #e8dcc8;
  --shadow: 0 12px 32px rgba(var(--gold-rgb), 0.14);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1120px;
  --header-height: 160px;
  --whatsapp: #25d366;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="en"] body {
  font-family: "Inter", "Cairo", sans-serif;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

main {
  position: relative;
  background: linear-gradient(180deg, #fdfcfa 0%, #f8f6f2 50%, #fdfcfa 100%);
}

/* خلفية زخرفية ناعمة — نمط blob مثل المرجع */
main > section:not(.hero):not(.cta-section):not(.values-section) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

main > section:not(.hero):not(.cta-section):not(.values-section)::before,
main > section:not(.hero):not(.cta-section):not(.values-section)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}

main > section:not(.hero):not(.cta-section)::before {
  width: clamp(300px, 62vw, 680px);
  height: clamp(260px, 54vw, 560px);
  border-radius: 45% 55% 58% 42% / 48% 42% 58% 52%;
  background: radial-gradient(
    ellipse at 35% 38%,
    rgba(var(--blob-blue-rgb), 0.5) 0%,
    rgba(var(--blob-lavender-rgb), 0.22) 42%,
    transparent 72%
  );
  inset-inline-start: -10%;
  top: 6%;
}

main > section:not(.hero):not(.cta-section)::after {
  width: clamp(220px, 38vw, 420px);
  height: clamp(200px, 34vw, 380px);
  border-radius: 58% 42% 45% 55% / 52% 58% 42% 48%;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(var(--gold-rgb), 0.16) 0%,
    rgba(var(--gold-rgb), 0.05) 48%,
    transparent 70%
  );
  inset-inline-end: 4%;
  bottom: 10%;
  filter: blur(18px);
}

main > section:nth-of-type(even):not(.hero):not(.cta-section):not(.values-section)::before {
  inset-inline-start: auto;
  inset-inline-end: -8%;
  top: 14%;
  border-radius: 55% 45% 42% 58% / 42% 55% 45% 58%;
  background: radial-gradient(
    ellipse at 65% 40%,
    rgba(var(--blob-lavender-rgb), 0.38) 0%,
    rgba(var(--blob-blue-rgb), 0.14) 45%,
    transparent 72%
  );
}

main > section:nth-of-type(even):not(.hero):not(.cta-section):not(.values-section)::after {
  inset-inline-end: auto;
  inset-inline-start: 8%;
  bottom: 12%;
  background: radial-gradient(
    circle at 40% 50%,
    rgba(var(--blob-blue-rgb), 0.2) 0%,
    transparent 68%
  );
}

main > section:not(.hero) > .container,
main > section:not(.hero) .about-split__layout,
main > section:not(.hero) .why-layout {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--primary-dark);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  color: #1a1208;
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--primary) 100%);
  color: #0d0904;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  background: #f8f8f8;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled .nav-links a {
  color: var(--text);
}

.site-header.scrolled .nav-links a:hover {
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--primary-dark);
}

.site-header.scrolled .lang-toggle {
  background: rgba(var(--gold-rgb), 0.1);
  border-color: rgba(var(--gold-rgb), 0.35);
  color: var(--primary-dark);
}

.site-header.scrolled .lang-toggle:hover {
  background: rgba(var(--gold-rgb), 0.18);
}

.site-header.scrolled .nav-toggle span {
  background: var(--text);
}

.site-header.scrolled .brand-logo {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.12));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.brand-logo {
  display: block;
  height: 140px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}

.brand-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background-color: #0a0a0a;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: clamp(4.5rem, 9vw, 6.5rem);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.12) 42%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  max-width: 820px;
  width: 100%;
  margin-inline: auto;
  padding: 2rem 0 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-float-cards {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1.1rem);
  transform: translateY(50%);
}

.hero-float-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.75rem, 1.5vw, 1rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(var(--gold-rgb), 0.12);
  color: var(--text);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: hero-card-float 5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.hero-float-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.22),
    0 8px 20px rgba(var(--gold-rgb), 0.2);
}

.hero-float-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.14) 0%, rgba(var(--gold-rgb), 0.06) 100%);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-float-card__icon svg {
  width: 24px;
  height: 24px;
}

.hero-float-card__title {
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary-dark);
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-content h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
}

.hero-description {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 680px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 6;
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(6.5rem, 13vw, 9rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: scroll-hint-bounce 2.2s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: #fff;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
  position: relative;
}

.scroll-line::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.9);
}

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* About Split — Hadrian style */
.about-split {
  padding: clamp(4rem, 10vw, 6rem) 0 0;
  background: transparent;
}

.about-split__inner {
  display: grid;
  gap: 0;
  align-items: stretch;
  min-height: 520px;
}

.about-split__visual {
  position: relative;
  min-height: 360px;
}

.about-split__visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-split__dots {
  position: absolute;
  inset-inline-start: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 120px;
  background-image: radial-gradient(circle, var(--primary-light) 2px, transparent 2px);
  background-size: 8px 14px;
  opacity: 0.5;
}

.about-split__panel {
  background: linear-gradient(145deg, #0a0a0a 0%, var(--primary-dark) 45%, #1a1408 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split__panel h2 {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
}

.about-split__lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.95);
}

.about-split__text {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

/* Vision */
.vision-section {
  background: transparent;
  position: relative;
}

.vision-grid {
  display: grid;
  gap: 1.5rem;
}

.vision-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  transition-delay: calc(var(--card-index, 0) * 0.14s);
}

.vision-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vision-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px rgba(var(--gold-rgb), 0.2);
  border-color: rgba(var(--gold-rgb), 0.4);
}

.vision-card.is-visible:hover {
  transform: translateY(-8px) scale(1.02);
}

.vision-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}

.vision-card:hover .vision-card__icon {
  transform: scale(1.1);
  background: rgba(var(--gold-rgb), 0.2);
}

.vision-card__icon svg {
  width: 26px;
  height: 26px;
}

.vision-card h3 {
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.vision-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: start;
}

/* Services */
.services-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  transition-delay: calc(var(--card-index, 0) * 0.14s);
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-card:hover {
  box-shadow: 0 22px 48px rgba(var(--gold-rgb), 0.2);
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(var(--gold-rgb), 0.4);
}

.service-card.is-visible:hover {
  transform: translateY(-8px) scale(1.02);
}

.service-card__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.service-card:hover .service-card__logo {
  transform: scale(1.1) rotate(-3deg);
  color: var(--accent);
}

.service-card__logo svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: start;
}

/* Values */
.values-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.values-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.values-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.values-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(253, 252, 250, 0.9) 0%,
    rgba(248, 246, 242, 0.78) 45%,
    rgba(253, 252, 250, 0.92) 100%
  );
}

.values-section__content {
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.value-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  opacity: 0;
  transform: translateY(48px) scale(0.95);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  transition-delay: calc(var(--card-index, 0) * 0.15s);
  box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.08);
  backdrop-filter: blur(6px);
}

.value-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.value-card:hover {
  box-shadow: 0 24px 52px rgba(var(--gold-rgb), 0.24);
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(var(--gold-rgb), 0.5);
  background: rgba(255, 255, 255, 0.99);
}

.value-card.is-visible:hover {
  transform: translateY(-10px) scale(1.03);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--value-accent, var(--primary));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.value-card.is-visible .value-icon {
  animation: card-icon-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--card-index, 0) * 0.15s + 0.25s) both;
}

.value-card:hover .value-icon {
  transform: scale(1.15) rotate(-5deg);
}

@keyframes card-icon-pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  65% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
  font-size: 1rem;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Why — Warranty style */
.why-section {
  background: transparent;
}

.why-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.why-layout__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-layout__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.why-layout__logo-badge {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.why-layout__logo-badge img {
  height: 88px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.why-layout__content h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--primary-dark);
}

.why-layout__subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.why-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
}

.why-checklist li:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #0a0a0a 0%, var(--primary-dark) 40%, var(--primary) 100%);
  padding: 4rem 0;
  border-block: 2px solid var(--accent);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-content {
  flex: 1;
  min-width: 260px;
  color: #fff;
}

.cta-content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  line-height: 1.85;
}

.cta-btn {
  flex-shrink: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form-card,
.contact-info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form-card h3,
.contact-info-card h3 {
  margin: 0 0 1.5rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.contact-company-name {
  margin: -0.75rem 0 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #d64545;
}

.form-error {
  display: block;
  margin-top: 0.35rem;
  color: #d64545;
  font-size: 0.82rem;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-info-list a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-info-list a:hover {
  color: var(--accent);
}

.contact-info-list a.is-pending {
  color: var(--text-muted);
  font-weight: 500;
  cursor: default;
  pointer-events: none;
}

[data-company="phone-link"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--accent-light);
  overflow: hidden;
  min-height: clamp(400px, 44vw, 540px);
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  filter: brightness(1.08) saturate(1.12) contrast(1.04);
  transform: scale(1.03);
  transform-origin: center center;
}

.footer-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.05) 0%,
      rgba(10, 10, 10, 0.18) 42%,
      rgba(10, 10, 10, 0.52) 100%
    ),
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.28) 0%,
      rgba(10, 10, 10, 0.08) 35%,
      rgba(10, 10, 10, 0.08) 65%,
      rgba(10, 10, 10, 0.22) 100%
    );
}

.footer-grid,
.footer-bottom {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.55);
}

.footer-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

.footer-logo {
  height: 110px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--primary-light);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--accent-light);
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-company-name {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--primary-light);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}

.footer-links a::before {
  content: "›";
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact a,
.footer-contact span {
  color: var(--primary-light);
  font-size: 0.92rem;
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-text {
  flex: 1;
  text-align: center;
  color: #1a1208;
  font-size: 0.88rem;
  text-shadow: none;
}

.footer-bottom-text strong {
  color: #0d0904;
}

.footer-bottom-text p {
  margin: 0.15rem 0;
}

.footer-back-top {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: rgba(255, 255, 255, 0.2);
}

.footer-back-top:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Floating widgets */
.float-widgets {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-tooltip {
  background: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.whatsapp-tooltip strong {
  color: var(--primary-dark);
}

.whatsapp-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(var(--gold-rgb), 0.35);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-light);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* Responsive */
@media (min-width: 600px) {
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 821px) {
  .nav-toggle {
    display: none;
  }

  .about-split__inner {
    grid-template-columns: 1fr 1fr;
  }

  html[dir="rtl"] .about-split__inner {
    grid-template-columns: 1fr 1fr;
  }

  .why-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 130px;
  }

  .hero {
    padding-bottom: clamp(7rem, 24vw, 10rem);
  }

  .hero-float-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: translateY(42%);
    gap: 0.65rem;
  }

  .hero-float-card {
    padding: 0.85rem 0.65rem;
    gap: 0.5rem;
  }

  .hero-float-card__icon {
    width: 40px;
    height: 40px;
  }

  .hero-float-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .scroll-indicator {
    display: none;
  }

  .brand-logo {
    height: 108px;
    max-width: 240px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    inset-inline: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  .site-header.scrolled .nav-links a,
  .site-header.scrolled .nav-links .lang-toggle {
    color: var(--text);
  }

  .nav-links a,
  .nav-links .lang-toggle {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .service-card,
  .value-card,
  .vision-card {
    opacity: 1;
    transform: none;
  }

  .value-card.is-visible .value-icon {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
    transform: translateX(-50%);
  }

  .hero-float-card {
    animation: none;
  }
}
