
/* =========================================================
   BASE / RESET (scoped where possible)
   ========================================================= */
html, body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #ffffff;
  overflow-x: hidden;
}

.deto-contact,
.deto-contact *,
.deto-contact *::before,
.deto-contact *::after {
  box-sizing: border-box;
}

/* =========================================================
   PAGE ROOT
   ========================================================= */
.deto-contact {
  /* Design tokens */
  --deto-navy: #071A33;
  --deto-navy-2: #0B2342;
  --deto-navy-3: #12335C;
  --deto-accent: #4A90D9;
  --deto-accent-soft: #9CC4EE;
  --deto-ink: #0B2342;
  --deto-muted: #64748B;
  --deto-line: rgba(11, 35, 66, 0.08);
  --deto-radius-xl: 32px;
  --deto-radius-lg: 28px;
  --deto-radius-md: 18px;
  --deto-radius-sm: 14px;

  position: relative;
  display: block;
  width: 100%;
  background: #ffffff;
  color: var(--deto-ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  padding: 40px 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.deto-contact img,
.deto-contact iframe {
  max-width: 100%;
}

.deto-contact h1,
.deto-contact h2,
.deto-contact h3,
.deto-contact p,
.deto-contact ul,
.deto-contact li {
  margin: 0;
  padding: 10px;
}

.deto-contact ul {
  list-style: none;
}

.deto-contact a {
  color: inherit;
  text-decoration: none;
}

.deto-contact-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   CONTAINER
   ========================================================= */
.deto-contact-container {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   1. HERO
   ========================================================= */
.deto-contact-hero {
  position: relative;
  max-width: 800px;
  margin: 0 auto clamp(38px, 5vw, 68px);
  padding: clamp(6px, 1.5vw, 14px) 0;
  text-align: center;
}

.deto-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f8 100%);
  box-shadow:
    5px 5px 12px rgba(11, 35, 66, 0.09),
    -5px -5px 12px #ffffff,
    inset 0 1px 0 #ffffff;
  color: var(--deto-navy-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  animation: deto-rise 0.85s cubic-bezier(0.22, 0.85, 0.3, 1) both;
  animation-delay: 0.05s;
}

.deto-contact-eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(150deg, #2C6BB0, #0B2342);
  box-shadow:
    0 0 0 3px rgba(74, 144, 217, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  animation: deto-pulse 2.6s ease-in-out infinite;
}

.deto-contact-title {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(29px, 4.4vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--deto-navy);
  background: linear-gradient(160deg, #071A33 0%, #16406F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: deto-rise 0.85s cubic-bezier(0.22, 0.85, 0.3, 1) both;
  animation-delay: 0.14s;
}

.deto-contact-subtitle {
  max-width: 620px;
  margin: clamp(14px, 1.8vw, 20px) auto 0;
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.78;
  font-weight: 400;
  color: var(--deto-muted);
  animation: deto-rise 0.85s cubic-bezier(0.22, 0.85, 0.3, 1) both;
  animation-delay: 0.23s;
}

/* Decorative floating 3D shapes */
.deto-contact-hero-shapes {
  position: absolute;
  inset: -20px 0 0 0;
  pointer-events: none;
  z-index: 0;
}

.deto-contact-shape {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #e8eef7 100%);
  box-shadow:
    10px 10px 22px rgba(11, 35, 66, 0.10),
    -9px -9px 20px #ffffff,
    inset 1px 1px 2px #ffffff,
    inset -1px -1px 2px rgba(11, 35, 66, 0.05);
  animation: deto-float 7.5s ease-in-out infinite;
}

.deto-contact-shape--1 {
  width: 54px;
  height: 54px;
  top: 6%;
  left: -6%;
}

.deto-contact-shape--2 {
  width: 34px;
  height: 34px;
  bottom: 12%;
  right: -5%;
  animation-delay: -2.4s;
}

.deto-contact-shape--3 {
  width: 20px;
  height: 20px;
  top: 44%;
  right: -9%;
  animation-delay: -4.6s;
}

.deto-contact-shape--4 {
  width: 26px;
  height: 26px;
  bottom: 4%;
  left: -3%;
  animation-delay: -3.2s;
}

/* =========================================================
   2. MAIN CONTACT AREA
   ========================================================= */
.deto-contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
  margin-bottom: clamp(30px, 4vw, 52px);
}

/* ---------- LEFT: NAVY INFO PANEL ---------- */
.deto-contact-info {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 42px);
  border-radius: var(--deto-radius-lg);
  color: #E7EEF8;
  background:
    radial-gradient(120% 85% at 10% 0%, #14395F 0%, rgba(20, 57, 95, 0) 58%),
    linear-gradient(160deg, #0B2342 0%, #071A33 100%);
  box-shadow:
    0 28px 55px -22px rgba(7, 26, 51, 0.60),
    0 12px 26px -14px rgba(7, 26, 51, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.deto-contact-info::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.deto-contact-info-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(22px, 2.6vw, 30px);
}

.deto-contact-info-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7FA8D6;
  margin-bottom: 10px;
}

.deto-contact-info-title {
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #F2F7FD;
}

.deto-contact-info-desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(190, 210, 235, 0.78);
  max-width: 44ch;
}

.deto-contact-info-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deto-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--deto-radius-md);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.055) 0%, rgba(0, 0, 0, 0.16) 100%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.075),
    inset -1px -1px 2px rgba(0, 0, 0, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.22, 0.85, 0.3, 1),
              box-shadow 0.35s ease,
              background 0.35s ease;
}

.deto-contact-info-item:hover,
.deto-contact-info-item:focus-within {
  transform: translateY(-3px);
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.085) 0%, rgba(0, 0, 0, 0.12) 100%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.13),
    inset -1px -1px 2px rgba(0, 0, 0, 0.34),
    0 10px 20px -10px rgba(0, 0, 0, 0.6);
}

.deto-contact-info-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 17px;
  color: var(--deto-accent-soft);
  background: linear-gradient(150deg, #0A2038 0%, #05121F 100%);
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.68),
    inset -1px -1px 2px rgba(255, 255, 255, 0.09),
    0 3px 6px rgba(0, 0, 0, 0.35);
  transition: color 0.35s ease, box-shadow 0.35s ease;
}

.deto-contact-info-item:hover .deto-contact-info-icon {
  color: #BDD9F6;
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.70),
    inset -1px -1px 3px rgba(120, 180, 245, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.42);
}

.deto-contact-info-body {
  min-width: 0;
  flex: 1 1 auto;
}

.deto-contact-info-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(150, 182, 219, 0.72);
  margin-bottom: 5px;
  line-height: 1.3;
}

.deto-contact-info-value {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.62;
  color: #E9F1FA;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.deto-contact-info-value a {
  color: #E9F1FA;
  transition: color 0.25s ease;
}

.deto-contact-info-value a:hover,
.deto-contact-info-value a:focus-visible {
  color: #9CC4EE;
}

/* Decorative layered circles */
.deto-contact-info-deco {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: clamp(26px, 3.2vw, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}

.deto-contact-deco-circle {
  display: block;
  border-radius: 50%;
  background: linear-gradient(150deg, #0C2748 0%, #05121F 100%);
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.62),
    inset -2px -2px 5px rgba(255, 255, 255, 0.075),
    0 5px 12px rgba(0, 0, 0, 0.35);
  animation: deto-float-soft 6.5s ease-in-out infinite;
}

.deto-contact-deco-circle--lg {
  width: 46px;
  height: 46px;
  background:
    radial-gradient(circle at 34% 30%, rgba(120, 175, 235, 0.16) 0%, rgba(120, 175, 235, 0) 62%),
    linear-gradient(150deg, #0C2748 0%, #05121F 100%);
}

.deto-contact-deco-circle--md {
  width: 30px;
  height: 30px;
  animation-delay: -2.1s;
}

.deto-contact-deco-circle--sm {
  width: 18px;
  height: 18px;
  animation-delay: -4.2s;
}

/* ---------- RIGHT: FORM CARD ---------- */
.deto-contact-formcard {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 42px);
  border-radius: var(--deto-radius-lg);
  background: linear-gradient(160deg, #ffffff 0%, #f6f9fd 100%);
  border: 1px solid rgba(11, 35, 66, 0.055);
  box-shadow:
    0 26px 52px -24px rgba(7, 26, 51, 0.22),
    0 10px 22px -14px rgba(7, 26, 51, 0.13),
    inset 0 1px 0 #ffffff,
    inset 0 -1px 0 rgba(11, 35, 66, 0.04);
}

.deto-contact-form-head {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.deto-contact-form-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4A90D9;
  margin-bottom: 10px;
}

.deto-contact-form-title {
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--deto-navy);
}

.deto-contact-form-desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--deto-muted);
  max-width: 52ch;
}

.deto-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.deto-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.deto-contact-field--full {
  grid-column: 1 / -1;
}

.deto-contact-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #16345A;
  line-height: 1.4;
}

.deto-contact-label-req {
  color: #C0392B;
  font-weight: 600;
}

.deto-contact-input,
.deto-contact-textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--deto-ink);
  padding: 14px 16px;
  border-radius: var(--deto-radius-sm);
  border: 1px solid rgba(11, 35, 66, 0.075);
  background: #F1F5FA;
  box-shadow:
    inset 3px 3px 7px rgba(11, 35, 66, 0.085),
    inset -3px -3px 7px rgba(255, 255, 255, 0.95);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.deto-contact-textarea {
  min-height: 138px;
  resize: vertical;
  padding-top: 15px;
  padding-bottom: 15px;
}

.deto-contact-input::placeholder,
.deto-contact-textarea::placeholder {
  color: #97A6BC;
  opacity: 1;
}

.deto-contact-input:hover,
.deto-contact-textarea:hover {
  border-color: rgba(11, 35, 66, 0.14);
}

.deto-contact-input:focus,
.deto-contact-textarea:focus {
  background: #F5F8FC;
  border-color: rgba(74, 144, 217, 0.55);
  box-shadow:
    inset 2px 2px 6px rgba(11, 35, 66, 0.10),
    inset -2px -2px 6px rgba(255, 255, 255, 0.98),
    0 0 0 4px rgba(74, 144, 217, 0.14);
}

/* Error state */
.deto-contact-field.deto-contact-invalid .deto-contact-input,
.deto-contact-field.deto-contact-invalid .deto-contact-textarea {
  border-color: rgba(200, 60, 60, 0.55);
  box-shadow:
    inset 3px 3px 7px rgba(11, 35, 66, 0.085),
    inset -3px -3px 7px rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(200, 60, 60, 0.11);
}

.deto-contact-error {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #C0392B;
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.deto-contact-field.deto-contact-invalid .deto-contact-error {
  opacity: 1;
  transform: translateY(0);
}

/* Message counter */
.deto-contact-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.deto-contact-counter {
  font-size: 11.5px;
  font-weight: 500;
  color: #97A6BC;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.deto-contact-counter.deto-contact-counter-warn {
  color: #C0392B;
}

/* Submit button */
.deto-contact-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 16px 28px;
  margin-top: 4px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.012em;
  color: #EAF2FB;
  background: linear-gradient(160deg, #0E2C52 0%, #071A33 100%);
  box-shadow:
    0 16px 28px -12px rgba(7, 26, 51, 0.68),
    0 7px 14px -8px rgba(7, 26, 51, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.48);
  transition: transform 0.22s cubic-bezier(0.22, 0.85, 0.3, 1),
              box-shadow 0.22s ease,
              filter 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.deto-contact-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 22px 36px -14px rgba(7, 26, 51, 0.72),
    0 10px 18px -10px rgba(7, 26, 51, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.48);
}

.deto-contact-submit:active {
  transform: translateY(1px);
  filter: brightness(0.98);
  box-shadow:
    0 6px 12px -6px rgba(7, 26, 51, 0.6),
    inset 0 3px 8px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.deto-contact-submit:focus-visible {
  outline: none;
  box-shadow:
    0 16px 28px -12px rgba(7, 26, 51, 0.68),
    0 0 0 4px rgba(74, 144, 217, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.deto-contact-submit[disabled] {
  cursor: not-allowed;
  opacity: 0.82;
  transform: none;
}

.deto-contact-submit-icon {
  font-size: 14px;
  transition: transform 0.28s ease;
}

.deto-contact-submit:hover .deto-contact-submit-icon {
  transform: translateX(3px) rotate(-6deg);
}

.deto-contact-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #ffffff;
  animation: deto-spin 0.72s linear infinite;
}

.deto-contact-submit.deto-contact-loading .deto-contact-spinner {
  display: block;
}

.deto-contact-submit.deto-contact-loading .deto-contact-submit-icon {
  display: none;
}

/* Privacy note */
.deto-contact-privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #8296AE;
  text-align: center;
}

.deto-contact-privacy i {
  font-size: 11px;
  margin-top: 4px;
  color: #A9BBD2;
  flex: 0 0 auto;
}

/* Success message */
.deto-contact-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--deto-radius-sm);
  background: linear-gradient(150deg, #F0FBF4 0%, #E6F7EE 100%);
  border: 1px solid rgba(34, 139, 87, 0.20);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.9),
    0 6px 16px -10px rgba(34, 139, 87, 0.35);
  color: #1E6B45;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}

.deto-contact-success.deto-contact-success-show {
  display: flex;
  animation: deto-rise 0.5s cubic-bezier(0.22, 0.85, 0.3, 1) both;
}

.deto-contact-success i {
  font-size: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: #23875A;
}

/* =========================================================
   3. MAP SECTION
   ========================================================= */
.deto-contact-map-section {
  margin-bottom: clamp(30px, 4vw, 52px);
}

.deto-contact-map {
  position: relative;
  padding: 14px;
  border-radius: var(--deto-radius-xl);
  background:
    radial-gradient(120% 80% at 8% 0%, #14395F 0%, rgba(20, 57, 95, 0) 55%),
    linear-gradient(160deg, #0B2342 0%, #071A33 100%);
  box-shadow:
    0 32px 64px -26px rgba(7, 26, 51, 0.58),
    0 14px 28px -16px rgba(7, 26, 51, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5);
}

.deto-contact-map-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0A1E38;
  line-height: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    inset 0 6px 18px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.32);
}

.deto-contact-map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 460px);
  border: 0;
  margin: 0;
  filter: saturate(0.94) contrast(1.02);
}

/* Floating "Visit Us" card */
.deto-contact-map-card {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(320px, calc(100% - 68px));
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(158deg, #ffffff 0%, #f4f8fc 100%);
  box-shadow:
    0 24px 44px -16px rgba(7, 26, 51, 0.48),
    0 8px 18px -10px rgba(7, 26, 51, 0.30),
    inset 0 1px 0 #ffffff;
  animation: deto-rise 0.85s cubic-bezier(0.22, 0.85, 0.3, 1) both;
  animation-delay: 0.35s;
}

.deto-contact-map-card-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 15px;
  color: #9CC4EE;
  background: linear-gradient(150deg, #0E2C52 0%, #071A33 100%);
  box-shadow:
    0 8px 16px -8px rgba(7, 26, 51, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.deto-contact-map-card-body {
  min-width: 0;
  flex: 1 1 auto;
}

.deto-contact-map-card-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--deto-navy);
  line-height: 1.3;
}

.deto-contact-map-card-text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--deto-muted);
  overflow-wrap: anywhere;
}

.deto-contact-map-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2C6BB0;
  transition: gap 0.25s ease, color 0.25s ease;
}

.deto-contact-map-card-link i {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.deto-contact-map-card-link:hover,
.deto-contact-map-card-link:focus-visible {
  color: #071A33;
}

.deto-contact-map-card-link:hover i {
  transform: translateX(3px);
}

/* =========================================================
   4. QUICK CONTACT STRIP
   ========================================================= */
.deto-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.deto-contact-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(150deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid rgba(11, 35, 66, 0.05);
  box-shadow:
    8px 8px 20px rgba(11, 35, 66, 0.075),
    -8px -8px 20px #ffffff,
    inset 0 1px 0 #ffffff;
  transition: transform 0.32s cubic-bezier(0.22, 0.85, 0.3, 1),
              box-shadow 0.32s ease;
}

.deto-contact-strip-item:hover,
.deto-contact-strip-item:focus-visible {
  outline: none;
  transform: translateY(-4px);
  box-shadow:
    12px 16px 32px rgba(11, 35, 66, 0.13),
    -8px -8px 20px #ffffff,
    inset 0 1px 0 #ffffff;
}

.deto-contact-strip-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 17px;
  color: #9CC4EE;
  background: linear-gradient(150deg, #0E2C52 0%, #071A33 100%);
  box-shadow:
    0 10px 18px -9px rgba(7, 26, 51, 0.70),
    0 4px 8px -4px rgba(7, 26, 51, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.32s ease, color 0.32s ease;
}

.deto-contact-strip-item:hover .deto-contact-strip-icon {
  transform: translateY(-2px);
  color: #C6DEF7;
}

.deto-contact-strip-body {
  min-width: 0;
  flex: 1 1 auto;
}

.deto-contact-strip-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8296AE;
  line-height: 1.3;
  margin-bottom: 4px;
}

.deto-contact-strip-value {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--deto-navy);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.deto-contact-js .deto-contact-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.85, 0.3, 1),
              transform 0.7s cubic-bezier(0.22, 0.85, 0.3, 1);
  will-change: opacity, transform;
}

.deto-contact-js .deto-contact-reveal.deto-contact-visible {
  opacity: 1;
  transform: translateY(0);
}

.deto-contact-reveal--delay-1 { transition-delay: 0.10s; }
.deto-contact-reveal--delay-2 { transition-delay: 0.18s; }
.deto-contact-reveal--delay-3 { transition-delay: 0.26s; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes deto-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes deto-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-13px) rotate(4deg); }
}

@keyframes deto-float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes deto-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.82); opacity: 0.72; }
}

@keyframes deto-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* --- Large desktop tuning --- */
@media (min-width: 1600px) {
  .deto-contact-main {
    gap: 36px;
  }
}

/* --- Below 1200px : tighten a touch --- */
@media (max-width: 1200px) {
  .deto-contact-hero-shapes {
    display: none;
  }
}

/* --- Tablet: stack the main area --- */
@media (max-width: 991px) {
  .deto-contact-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .deto-contact-info-deco {
    justify-content: flex-start;
    padding-top: 26px;
  }

  .deto-contact-map-card {
    left: 28px;
    bottom: 28px;
    width: min(300px, calc(100% - 56px));
  }
}

/* --- Small tablet --- */
@media (max-width: 860px) {
  .deto-contact-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* --- Mobile: stack the form grid --- */
@media (max-width: 768px) {
  .deto-contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .deto-contact-map {
    padding: 12px;
    border-radius: 26px;
  }

  .deto-contact-map-frame {
    border-radius: 18px;
  }

  .deto-contact-map-frame iframe {
    height: clamp(240px, 58vw, 320px);
  }

  /* Reposition the Visit Us card so it never covers the map */
  .deto-contact-map-card {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    animation: none;
  }
}

/* --- Small mobile --- */
@media (max-width: 480px) {
  .deto-contact-container {
    width: min(1400px, calc(100% - 28px));
  }

  .deto-contact {
    padding-top: 26px;
    padding-bottom: 48px;
  }

  .deto-contact-eyebrow {
    padding: 8px 16px;
    font-size: 10.5px;
    letter-spacing: 0.15em;
  }

  .deto-contact-info,
  .deto-contact-formcard {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .deto-contact-info-item {
    gap: 12px;
    padding: 14px;
  }

  .deto-contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
  }

  .deto-contact-info-value {
    font-size: 13.5px;
  }

  .deto-contact-input,
  .deto-contact-textarea {
    font-size: 15px; /* prevents iOS zoom on focus */
    padding: 13px 14px;
  }

  .deto-contact-textarea {
    min-height: 124px;
  }

  .deto-contact-submit {
    min-height: 52px;
    font-size: 14.5px;
  }

  .deto-contact-strip-item {
    padding: 16px;
    gap: 14px;
    border-radius: 18px;
  }

  .deto-contact-strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 16px;
  }

  .deto-contact-map-card-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

/* --- Very small mobile (320px) --- */
@media (max-width: 360px) {
  .deto-contact-container {
    width: min(1400px, calc(100% - 22px));
  }

  .deto-contact-info,
  .deto-contact-formcard {
    padding: 20px 15px;
  }

  .deto-contact-info-item {
    gap: 11px;
    padding: 13px 12px;
  }

  .deto-contact-info-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .deto-contact-strip-item {
    padding: 14px;
    gap: 12px;
  }

  .deto-contact-strip-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .deto-contact-strip-value {
    font-size: 13.5px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .deto-contact *,
  .deto-contact *::before,
  .deto-contact *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .deto-contact-js .deto-contact-reveal {
    opacity: 1;
    transform: none;
  }
}
