/* ================================================================
   DRT DMC — CONTACT US PAGE STYLES
   ================================================================
   Same design tokens as about.html for visual consistency:
   Primary #0F4C81 / Gold #C89B3C / Poppins + Playfair Display
   Signature motif: dune-wave divider + compass-rose accents
   ================================================================ */

:root {
  --drt-primary: #012555;
  --drt-primary-dark: #0A3A63;
  --drt-primary-light: #175f9e;
  --drt-gold: #fb670eC;
  --drt-gold-light: #f38036;
  --drt-ink: #142433;
  --drt-gray-600: #5b6b7a;
  --drt-surface: #ffffff;
  --drt-surface-2: #f5f6f8;
  --drt-surface-3: #eef1f4;
  --drt-radius-lg: 22px;
  --drt-radius-md: 14px;
  --drt-radius-sm: 8px;
  --drt-shadow-soft: 0 20px 45px -20px rgba(15, 76, 129, 0.25);
  --drt-shadow-card: 0 10px 30px -12px rgba(20, 36, 51, 0.15);
  --drt-font-display: 'Playfair Display', Georgia, serif;
  --drt-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================================================================
   BASE
   ================================================================ */
.drt-contact {
  font-family: var(--drt-font-body);
  color: var(--drt-ink);
  overflow-x: hidden;
  background: var(--drt-surface);
}

/* :where() keeps this at zero specificity so single-class color
   overrides (e.g. white hero/CTA headings) always win, regardless
   of source order — avoids the navy-text-on-dark-bg bug. */
:where(.drt-contact) :where(h1, h2, h3) {
  font-family: var(--drt-font-display);
  color: var(--drt-primary);
  font-weight: 700;
}

.drt-section { padding: 6rem 0; position: relative; }

.drt-c-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--drt-gold);
  background: rgba(200, 155, 60, 0.1);
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}

.drt-c-h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: .9rem;
  line-height: 1.25;
}

@media (prefers-reduced-motion: reduce) {
  .drt-contact * { animation: none !important; transition: none !important; }
}

.drt-contact a:focus-visible,
.drt-contact button:focus-visible,
.drt-contact input:focus-visible,
.drt-contact select:focus-visible,
.drt-contact textarea:focus-visible {
  outline: 3px solid var(--drt-gold);
  outline-offset: 2px;
}

/* ================================================================
   1. HERO
   ================================================================ */
.drt-c-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.drt-c-hero__media { position: absolute; inset: 0; z-index: -1; }
.drt-c-hero__img { width: 100%; height: 100%; object-fit: cover; }
.drt-c-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,40,0.6) 0%, rgba(10,25,40,0.4) 40%, rgba(6,18,30,0.92) 100%);
}
.drt-c-hero__dunes {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 80px;
  fill: var(--drt-surface);
}

.drt-c-hero__content { padding: 6rem 0 5.5rem; position: relative; }

.drt-c-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.25rem;
}
.drt-c-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.drt-c-breadcrumb .breadcrumb-item.active { color: var(--drt-gold-light); }
.drt-c-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
  content: "/";
}

.drt-c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--drt-gold-light);
  background: rgba(255,255,255,0.1);
  padding: .45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.drt-c-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: .9rem;
}

.drt-c-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  font-weight: 300;
}

/* Hero fade-in (staggered) */
.drt-fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: drtcFadeUp .8s ease forwards;
}
.drt-fade-in[data-delay="1"] { animation-delay: .15s; }
.drt-fade-in[data-delay="2"] { animation-delay: .3s; }
.drt-fade-in[data-delay="3"] { animation-delay: .45s; }
@keyframes drtcFadeUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal (JS toggles .is-visible) */
.drt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.drt-reveal.is-visible { opacity: 1; transform: translateY(0); }
.drt-reveal[data-delay="1"] { transition-delay: .1s; }
.drt-reveal[data-delay="2"] { transition-delay: .2s; }
.drt-reveal[data-delay="3"] { transition-delay: .3s; }

/* ================================================================
   2. QUICK CONTACT INFO CARDS
   ================================================================ */
.drt-c-info { background: var(--drt-surface-2); padding-top: 5rem; padding-bottom: 5rem; }

.drt-c-info-card {
  height: 100%;
  background: #fff;
  border-radius: var(--drt-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--drt-shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.drt-c-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--drt-shadow-soft);
}
.drt-c-info-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--drt-primary), var(--drt-primary-light));
  color: #fff;
  font-size: 1.3rem;
}
.drt-c-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
}
.drt-c-info-card p {
  font-size: .88rem;
  color: var(--drt-gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}
.drt-c-info-card a {
  color: var(--drt-primary);
  font-weight: 600;
  text-decoration: none;
}
.drt-c-info-card a:hover { color: var(--drt-gold); }
.drt-c-info-card__note {
  font-size: .78rem !important;
  color: #9aa7b3 !important;
  margin-top: .25rem !important;
}

/* ================================================================
   3. FORM CARD
   ================================================================ */
.drt-c-main { background: var(--drt-surface); }

.drt-c-form-card {
  background: #fff;
  border-radius: var(--drt-radius-lg);
  padding: 2.75rem;
  box-shadow: var(--drt-shadow-soft);
  border: 1px solid rgba(15,76,129,0.06);
  position: relative;
}

.drt-c-form-lead {
  color: var(--drt-gray-600);
  font-size: .95rem;
  margin-bottom: 2rem;
}

.drt-c-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--drt-ink);
  margin-bottom: .4rem;
}
.drt-c-label span { color: var(--drt-gold); }

.drt-c-input {
  width: 100%;
  border: 1.5px solid #e2e6ea;
  background: var(--drt-surface-2);
  border-radius: var(--drt-radius-sm);
  padding: .8rem 1rem;
  font-family: var(--drt-font-body);
  font-size: .92rem;
  color: var(--drt-ink);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.drt-c-input::placeholder { color: #9aa7b3; }
.drt-c-input:focus {
  outline: none;
  border-color: var(--drt-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15,76,129,0.1);
}
.drt-c-select { appearance: none; cursor: pointer; }
.drt-c-textarea { resize: vertical; min-height: 110px; }

/* Invalid state */
.drt-c-input.is-invalid {
  border-color: #d64545;
  background: #fff5f5;
  animation: drtcShake .4s ease;
}
@keyframes drtcShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.drt-c-error {
  display: none;
  color: #d64545;
  font-size: .78rem;
  margin-top: .35rem;
}
.drt-c-error.is-visible { display: block; }

/* Submit button */
.drt-c-btn-gold {
  background: linear-gradient(135deg, var(--drt-gold), var(--drt-gold-light));
  border: none;
  color: var(--drt-ink);
  font-weight: 600;
  padding: .9rem 2.3rem;
  border-radius: 100px;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  box-shadow: 0 15px 30px -12px rgba(200,155,60,0.55);
  display: inline-flex;
  align-items: center;
  position: relative;
}
.drt-c-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(200,155,60,0.7);
  color: var(--drt-ink);
}
.drt-c-btn-gold:disabled { opacity: .75; cursor: not-allowed; transform: none; }

.drt-c-btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(20,36,51,0.3);
  border-top-color: var(--drt-ink);
  border-radius: 50%;
  margin-left: .6rem;
  animation: drtcSpin .7s linear infinite;
}
.drt-c-btn-gold.is-loading .drt-c-btn-spinner { display: inline-block; }
.drt-c-btn-gold.is-loading .fa-paper-plane { display: none; }
@keyframes drtcSpin { to { transform: rotate(360deg); } }

/* Success message */
.drt-c-success {
  display: none;
  align-items: flex-start;
  gap: .9rem;
  background: rgba(15,76,129,0.06);
  border: 1px solid rgba(15,76,129,0.15);
  border-radius: var(--drt-radius-md);
  padding: 1.2rem 1.4rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.drt-c-success.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.drt-c-success i {
  color: #2f9e5f;
  font-size: 1.4rem;
  margin-top: .1rem;
}
.drt-c-success strong { display: block; color: var(--drt-ink); margin-bottom: .15rem; }
.drt-c-success span { color: var(--drt-gray-600); font-size: .88rem; }

/* ================================================================
   MAP + WHATSAPP + SOCIAL (right column)
   ================================================================ */
.drt-c-map-card {
  border-radius: var(--drt-radius-lg);
  overflow: hidden;
  box-shadow: var(--drt-shadow-card);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15,76,129,0.08);
}
.drt-c-map {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(15%) contrast(1.02);
}

.drt-c-whatsapp-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--drt-primary-dark), var(--drt-primary));
  color: #fff;
  border-radius: var(--drt-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--drt-shadow-soft);
}
.drt-c-whatsapp-card__icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.drt-c-whatsapp-card__body h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.drt-c-whatsapp-card__body p {
  color: rgba(255,255,255,0.75);
  font-size: .85rem;
  margin-bottom: .8rem;
}
.drt-c-whatsapp-card__link {
  color: var(--drt-gold-light);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s ease;
}
.drt-c-whatsapp-card__link:hover { color: #fff; }

.drt-c-social-card {
  background: var(--drt-surface-2);
  border-radius: var(--drt-radius-lg);
  padding: 1.75rem;
  text-align: center;
}
.drt-c-social-card span {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--drt-ink);
  margin-bottom: 1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.drt-c-social-icons {
  display: flex;
  justify-content: center;
  gap: .7rem;
}
.drt-c-social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--drt-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--drt-shadow-card);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.drt-c-social-icons a:hover {
  background: var(--drt-gold);
  color: #fff;
  transform: translateY(-4px);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  .drt-section { padding: 4rem 0; }
  .drt-c-form-card { padding: 2rem 1.5rem; }
}

@media (max-width: 575px) {
  .drt-c-hero { min-height: 46vh; }
  .drt-c-float-whatsapp { width: 52px; height: 52px; font-size: 1.4rem; bottom: 1.25rem; right: 1.25rem; }
}
