/* ============================================================
   KOYN — CONTACT US PAGE
   Fully Responsive — All Devices
   ============================================================ */

:root {
  --navy-950: #14123a;
  --navy-900: #1a1840;
  --navy-800: #221f52;
  --navy-700: #2b2766;
  --ink-900: #12112b;
  --ink-700: #3d3f5c;
  --ink-500: #6b6f8d;
  --gray-600: #6b7280;
  --gray-400: #9aa1b5;
  --gray-200: #e6e8f0;
  --gray-100: #eef0f7;
  --gray-50: #f7f8fc;
  --blue-600: #2f5bed;
  --blue-500: #3d6bff;
  --blue-100: #e8edff;
  --white: #ffffff;
  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(20, 18, 58, .04), 0 8px 24px rgba(20, 18, 58, .06);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: #fbfbfd;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   GLOBAL BUTTONS & UTILITY
   ============================================================ */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border-radius: 12px;
  border: none;
  padding: 17px 51px;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.contact-btn:hover {
  transform: translateY(-1px);
}

.contact-btn-primary {
  background: var(--navy-950);
  color: #fff;
}

.contact-btn-primary:hover {
  background: var(--navy-900);
}

.contact-btn-outline {
  background: var(--gray-100);
  color: var(--gray-400);
}

.contact-btn-outline:hover {
  background: var(--gray-200);
}

.contact-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-eyebrow {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0048FF;
  margin: 0 0 12px;
  display: block;
}

.contact-sub {
  font-size: 24px;
  color: var(--gray-600);
  font-family: var(--font-body);
  font-weight: 400;
}

.contact-required {
  color: #e0475c;
  margin-left: 2px;
}

.contact-error {
  display: none;
  font-size: 12px;
  color: #e0475c;
  margin-top: 4px;
  font-family: var(--font-body);
}

.contact-error.show {
  display: block;
}

/* ============================================================
   CONTACT SECTION — TWO COLUMN LAYOUT
   ============================================================ */
.contact-section {
  padding: 64px 0 96px;
}

.contact-container {
  margin: 0 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  align-items: start;
  width: auto;
  max-width: 1451px;
}

@media (max-width: 1200px) {
  .contact-container {
    margin: 0 40px;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 0 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0 60px;
  }
  .contact-container {
    margin: 0 16px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 30px 0 40px;
  }
  .contact-container {
    margin: 0 12px;
    padding: 0 12px;
    gap: 30px;
  }
}

/* ===== LEFT COLUMN: HEADING ===== */
.contact-heading {
  padding-top: 12px;
  position: sticky;
  top: 100px;
}

@media (max-width: 1024px) {
  .contact-heading {
    position: static;
    padding-top: 0;
  }
}

.contact-heading h1 {
  font-size: 64px;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}

@media (max-width: 1024px) {
  .contact-heading h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .contact-heading h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .contact-heading h1 {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .contact-heading h1 {
    font-size: 24px;
  }
}

.contact-heading p {
  font-size: 24px;
  color: #5E5E5E;
  max-width: 400px;
  font-family: var(--font-body);
}

@media (max-width: 1024px) {
  .contact-heading p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-heading p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact-heading p {
    font-size: 16px;
  }
}

/* ===== RIGHT COLUMN: PANEL ===== */
.contact-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 48px;
  min-height: 560px;
}

@media (max-width: 1024px) {
  .contact-panel {
    padding: 40px 35px;
  }
}

@media (max-width: 768px) {
  .contact-panel {
    padding: 30px 24px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .contact-panel {
    padding: 24px 16px;
  }
}

/* ============================================================
   STATE: FORM
   ============================================================ */
#contact-state-form {
  display: block;
}

#contact-state-form h2 {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  #contact-state-form h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  #contact-state-form h2 {
    font-size: 24px;
  }
}

#contact-state-form .contact-sub {
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  #contact-state-form .contact-sub {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-form-grid {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .contact-field label {
    font-size: 15px;
    margin-bottom: 5px;
  }
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink-900);
  transition: border-color .15s, background .15s;
}

@media (max-width: 480px) {
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--gray-400);
  font-family: var(--font-body);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
  background: #fff;
}

.contact-field input.error,
.contact-field select.error {
  border-color: #e0475c;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-select-wrap {
  position: relative;
}

.contact-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  cursor: pointer;
}

.contact-select-wrap svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  pointer-events: none;
}

.contact-group-label {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  margin: 6px 0 12px;
  display: block;
}

.contact-group-label-small {
  font-size: 16px;
  color: #5E5E5E;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

@media (max-width: 480px) {
  .contact-group-label {
    font-size: 14px;
    margin: 4px 0 8px;
  }
  .contact-group-label-small {
    font-size: 14px;
  }
}

.contact-chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .contact-chip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .contact-chip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
}

@media (max-width: 380px) {
  .contact-chip-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

@media (max-width: 480px) {
  .contact-chip {
    padding: 10px 12px;
    font-size: 14px;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .contact-chip {
    padding: 8px 10px;
    font-size: 13px;
  }
}

.contact-chip:hover {
  border-color: var(--blue-500);
}

.contact-chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 480px) {
  .contact-chip input {
    width: 14px;
    height: 14px;
  }
}

.contact-chip.checked {
  background: var(--blue-100);
  border-color: var(--blue-500);
  color: var(--ink-900);
  font-weight: 600;
}

.contact-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .contact-field textarea {
    min-height: 80px;
  }
}

.contact-form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .contact-form-footer {
    justify-content: stretch;
  }
  .contact-form-footer .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   COUNTRY SELECT — WITH FLAGS & SEARCH
   ============================================================ */

.country-select-wrap {
  position: relative;
  width: 100%;
}

.country-select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-height: 50px;
}

@media (max-width: 480px) {
  .country-select-trigger {
    padding: 10px 12px;
    min-height: 44px;
    gap: 8px;
  }
}

.country-select-trigger:hover {
  border-color: var(--blue-500);
}

.country-select-trigger.active {
  border-color: var(--blue-500);
  background: #fff;
}

.country-select-trigger .country-flag-display {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .country-select-trigger .country-flag-display {
    font-size: 20px;
  }
}

.country-select-trigger .country-name-display {
  flex: 1;
  color: var(--ink-900);
  font-size: 16px;
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .country-select-trigger .country-name-display {
    font-size: 14px;
  }
}

.country-select-trigger svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.country-select-trigger.active svg {
  transform: rotate(180deg);
}

/* Country Dropdown */
.country-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 300px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(20, 18, 58, 0.12);
  z-index: 1000;
  overflow: hidden;
  flex-direction: column;
}

.country-dropdown-menu.open {
  display: flex;
}

.country-dropdown-search-wrap {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .country-dropdown-search-wrap {
    padding: 8px 10px;
  }
}

.country-dropdown-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
  background: var(--gray-50);
}

@media (max-width: 480px) {
  .country-dropdown-search {
    padding: 6px 10px;
    font-size: 13px;
  }
}

.country-dropdown-search:focus {
  border-color: var(--blue-500);
  background: #fff;
}

.country-dropdown-items-container {
  overflow-y: auto;
  max-height: 240px;
  padding: 4px 0;
}

.country-dropdown-items-container::-webkit-scrollbar {
  width: 4px;
}

.country-dropdown-items-container::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
}

@media (max-width: 480px) {
  .country-dropdown-item {
    padding: 8px 12px;
    gap: 10px;
  }
}

.country-dropdown-item:hover {
  background: var(--gray-50);
}

.country-dropdown-item.selected {
  background: var(--blue-100);
}

.country-dropdown-item .country-flag {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .country-dropdown-item .country-flag {
    font-size: 18px;
  }
}

.country-dropdown-item .country-name {
  flex: 1;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink-900);
}

@media (max-width: 480px) {
  .country-dropdown-item .country-name {
    font-size: 13px;
  }
}

.country-dropdown-item .country-code {
  font-size: 12px;
  color: var(--gray-400);
  font-family: var(--font-body);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .country-dropdown-item .country-code {
    font-size: 11px;
  }
}

.country-dropdown-no-results {
  padding: 16px;
  text-align: center;
  color: var(--gray-600);
  font-size: 14px;
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .country-dropdown-no-results {
    padding: 12px;
    font-size: 13px;
  }
}

/* ============================================================
   STATE: SUBMITTING — FIXED (Logo doesn't spin)
   ============================================================ */
#contact-state-submitting {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

@media (max-width: 768px) {
  #contact-state-submitting {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  #contact-state-submitting {
    padding-top: 10px;
  }
}

/* Spinner container — ONLY THE BORDER SPINS */
.contact-spinner-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .contact-spinner-wrap {
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .contact-spinner-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
  }
}

/* The spinning border ring */
.contact-spinner-ring {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 25px solid var(--gray-100);
  border-top-color: var(--navy-950);
  animation: contact-spin 1.1s linear infinite;
  position: absolute;
  inset: 0;
}

@media (max-width: 768px) {
  .contact-spinner-ring {
    width: 160px;
    height: 160px;
    border-width: 20px;
  }
}

@media (max-width: 480px) {
  .contact-spinner-ring {
    width: 130px;
    height: 130px;
    border-width: 16px;
  }
}

/* Logo stays in center — DOES NOT SPIN */
.contact-spinner-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  object-fit: contain;
  z-index: 2;
  animation: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-spinner-logo {
    width: 65px;
    height: 65px;
  }
}

@media (max-width: 480px) {
  .contact-spinner-logo {
    width: 50px;
    height: 50px;
  }
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

#contact-state-submitting h2 {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  #contact-state-submitting h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  #contact-state-submitting h2 {
    font-size: 18px;
  }
}

#contact-state-submitting .contact-sub {
  margin-bottom: 26px;
}

@media (max-width: 768px) {
  #contact-state-submitting .contact-sub {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #contact-state-submitting .contact-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

.contact-info-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: left;
  max-width: 480px;
  width: 100%;
}

@media (max-width: 480px) {
  .contact-info-box {
    padding: 14px 16px;
    gap: 12px;
  }
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

@media (max-width: 480px) {
  .contact-info-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.contact-info-box span {
  font-size: 13.5px;
  color: var(--gray-600);
  font-family: var(--font-body);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .contact-info-box span {
    font-size: 12px;
  }
}

/* ============================================================
   STATE: SUCCESS — Enhanced Animation
   ============================================================ */
#contact-state-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@keyframes successPulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

@keyframes successBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes sparkleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  50% { opacity: 1; transform: translateY(-10px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.8); }
}

.contact-success-icon-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-success-icon-wrap {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .contact-success-icon-wrap {
    width: 130px;
    height: 130px;
  }
}

.contact-success-ring {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--blue-100);
  position: absolute;
  inset: 0;
  animation: successPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .contact-success-ring {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .contact-success-ring {
    width: 130px;
    height: 130px;
  }
}

.contact-success-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: successBounce 0.6s ease-out forwards;
}

@media (max-width: 768px) {
  .contact-success-circle {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .contact-success-circle {
    width: 90px;
    height: 90px;
  }
}

.contact-success-circle i {
  font-size: 56px;
  color: #fff;
}

@media (max-width: 768px) {
  .contact-success-circle i {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .contact-success-circle i {
    font-size: 36px;
  }
}

.contact-spark {
  position: absolute;
  color: var(--blue-500);
  z-index: 3;
  animation: sparkleFloat 1.5s ease-out forwards;
  opacity: 0;
}

.contact-spark:nth-child(3) { animation-delay: 0.2s; }
.contact-spark:nth-child(4) { animation-delay: 0.4s; }
.contact-spark:nth-child(5) { animation-delay: 0.6s; }

.contact-spark-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  z-index: 3;
  animation: sparkleFloat 1.2s ease-out forwards;
  opacity: 0;
}

.contact-spark-dot:nth-child(6) { animation-delay: 0.3s; }
.contact-spark-dot:nth-child(7) { animation-delay: 0.5s; }

#contact-state-success h2 {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  #contact-state-success h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  #contact-state-success h2 {
    font-size: 22px;
  }
}

#contact-state-success .contact-sub {
  margin-bottom: 26px;
}

@media (max-width: 768px) {
  #contact-state-success .contact-sub {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #contact-state-success .contact-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

.contact-email-strong {
  font-weight: 700;
  color: var(--ink-900);
  font-family: var(--font-body);
}

.contact-next-steps {
  width: 100%;
  text-align: left;
  margin-top: 30px;
}

@media (max-width: 480px) {
  .contact-next-steps {
    margin-top: 20px;
  }
}

.contact-next-steps h3 {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 16px;
}

.contact-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .contact-step-item {
    gap: 10px;
    margin-bottom: 12px;
  }
}

.contact-step-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .contact-step-check {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

.contact-step-item b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 2px;
}

@media (max-width: 480px) {
  .contact-step-item b {
    font-size: 13px;
  }
}

.contact-step-item span {
  font-size: 13px;
  color: var(--gray-600);
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .contact-step-item span {
    font-size: 12px;
  }
}

.contact-success-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 30px;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact-success-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .contact-success-footer {
    margin-top: 20px;
  }
  .contact-success-footer .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL SCREENS
   ============================================================ */

/* Landscape Phones (max-height: 600px) */
@media (max-height: 600px) and (orientation: landscape) {
  .contact-section {
    padding: 20px 0 30px;
  }
  
  .contact-container {
    gap: 20px;
    margin: 0 20px;
  }
  
  .contact-heading h1 {
    font-size: 28px;
  }
  
  .contact-heading p {
    font-size: 16px;
  }
  
  .contact-panel {
    padding: 20px 16px;
    min-height: auto;
  }
  
  #contact-state-form h2 {
    font-size: 22px;
  }
  
  .contact-form-grid {
    gap: 10px;
  }
  
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .contact-chip {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .contact-chip-grid {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .contact-spinner-wrap {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }
  
  .contact-spinner-ring {
    width: 120px;
    height: 120px;
    border-width: 14px;
  }
  
  .contact-spinner-logo {
    width: 45px;
    height: 45px;
  }
  
  #contact-state-submitting h2 {
    font-size: 18px;
  }
  
  #contact-state-submitting .contact-sub {
    font-size: 15px;
    margin-bottom: 14px;
  }
  
  .contact-info-box {
    padding: 12px 14px;
    gap: 10px;
  }
  
  .contact-info-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .contact-info-box span {
    font-size: 11px;
  }
}

/* Very Small Screens (320px - 380px) */
@media (max-width: 380px) {
  .contact-heading h1 {
    font-size: 22px;
  }
  
  .contact-heading p {
    font-size: 14px;
  }
  
  .contact-panel {
    padding: 16px 12px;
  }
  
  #contact-state-form h2 {
    font-size: 20px;
  }
  
  .contact-field label {
    font-size: 13px;
  }
  
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .contact-chip {
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .contact-chip input {
    width: 12px;
    height: 12px;
  }
  
  .contact-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .country-select-trigger {
    padding: 8px 10px;
    min-height: 38px;
  }
  
  .country-select-trigger .country-flag-display {
    font-size: 18px;
  }
  
  .country-select-trigger .country-name-display {
    font-size: 13px;
  }
  
  .country-dropdown-item {
    padding: 6px 10px;
  }
  
  .country-dropdown-item .country-flag {
    font-size: 16px;
  }
  
  .country-dropdown-item .country-name {
    font-size: 12px;
  }
}

/* TVs & Large Screens (1920px+) */
@media (min-width: 1920px) {
  .contact-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .contact-heading h1 {
    font-size: 80px;
  }
  
  .contact-heading p {
    font-size: 28px;
  }
  
  .contact-panel {
    padding: 60px 56px;
  }
  
  #contact-state-form h2 {
    font-size: 42px;
  }
  
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 16px 18px;
    font-size: 18px;
  }
}

/* ============================================================
   COUNTRY FLAG IMAGES — CIRCULAR
   ============================================================ */

.country-flag-img {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
}

.country-flag-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}

/* Trigger flag — Circular */
.country-select-trigger .country-flag-img {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
}

.country-select-trigger .country-flag-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}

/* Dropdown flag — Circular */
.country-dropdown-item .country-flag-img {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
}

.country-dropdown-item .country-flag-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* ← Circular */
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}

/* Hover effect */
.country-dropdown-item:hover .country-flag-img {
  border-color: var(--blue-500);
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.country-select-trigger:hover .country-flag-img {
  border-color: var(--blue-500);
}

/* Responsive */
@media (max-width: 768px) {
  .country-flag-img {
    width: 28px;
    height: 28px;
  }
  
  .country-flag-fallback {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .country-select-trigger .country-flag-img {
    width: 28px;
    height: 28px;
  }
  
  .country-dropdown-item .country-flag-img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .country-flag-img {
    width: 24px;
    height: 24px;
  }
  
  .country-flag-fallback {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .country-select-trigger .country-flag-img {
    width: 24px;
    height: 24px;
  }
  
  .country-dropdown-item .country-flag-img {
    width: 24px;
    height: 24px;
  }
}