/* ===== FONTS ===== */
@font-face {
  font-family: Tajawal;
  src: url(Tajawal-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Tajawal;
  src: url(Tajawal-Bold.woff2) format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0a1f33;
  --navy-deep: #061522;
  --navy-mid: #12304a;
  --blue: #1a6b8a;
  --blue-light: #2a8bb0;
  --gold: #c49a4a;
  --gold-soft: #d4b06a;
  --gold-text: #8a6a2e;
  --ink: #0f2433;
  --ink-soft: #1e3a4f;
  --muted: #5a7385;
  --mist: #f5f8fa;
  --mist-2: #eef3f6;
  --line: #d5e0e6;
  --line-soft: #e8eef2;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px -8px rgba(10, 31, 51, 0.12);
  --shadow: 0 20px 48px -24px rgba(10, 31, 51, 0.18);
  --shadow-lg: 0 32px 64px -28px rgba(10, 31, 51, 0.22);
  --shadow-3d: 0 25px 50px -12px rgba(10, 31, 51, 0.25);
  --shell: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16.5px/1.75 Tajawal, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ===== UTILITIES ===== */
.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}
.section { padding-block: 80px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  height: 1.5px;
  width: 24px;
  background: var(--gold);
  border-radius: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 100;
  inset-block-start: 12px;
  inset-inline-start: 20px;
  background: var(--navy);
  color: #fff;
  width: 1px; height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus-visible {
  width: auto; height: auto;
  padding: 12px 20px;
  overflow: visible;
  clip-path: none;
  border-radius: var(--radius-sm);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(10, 31, 51, 0.4);
}
.btn-primary:hover {
  background: var(--navy-mid);
  box-shadow: 0 12px 28px -8px rgba(10, 31, 51, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--mist);
}
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-full { width: 100%; padding: 14px 24px; font-size: 15px; }

/* ===== HEADER — logo centered & wider ===== */
.header {
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px -10px rgba(10, 31, 51, 0.1);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
}
.header-logo {
  width: 64px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s var(--ease);
}
.logo-link:hover .header-logo {
  transform: scale(1.06);
}
.desktop-nav {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  justify-content: flex-start;
  grid-column: 1;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--navy);
  background: var(--mist);
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 3;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  transition: background 0.2s;
}
.menu-toggle:hover { background: var(--mist); }
.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  border: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: var(--navy-deep);
  color: #fff;
}
.mobile-menu::backdrop { background: rgba(6, 21, 34, 0.6); }
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-top img { width: 60px; height: auto; border-radius: 10px; }
.icon-btn {
  width: 42px; height: 42px;
  font-size: 26px;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 2px;
}
.mobile-menu nav a {
  display: block;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.2s;
}
.mobile-menu nav a:hover { background: rgba(255,255,255,0.06); }
.menu-contacts {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.menu-contacts a:not(.btn) {
  font-size: 15px;
  opacity: 0.85;
  padding: 6px 0;
}
.menu-contacts .btn { margin-top: 6px; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 48px 56px;
  overflow: hidden;
  background: linear-gradient(165deg, #f8fbfd 0%, #eef4f8 40%, #e4eef4 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 800px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(26, 107, 138, 0.35), transparent 70%);
  top: -8%;
  inset-inline-end: -5%;
  animation: float 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(196, 154, 74, 0.22), transparent 70%);
  bottom: 0%;
  inset-inline-start: -6%;
  animation: float 22s ease-in-out infinite reverse;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 51, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

/* CSS 3D shapes floating in hero */
.shape-3d {
  position: absolute;
  transform-style: preserve-3d;
  opacity: 0.18;
  pointer-events: none;
}
.shape-cube {
  width: 56px; height: 56px;
  top: 18%;
  inset-inline-start: 12%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(10, 31, 51, 0.15);
  animation: spin3d 14s linear infinite;
}
.shape-box {
  width: 40px; height: 40px;
  bottom: 22%;
  inset-inline-end: 14%;
  background: linear-gradient(145deg, var(--gold) 0%, #a87a30 100%);
  border-radius: 6px;
  box-shadow: 6px 6px 0 rgba(196, 154, 74, 0.2);
  animation: spin3d 18s linear infinite reverse;
}
.shape-ring {
  width: 72px; height: 72px;
  top: 55%;
  inset-inline-start: 8%;
  border: 3px solid var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(26, 107, 138, 0.08);
  animation: float 12s ease-in-out infinite;
}
@keyframes spin3d {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg); }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(16px, -24px) scale(1.04); }
  66% { transform: translate(-12px, 12px) scale(0.97); }
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  z-index: 1;
}
.hero-text {
  order: 2;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-text .eyebrow {
  margin-bottom: 14px;
  justify-content: center;
}
.hero-text .eyebrow::before { display: none; }
.hero-text h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
  margin-inline: auto;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero-visual {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  perspective: 1200px;
}
.logo-3d {
  position: relative;
  margin-inline: auto;
  left: 0;
  right: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: logoFloat 8s ease-in-out infinite;
}
.official-logo {
  width: min(280px, 78vw);
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 28px 56px -18px rgba(10, 31, 51, 0.28),
    0 0 0 1px rgba(255,255,255,0.5);
  position: relative;
  z-index: 2;
  display: block;
  margin-inline: auto;
}
.logo-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(196, 154, 74, 0.28), transparent 65%);
  filter: blur(36px);
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}
.logo-platform {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%) rotateX(70deg);
  width: 70%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(10, 31, 51, 0.18), transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(4px);
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}

/* ===== VISION — compact under hero ===== */
.vision {
  padding-block: 28px 36px;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.purpose-card {
  padding: 22px 26px;
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.purpose-card:hover {
  border-color: rgba(196, 154, 74, 0.3);
  box-shadow: var(--shadow-sm);
}
.mission-card {
  background: linear-gradient(145deg, #f0f5f8 0%, var(--mist) 100%);
}
.purpose-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.purpose-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(196, 154, 74, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}
.purpose-card h2 {
  font-size: 1.15rem;
  color: var(--navy);
}
.purpose-card > p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== SECTION HEADING ===== */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--navy);
  max-width: 460px;
}
.section-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 260px;
  text-align: start;
  line-height: 1.65;
}

/* ===== FIELDS / SERVICE CARDS (3D) ===== */
.fields { background: var(--white); }
.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  perspective: 1400px;
}
.service-card {
  border-radius: var(--radius-lg);
  background: transparent;
}
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}
.card-inner {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), border-color 0.3s, transform 0.4s var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-3d:hover .card-inner {
  box-shadow: var(--shadow-3d);
  border-color: rgba(196, 154, 74, 0.25);
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
}
.service-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card-3d:hover .service-photo img {
  transform: scale(1.06);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 51, 0.12), transparent 50%);
  pointer-events: none;
}
.service-body {
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-text);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.service-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
  min-height: 2.4em;
}
.service-summary {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.service-card details {
  margin-bottom: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.service-card summary {
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  user-select: none;
}
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary .plus {
  font-size: 17px;
  transition: transform 0.3s;
  color: var(--gold);
}
.service-card details[open] summary .plus {
  transform: rotate(45deg);
}
.service-details {
  padding: 10px 0 2px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.service-details p { margin-bottom: 10px; }
.service-details ul {
  margin: 0;
  padding-inline-start: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.service-details li { padding-inline-start: 2px; }
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  padding: 6px 0;
  margin-top: auto;
  transition: color 0.2s, gap 0.2s;
}
.service-cta:hover {
  color: var(--navy);
  gap: 12px;
}

/* ===== WHY US ===== */
.why {
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(180deg, var(--mist-2) 0%, var(--mist) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-copy > p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 380px;
  line-height: 1.75;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-line:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(-3px);
}
.contact-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.04em;
}
.contact-value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}
.contact-line.wa .contact-value { color: #128c7e; }
.quote-form-wrap {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quote-form {
  padding: 32px 28px;
}
.quote-form h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 154, 74, 0.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ===== FOOTER — compact single row ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 28px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 42px;
  height: auto;
  border-radius: 8px;
}
.footer-brand strong {
  display: block;
  font-size: 14.5px;
  color: #fff;
  line-height: 1.3;
}
.footer-brand span {
  font-size: 12px;
  opacity: 0.65;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
}
.footer-meta b {
  color: #fff;
  font-weight: 700;
}
.footer-phones {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-phones a {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.footer-phones a:hover { color: var(--gold-soft); }
.footer-wa { color: #25d366 !important; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 18px;
  text-align: center;
  font-size: 12.5px;
  opacity: 0.5;
}

/* ===== WHATSAPP DOCK ===== */
.whatsapp-dock {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.whatsapp-dock:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.55);
}
.whatsapp-dock svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.noscript {
  padding: 16px;
  text-align: center;
  background: var(--mist);
  font-size: 14px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .shell { width: calc(100% - 40px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 24px; }
  .official-logo { width: min(240px, 72vw); }
  .header-logo { width: 56px; }
}

@media (max-width: 900px) {
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-desc { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .shell { width: calc(100% - 28px); }
  .section { padding-block: 56px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .logo-link { grid-column: 2; justify-content: center; }
  .header-actions { grid-column: 3; }
  .header-logo { width: 48px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }
  .hero {
    min-height: auto;
    padding-block: 32px 40px;
  }
  .hero-text h1 { font-size: 1.85rem; }
  .hero-lead { font-size: 0.95rem; }
  .official-logo { width: min(200px, 70vw); }
  .shape-3d { display: none; }
  .vision { padding-block: 20px 28px; }
  .purpose-card { padding: 18px 18px; }
  .purpose-card h2 { font-size: 1.05rem; }
  .purpose-card > p { font-size: 13.5px; }
  .fields-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-body { padding: 18px 16px 14px; }
  .service-body h3 { font-size: 1.1rem; min-height: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 20px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 18px; }
  .footer-bottom { padding-bottom: 80px; }
  .whatsapp-dock {
    inset-inline-end: 14px;
    bottom: 14px;
    padding: 10px 13px;
    font-size: 12px;
  }
  .whatsapp-dock svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
