/* homepage-institutions.css — Arch-card design */

/* ── Parchment background & ambient layers ─────────────────────────────── */
.hp-institutions {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #FDFBF3 0%, #FBF7EC 42%, #F3EBD6 78%, #EDE3C8 100%);
  padding: 96px 0 60px;
  overflow: hidden;
  font-family: 'Jost', sans-serif;
  color: #241C0E;
  isolation: isolate;
}

.hp-inst-starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  background-image: radial-gradient(circle, rgba(139,111,26,0.28) 1px, transparent 1.4px);
  background-size: 46px 46px;
  animation: hp-inst-drift 90s linear infinite;
  pointer-events: none;
}
@keyframes hp-inst-drift {
  from { background-position: 0 0; }
  to { background-position: 460px 460px; }
}

.hp-inst-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  top: -420px;
  right: -300px;
  background: radial-gradient(circle, rgba(169,130,27,0.14) 0%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hp-inst-kalima {
  position: absolute;
  font-family: 'Amiri', serif;
  font-size: 220px;
  line-height: 1;
  color: rgba(11,61,46,0.06);
  right: -0.5vw;
  top: -22px;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  direction: rtl;
}

.hp-institutions > .container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.hp-inst-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(139,111,26,0.22);
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .hp-inst-header { grid-template-columns: 1fr; }
}

.hp-inst-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  opacity: 0;
  animation: hp-inst-rise 0.8s ease-out 0.15s forwards;
}
.hp-inst-star-mark { width: 22px; height: 22px; flex-shrink: 0; }
.hp-inst-star-mark path { fill: #17693b; }
.hp-inst-eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #17693b;
  font-weight: 500;
}
.hp-inst-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #8A6E1E, transparent);
  max-width: 120px;
}

.hp-inst-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
  color: #241C0E;
  margin: 0 0 22px;
  opacity: 0;
  animation: hp-inst-rise 0.9s ease-out 0.3s forwards;
}
.hp-inst-headline em {
  font-style: italic;
  font-weight: 500;
  color: #17693b;
}

.hp-inst-sub {
  font-size: 17px;
  line-height: 1.75;
  color: #6B5F45;
  max-width: 46ch;
  font-weight: 300;
  opacity: 0;
  animation: hp-inst-rise 0.9s ease-out 0.45s forwards;
}

@keyframes hp-inst-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Rosette stat block ────────────────────────────────────────────────── */
.hp-inst-rosette-wrap {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  animation: hp-inst-rise 1s ease-out 0.55s forwards;
}
.hp-inst-rosette {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.5/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-inst-rosette-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hp-inst-rosette-svg .hp-inst-draw {
  fill: none;
  stroke: #17693b;
  stroke-width: 1;
  opacity: 0.55;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: hp-inst-draw 2.6s ease-out 0.4s forwards;
}
@keyframes hp-inst-draw { to { stroke-dashoffset: 0; } }

.hp-inst-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
  padding: 30px 26px;
}
.hp-inst-stat {
  text-align: center;
  padding: 6px 4px;
  border-right: 1px solid rgba(139,111,26,0.22);
}
.hp-inst-stat:last-child { border-right: none; }
.hp-inst-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 34px;
  color: #17693b;
  line-height: 1.1;
  display: block;
}
.hp-inst-stat-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B5F45;
  margin-top: 6px;
  display: block;
  font-weight: 400;
}

.hp-inst-cta-row {
  grid-column: 1 / -1;
  margin-top: 4px;
  opacity: 0;
  animation: hp-inst-rise 0.9s ease-out 0.6s forwards;
}
.hp-inst-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid #12503C;
  color: #0B3D2E;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(.2,.7,.3,1);
  position: relative;
  overflow: hidden;
}
.hp-inst-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #17693b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
  z-index: -1;
}
.hp-inst-cta:hover { color: #241C0E; border-color: #17693b; }
.hp-inst-cta:hover::before { transform: scaleX(1); }
.hp-inst-cta svg { width: 15px; height: 15px; transition: transform 0.4s ease; }
.hp-inst-cta:hover svg { transform: translateX(5px); }

/* ── Infinite Marquee ──────────────────────────────────────────────────── */
.hp-inst-marquee {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: grab;
  user-select: none;
}
.hp-inst-marquee.dragging {
  cursor: grabbing;
  user-select: none;
}
.hp-inst-drag-overlay {
  display: none;
}
.hp-inst-marquee.dragging .hp-inst-drag-overlay {
  cursor: grabbing;
}
.hp-inst-marquee::before,
.hp-inst-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}
.hp-inst-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #FBF7EE 0%, transparent 100%);
}
.hp-inst-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #FBF7EE 0%, transparent 100%);
}

.hp-inst-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0;
  align-items: flex-start;
  will-change: transform;
}

.hp-inst-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  animation: hp-inst-card-in 0.8s cubic-bezier(.2,.7,.2,1) forwards;
  transform-style: preserve-3d;
  flex: 0 0 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
@keyframes hp-inst-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hp-inst-card-inner {
  position: relative;
  background: linear-gradient(160deg, #FFFDF6 0%, #FBF7EC 55%, #EDE3C8 100%);
  width: 100%;
  height: 380px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  box-shadow: 0 8px 20px rgba(90,70,20,0.10);
  will-change: transform;
  clip-path: url(#hp-inst-arch-clip);
}

.hp-inst-card-frame {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hp-inst-card-frame svg { width: 100%; height: 100%; display: block; overflow: visible; }

.hp-inst-arch-outline {
  fill: none;
  stroke: #8A6E1E;
  stroke-width: 0.55;
  opacity: 0.8;
  vector-effect: non-scaling-stroke;
}
.hp-inst-filigree {
  fill: none;
  stroke: #12503C;
  stroke-width: 0.4;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  opacity: 0;
  transition: stroke-dashoffset 0.9s ease, opacity 0.3s ease;
  vector-effect: non-scaling-stroke;
}
.hp-inst-card:hover .hp-inst-filigree { stroke-dashoffset: 0; opacity: 0.85; }

.hp-inst-keystone {
  fill: #8A6E1E;
  opacity: 0.75;
  transition: opacity 0.4s ease, fill 0.4s ease;
}
.hp-inst-card:hover .hp-inst-keystone { fill: #17693b; opacity: 1; }

.hp-inst-card-photo {
  position: relative;
  aspect-ratio: 16/10;
  margin: 10px 12px 0;
  overflow: hidden;
  background: linear-gradient(150deg, #12503C 0%, #0B3D2E 100%);
  clip-path: url(#hp-inst-photo-clip);
}
.hp-inst-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  transform: scale(1.06);
}
.hp-inst-card:hover .hp-inst-card-img { transform: scale(1.14); }

.hp-inst-card-photo svg.hp-inst-photo-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  transform: scale(1.06);
}
.hp-inst-card:hover .hp-inst-card-photo .hp-inst-photo-art { transform: scale(1.14); }

.hp-inst-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(4,18,13,0.55) 100%);
}

.hp-inst-card-num {
  position: absolute;
  top: 22%;
  left: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 14px;
  color: #241C0E;
  background: #17693b;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.hp-inst-card-body {
  padding: 10px 16px 12px;
  position: relative;
  z-index: 2;
}
.hp-inst-card-type {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #17693b;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-inst-card-type::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #17693b;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.hp-inst-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 18px; /* Slightly reduced from 19px for compactness */
  color: #241C0E;
  line-height: 1.2;
  margin: 0 0 8px;
}
.hp-inst-card-divider {
  width: 28px;
  height: 1px;
  background: #8A6E1E;
  margin: 8px 0;
  transition: width 0.5s ease;
}
.hp-inst-card:hover .hp-inst-card-divider { width: 60px; background: #17693b; }
.hp-inst-card-meta {
  font-size: 12px; /* Reduced font size */
  line-height: 1.5;
  color: #8C8472;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Less lines for compact look */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-inst-card:focus-visible .hp-inst-card-inner {
  outline: 2px solid #17693b;
  outline-offset: 4px;
}

/* ── Inquiry Form Panel — Muqarnas Doorway ─────────────────────────────── */
.hp-inq {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  position: relative;
  z-index: 4;
  background: #FBF3E3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,77,58,0.15), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(184,134,11,0.2);
  margin-top: 3rem;
}

/* ── Left Panel ────────────────────────────────────────────────────────── */
.hp-inq__left {
  background: #0F4D3A;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 2.5rem;
  min-height: 520px;
}

.hp-inq__muqarnas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
}
.hp-inq__tier {
  opacity: 0;
  transform-origin: center bottom;
}
.hp-inq__tier--1 { animation: hp-inq-tier-rise 0.8s ease-out 0.2s forwards; }
.hp-inq__tier--2 { animation: hp-inq-tier-rise 0.8s ease-out 0.35s forwards; }
.hp-inq__tier--3 { animation: hp-inq-tier-rise 0.8s ease-out 0.5s forwards; }
.hp-inq__tier--4 { animation: hp-inq-tier-rise 0.8s ease-out 0.65s forwards; }

@keyframes hp-inq-tier-rise {
  from { opacity: 0; transform: translateY(20px) scaleY(0.8); }
  to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

.hp-inq__girih-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpolygon points='30,0 60,15 60,37 30,52 0,37 0,15' fill='none' stroke='%23B8860B' stroke-width='0.5' opacity='0.18'/%3E%3Cpolygon points='30,8 52,19 52,33 30,44 8,33 8,19' fill='none' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='30' y1='0' x2='30' y2='8' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='60' y1='15' x2='52' y2='19' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='60' y1='37' x2='52' y2='33' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='30' y1='52' x2='30' y2='44' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='0' y1='37' x2='8' y2='33' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3Cline x1='0' y1='15' x2='8' y2='19' stroke='%23B8860B' stroke-width='0.3' opacity='0.12'/%3E%3C/svg%3E") repeat;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hp-inq__left-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.hp-inq__kalima {
  font-family: 'Gulzar', serif;
  font-size: 18px;
  color: #d4a017;
  text-align: center;
  direction: rtl;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: hp-inq-rise 0.9s ease-out 0.8s forwards;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hp-inq__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: hp-inq-rise 0.9s ease-out 0.9s forwards;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hp-inq__sub {
  font-family: 'Vollkorn', serif;
  font-size: 14px !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  opacity: 0;
  animation: hp-inq-rise 0.9s ease-out 1s forwards;
}

.hp-inq__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-inq__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Vollkorn', serif;
  font-size: 13.5px !important;
  color: rgba(255,255,255,0.92) !important;
  opacity: 0;
}
.hp-inq__points li:nth-child(1) { animation: hp-inq-rise 0.8s ease-out 1.1s forwards; }
.hp-inq__points li:nth-child(2) { animation: hp-inq-rise 0.8s ease-out 1.2s forwards; }
.hp-inq__points li:nth-child(3) { animation: hp-inq-rise 0.8s ease-out 1.3s forwards; }

.hp-inq__point-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  animation: hp-inq-icon-glow 1.2s ease-out 1.4s forwards;
}

@keyframes hp-inq-icon-glow {
  0%   { opacity: 0; filter: drop-shadow(0 0 0 transparent); }
  60%  { opacity: 1; filter: drop-shadow(0 0 6px rgba(184,134,11,0.6)); }
  100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(184,134,11,0.3)); }
}

@keyframes hp-inq-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hp-inq__stat-row {
  display: flex;
  gap: 24px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184,134,11,0.25);
  opacity: 0;
  animation: hp-inq-rise 0.9s ease-out 1.5s forwards;
}
.hp-inq__stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hp-inq__stat-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(184,134,11,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hp-inq__stat-ring::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 0.5px solid rgba(184,134,11,0.2);
}
.hp-inq__stat-ring strong {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #B8860B !important;
  line-height: 1;
}
.hp-inq__stat span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 9.5px !important;
  color: rgba(251,243,227,0.5) !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── Right Panel ───────────────────────────────────────────────────────── */
.hp-inq__right {
  background: #FBF3E3;
  padding: 2.5rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.hp-inq__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='34.64'%3E%3Cpolygon points='20,0 40,10 40,24.64 20,34.64 0,24.64 0,10' fill='none' stroke='%23B8860B' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  opacity: 0.5;
}

.hp-inq__form-header {
  text-align: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: hp-inq-rise 0.8s ease-out 0.3s forwards;
}

.hp-inq__form-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0F4D3A;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
}

.hp-inq__divider {
  width: 140px;
  height: 12px;
  display: block;
  margin: 0 auto;
}

.hp-inq__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Vollkorn', serif;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.hp-inq__alert-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hp-inq__alert--success {
  background: rgba(15,77,58,.06);
  border: 1px solid rgba(15,77,58,.15);
  color: #0F4D3A;
}
.hp-inq__alert--danger {
  background: rgba(184,40,40,.06);
  border: 1px solid rgba(184,40,40,.15);
  color: #8B1A1A;
}

.hp-inq__form {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.hp-inq__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.hp-inq__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  opacity: 0;
}
.hp-inq__field:nth-child(1) { animation: hp-inq-field-in 0.7s ease-out 0.5s forwards; }
.hp-inq__field:nth-child(2) { animation: hp-inq-field-in 0.7s ease-out 0.6s forwards; }
.hp-inq__field:nth-child(3) { animation: hp-inq-field-in 0.7s ease-out 0.7s forwards; }
.hp-inq__field:nth-child(4) { animation: hp-inq-field-in 0.7s ease-out 0.8s forwards; }
.hp-inq__field:nth-child(5) { animation: hp-inq-field-in 0.7s ease-out 0.9s forwards; }
.hp-inq__field:nth-child(6) { animation: hp-inq-field-in 0.7s ease-out 1.0s forwards; }
.hp-inq__field:nth-child(7) { animation: hp-inq-field-in 0.7s ease-out 1.1s forwards; }
.hp-inq__field:nth-child(8) { animation: hp-inq-field-in 0.7s ease-out 1.2s forwards; }

@keyframes hp-inq-field-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hp-inq__field:last-child { margin-bottom: 0; }
.hp-inq__field--full { grid-column: 1 / -1; }
.hp-inq__row .hp-inq__field { margin-bottom: 0; }

.hp-inq__field label {
  font-family: 'Jost', sans-serif;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #0F4D3A !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hp-inq__label-icon {
  width: 14px;
  height: 14px;
  color: #B8860B;
  flex-shrink: 0;
}
.hp-inq__req { color: #B8860B !important; font-weight: 700; }

.hp-inq__select-wrap {
  position: relative;
}
.hp-inq__select-wrap select {
  height: 44px;
  padding: 0 36px 0 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(184,134,11,0.25);
  background: rgba(255,255,255,0.7);
  color: #0F172a !important;
  font-family: 'Vollkorn', serif;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.hp-inq__chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #B8860B;
  pointer-events: none;
}

.hp-inq__field input {
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(184,134,11,0.2);
  background: rgba(255,255,255,0.7);
  color: #0F172a !important;
  font-family: 'Vollkorn', serif;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none;
  width: 100%;
}
.hp-inq__field input::placeholder {
  color: rgba(15,77,58,0.35);
  font-style: italic;
}
.hp-inq__field input:focus,
.hp-inq__field select:focus {
  border-color: #B8860B;
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
  background: #fff;
}

.hp-inq__field .public-otp {
  background: rgba(15,77,58,.04);
  border: 1.5px solid rgba(15,77,58,.12);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0;
}
.hp-inq__field .public-otp__title {
  color: #0F4D3A !important;
  font-size: 12px !important;
}

.hp-inq__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1.5px solid #B8860B;
  background: linear-gradient(135deg, #0F4D3A 0%, #0a3a2a 100%);
  color: #FBF3E3 !important;
  font-family: 'Cinzel', serif;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 18px rgba(15,77,58,0.25);
  text-transform: uppercase;
}
.hp-inq__submit-icon {
  width: 18px;
  height: 18px;
}
.hp-inq__submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #145c47 0%, #0F4D3A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,77,58,0.35);
  border-color: #d4a017;
}
.hp-inq__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hp-inst-starfield,
  .hp-inst-card-inner,
  .hp-inst-card-photo .hp-inst-photo-art,
  .hp-inst-card-img,
  .hp-inst-filigree,
  .hp-inst-headline,
  .hp-inst-sub,
  .hp-inst-eyebrow-row,
  .hp-inst-rosette-wrap,
  .hp-inst-cta-row,
  .hp-inst-card,
  .hp-inq__tier,
  .hp-inq__kalima,
  .hp-inq__heading,
  .hp-inq__sub,
  .hp-inq__points li,
  .hp-inq__point-icon,
  .hp-inq__stat-row,
  .hp-inq__form-header,
  .hp-inq__field {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hp-inst-rosette-svg .hp-inst-draw { stroke-dashoffset: 0; }
  .hp-inst-marquee-track { transition: none !important; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hp-inst-header { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hp-inq {
    grid-template-columns: 1fr;
  }
  .hp-inq__left {
    min-height: auto;
    padding: 2rem 2rem 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .hp-inq__muqarnas { display: none; }
  .hp-inq__left-content {
    padding: 0;
    gap: 0.75rem;
  }
  .hp-inq__kalima { font-size: 15px; }
  .hp-inq__heading { font-size: 1.4rem !important; }
  .hp-inq__sub { font-size: 13px !important; }
  .hp-inq__points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hp-inq__points li { font-size: 12px !important; }
  .hp-inq__stat-row {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(184,134,11,0.2);
  }
  .hp-inq__stat-ring { width: 46px; height: 46px; }
  .hp-inq__stat-ring strong { font-size: 0.95rem !important; }
  .hp-inq__right { padding: 1.75rem 1.5rem; }
}
@media (max-width: 575px) {
  .hp-institutions { padding: 64px 0 40px; }
  .hp-inst-header { gap: 32px; padding-bottom: 40px; margin-bottom: 40px; }
  .hp-inq__left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }
  .hp-inq__points { flex-direction: column; align-items: center; }
  .hp-inq__stat-row { justify-content: center; }
  .hp-inq__right { padding: 1.5rem 1.25rem; }
  .hp-inq__row { grid-template-columns: 1fr; }
  .hp-inst-marquee { overflow-x: hidden; }
  .hp-inst-marquee::before, .hp-inst-marquee::after { width: 36px; }
  .hp-inst-marquee-track { gap: 14px; }
  .hp-inst-card { flex: 0 0 200px; }
  .hp-inst-card-inner { height: 360px; box-shadow: 0 5px 12px rgba(90,70,20,0.07); }
  .hp-inst-card-body { padding: 8px 12px 14px; }
  .hp-inst-card-title { font-size: 15px; }
  .hp-inst-card-meta { font-size: 11px; }
  .hp-inst-card-body { padding: 12px 14px 16px; }
  .hp-inst-card-title { font-size: 16px; }
  .hp-inst-card-meta { font-size: 12px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 900px) {
  .hp-inq { grid-template-columns: 1fr; }
  .hp-inq__left { min-height: auto; }
}
