/* =========================================================
   CONTACT PAGE (Premium, RTL, No frameworks)
   ========================================================= */
.contact-page{ overflow-x: clip; }
@supports not (overflow: clip){ .contact-page{ overflow-x: hidden; } }
.contact-page *, .contact-page *::before, .contact-page *::after{ box-sizing: border-box; }
.contact-page img, .contact-page svg, .contact-page iframe{ max-width: 100%; }

/* HERO */
.contact-hero{
  position: relative;
  padding: clamp(26px, 4vw, 70px) 0;
  overflow: clip;
}
.contact-hero__bg{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.contact-hero__mesh, .contact-hero__grid, .contact-hero__noise{ position:absolute; inset:0; }
.contact-hero__mesh{
  background:
    radial-gradient(900px 520px at 15% 25%, rgba(240,48,48,.16), transparent 60%),
    radial-gradient(900px 520px at 85% 30%, rgba(48,64,96,.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}
.contact-hero__grid{
  opacity: .32;
  background:
    linear-gradient(to right, rgba(15,23,42,.06) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(to bottom, rgba(15,23,42,.06) 1px, transparent 1px) 0 0/44px 44px;
  mask-image: radial-gradient(closest-side at 50% 36%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 36%, #000 0%, transparent 78%);
}
.contact-hero__noise{
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.contact-hero__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(14px, 2.4vw, 28px);
  align-items: start;
  direction: rtl;
}
.kicker{
  margin: 0 0 10px;
  font-weight: 1000;
  color: #304060;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before{
  content:"";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #F03030;
  box-shadow: 0 0 0 7px rgba(240,48,48,.10);
}
.title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.15;
  color: #0f172a;
}
.subtitle{
  margin: 0 0 14px;
  color: rgba(15,23,42,.74);
  font-weight: 750;
  line-height: 1.95;
  max-width: 85ch;
}
.actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.btn__sub{
  display:block;
  font-size: 12px;
  font-weight: 900;
  opacity: .85;
}

.chips{ display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(48,64,96,.05);
  color: #0f172a;
  font-weight: 1000;
  font-size: 13px;
}

/* NAP card */
.nap-card{
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 54px rgba(15,23,42,.10);
  padding: 16px;
  direction: rtl;
}
.nap-card__head{
  display:flex; justify-content: space-between; gap:10px; align-items:center;
  margin-bottom: 12px;
}
.nap-card__badge{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(48,64,96,.06);
  border: 1px solid rgba(15,23,42,.10);
  font-weight: 1000;
  color: #304060;
  font-size: 12.5px;
}
.nap-card__pill{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(240,48,48,.06);
  border: 1px solid rgba(240,48,48,.18);
  font-weight: 1000;
  color: #0f172a;
  font-size: 12.5px;
}
.nap-item{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
  margin-bottom: 10px;
}
.nap-item__label{ font-weight: 1000; color: rgba(15,23,42,.60); }
.nap-item__value{ font-weight: 1000; color: #0f172a; direction:ltr; }
.nap-card__note{
  margin: 0;
  color: rgba(15,23,42,.68);
  font-weight: 750;
  line-height: 1.85;
  font-size: 13px;
}

/* Main layout */
.contact-main{ padding: clamp(28px, 4vw, 80px) 0; }
.contact-main__inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(14px, 2.4vw, 28px);
  align-items: start;
}

/* Section head */
.section-head{ direction: rtl; margin-bottom: 14px; }
.section-kicker{
  margin: 0 0 10px;
  font-weight: 1000;
  color: #304060;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.section-kicker::before{
  content:"";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #F03030;
  box-shadow: 0 0 0 7px rgba(240,48,48,.10);
}
.section-title{
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 32px);
  color: #0f172a;
  line-height: 1.2;
}
.section-subtitle{
  margin: 0;
  color: rgba(15,23,42,.72);
  font-weight: 750;
  line-height: 1.9;
  max-width: 85ch;
}

/* Form */
.contact-form{
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 54px rgba(15,23,42,.08);
  padding: 14px;
  direction: rtl;
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{ display:grid; gap: 6px; }
.field--full{ grid-column: 1 / -1; }
.field__label{ font-weight: 1000; font-size: 12.5px; color: rgba(15,23,42,.72); }
.field__input{
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  color: #0f172a;
  padding: 0 12px;
  outline: none;
}
.field__input:focus{
  border-color: rgba(240,48,48,.32);
  box-shadow: 0 0 0 4px rgba(240,48,48,.12);
}
.field__textarea{
  height: auto;
  padding: 12px;
  resize: vertical;
  min-height: 120px;
}

.form-actions{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-note{
  margin: 10px 0 0;
  color: rgba(15,23,42,.62);
  font-weight: 750;
  line-height: 1.8;
  font-size: 12.5px;
}

/* Maps */
.map-switcher{
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 54px rgba(15,23,42,.08);
  padding: 14px;
  direction: rtl;
}
.map-tabs{ display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 12px; }
.map-tab{
  flex: 1 1 220px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(48,64,96,.05);
  padding: 12px;
  cursor: pointer;
  text-align: right;
  display:grid;
  gap: 6px;
  font-weight: 1000;
}
.map-tab__sub{
  font-weight: 850;
  font-size: 12.5px;
  color: rgba(15,23,42,.62);
}
.map-tab.is-active{
  border-color: rgba(240,48,48,.30);
  box-shadow: 0 0 0 4px rgba(240,48,48,.12);
  background: rgba(240,48,48,.06);
}

.map-shell{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.05);
  aspect-ratio: 16 / 10;
}
.map-shell iframe{
  width: 100%;
  height: 100%;
  display:block;
}

.map-open{
  display:inline-flex;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
  font-weight: 1000;
  color: rgba(15,23,42,.82);
}
.map-open:hover{
  border-color: rgba(240,48,48,.28);
  background: rgba(240,48,48,.06);
}

.map-hint{
  margin-top: 10px;
  color: rgba(15,23,42,.66);
  font-weight: 750;
  line-height: 1.85;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(48,64,96,.04);
  padding: 12px;
}

/* Reveal */
[data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms cubic-bezier(.2,.8,.2,1), transform 260ms cubic-bezier(.2,.8,.2,1);
}
.is-revealed{ opacity:1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px){
  .contact-hero__inner{ grid-template-columns: 1fr; }
  .contact-main__inner{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ transition:none; transform:none; opacity:1; }
}
