
/* =========================================
   TINOR DELTA — PREMIUM CONTACT PAGE
   White + Corporate Blue
========================================= */

:root {
  --contact-blue: #1554e8;
  --contact-blue-dark: #102f9f;
  --contact-navy: #101e42;
  --contact-text: #17233f;
  --contact-muted: #66748e;
  --contact-border: #dce4f2;
  --contact-bg: #f7f9ff;
}

* {
  box-sizing: border-box;
}

body {
 
  margin: 80px 0 0 0;
  color: var(--contact-text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.contact-navbar {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(22px, 4.5vw, 76px);
  border-bottom: 1px solid #edf0f6;
  background: rgba(255, 255, 255, 0.97);
}

.contact-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--contact-text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #3865ff, #1936bb);
  box-shadow: 0 10px 24px rgba(37, 76, 220, 0.19);
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.brand-name {
  font-size: 22px;
  line-height: 1.15;
}

.brand-name strong {
  font-weight: 750;
}

.contact-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.5vw, 40px);
}

.contact-nav-links a {
  color: #17213b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.contact-nav-links a:hover {
  color: var(--contact-blue);
}

.contact-nav-links a span {
  margin-left: 3px;
}

.contact-nav-links .nav-contact {
  padding: 13px 18px;
  border-radius: 10px;
  background: #edf3ff;
  color: var(--contact-blue);
  font-weight: 700;
}

.contact-nav-links .nav-contact:hover {
  background: #e0eaff;
}

/* MAIN LAYOUT */

.contact-page {
  position: relative;
  overflow: hidden;
  padding: 24px clamp(22px, 3.5vw, 60px) 54px;
  background:
    radial-gradient(
      ellipse at 0% 25%,
      rgba(219, 232, 255, 0.65),
      transparent 37%
    ),
    radial-gradient(
      ellipse at 100% 90%,
      rgba(226, 236, 255, 0.52),
      transparent 35%
    ),
    #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(32px, 4vw, 68px);
  width: 100%;
  max-width: 1540px;
  margin-inline: auto;
  align-items: stretch;
}

/* OFFICE PANEL */

.office-panel {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 720px;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  border-radius: 19px;
  background: linear-gradient(150deg, #102c9e, #064fe4);
  box-shadow: 0 18px 42px rgba(17, 55, 159, 0.16);
  color: #fff;
}

.office-panel::before {
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 95px rgba(255, 255, 255, 0.02);
  content: "";
  pointer-events: none;
}

.office-panel-content {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 3.3vw, 52px);
}

.office-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: #cbdcff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.office-eyebrow::after {
  width: 35px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
}

.office-panel h1 {
  margin: 0;
  font-size: clamp(36px, 3.5vw, 53px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.13;
}

.office-description {
  max-width: 380px;
  margin: 20px 0 30px;
  color: #e0eaff;
  font-size: 15px;
  line-height: 1.8;
}

/* CONTACT DETAILS */

.office-details {
  display: grid;
  gap: 20px;
}

.office-detail {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
  color: #fff;
  text-decoration: none;
}

.detail-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 180ms ease;
}

a.office-detail:hover .detail-icon {
  background: rgba(255, 255, 255, 0.22);
}

.detail-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.detail-copy strong {
  font-size: 16px;
  font-weight: 700;
}

.detail-copy > span {
  overflow-wrap: anywhere;
  color: #eef3ff;
  font-size: 13px;
  line-height: 1.65;
}

/* OFFICE IMAGE AREA
   Add your actual office image at:
   images/office-building.jpg
*/

.office-photo {
  position: relative;
  display: flex;
  min-height: 175px;
  flex: 1;
  align-items: flex-end;
  margin-top: 24px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(6, 32, 112, 0.02) 0%,
      rgba(4, 23, 79, 0.15) 45%,
      rgba(4, 20, 65, 0.75) 100%
    ),
    url("../images/office-building.jpg") center 55% / cover no-repeat,
    linear-gradient(145deg, #1656d7, #071c6d);
}

.office-photo-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 23px 28px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.photo-caption-line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #a9c5ff;
}

/* CALLBACK FORM */

.callback-section {
  min-width: 0;
  padding: clamp(22px, 2.6vw, 42px) 0;
}

.callback-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  padding: 9px 15px;
  border-radius: 9px;
  background: #edf3ff;
  color: var(--contact-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.callback-section h2 {
  margin: 0;
  color: #101b36;
  font-size: clamp(35px, 4vw, 55px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.13;
}

.callback-section h2 span {
  color: var(--contact-blue);
}

.callback-description {
  max-width: 620px;
  margin: 16px 0 30px;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* FORM GRID */

.callback-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 15px 17px;
  border: 1px solid var(--contact-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field:focus-within {
  border-color: #6495ff;
  box-shadow: 0 0 0 4px rgba(21, 84, 232, 0.08);
}

.form-field > span {
  color: var(--contact-text);
  font-size: 13px;
  font-weight: 700;
}

.form-field > span b {
  color: var(--contact-blue);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--contact-text);
  font: inherit;
  font-size: 14px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8b96ac;
  opacity: 1;
}

.form-field input {
  min-height: 23px;
}

.form-field textarea {
  min-height: 115px;
  resize: vertical;
  line-height: 1.7;
}

.form-field-message {
  grid-column: 1 / -1;
  min-height: 165px;
}

/* SUBMIT BUTTON */

.callback-submit {
  display: flex;
  width: 100%;
  min-height: 57px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding: 15px 22px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #1554e8, #1747d4);
  box-shadow: 0 8px 20px rgba(21, 84, 232, 0.15);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.callback-submit > span:last-child {
  font-size: 23px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.callback-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(100deg, #1046d0, #1039b8);
  box-shadow: 0 12px 25px rgba(21, 84, 232, 0.22);
}

.callback-submit:hover > span:last-child {
  transform: translateX(4px);
}

.callback-submit:focus-visible {
  outline: 3px solid #8db2ff;
  outline-offset: 4px;
}

/* PRIVACY NOTE */

.form-privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.form-privacy svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  fill: none;
  stroke: var(--contact-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================
   TINOR DELTA CONTACT PAGE — RESPONSIVE
   Main content only
========================================= */

/* Tablet */
@media (max-width: 1024px) {

  .contact-page {
    padding: 24px 24px 45px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }

  .office-panel {
    min-height: 650px;
  }

  .office-panel-content {
    padding: 28px;
  }

  .office-panel h1 {
    font-size: clamp(32px, 4vw, 43px);
    letter-spacing: -1px;
  }

  .callback-section h2 {
    font-size: clamp(32px, 4vw, 43px);
    letter-spacing: -1px;
  }

  .form-grid {
    gap: 13px;
  }

  .form-field {
    padding: 13px;
  }

}

/* Mobile */
@media (max-width: 767px) {

  /* Main page container */
  .contact-page {
    padding: 20px 16px 35px;
    overflow: hidden;
  }

  .contact-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* Office information panel */
  .office-panel {
    width: 100%;
    min-width: 0;
    min-height: auto;
    border-radius: 16px;
  }

  .office-panel-content {
    padding: 28px 22px;
  }

  .office-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 17px;
  }

  .office-panel h1 {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.15;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }

  .office-description {
    max-width: 100%;
    margin: 17px 0 25px;
    font-size: 14px;
    line-height: 1.8;
  }

  /* Contact details */
  .office-details {
    gap: 19px;
  }

  .office-detail {
    align-items: flex-start;
    gap: 12px;
  }

  .detail-icon {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    border-radius: 12px;
  }

  .detail-icon svg {
    width: 21px;
    height: 21px;
  }

  .detail-copy {
    padding-top: 3px;
    gap: 5px;
  }

  .detail-copy strong {
    font-size: 15px;
  }

  .detail-copy > span {
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  /* Office image */
  .office-photo {
    min-height: 190px;
    flex: none;
    margin-top: 0;
    background-position: center, center 55%, center;
  }

  .office-photo-caption {
    padding: 19px 22px;
    font-size: 10px;
    letter-spacing: 1.5px;
    flex-wrap: wrap;
  }

  /* Callback form */
  .callback-section {
    width: 100%;
    min-width: 0;
    padding: 10px 0 0;
  }

  .callback-eyebrow {
    margin-bottom: 15px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .callback-section h2 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.18;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
  }

  .callback-description {
    margin: 14px 0 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  /* Form fields: one column */
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .form-field {
    width: 100%;
    min-width: 0;
    padding: 15px;
    border-radius: 11px;
    gap: 9px;
  }

  .form-field > span {
    font-size: 13px;
  }

  .form-field input,
  .form-field textarea {
    font-size: 16px;
  }

  .form-field input {
    min-height: 24px;
  }

  .form-field textarea {
    min-height: 120px;
  }

  .form-field-message {
    grid-column: auto;
    min-height: 165px;
  }

  /* Submit button */
  .callback-submit {
    min-height: 54px;
    margin-top: 16px;
    padding: 14px 18px;
    gap: 10px;
    font-size: 14px;
  }

  .form-privacy {
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 11px;
    text-align: left;
    margin-top: 15px;
  }

}

/* Small phones */
@media (max-width: 380px) {

  .contact-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .office-panel-content {
    padding: 23px 17px;
  }

  .office-panel h1 {
    font-size: 30px;
  }

  .callback-section h2 {
    font-size: 30px;
  }

  .detail-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .office-photo-caption {
    padding: 17px;
  }

}
