/* ════════════════════════════════════
       BREADCRUMB BAR
    ════════════════════════════════════ */
.crumb-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  padding: 12px 0;
}

.crumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  flex-wrap: wrap;
}

.crumb-inner a {
  color: var(--color-gray-500);
  transition: color .2s;
}

.crumb-inner a:hover {
  color: var(--color-primary);
}

.crumb-sep {
  width: 14px;
  height: 14px;
  stroke: var(--color-gray-300);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.crumb-current {
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* ════════════════════════════════════
       SECTION WRAPPER
    ════════════════════════════════════ */
.contact-section {
  padding: 50px 0 ;
  position: relative;
  overflow: hidden;
  background: var(--color-off-white);
}

/* dot-grid texture */
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(39, 61, 127, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* subtle blobs */
.c-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.c-blob-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(107, 206, 245, .12) 0%, transparent 70%);
  top: -80px;
  right: -60px;
}

.c-blob-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 183, 5, .1) 0%, transparent 70%);
  bottom: 80px;
  left: 5%;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════
       MAIN CARD (screenshot outer rounded card)
    ════════════════════════════════════ */
.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--color-gray-200);
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  place-items: center;
}

@media (min-width: 900px) {
  .contact-card {
    grid-template-columns: 380px 1fr;
      place-items: center;
  }
}

/* ════════════════════════════════════
       LEFT PANEL (info)
    ════════════════════════════════════ */
.contact-left {
  padding: 44px 36px 44px;
  position: relative;
}

/* ── inverted corner at bottom-right of left panel ── */
.contact-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -22px;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-top-left-radius: 44px;
  pointer-events: none;
  z-index: 5;
  display: none;
}

@media (min-width: 900px) {
  .contact-left::after {
    display: block;
  }
}


.info-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 10px;
}

.info-subtitle {
  font-size: .85rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.info-subtitle a {
  color: var(--color-secondary-dark);
  font-weight: 600;
  transition: color .2s;
}

.info-subtitle a:hover {
  color: var(--color-primary);
}

/* ── contact info items ── */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--color-gray-100);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* inverted bottom-right corner on each info card */
.info-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: var(--color-off-white);
  border-top-left-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

.info-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(39, 61, 127, .13);
  transform: translateX(5px);
  background: var(--color-white);
}

.info-item:hover .info-item-icon {
  transform: scale(1.08) rotate(-5deg);
}

.info-item-icon {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}



.info-item-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 3px;
}

.info-item-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.info-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(39, 61, 127, .25);
}

.info-item-icon i {
  color: var(--color-white);
  font-size: .85rem;
}

/* ── Social Connect card (inverted border) ── */
.social-card {
  background: var(--color-gray-100);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

/* inverted corner top-right */
.social-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  background: var(--color-off-white);
  border-bottom-left-radius: 22px;
  pointer-events: none;
  z-index: 2;
}

/* inverted corner bottom-left */
.social-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  background: var(--color-off-white);
  border-top-right-radius: 22px;
  pointer-events: none;
  z-index: 2;
}

.social-head {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 12px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.social-row .social-btn i {
  transition: transform .3s;
  color: var(--color-primary);
}
.social-row:hover .social-btn i{
  color: var(--color-secondary);
}
.social-row .social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray-200);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  font-size: .82rem;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.social-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(39, 61, 127, .22);
}

/* ════════════════════════════════════
       RIGHT PANEL (form)
    ════════════════════════════════════ */
.contact-right {
  padding: 44px 40px 44px;
  position: relative;
}

/* ── inverted corner at top-left of right panel ── */
.contact-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: -22px;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-bottom-right-radius: 44px;
  pointer-events: none;
  z-index: 5;
  display: none;
}

@media (min-width: 900px) {
  .contact-right::before {
    display: block;
  }
}

/* divider line between panels (visible on desktop only) */
@media (min-width: 900px) {
  .contact-right {
    border-left: 1px solid var(--color-gray-200);
  }
}

/* ════════════════════════════════════
       FORM FIELDS (ff-wrap system)
    ════════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .span-2 {
    grid-column: 1 / -1;
  }
}
input[type="text"], input[type="email"], input[type="url"], input[type="number"], input[type="tel"], input[type="date"], input[type="search"], input[type="password"], input[type="subject"], .form-select {
    height: 50px;
}
/* floating-label wrapper */
.ff-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* floating label */
.ff-label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .84rem;
  font-weight: 500;
  color: var(--color-gray-400);
  pointer-events: none;
  transition: top .22s ease, font-size .22s ease, color .22s ease, transform .22s ease;
  background: transparent;
  padding: 0 4px;
  z-index: 2;
}

/* textarea label starts at top */
.ff-wrap.is-textarea .ff-label {
  top: 18px;
  transform: none;
}

/* focused or filled: float up */
.ff-wrap.ff-focused .ff-label,
.ff-wrap.ff-filled .ff-label {
  top: 0;
  transform: translateY(-50%);
  font-size: .68rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-white);
  letter-spacing: .5px;
}

.ff-wrap.is-textarea.ff-focused .ff-label,
.ff-wrap.is-textarea.ff-filled .ff-label {
  top: 0;
  transform: translateY(-50%);
}

/* field base */
.ff-field {
  width: 100%;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--color-gray-700);
  background: var(--color-white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  height: 50px;
}

.ff-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(39, 61, 127, .1);
}

textarea.ff-field {
  resize: none;
  height: 100px;
  padding-top: 18px;
}

select.ff-field {
  cursor: pointer;
}

/* phone row: code + number */
.phone-row {
  display: flex;
  gap: 10px;
}

.phone-code-wrap {
  flex: 0 0 70px;
}

.phone-num-wrap {
  flex: 1;
}

/* error */
.ff-wrap.ff-error .ff-field {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, .1);
}

.ff-wrap.ff-error .ff-label {
  color: #e53e3e;
}

.ff-err-msg {
  display: block;
  font-size: .68rem;
  color: #e53e3e;
  margin-top: 4px;
  margin-left: 2px;
  font-weight: 600;
}

/* valid */
.ff-wrap.ff-valid .ff-field {
  border-color: #38a169;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, .08);
}

/* ── submit button ── */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: .9rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 18px rgba(242, 183, 5, .35);
  position: relative;
  overflow: hidden;
}

/* sweep fill on hover */
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: translateX(-101%);
  transition: transform .4s cubic-bezier(.77, 0, .18, 1);
  z-index: 0;
}

.btn-submit:hover::before {
  transform: translateX(0);
}

.btn-submit:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(39, 61, 127, .25);
}

.btn-submit span,
.btn-submit i {
  position: relative;
  z-index: 1;
}

.btn-submit i {
  font-size: .8rem;
  transition: transform .3s;
}

.btn-submit:hover i {
  transform: translateX(4px);
}

.btn-submit:active {
  transform: scale(.97);
}

/* ════════════════════════════════════
       MAP + OFFICES (below card)
    ════════════════════════════════════ */
.map-offices-section {
  margin-top: 64px;
  padding-bottom: 80px;
}

.map-offices-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .map-offices-inner {
    /* grid-template-columns: 1fr 320px; */
    align-items: stretch;
  }
}

/* ── map embed ── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--color-gray-200);
  position: relative;
  height: 100%;
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: none;
}

/* map inverted corner top-right */
.map-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--color-off-white);
  border-bottom-left-radius: 30px;
  pointer-events: none;
  z-index: 10;
}

/* ── offices list ── */
.offices-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.office-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}

.office-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.office-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.office-body {
  padding: 16px 18px;
}

.office-city {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.office-country {
  font-size: .72rem;
  font-weight: 500;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.office-address {
  font-size: .8rem;
  color: var(--color-gray-500);
  line-height: 1.5;
  margin-bottom: 10px;
}

.office-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.office-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--color-gray-500);
}

.office-contact-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(39, 61, 127, .08);
  border: 1px solid rgba(39, 61, 127, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-contact-icon i {
  font-size: .6rem;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .contact-left, .contact-right {
    padding: 0;
  }
    .contact-left  {
      padding-bottom: 20px
    }
}
