/* ============================================================
   BAAL STUDIO
   CONTACT.CSS — ESTILOS ESPECÍFICOS PARA LA PÁGINA "CONTACTO"
   ============================================================ */

/* ------------------------------------------------------------
   HEADER ESPECÍFICO
   ------------------------------------------------------------ */
.contact-header {
  background-color: #111111 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------
   CONTENEDOR PRINCIPAL
   ------------------------------------------------------------ */
.contact-main {
  background: var(--bg, #f5f4f0);
  color: var(--black, #111111);
  min-height: 100vh;
  padding: 160px 0 100px 0;
}

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

/* ------------------------------------------------------------
   COLUMNA IZQUIERDA (INFO)
   ------------------------------------------------------------ */
.contact-info-col {
  position: sticky;
  top: 140px;
}

.contact-title {
  font-family: var(--font-title, 'Bodoni Moda', serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.contact-title-en {
  font-family: var(--font-title, 'Bodoni Moda', serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--gray, #777777);
  margin: 10px 0 40px 0;
  font-style: italic;
}

.contact-intro-copy {
  margin-bottom: 50px;
  max-width: 90%;
}

.contact-intro-copy p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0 0 10px 0;
}

.contact-intro-copy p.english-copy {
  color: var(--gray, #777777);
  font-size: 11px;
}

.contact-details-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 30px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray, #777777);
  font-weight: 500;
}

.detail-value {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15px;
  color: var(--black, #111111);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-value:hover {
  color: var(--accent, #a28b6d);
}

.detail-value-en {
  font-size: 11px;
  color: var(--gray, #777777);
}

/* ------------------------------------------------------------
   COLUMNA DERECHA (FORMULARIO)
   ------------------------------------------------------------ */
.contact-form-col {
  background: #f0eee8;
  padding: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.baal-contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--black, #111111);
}

.form-group label small {
  color: var(--gray, #777777);
  margin-left: 4px;
}

/* CAMPOS DELIMITADOS (CAJETINES VISIBLES Y ELEGANTES) */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #e8e5dc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15px;
  color: var(--black, #111111);
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

/* EFECTO FOCUS */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #dcd9ce;
  border-color: #2b2823;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="%23111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background-color: #faf9f6;
  color: #111111;
  padding: 12px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* AUTOCOMPLETADO */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group select:-webkit-autofill {
  -webkit-text-fill-color: #111111 !important;
  -webkit-box-shadow: 0 0 0px 1000px #e8e5dc inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.char-counter {
  position: absolute;
  bottom: -22px;
  right: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 10px;
  color: var(--gray, #777777);
}

/* CASILLA DE PRIVACIDAD (RGPD) */
.form-privacy-checkbox {
  margin-top: 5px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin-top: 3px;
  accent-color: var(--accent, #a28b6d);
  cursor: pointer;
}

.checkbox-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12px;
  line-height: 1.5;
  color: var(--black, #111111);
}

.checkbox-text a {
  color: var(--black, #111111);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.checkbox-text a:hover {
  color: var(--accent, #a28b6d);
}

/* PIE DEL FORMULARIO */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}

.form-disclaimer {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 10px;
  line-height: 1.5;
  color: var(--black, #111111);
  margin: 0;
}

.disclaimer-en {
  color: var(--gray, #777777);
}

.btn-submit {
  background: #2b2823;
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-submit:hover {
  background: var(--accent, #a28b6d);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-info-col {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .contact-form-col {
    padding: 30px 20px;
  }
}

.form-privacy-notice {
  margin: 12px 0 18px;
  color: #777;
  font-size: 10px;
  line-height: 1.7;
  font-weight: 300;
}

.form-privacy-notice a {
  color: var(--accent, #b08a57);
  text-decoration: underline;
  text-decoration-color: var(--accent, #b08a57);
  text-underline-offset: 3px;
}

.form-privacy-notice a:hover {
  color: var(--accent, #b08a57);
}

/* SELECTOR DE IDIOMAS */
.baal-language-selector {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  font-family: var(--font-body, Inter, sans-serif);
}

.baal-language-selector,
.baal-language-selector * {
  box-sizing: border-box;
}

.baal-lang-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 130px;
  padding: 10px 16px;
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.baal-lang-current:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(24, 24, 24, 0.98);
}

.baal-lang-current svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease;
}

.baal-language-selector.is-open .baal-lang-current svg {
  transform: rotate(180deg);
}

.baal-lang-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 100000;
  display: none;
  flex-direction: column;
  width: 160px;
  max-height: min(65vh, 420px);
  overflow-y: auto;
  padding: 6px 0;
  background: rgba(24, 24, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.baal-language-selector.is-open .baal-lang-dropdown {
  display: flex;
}

.baal-lang-dropdown a {
  display: block;
  padding: 9px 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.baal-lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.baal-language-selector,
.baal-language-selector * {
  translate: no;
}

/* GOOGLE TRANSLATE OCULTO */
#google_translate_element {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  pointer-events: none !important;
}

body > .skiptranslate,
html body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  background-color: #111111 !important;
}

html, body {
  top: 0 !important;
  background-color: #111111 !important;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

footer, .site-footer, #footer {
  background-color: #111111 !important;
}

/* COMPARTIR */
.baal-share-selector {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: var(--font-body, Inter, sans-serif);
}

.baal-share-selector,
.baal-share-selector * {
  box-sizing: border-box;
}

.baal-share-btn-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 130px;
  padding: 10px 16px;
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.baal-share-btn-current:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(24, 24, 24, 0.98);
  color: #ffffff;
}

.baal-share-btn-current svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-avisos {
  display: inline-block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-avisos:hover {
  color: var(--accent, #b08a57);
}
