/* ============================================================
   CONTACT PAGE — Page Banner + Contact Section
   ============================================================ */

/* ── Page Banner ── */
.tan-page-banner {
  position: relative;
  height: 500px;
  background: url('../images/slider91.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -120px; /* slide behind fixed header */
  padding-top: 120px;
}
.tan-page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 100%);
}
.tan-page-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.tan-page-banner__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-family-primary);
}
.tan-page-banner__breadcrumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.tan-page-banner__breadcrumb a:hover { color: var(--primary-color); }
.tan-page-banner__sep { color: rgba(255,255,255,.5); font-size: .7rem; }
.tan-page-banner__breadcrumb span:last-child {
  color: var(--primary-color);
  font-size: .85rem;
  font-weight: 600;
}
.tan-page-banner .tan-page-banner__subtitle {
  color: #e79520 !important;
  font-size: clamp(.8rem, 1.5vw, .95rem);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-family: var(--font-family-primary);
}
.tan-page-banner__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: var(--font-family-primary);
  letter-spacing: .5px;
}

/* ── Contact Section ── */
.tan-contact {
  padding: 90px 0 100px;
  background: #fff;
}
.tan-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-contact__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 72px;
  align-items: start;
}

/* ── Left: Info ── */
.tan-contact__info .tan-section-pill { margin-bottom: 16px; }
.tan-contact__heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  font-family: var(--font-family-primary);
  line-height: 1.2;
}
.tan-contact__description {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 36px;
}

/* Info blocks */
.tan-contact__info-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.tan-contact__info-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.tan-contact__info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.tan-contact__info-text h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  font-family: var(--font-family-primary);
}
.tan-contact__info-text p {
  font-size: .875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.tan-contact__info-text a {
  color: var(--secondary-color);
  text-decoration: none;
}
.tan-contact__info-text a:hover { text-decoration: underline; }

/* Social */
.tan-contact__social-heading {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
  font-family: var(--font-family-primary);
}
.tan-contact__social-icons {
  display: flex;
  gap: 10px;
}
.tan-contact__social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.tan-contact__social-icons a:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/* ── Right: Form ── */
.tan-contact__form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,.08);
}
.tan-contact__form-wrap .tan-section-pill { margin-bottom: 14px; }
.tan-contact__form-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 32px;
  font-family: var(--font-family-primary);
  line-height: 1.2;
}
.tan-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tan-contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tan-contact__form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tan-contact__form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-family-primary);
}
.tan-contact__form-field input,
.tan-contact__form-field textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .9rem;
  font-family: var(--font-family-primary);
  color: var(--text-primary);
  background: #fafafa;
  transition: border-color .2s, background .2s;
  outline: none;
  resize: vertical;
}
.tan-contact__form-field input::placeholder,
.tan-contact__form-field textarea::placeholder { color: #b0b8c4; }
.tan-contact__form-field input:focus,
.tan-contact__form-field textarea:focus {
  border-color: var(--secondary-color);
  background: #fff;
}
.tan-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: background .2s, transform .15s;
  align-self: flex-start;
  min-width: 160px;
}
.tan-contact__submit:hover {
  background: #cf7e10;
  transform: translateY(-2px);
}

/* ── Active nav link ── */
.tan-header__nav-link--active {
  color: var(--primary-color) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tan-contact__container { padding: 0 24px; }
  .tan-contact__grid { gap: 48px; }
  .tan-contact__form-wrap { padding: 36px 32px; }
}
@media (max-width: 768px) {
  .tan-page-banner { height: 320px; margin-top: -60px; padding-top: 60px; }
  .tan-contact { padding: 60px 0; }
  .tan-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .tan-contact__info { order: 2; }
  .tan-contact__form-wrap { order: 1; }
  .tan-contact__form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tan-page-banner { height: 280px; }
  .tan-page-banner__title { font-size: 1.8rem; }
  .tan-contact__container { padding: 0 16px; }
  .tan-contact__form-wrap { padding: 28px 20px; }
  .tan-contact__submit { align-self: stretch; }
}

/* ── Map ── */
.tan-map {
  width: 100%;
  line-height: 0;
}
.tan-map__iframe,
.tan-map iframe {
  width: 100% !important;
  height: 480px !important;
  border: 0 !important;
  display: block;
}
@media (max-width: 640px) {
  .tan-map__iframe,
  .tan-map iframe { height: 320px !important; }
}

/* ── Form validation & toast ── */
.tan-contact__required { color: #e74c3c; margin-left: 2px; }

.tan-contact__error {
  display: block;
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 1em;
}

.tan-contact__input--error {
  border-color: #e74c3c !important;
  outline: none;
}
.tan-contact__input--error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.tan-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}
.tan-toast--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tan-toast--success { background: #1a7f4b; color: #fff; }
.tan-toast--error   { background: #c0392b; color: #fff; }
.tan-toast__icon { font-size: 1.1rem; flex-shrink: 0; }
