/*
Theme Name: DC Home
Template: generatepress
Version: 1.0.0
*/

/* ==================================================
   DC HOME - HEADER + FOOTER PREMIUM
   Logo: /wp-content/uploads/2026/06/logo-dc-home-scaled.webp

   PC:
   - Header fijo arriba

   MÓVIL:
   - My Sticky Elements arriba: Llamar / WhatsApp
   - Header pegado debajo, sin hueco
   - My Sticky Elements abajo: Redes sociales
   - Menú hamburguesa estable
================================================== */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

:root {
  --dchome-dark: #070b14;
  --dchome-dark-2: #0b1020;
  --dchome-navy: #101a32;
  --dchome-blue: #1b2b50;

  --dchome-gold: #c8a45d;
  --dchome-gold-light: #f3d991;
  --dchome-gold-soft: rgba(200, 164, 93, .18);

  --dchome-silver: #d8dce3;
  --dchome-silver-light: #f5f6f8;

  --dchome-white: #ffffff;
  --dchome-text: #1d2433;
  --dchome-muted: #687386;

  --dchome-border: rgba(216, 220, 227, .16);
  --dchome-border-gold: rgba(200, 164, 93, .24);
  --dchome-shadow: 0 22px 60px rgba(3, 7, 18, .30);
  --dchome-max: 1240px;

  --dchome-header-desktop: 94px;

  /* Ajuste móvil principal */
  --dchome-mse-top: 45px;
  --dchome-header-mobile: 86px;
  --dchome-mse-bottom: 58px;
}

/* ==================================================
   BASE
================================================== */

html {
  scroll-padding-top: var(--dchome-header-desktop);
}

body {
  padding-top: var(--dchome-header-desktop) !important;
  overflow-x: hidden !important;
}

.dchome-header,
.dchome-header *,
.dchome-footer,
.dchome-footer * {
  box-sizing: border-box;
}

.dchome-header a,
.dchome-footer a {
  text-decoration: none !important;
}

.dchome-container,
.dchome-footer__container {
  width: 100%;
  max-width: var(--dchome-max);
  margin: 0 auto;
  padding: 0 22px;
}

/* ==================================================
   HEADER PC
================================================== */

.dchome-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  font-family: Arial, Helvetica, sans-serif;
}

.dchome-header__wrap {
  width: 100%;
  background:
    radial-gradient(circle at 9% 0%, rgba(200, 164, 93, .14), transparent 26%),
    radial-gradient(circle at 92% 50%, rgba(216, 220, 227, .07), transparent 28%),
    linear-gradient(135deg, #070b14 0%, #0b1020 44%, #101a32 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 220, 227, .13);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
}

.dchome-header__inner {
  min-height: var(--dchome-header-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* ==================================================
   LOGO HEADER
================================================== */

.dchome-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 235px;
  max-width: 235px;
  min-width: 235px;
  line-height: 0;
  padding: 5px 0;
}

.dchome-logo__img {
  display: block;
  width: 235px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, .34))
    drop-shadow(0 0 12px rgba(243, 217, 145, .10));
  transition: transform .25s ease, filter .25s ease;
}

.dchome-logo:hover .dchome-logo__img {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 14px 24px rgba(0, 0, 0, .42))
    drop-shadow(0 0 16px rgba(243, 217, 145, .16));
}

/* Ocultar logo antiguo */
.dchome-logo__mark,
.dchome-logo__text {
  display: none !important;
}

/* ==================================================
   NAV PC
================================================== */

.dchome-menu-toggle,
.dchome-sub-toggle {
  display: none;
}

.dchome-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.dchome-nav__item {
  position: relative;
}

.dchome-nav__services-row {
  display: flex;
  align-items: center;
}

.dchome-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(245, 246, 248, .86);
  font-size: 14px;
  font-weight: 800;
  transition: all .25s ease;
  white-space: nowrap;
}

.dchome-nav__link:hover,
.dchome-nav__link:focus {
  background: rgba(255, 255, 255, .08);
  color: var(--dchome-gold-light);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 93, .28);
}

.dchome-nav__link--services::after {
  content: "▾";
  margin-left: 7px;
  font-size: 11px;
  opacity: .85;
}

.dchome-nav__arrow {
  display: none;
}

/* ==================================================
   MEGA MENÚ PC
================================================== */

.dchome-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(980px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--dchome-border-gold);
  box-shadow: var(--dchome-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .22s ease;
}

.dchome-mega--zones {
  grid-template-columns: 1.05fr 1fr 1fr;
  width: min(760px, calc(100vw - 36px));
}

.dchome-nav__item:hover .dchome-mega,
.dchome-nav__item:focus-within .dchome-mega,
.dchome-mega:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Puente invisible para que no se cierre el desplegable */
@media (min-width: 1121px) {
  .dchome-nav__item::after {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    top: 100%;
    height: 18px;
    background: transparent;
    pointer-events: auto;
  }
}

.dchome-mega__featured {
  min-height: 100%;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(7, 11, 20, .92), rgba(16, 26, 50, .90)),
    url('/wp-content/uploads/2026/06/dc-home-casa-expandible-hero.webp') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.dchome-mega__featured-content span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(243, 217, 145, .16);
  color: var(--dchome-gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.dchome-mega__featured-content strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.dchome-mega__col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dchome-mega__col h3 {
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 26, 50, .12);
  color: var(--dchome-navy);
  font-size: 15px;
  font-weight: 900;
}

.dchome-mega__col h3 a {
  color: var(--dchome-navy);
}

/* Items con punto dorado */
.dchome-mega__col > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 14px;
  color: #344056;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  transition: all .2s ease;
}

.dchome-mega__col > a::before {
  content: "";
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 999px;
  background: var(--dchome-gold);
  opacity: .85;
  flex: 0 0 auto;
  transition: all .2s ease;
}

.dchome-mega__col > a:hover,
.dchome-mega__col > a:focus {
  background: linear-gradient(135deg, var(--dchome-navy), var(--dchome-blue));
  color: #fff;
  transform: translateX(3px);
}

.dchome-mega__col > a:hover::before,
.dchome-mega__col > a:focus::before {
  background: var(--dchome-gold-light);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(243, 217, 145, .16);
}

/* ==================================================
   BOTONES HEADER
================================================== */

.dchome-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dchome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8a45d 0%, #f3d991 100%);
  color: #0b1020 !important;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    0 14px 30px rgba(200, 164, 93, .22),
    inset 0 1px 0 rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .20);
  transition: all .25s ease;
}

.dchome-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 18px 36px rgba(200, 164, 93, .30),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}

/* ==================================================
   HAMBURGUESA
================================================== */

.dchome-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(216, 220, 227, .18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all .25s ease;
}

.dchome-menu-btn:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(243, 217, 145, .30);
}

.dchome-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: all .25s ease;
}

/* ==================================================
   MÓVIL - HEADER + MY STICKY ELEMENTS
================================================== */

@media (max-width: 1120px) {
  html {
    scroll-padding-top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile) - 2px) !important;
  }

  body {
    padding-top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile) - 2px) !important;
    padding-bottom: calc(var(--dchome-mse-bottom) + 16px) !important;
    overflow-x: hidden !important;
  }

  /* My Sticky Elements */
  #mystickyelements-wrap,
  .mystickyelements-fixed,
  .mystickyelements-position-top,
  .mystickyelements-mobile-position-top,
  .mystickyelements-position-bottom,
  .mystickyelements-mobile-position-bottom {
    z-index: 100000 !important;
  }

  .mystickyelements-position-top,
  .mystickyelements-mobile-position-top {
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mystickyelements-position-bottom,
  .mystickyelements-mobile-position-bottom {
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mystickyelements-fixed,
  .mystickyelements-fixed ul,
  .mystickyelements-fixed li,
  .mystickyelements-fixed a,
  .mystickyelements-fixed .mystickyelements-social-icon {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
  }

  /* Header móvil pegado a la barra superior */
  .dchome-header {
    position: fixed !important;
    top: calc(var(--dchome-mse-top) - 2px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99990 !important;
  }

  .dchome-header__wrap {
    margin: 0 !important;
    border-top: 0 !important;
  }

  .dchome-header__inner {
    min-height: var(--dchome-header-mobile) !important;
    height: var(--dchome-header-mobile) !important;
    gap: 12px !important;
  }

  .dchome-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .dchome-logo {
    width: 205px !important;
    max-width: 205px !important;
    min-width: 205px !important;
    padding: 0 !important;
  }

  .dchome-logo__img {
    width: 205px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .dchome-btn--desktop {
    display: none !important;
  }

  .dchome-menu-btn {
    display: flex !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .10) !important;
    border: 1px solid rgba(243, 217, 145, .28) !important;
    gap: 6px !important;
  }

  .dchome-menu-btn span {
    width: 25px !important;
    height: 2px !important;
  }

  /* Animación X */
  .dchome-menu-toggle:checked ~ .dchome-actions .dchome-menu-btn span:nth-child(1),
  .dchome-menu-toggle:checked ~ .dchome-menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .dchome-menu-toggle:checked ~ .dchome-actions .dchome-menu-btn span:nth-child(2),
  .dchome-menu-toggle:checked ~ .dchome-menu-btn span:nth-child(2) {
    opacity: 0 !important;
  }

  .dchome-menu-toggle:checked ~ .dchome-actions .dchome-menu-btn span:nth-child(3),
  .dchome-menu-toggle:checked ~ .dchome-menu-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}

/* ==================================================
   MENÚ HAMBURGUESA MÓVIL
================================================== */

@media (max-width: 1120px) {
  .dchome-nav {
    position: fixed !important;
    top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile) - 2px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - var(--dchome-mse-top) - var(--dchome-header-mobile) - var(--dchome-mse-bottom) + 2px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 16px 14px 22px !important;
    border-radius: 0 0 26px 26px !important;
    background:
      radial-gradient(circle at 10% 0%, rgba(200, 164, 93, .16), transparent 32%),
      linear-gradient(135deg, rgba(7, 11, 20, .99), rgba(16, 26, 50, .99)) !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    border-bottom: 1px solid rgba(200, 164, 93, .20) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .42) !important;
    z-index: 99989 !important;
  }

  .dchome-menu-toggle:checked ~ .dchome-nav {
    display: flex !important;
  }

  .dchome-nav__item {
    width: 100% !important;
    position: relative !important;
  }

  .dchome-nav__services-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 56px !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .dchome-nav__link {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 18px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .075) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  }

  .dchome-nav__link:hover,
  .dchome-nav__link:focus {
    background: rgba(255, 255, 255, .12) !important;
    color: var(--dchome-gold-light) !important;
  }

  .dchome-nav__link--services::after {
    display: none !important;
  }

  .dchome-nav__arrow {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--dchome-gold), var(--dchome-gold-light)) !important;
    color: var(--dchome-navy) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(200, 164, 93, .20) !important;
    transition: transform .2s ease !important;
  }

  .dchome-sub-toggle:checked ~ .dchome-nav__services-row .dchome-nav__arrow {
    transform: rotate(180deg) !important;
  }
}

/* ==================================================
   DESPLEGABLES MÓVIL
================================================== */

@media (max-width: 1120px) {
  .dchome-mega,
  .dchome-mega--zones {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 10px 0 4px !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    border: 1px solid rgba(200, 164, 93, .24) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
  }

  .dchome-sub-toggle:checked ~ .dchome-mega {
    display: grid !important;
  }

  .dchome-mega__featured {
    min-height: 130px !important;
    width: 100% !important;
    border-radius: 18px !important;
    padding: 18px !important;
    display: flex !important;
  }

  .dchome-mega__featured-content span {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  .dchome-mega__featured-content strong {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .dchome-mega__col {
    width: 100% !important;
    display: grid !important;
    gap: 8px !important;
  }

  .dchome-mega__col h3 {
    margin: 4px 0 6px !important;
    padding-bottom: 9px !important;
    color: var(--dchome-navy) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .dchome-mega__col h3 a {
    color: var(--dchome-navy) !important;
  }

  .dchome-mega__col > a {
    width: 100% !important;
    min-height: 48px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 13px !important;
    border-radius: 15px !important;
    background: rgba(16, 26, 50, .045) !important;
    border: 1px solid rgba(16, 26, 50, .075) !important;
    color: #344056 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    transform: none !important;
  }

  .dchome-mega__col > a::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    border-radius: 999px !important;
    background: var(--dchome-gold) !important;
    opacity: .9 !important;
    flex: 0 0 auto !important;
  }

  .dchome-mega__col > a:hover,
  .dchome-mega__col > a:focus {
    background: linear-gradient(135deg, var(--dchome-navy), var(--dchome-blue)) !important;
    color: #ffffff !important;
    transform: none !important;
  }
}

/* ==================================================
   MÓVIL PEQUEÑO
================================================== */

@media (max-width: 640px) {
  :root {
    --dchome-mse-top: 45px;
    --dchome-header-mobile: 84px;
    --dchome-mse-bottom: 58px;
  }

  .dchome-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .dchome-header__inner {
    min-height: var(--dchome-header-mobile) !important;
    height: var(--dchome-header-mobile) !important;
    gap: 10px !important;
  }

  .dchome-logo {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
  }

  .dchome-logo__img {
    width: 200px !important;
  }

  .dchome-menu-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 17px !important;
  }

  .dchome-menu-btn span {
    width: 24px !important;
  }

  .dchome-nav {
    top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile) - 2px) !important;
    max-height: calc(100vh - var(--dchome-mse-top) - var(--dchome-header-mobile) - var(--dchome-mse-bottom) + 2px) !important;
    padding: 14px 12px 20px !important;
  }
}

@media (max-width: 390px) {
  .dchome-logo {
    width: 178px !important;
    max-width: 178px !important;
    min-width: 178px !important;
  }

  .dchome-logo__img {
    width: 178px !important;
  }

  .dchome-menu-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  .dchome-nav__link {
    min-height: 54px !important;
    font-size: 15px !important;
  }

  .dchome-nav__arrow {
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
  }

  .dchome-nav__services-row {
    grid-template-columns: 1fr 54px !important;
  }
}

/* ==================================================
   FOOTER
================================================== */

.dchome-footer {
  position: relative;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 164, 93, .14), transparent 32%),
    radial-gradient(circle at 88% 42%, rgba(216, 220, 227, .08), transparent 30%),
    linear-gradient(135deg, #070b14 0%, #0b1020 45%, #101a32 100%);
}

.dchome-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .28;
  pointer-events: none;
}

.dchome-footer__top,
.dchome-footer__bottom {
  position: relative;
  z-index: 2;
}

.dchome-footer__top {
  padding: 78px 0 46px;
}

.dchome-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr .78fr .72fr .85fr 1.05fr;
  gap: 32px;
  align-items: start;
}

/* ==================================================
   LOGO FOOTER
================================================== */

.dchome-footer__brand {
  max-width: 360px;
}

.dchome-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 280px;
  max-width: 100%;
  margin-bottom: 22px;
  line-height: 0;
}

.dchome-footer__logo-img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 26px rgba(0, 0, 0, .38))
    drop-shadow(0 0 14px rgba(243, 217, 145, .12));
}

.dchome-footer__logo-mark,
.dchome-footer__logo-text {
  display: none !important;
}

.dchome-footer__brand p {
  margin: 0;
  color: rgba(245, 246, 248, .74);
  font-size: 15px;
  line-height: 1.75;
}

.dchome-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.dchome-footer__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(243,217,145,.16);
  color: rgba(245,246,248,.78);
  font-size: 12px;
  font-weight: 800;
}

/* ==================================================
   COLUMNAS FOOTER
================================================== */

.dchome-footer__col h3,
.dchome-footer__contact h3 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: var(--dchome-gold-light);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.dchome-footer__col h3::after,
.dchome-footer__contact h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dchome-gold), var(--dchome-gold-light));
}

.dchome-footer__links {
  display: grid;
  gap: 11px;
}

.dchome-footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 246, 248, .72);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  transition: all .22s ease;
}

.dchome-footer__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--dchome-gold);
  opacity: .75;
  flex: 0 0 auto;
}

.dchome-footer__links a:hover,
.dchome-footer__links a:focus {
  color: var(--dchome-gold-light);
  transform: translateX(4px);
}

/* ==================================================
   CONTACTO FOOTER
================================================== */

.dchome-footer__contact-list {
  display: grid;
  gap: 12px;
}

.dchome-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(216,220,227,.12);
  transition: all .22s ease;
}

.dchome-footer__contact-item:hover {
  background: rgba(255,255,255,.095);
  border-color: rgba(243,217,145,.28);
  transform: translateY(-2px);
}

.dchome-footer__contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--dchome-gold), var(--dchome-gold-light));
  color: var(--dchome-navy);
  font-size: 15px;
}

.dchome-footer__contact-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}

.dchome-footer__contact-item small {
  display: block;
  color: rgba(245,246,248,.68);
  font-size: 13px;
  line-height: 1.35;
}

.dchome-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--dchome-gold), var(--dchome-gold-light));
  color: var(--dchome-navy) !important;
  font-size: 14px;
  font-weight: 900;
  box-shadow:
    0 14px 30px rgba(200,164,93,.22),
    inset 0 1px 0 rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.18);
  transition: all .25s ease;
}

.dchome-footer__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ==================================================
   FOOTER BOTTOM
================================================== */

.dchome-footer__bottom {
  border-top: 1px solid rgba(216,220,227,.12);
  background: rgba(0,0,0,.18);
}

.dchome-footer__bottom-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.dchome-footer__bottom p {
  margin: 0;
  color: rgba(245,246,248,.68);
  font-size: 14px;
  line-height: 1.5;
}

.dchome-footer__legal {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.dchome-footer__legal a {
  position: relative;
  color: rgba(245,246,248,.72);
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
  transition: color .2s ease;
}

.dchome-footer__legal a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.22);
}

.dchome-footer__legal a:hover,
.dchome-footer__legal a:focus {
  color: var(--dchome-gold-light);
}

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

@media (max-width: 1120px) {
  .dchome-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .dchome-footer__brand,
  .dchome-footer__contact {
    grid-column: span 3;
    max-width: none;
  }

  .dchome-footer__contact-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .dchome-footer__btn {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .dchome-footer__container {
    padding: 0 16px;
  }

  .dchome-footer__top {
    padding: 58px 0 34px;
  }

  .dchome-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dchome-footer__brand,
  .dchome-footer__contact {
    grid-column: auto;
  }

  .dchome-footer__logo {
    width: 260px;
  }

  .dchome-footer__logo-img {
    width: 260px;
  }

  .dchome-footer__contact-list {
    grid-template-columns: 1fr;
  }

  .dchome-footer__btn {
    max-width: none;
  }

  .dchome-footer__bottom-inner {
    min-height: auto;
    padding: 22px 0;
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .dchome-footer__legal {
    width: 100%;
    gap: 9px 0;
  }

  .dchome-footer__legal a {
    padding: 0 10px 0 0;
    margin-right: 10px;
  }

  .dchome-footer__legal a:not(:last-child)::after {
    right: -1px;
  }
}

@media (max-width: 390px) {
  .dchome-footer__logo {
    width: 235px;
  }

  .dchome-footer__logo-img {
    width: 235px;
  }
}

/* ==================================================
   DC HOME - FIX DEFINITIVO MENÚ HAMBURGUESA MÓVIL
   Menú pegado al header, sin espacio
================================================== */

@media (max-width: 1120px) {

  :root {
    --dchome-mse-top: 46px;
    --dchome-header-mobile: 86px;
    --dchome-mse-bottom: 58px;
  }

  html {
    scroll-padding-top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile)) !important;
  }

  body {
    padding-top: calc(var(--dchome-mse-top) + var(--dchome-header-mobile)) !important;
    padding-bottom: calc(var(--dchome-mse-bottom) + 16px) !important;
    overflow-x: hidden !important;
  }

  /* Header justo debajo de My Sticky Elements */
  .dchome-header {
    position: fixed !important;
    top: var(--dchome-mse-top) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99990 !important;
  }

  .dchome-header__wrap {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  .dchome-header__inner {
    position: relative !important;
    min-height: var(--dchome-header-mobile) !important;
    height: var(--dchome-header-mobile) !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Logo y hamburguesa */
  .dchome-logo {
    width: 205px !important;
    max-width: 205px !important;
    min-width: 205px !important;
    padding: 0 !important;
  }

  .dchome-logo__img {
    width: 205px !important;
    height: auto !important;
  }

  .dchome-btn--desktop {
    display: none !important;
  }

  .dchome-menu-btn {
    display: flex !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    border-radius: 18px !important;
  }

  /* MENÚ: pegado al header, sin top calculado */
  .dchome-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;

    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;

    max-height: calc(100vh - var(--dchome-mse-top) - var(--dchome-header-mobile) - var(--dchome-mse-bottom)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    margin: 0 !important;
    padding: 16px 14px 22px !important;
    border-radius: 0 0 26px 26px !important;

    background:
      radial-gradient(circle at 10% 0%, rgba(200, 164, 93, .16), transparent 32%),
      linear-gradient(135deg, rgba(7, 11, 20, .99), rgba(16, 26, 50, .99)) !important;

    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    border-bottom: 1px solid rgba(200, 164, 93, .22) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .42) !important;
    z-index: 99999 !important;
  }

  .dchome-menu-toggle:checked ~ .dchome-nav {
    display: flex !important;
  }

  .dchome-nav__item {
    width: 100% !important;
  }

  .dchome-nav__services-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 56px !important;
    gap: 10px !important;
  }

  .dchome-nav__link {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 18px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .075) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  .dchome-nav__arrow {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--dchome-gold), var(--dchome-gold-light)) !important;
    color: var(--dchome-navy) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Desplegables estables */
  .dchome-mega,
  .dchome-mega--zones {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 10px 0 0 !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none !important;
  }

  .dchome-sub-toggle:checked ~ .dchome-mega {
    display: grid !important;
  }
}

/* Ajuste si todavía queda 1-2px de hueco entre iconos y header */
@media (max-width: 1120px) {
  .dchome-header {
    top: 44px !important;
  }

  body {
    padding-top: calc(44px + var(--dchome-header-mobile)) !important;
  }
}

/* ==================================================
   DC HOME - SERVICIOS Y ZONAS ABREN HACIA ABAJO EN MÓVIL
================================================== */

@media (max-width: 1120px) {

  /* El menú principal debe comportarse como columna normal */
  .dchome-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .dchome-menu-toggle:checked ~ .dchome-nav {
    display: flex !important;
  }

  /* Cada item ocupa una fila completa */
  .dchome-nav__item {
    width: 100% !important;
    display: block !important;
    position: relative !important;
  }

  /* Fila de Servicios / Zonas */
  .dchome-nav__services-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 56px !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* Evita comportamiento hover de escritorio en móvil */
  .dchome-nav__item:hover .dchome-mega,
  .dchome-nav__item:focus-within .dchome-mega {
    transform: none !important;
  }

  /* Desplegable cerrado por defecto */
  .dchome-mega,
  .dchome-mega--zones {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    grid-template-columns: 1fr !important;
    gap: 14px !important;

    margin: 10px 0 0 !important;
    padding: 14px !important;
    border-radius: 22px !important;

    background: #ffffff !important;
    border: 1px solid rgba(200, 164, 93, .24) !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* Abre hacia abajo al marcar el checkbox */
  .dchome-sub-toggle:checked ~ .dchome-mega {
    display: grid !important;
  }

  /* El botón de flecha rota al abrir */
  .dchome-sub-toggle:checked ~ .dchome-nav__services-row .dchome-nav__arrow {
    transform: rotate(180deg) !important;
  }

  /* Contenido interno estable */
  .dchome-mega__featured {
    width: 100% !important;
    min-height: 130px !important;
    border-radius: 18px !important;
    padding: 18px !important;
    display: flex !important;
  }

  .dchome-mega__col {
    width: 100% !important;
    display: grid !important;
    gap: 8px !important;
  }

  .dchome-mega__col h3 {
    margin: 4px 0 6px !important;
    padding-bottom: 9px !important;
    color: var(--dchome-navy) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .dchome-mega__col > a {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 13px !important;
    border-radius: 15px !important;
    background: rgba(16, 26, 50, .045) !important;
    border: 1px solid rgba(16, 26, 50, .075) !important;
    color: #344056 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
  }
}