/* ========================================
   AL ARABIA EXCHANGE — Landing Page
   ======================================== */

:root {
  --blue-900: #001a4d;
  --blue-800: #002e7a;
  --blue-700: #003a9e;
  --blue-600: #0045ad;
  --blue-500: #1a5fc4;
  --gold-400: #f0c94a;
  --gold-500: #d4af37;
  --gold-600: #b8942a;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --ink: #0c1a33;
  --ink-soft: #3a4a66;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: rgba(0, 69, 173, 0.12);
  --shadow: 0 20px 50px rgba(0, 30, 90, 0.12);
  --radius: 18px;
  --header-h: 76px;
  --font-ar: "Cairo", sans-serif;
  --font-en: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Ambient background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 69, 173, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(212, 175, 55, 0.1), transparent 45%),
    linear-gradient(180deg, #eef3fb 0%, var(--paper) 40%, #e8eef8 100%);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 30, 90, 0.06);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold-500), 0 4px 14px rgba(0, 46, 122, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue-700);
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-600));
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue-700);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-toggle {
  appearance: none;
  border: 1.5px solid var(--blue-600);
  background: transparent;
  color: var(--blue-700);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.lang-toggle:hover {
  background: var(--blue-600);
  color: white;
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--blue-700);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 45%, var(--gold-600));
  color: var(--blue-900);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-gold:hover {
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-600);
}

.btn-outline:hover {
  background: var(--blue-600);
  color: white;
}

.btn-block {
  width: 100%;
  margin-top: 0.75rem;
  color: var(--blue-700);
  border-color: var(--line);
}

.btn-block:hover {
  border-color: var(--blue-600);
  background: rgba(0, 69, 173, 0.05);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, var(--blue-900) 0%, var(--blue-800) 40%, var(--blue-600) 100%);
  color: white;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(212, 175, 55, 0.22), transparent 42%),
    radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.08), transparent 35%),
    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='%23ffffff' fill-opacity='0.03'%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");
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.85; }
  to { opacity: 1; transform: scale(1.03); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-brand {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--gold-400), #fff8dc, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-title {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.12s var(--ease) both;
}

.hero-lead {
  font-size: 1.08rem;
  opacity: 0.88;
  max-width: 36ch;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.22s var(--ease) both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.8s 0.32s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1s 0.2s var(--ease) both;
}

.logo-ring {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-ring-spin {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      var(--gold-500) 40deg,
      transparent 80deg,
      transparent 180deg,
      var(--gold-400) 220deg,
      transparent 260deg
    );
  animation: spinRing 10s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.hero-logo {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.15),
    0 0 0 8px rgba(212, 175, 55, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.35);
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: var(--paper);
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 56px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 0.65rem;
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ========== SERVICES ========== */
.services {
  background: var(--white);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.06), transparent);
  pointer-events: none;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
}

.service-item {
  padding: 1.75rem 0.25rem;
  text-align: center;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.service-item:hover {
  border-top-color: var(--gold-500);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  color: var(--blue-600);
  transition: color 0.3s, transform 0.3s;
}

.service-item:hover .service-icon {
  color: var(--gold-600);
  transform: scale(1.08);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ========== WHY ========== */
.why {
  background: linear-gradient(180deg, var(--paper) 0%, #eef3fb 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 1.75rem 1.25rem;
  border-top: 3px solid var(--gold-500);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 30, 90, 0.06);
  border-radius: 0 0 14px 14px;
  transition: transform 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-num {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ========== PROCESS ========== */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
  list-style: none;
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.process-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-weight: 800;
  color: var(--blue-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 8px 20px var(--gold-glow);
}

.process-step h3 {
  font-size: 1.15rem;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 28ch;
  margin-inline: auto;
}

/* ========== CURRENCIES ========== */
.currencies {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: white;
}

.currencies .section-head h2 {
  color: white;
}

.currencies .section-head h2::after {
  background: linear-gradient(90deg, var(--gold-400), white);
}

.currencies .section-head p {
  color: rgba(255, 255, 255, 0.8);
}

.curr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.curr-item {
  text-align: center;
  padding: 1.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.curr-item:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
}

.curr-code {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.curr-item strong {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.curr-note {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ========== FAQ ========== */
.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item[open] {
  border-color: rgba(0, 69, 173, 0.25);
  box-shadow: 0 10px 28px rgba(0, 30, 90, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--blue-800);
  padding: 1.15rem 0;
  position: relative;
  padding-inline-end: 1.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--gold-600);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding-bottom: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
  background:
    linear-gradient(160deg, #eef3fb 0%, var(--white) 50%, #f5f0e0 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-frame {
  position: relative;
  width: min(320px, 100%);
  margin-inline: auto;
}

.about-logo {
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.about-accent {
  position: absolute;
  inset: 12% -8% -8% 12%;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  opacity: 0.55;
  z-index: 0;
  animation: accentPulse 4s ease-in-out infinite;
}

@keyframes accentPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.7; }
}

.about-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.about-points {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-points li {
  position: relative;
  padding-inline-start: 1.75rem;
  font-weight: 600;
  color: var(--blue-800);
}

.about-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* ========== TRUST ========== */
.trust {
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700), var(--blue-800));
  color: white;
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  pointer-events: none;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.trust-item {
  text-align: center;
  padding: 0.5rem 1rem;
  min-width: 140px;
}

.trust-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold-400), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-inline-start: 2px;
}

.trust-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  opacity: 0.85;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.form-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--blue-600), var(--gold-500)) 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(0, 69, 173, 0.12);
  background: var(--white);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e05252;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230045ad' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-inline-start: 1rem;
  padding-inline-end: 2.5rem;
}

html[dir="ltr"] .form-group select {
  background-position: right 1rem center;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.btn-submit:disabled,
.btn-submit.is-loading {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  pointer-events: none;
}

.form-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.4em;
  opacity: 0;
  transition: opacity 0.3s;
}

.form-feedback.success,
.form-feedback.error {
  opacity: 1;
}

.form-feedback.success {
  color: #1a7a4c;
}

.form-feedback.error {
  color: #c0392b;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-inline 0.25s;
  border-radius: 8px;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row:not(.static):hover {
  background: rgba(0, 69, 173, 0.04);
  padding-inline: 0.85rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: linear-gradient(145deg, rgba(0, 69, 173, 0.08), rgba(212, 175, 55, 0.12));
  border-radius: 12px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-row strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.contact-row span span,
.contact-row > span:last-child {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-panel {
  background:
    linear-gradient(160deg, var(--blue-800), var(--blue-600));
  color: white;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  inset-inline-end: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
  pointer-events: none;
}

.contact-panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  position: relative;
}

.contact-panel > p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  position: relative;
}

.phone-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
}

.contact-panel .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-panel .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.contact-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 0.88rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  border-top: 3px solid var(--gold-500);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold-500);
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 1rem;
}

.footer-brand span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

html[dir="ltr"] .footer-copy {
  align-items: flex-start;
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-title,
  .hero-lead {
    max-width: none;
    margin-inline: auto;
  }

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

  .hero-title {
    max-width: 22ch;
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .curr-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

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

  .about-points li {
    text-align: start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 30, 90, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .logo-ring {
    width: min(260px, 70vw);
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 1.75rem);
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .curr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item {
    padding: 1.25rem 0.5rem;
    border-top: none;
    border-inline-start: 3px solid transparent;
    text-align: start;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: start;
  }

  .service-item:hover {
    border-inline-start-color: var(--gold-500);
    transform: none;
  }

  .service-icon {
    grid-row: 1 / 3;
    margin: 0;
    width: 44px;
    height: 44px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-copy {
    align-items: center !important;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-form-wrap {
    padding: 1.5rem 1.25rem;
  }
}

/* Reduced motion */
@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;
  }
}
