/* ==========================================================================
   Contact page (contact.html) – overrides & new layout
   Load AFTER assets/css/style.css
   ========================================================================== */

/* ---- Header/menu: fondo oscuro solo en escritorio (venía inline) ---- */
@media (min-width: 992px) {
  .site-header .main-navigation,
  .site-header .main-navigation ul,
  .site-header .main-navigation .menu-cover-title,
  .site-header .main-navigation .navbar-nav {
    background: #0b0b0b !important;
  }
}

/* ---- Alerts (venía inline) ---- */
.alert {
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.alert-success { background: rgba(46, 204, 113, 0.12); border: 1px solid rgba(46, 204, 113, 0.35); color: #000; }
.alert-danger  { background: rgba(231, 76, 60, 0.12);  border: 1px solid rgba(231, 76, 60, 0.35);  color: #ff0000; }

/* ==========================================================================
   HERO
   ========================================================================== */
.contact-hero {
  position: relative;
  padding: 90px 0 60px;
  overflow: hidden;
  background:#fff;
}

.contact-hero__bg {
  height:400px;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.45) 48%, rgba(8, 8, 8, 0.15) 100%),
    url("../img/contact-bg.png");
  background-size: auto;
  background-position: center;
  transform: scale(1.02);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9aa2a;
  margin: 0 0 12px;
}

.contact-hero__title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 0 14px;
  color: #fff;
}

.contact-hero__lead {
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
  max-width: 56ch;
}

.contact-benefits {
  padding: 18px 18px 14px;
  margin-top:100px;
  color:#000;
}

.contact-benefits__title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  color: #c9aa2a;
}

.contact-benefits__list {
  margin: 0;
  padding-left: 18px;
  color: #000;
  list-style:disc;
}

.contact-benefits__list li { margin: 6px 0; color:#000; list-style:disc;}

/* ==========================================================================
   CARD (Form)
   ========================================================================== */
.contact-hero__card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.contact-hero__cardTitle {
  margin: 0;
  color: #0b0b0b;
  font-size: clamp(30px, 4vw, 36px);
  line-height: 1.1;
  text-align: center;
}

.contact-hero__cardLead {
  margin: 10px 0 18px;
  color: rgba(0,0,0,0.65);
  text-align: center;
  font-size: 14px;
}

.contact-hero__privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  text-align: center;
}
.contact-hero__privacy a { color: inherit; text-decoration: underline; }

/* Form base */
.contact-form .entry-box { margin-bottom: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 14px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0,0,0,0.32);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.55) 50%),
    linear-gradient(135deg, rgba(0,0,0,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contact-form .messages { margin: 0 0 12px; }

/* Botón (mantiene dsn-btn, pero lo “viste” a lo screenshot) */
.contact-form .dsn-btn.btn-enviar {
  background: #c9aa2a;
  border-radius: 999px;
  padding: 12px 18px;
  border: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(201, 170, 42, 0.25);
}

.contact-form .dsn-btn.btn-enviar .btn-text,
.contact-form .dsn-btn.btn-enviar .btn-loading {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form .dsn-btn.btn-enviar:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* ==========================================================================
   CTA section (doble botón)
   ========================================================================== */
.contact-cta {
  padding: 70px 0;
  background: #0a1722;
}

.contact-cta__inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.contact-cta__title {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.contact-cta__lead {
  color: rgba(255,255,255,0.75);
  margin: 0 0 22px;
}

.contact-cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.contact-btn--primary {
  background: #c9aa2a;
  color: #fff;
}

.contact-btn--whatsapp {
  background: #1db954;
  color: #fff;
}

/* ==========================================================================
   Locations (maps)
   ========================================================================== */
.contact-locations {
  padding: 70px 0;
  background: #07121a;
}

.contact-locations__title {
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
  font-size: 26px;
}

.contact-locations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
}

.location-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  padding: 14px;
}

.location-card__title {
  color: #fff;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 4px 0 12px;
}

.location-card__map {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
}

.location-card__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card__address {
  margin: 10px 0 0;
  text-align: center;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

/* ==========================================================================
   WhatsApp floating button (venía inline)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 125px;
  right: 20px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover { transform: scale(1.05); }

.whatsapp-float img { width: 32px; height: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .contact-hero { padding: 70px 0 50px; }
  .contact-hero__grid { grid-template-columns: 1fr; }
  .contact-hero__card { order: 2; }
  .contact-hero__copy { order: 1; }
  .contact-locations__grid { grid-template-columns: 1fr; }
}


.main-root {margin-top:70px;}


/* =========================
   BYH Header - FIX NAV
   ========================= */

/* Desktop: fuerza nav visible y oculta burger/backdrop */
@media (min-width: 992px) {
  #byhNav {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    height: auto !important;
    width: auto !important;
    pointer-events: auto !important;
  }

  .byh-burger,
  .byh-nav-backdrop {
    display: none !important;
  }
}

/* Mobile: panel full (abre “al 100%”) */
@media (max-width: 991.98px) {
  #byhNav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw; /* si lo quieres full: 100vw */
    background: rgba(10,10,10,.95);
    backdrop-filter: blur(10px);
    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    z-index: 10060;
    overflow: auto;
  }

  /* cuando el theme “abra” el menú, debe existir alguna clase en body/html.
     Te dejo 3 opciones comunes; con cualquiera que use tu theme, funciona. */
  body.nav-open #byhNav,
  body.menu-open #byhNav,
  body.byh-nav-open #byhNav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .byh-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 10050;
  }

  body.nav-open .byh-nav-backdrop,
  body.menu-open .byh-nav-backdrop,
  body.byh-nav-open .byh-nav-backdrop {
    opacity: 1;
    visibility: visible;
  }
}

.mobile-visible {display:none;}

@media (max-width: 991.98px) {
  .byh-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-visible {display:block;        max-width: 200px;
        text-align: center;
        line-height: 46px;}
}

#navToggle {z-index:99999;}
