/* =========================================================
   DLG HOTEL DANANG - CONTACT US PAGE
   Scoped CSS only for contact-us.html
========================================================= */

.contact-page {
  --contact-green: #247d80;
  --contact-dark: #155f63;
  --contact-gold: #d8c28b;
  --contact-text: #263638;
  --contact-muted: #687476;
  --contact-line: rgba(21, 95, 99, .22);
  --contact-container: 1280px;
  --contact-form: 980px;
  --contact-gutter: 64px;

  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--contact-text);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-container {
  width: min(var(--contact-container), calc(100% - var(--contact-gutter) * 2));
  margin: 0 auto;
}


/* =========================================================
   TOP CONTACT CARD
========================================================= */

.contact-intro {
  padding: 90px 0 44px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  background: #f5f7f7;
}

.contact-card__image {
  min-height: 330px;
  overflow: hidden;
  background: #eee;
}

.contact-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.72,.22,1);
}

.contact-card:hover .contact-card__image img {
  transform: scale(1.035);
}

.contact-card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 42px 50px;
  background: var(--contact-green);
  color: #fff;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--contact-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
}

.contact-card__info h1 {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .96);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact-info-list {
  display: grid;
  gap: 22px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-icon {
  color: #dcecc8;
  font-size: 16px;
  line-height: 1.25;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .02em;
}

.contact-info-item p,
.contact-info-item a {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--contact-gold);
}


/* =========================================================
   FORM
========================================================= */

.contact-form-section {
  padding: 12px 0 70px;
}

.contact-form-container {
  width: min(var(--contact-form), calc(100% - var(--contact-gutter) * 2));
  margin: 0 auto;
}

.contact-section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.contact-section-heading span {
  display: block;
  color: var(--contact-green);
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-section-heading h2 {
  margin: 14px 0 0;
  color: var(--contact-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 400;
}

.contact-form {
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
  row-gap: 24px;
}

.contact-form label {
  display: block;
}

.contact-form label span {
  display: block;
  margin-bottom: 7px;
  color: #777;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(38, 54, 56, .48);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--contact-text);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .28s ease;
}

.contact-form input {
  height: 34px;
}

.contact-form textarea {
  min-height: 135px;
  padding-top: 10px;
  resize: vertical;
}

.contact-message {
  margin-top: 24px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--contact-green);
}

.contact-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.contact-submit {
  min-width: 112px;
  height: 38px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--contact-green);
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .32s ease, background .32s ease, box-shadow .32s ease;
}

.contact-submit:hover {
  background: var(--contact-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 95, 99, .18);
}


/* =========================================================
   LOCATION / MAP
========================================================= */

.contact-location-section {
  padding: 0 0 110px;
}

.contact-location-card {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  background: #f4f4f4;
}

.contact-location-content {
  min-height: 340px;
  padding: 46px 50px;
  background: var(--contact-green);
  color: #fff;
}

.contact-location-content .contact-eyebrow {
  margin-bottom: 28px;
  color: var(--contact-gold);
  font-size: 27px;
}

.contact-route {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.contact-route:last-child {
  margin-bottom: 0;
}

.route-icon {
  color: #dcecc8;
  font-size: 21px;
  line-height: 1;
}

.contact-route h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-route p {
  margin: 0;
  color: rgba(255, 255, 255, .93);
  font-size: 13px;
  line-height: 1.72;
  font-weight: 500;
}

.contact-map {
  min-height: 340px;
  overflow: hidden;
  background: #e4e4e4;
}

.contact-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(.96);
}


/* =========================================================
   MOTION
========================================================= */

.fadein-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .95s cubic-bezier(.22,.72,.22,1),
    transform .95s cubic-bezier(.22,.72,.22,1);
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
}

.fadein-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .contact-page {
    --contact-gutter: 40px;
    --contact-container: 1120px;
  }
}

@media (max-width: 991px) {
  .contact-page {
    --contact-gutter: 32px;
  }

  .contact-intro {
    padding-top: 70px;
  }

  .contact-card,
  .contact-location-card {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact-card__image,
  .contact-card__info,
  .contact-location-content,
  .contact-map {
    min-height: auto;
  }

  .contact-card__image,
  .contact-map {
    height: 390px;
  }

  .contact-card__info,
  .contact-location-content {
    padding: 42px 40px;
  }

  .contact-form-grid {
    column-gap: 28px;
  }

  .contact-location-section {
    padding-bottom: 86px;
  }
}

@media (max-width: 767px) {
  .contact-page {
    --contact-gutter: 24px;
  }

  .contact-intro {
    padding: 54px 0 34px;
  }

  .contact-card__image {
    height: 300px;
  }

  .contact-card__info,
  .contact-location-content {
    padding: 34px 28px;
  }

  .contact-eyebrow,
  .contact-location-content .contact-eyebrow {
    font-size: 24px;
  }

  .contact-form-section {
    padding-bottom: 58px;
  }

  .contact-section-heading {
    margin-bottom: 36px;
  }

  .contact-section-heading span {
    font-size: 14px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-message {
    margin-top: 22px;
  }

  .contact-map {
    height: 300px;
  }

  .contact-location-section {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .contact-page {
    --contact-gutter: 18px;
  }

  .contact-card__image {
    height: 245px;
  }

  .contact-card__info,
  .contact-location-content {
    padding: 30px 22px;
  }

  .contact-info-item,
  .contact-route {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .contact-info-item p,
  .contact-info-item a,
  .contact-route p {
    font-size: 12.8px;
  }

  .contact-submit {
    min-width: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card__image img,
  .contact-submit,
  .fadein-up {
    transition: none !important;
  }

  .fadein-up {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   REFINED ICONS / BUTTONS - NO SHADOW
========================================================= */

.contact-icon,
.route-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  color: #d8c28b;
  line-height: 1;
}

.contact-icon svg,
.route-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-icon svg {
  width: 24px;
  height: 24px;
  margin-top: -2px;
}

.contact-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: min(100%, 360px);
  height: 52px;
  margin-top: 32px;
  border: 1px solid var(--contact-dark);
  border-radius: 999px;
  background: var(--contact-dark);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}

.contact-book-btn:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.85);
  transform: translateY(-1px);
}

.contact-book-btn span:last-child {
  color: var(--contact-gold);
  font-size: 13px;
  letter-spacing: 0;
  transition: transform .28s ease;
}

.contact-book-btn:hover span:last-child {
  transform: translateX(4px);
}

.contact-submit {
  min-width: 132px;
  height: 42px;
  padding: 0 34px;
  border: 1px solid var(--contact-green);
  border-radius: 999px;
  background: var(--contact-green);
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}

.contact-submit::after {
  content: "➜";
  display: inline-block;
  margin-left: 10px;
  color: var(--contact-gold);
  font-size: 12px;
  letter-spacing: 0;
  transition: transform .28s ease;
}

.contact-submit:hover {
  background: var(--contact-dark);
  border-color: var(--contact-dark);
  transform: translateY(-1px);
  box-shadow: none !important;
}

.contact-submit:hover::after {
  transform: translateX(4px);
}

.contact-card,
.contact-location-card {
  box-shadow: none;
}

@media (max-width: 767px) {
  .contact-book-btn {
    width: 100%;
    height: 50px;
  }

  .contact-submit {
    min-width: 126px;
    height: 40px;
  }
}


/* =========================================================
   FINAL CONTACT REQUEST OVERRIDES
   - remove Book Now area
   - DLG HOTEL DANANG uppercase Montserrat
   - requested image paths in HTML: img/contact-us.jpg, img/map.png
========================================================= */

.contact-card__info h1 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

.contact-book-btn {
  display: none !important;
}

.contact-submit,
.contact-submit:hover,
.contact-card,
.contact-location-card {
  box-shadow: none !important;
}

/* =========================================================
   FINAL MAP FIX
   Scoped only to Contact page map. Keeps Google Map full-size,
   clean, and linked to the requested DLG Hotel Danang location.
========================================================= */

.contact-map--dlg {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #e4e4e4;
}

.contact-map--dlg .dlg-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  border: 0;
  filter: grayscale(1) contrast(.96);
}

.contact-map--dlg .map-wash,
.contact-map--dlg .map-info {
  display: none !important;
}

@media (max-width: 991px) {
  .contact-map--dlg,
  .contact-map--dlg .dlg-map-frame {
    min-height: 390px;
  }
}

@media (max-width: 767px) {
  .contact-map--dlg,
  .contact-map--dlg .dlg-map-frame {
    min-height: 300px;
  }
}


/* =========================================================
   FULL WIDTH SAND MAP FIX
   - Map section spans full browser width
   - Remove black/white filter
   - Apply light warm sand tone only to the map
   Scoped only to .contact-page location map
========================================================= */

.contact-page .contact-location-section {
  padding: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.contact-page .contact-location-section .contact-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.contact-page .contact-location-card {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  display: grid !important;
  grid-template-columns: minmax(380px, 33vw) minmax(0, 1fr) !important;
  background: #efe6d2 !important;
}

.contact-page .contact-location-content {
  min-height: 440px !important;
  z-index: 2 !important;
}

.contact-page .contact-map,
.contact-page .contact-map--dlg {
  position: relative !important;
  width: 100% !important;
  min-height: 440px !important;
  overflow: hidden !important;
  background: #efe6d2 !important;
}

.contact-page .contact-map--dlg .dlg-map-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 440px !important;
  display: block !important;
  border: 0 !important;
  filter: sepia(.18) saturate(.88) brightness(1.04) contrast(.94) hue-rotate(350deg) !important;
}

.contact-page .contact-map--dlg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(216, 194, 139, .12), rgba(216, 194, 139, .12)),
    radial-gradient(circle at 18% 22%, rgba(255, 244, 214, .18), rgba(255, 244, 214, 0) 44%);
  mix-blend-mode: multiply;
}

.contact-page .contact-map--dlg .map-wash,
.contact-page .contact-map--dlg .map-info {
  display: none !important;
}

@media (max-width: 991px) {
  .contact-page .contact-location-card {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .contact-page .contact-location-content,
  .contact-page .contact-map,
  .contact-page .contact-map--dlg,
  .contact-page .contact-map--dlg .dlg-map-frame {
    min-height: 390px !important;
  }
}

@media (max-width: 767px) {
  .contact-page .contact-location-content,
  .contact-page .contact-map,
  .contact-page .contact-map--dlg,
  .contact-page .contact-map--dlg .dlg-map-frame {
    min-height: 320px !important;
  }
}

/* =========================================================
   FINAL MAP LAYOUT MATCH — full width map with floating left panel
   Match the provided screenshot. Scoped only to contact page map section.
========================================================= */

.contact-page .contact-location-section {
  padding: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.contact-page .contact-location-section .contact-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.contact-page .contact-location-card {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  min-height: 468px !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #efe6d2 !important;
  overflow: hidden !important;
}

.contact-page .contact-map,
.contact-page .contact-map--dlg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 468px !important;
  background: #efe6d2 !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.contact-page .contact-map--dlg .dlg-map-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 468px !important;
  display: block !important;
  border: 0 !important;
  filter: sepia(.14) saturate(.92) brightness(1.03) contrast(.95) hue-rotate(350deg) !important;
}

.contact-page .contact-map--dlg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(226, 202, 151, 0.12), rgba(226, 202, 151, 0.12)),
    radial-gradient(circle at 72% 24%, rgba(255, 245, 220, 0.16), rgba(255, 245, 220, 0) 34%);
}

.contact-page .contact-map--dlg .map-wash,
.contact-page .contact-map--dlg .map-info {
  display: none !important;
}

.contact-page .contact-location-content {
  position: absolute !important;
  top: 28px !important;
  left: 36px !important;
  bottom: 28px !important;
  width: min(450px, calc(100% - 72px)) !important;
  min-height: auto !important;
  padding: 44px 36px 42px !important;
  background: rgba(36, 125, 128, 0.96) !important;
  color: #fff !important;
  z-index: 3 !important;
}

.contact-page .contact-location-content .contact-eyebrow {
  margin-bottom: 34px !important;
  color: var(--contact-gold) !important;
  font-size: 26px !important;
  line-height: 1.05 !important;
}

.contact-page .contact-route {
  grid-template-columns: 26px minmax(0, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 28px !important;
}

.contact-page .contact-route:last-child {
  margin-bottom: 0 !important;
}

.contact-page .route-icon {
  color: #d8c28b !important;
}

.contact-page .route-icon svg {
  width: 20px !important;
  height: 20px !important;
  margin-top: 1px !important;
}

.contact-page .contact-route h3 {
  margin: 0 0 9px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

.contact-page .contact-route p {
  max-width: 280px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  line-height: 1.92 !important;
  font-weight: 500 !important;
}

@media (max-width: 1100px) {
  .contact-page .contact-location-content {
    left: 24px !important;
    top: 24px !important;
    bottom: 24px !important;
    width: min(420px, calc(100% - 48px)) !important;
    padding: 38px 30px 36px !important;
  }

  .contact-page .contact-location-card,
  .contact-page .contact-map,
  .contact-page .contact-map--dlg,
  .contact-page .contact-map--dlg .dlg-map-frame {
    min-height: 438px !important;
  }
}

@media (max-width: 767px) {
  .contact-page .contact-location-card {
    display: grid !important;
    min-height: auto !important;
  }

  .contact-page .contact-map,
  .contact-page .contact-map--dlg {
    position: relative !important;
    inset: auto !important;
    order: 2 !important;
    min-height: 320px !important;
  }

  .contact-page .contact-map--dlg .dlg-map-frame {
    min-height: 320px !important;
  }

  .contact-page .contact-location-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    padding: 34px 26px !important;
  }

  .contact-page .contact-route p {
    max-width: none !important;
  }
}
