* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #f5f0e8;
  min-height: 100vh;
  background-color: #111;
  background-image: url('../Asset/images/jarron-contacto.png');
  background-size: cover;
  background-position: 78% center;
  background-repeat: no-repeat;
}

.lang-switch {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 20;
}

#lang-toggle {
  display: none;
}

.lang-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 32px;
  cursor: pointer;
  padding: 7px 8px;
  border: 1px solid #bea550;
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.55);
  box-sizing: border-box;
}

.lang-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #bea550;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 36px;
  right: 0;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: rgba(17,17,17,0.95);
  border: 1px solid #bea550;
  border-radius: 10px;
}

.lang-menu img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

#lang-toggle:checked ~ .lang-menu {
  display: flex;
}

.content {
  width: 58%;
  min-height: 100vh;
  padding: 16px 40px 40px 60px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: visible;
}

.logo {
  margin-top: -128px;
  margin-bottom: 12px;
  max-width: none;
  overflow: visible;
  transform: translateX(80px);
}

.logo img {
  height: 380px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: #f5f0e8;
  margin-top: -12px;
  margin-bottom: 14px;
  transform: translateX(80px);
}

.tagline {
  font-size: 20px;
  font-weight: 500;
  color: #bea550;
  margin-bottom: 28px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(80px);
}

.services {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-bottom: 40px;
  transform: translateX(80px);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 52px;
  border-right: 3px solid #bea550;
}

.service:last-child {
  border-right: none;
}

.service img {
  width: 60px;
  height: 60px;
}

.service span {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bea550;
  font-weight: 600;
}

.contact-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 16px 10px;
  margin-bottom: 12px;
  margin-left: 40px;
  margin-right: auto;
  width: 170%;
  max-width: 1500px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.8);
  border: 2px solid #bea550;
  box-shadow:
    0 0 8px rgba(196, 163, 90, 0.55),
    0 0 20px rgba(149, 100, 20, 0.22);
  position: relative;
  margin-top: 24px;
}

.contact-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 18%;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5e0a0, transparent);
  box-shadow: 0 0 8px 1px rgba(245, 224, 160, 0.75);
  pointer-events: none;
}

.contact-bar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 14%;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4b44a, transparent);
  box-shadow: 0 0 6px 1px rgba(232, 197, 106, 0.55);
  pointer-events: none;
}

.contact-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  text-decoration: none;
  color: #dfdcd2;
  font-weight: 500;
  font-size: 20px;
  white-space: nowrap;
  border-right: 1px solid rgba(196, 163, 90, 0.4);
  cursor: pointer;
}

.contact-item:last-child {
  border-right: none;
}

.contact-item:hover {
  color: #bea550;
}

.contact-item img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.sitio-img {
  display: none;
}

.footer-line {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170%;
  margin: 24px auto 0;
  max-width: 1500px;
  margin-left: 40px;
  margin-right: auto;
  transform: none !important;
  gap: 8px;

}

.footer-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.ft-line {
  display: block !important;
  width: 240px;
  height: 4px;
  background: #bea550;
  max-width: 2000px;
  margin-left: 40px;
  margin-right: auto;
}

.footer-text-img {
  display: block !important;
  height: 40px;
  width: auto;
}

.footer-compass {
  display: block !important;
  width: 78px;
  height: auto;
  margin-top: 10px;
  margin: 8px auto 0;
}

.footer-spark {
  display: block;
  width: 1100px;
  max-width: 95%;
  height: auto;
  margin-top: 6px auto 0;
}

.mobile-card {
  border: none;
  padding: 0;
  width: 100%;
}

@media (max-width: 900px) {
  body {
    background-image: none !important;
    background-color: #141313;
  }

  body::before {
    content: '';
    display: block;
    position: static !important;
    width: 100%;
    height: 240px;
    background-image:
     linear-gradient(
    to bottom,
    rgba(17,17,17,0) 78%,
    rgba(17,17,17,0.35) 90%,
    #111 100%
  ),
  url('../Asset/images/jarron-contacto-vertical.png');
    background-size: 100% auto !important;
    background-position: center 11% !important;
    background-repeat: no-repeat;
  }

  .content {
    width: 100% !important;
    max-width: 100%;
    min-height: auto !important;
    margin-top: -40px;
    padding: 0 22px 36px;
    background: transparent;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 0 8px;
    transform: none !important;
  }

  .logo img {
    height: 180px !important;
  }

  h1 {
    font-size: 1.85rem !important;
    line-height: 1.25;
    margin: 6px 0 16px;
    transform: none !important;
  }

  .tagline {
    color: #bea550;
    font-size: 11px;
    letter-spacing: 0.22em;
    line-height: 1.5;
    margin: 0 0 28px;
    white-space: normal;
    transform: none !important;
  }

  .mobile-card {
    width: 100%;
    margin-top: 4px;
    padding: 16px 12px 14px;
    border: none;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .services {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    border: none !important;
    padding: 0 8px 18px;
    margin-bottom: 8px;
    transform: none !important;
  }

  .service {
    width: 20%;
    padding: 0 6px;
    border: none;
    border-right: 1px solid rgba(190, 165, 80, 0.45) !important;
  }

  .service:last-child {
    border-right: none !important;
  }

  .service img {
    width: 28px !important;
    height: 28px !important;
  }

  .service span {
    font-size: 7px;
    letter-spacing: 0.04em;
    font-weight: 600;
  }

  .contact-bar {
    width: 86% !important;
    max-width: 340px !important;
    margin: 0 !important;
    flex-direction: column !important;
    border: 1px solid #bea550 !important;
    border-radius: 16px !important;
    background: rgba(10, 10, 10, 0.55) !important;
    box-shadow: none !important;
    padding: 8px 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center;
  }

  .contact-title {
    display: block;
    text-align: center;
    color: #bea550;
    font-size: 10px;
    letter-spacing: 0.32em;
    margin: 4px 0 10px;
  }

  .contact-item {
    width: 100% !important;
    flex: none !important;
    justify-content: flex-start !important;
    padding: 8px 10px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(190, 165, 80, 0.35);
    font-size: 16px !important;
    font-weight: 400;
  }

  .contact-item:last-child {
    border-bottom: none !important;
  }

  .contact-item img {
    width: 22px !important;
    height: 22px !important;
  }

  .footer-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px auto 0 !important;
    transform: none !important;
    gap: 8px !important;
  }

  .sitio-img {
    display: none !important;
  }

  .footer-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 90% !important;
    margin: 0 auto !important;
  }

 .ft-line {
    display: block !important;
    width: 28px !important;
    max-width: 28px !important;
    flex: none !important;
    height: 1px !important;
    margin: 0 !important;
    background: #bea550;
  }

 .footer-text-img {
    display: block !important;
    height: 12px !important;
    width: auto !important;
    max-width: 60%;
  }

  .footer-compass {
    display: block !important;
    width: 28px !important;
    margin: 6px auto 0 !important;
  }

  .footer-spark {
    display: block !important;
    width: 90% !important;
    max-width: 320px !important;
    height: auto !important;
    margin: 6px auto 0 !important;
  }

  .lang-switch {
    top: 14px;
    right: 14px;
  }
}