/* ═══════════════════════════════════════════════════════════
   VIDALES — Página en construcción
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold:      #e5b12e;
  --gold-dark: #c8951f;
  --green:     #15934b;
  --blue:      #0e5391;
  --dark:      #0b0a0a;
  --cream:     #f0ede8;
  --muted:     #cfc3b0;
  --muted-2:   #8a7f6f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--cream);
  width: 100vw;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   VIDEO DE FONDO
   ═══════════════════════════════════════════ */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.75) saturate(1.05);
}

/* Si no hay video, se ve un fondo oscuro elegante */
.video-bg video:not([src])::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #1a2530 0%, #0b0a0a 100%);
}

/* ═══════════════════════════════════════════
   OVERLAY CON GRADIENTES
   ═══════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 10, 10, 0.4) 0%, rgba(11, 10, 10, 0.88) 100%),
    linear-gradient(180deg, rgba(11, 10, 10, 0.7) 0%, rgba(11, 10, 10, 0.35) 30%, rgba(11, 10, 10, 0.75) 100%);
}

/* ═══════════════════════════════════════════
   CONTENEDOR
   ═══════════════════════════════════════════ */
.container {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem 3rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  height: 152px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
  transition: transform .3s ease;
}

.logo img:hover { transform: scale(1.04); }

.lang-selector {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--muted);
}

.lang-selector button {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  letter-spacing: 3px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all .25s;
}

.lang-selector button:hover { color: var(--gold); }

.lang-selector button.active {
  color: var(--gold);
  background: rgba(229, 177, 46, 0.1);
}

.lang-selector span { opacity: .3; }

/* ═══════════════════════════════════════════
   CENTRO
   ═══════════════════════════════════════════ */
.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  gap: 1.5rem;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
}

.line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  margin: 0;
  max-width: 900px;
}

.sub {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  font-weight: 200;
  letter-spacing: 1.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════
   FORMULARIO
   ═══════════════════════════════════════════ */
.form {
  width: 100%;
  max-width: 520px;
  margin-top: 1rem;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(11, 10, 10, 0.55);
  border: 1px solid rgba(229, 177, 46, 0.4);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(229, 177, 46, 0.1);
  transition: all .3s ease;
}

.input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 20px 50px -15px rgba(229, 177, 46, 0.3),
              0 0 0 3px rgba(229, 177, 46, 0.15);
}

.input-group > i {
  color: var(--gold);
  font-size: .95rem;
  opacity: .8;
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 300;
  letter-spacing: .5px;
  padding: 14px 12px;
  min-width: 0;
}

.input-group input::placeholder {
  color: var(--muted-2);
  opacity: .8;
}

.input-group button {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0b0a0a;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
  box-shadow: 0 6px 20px -6px rgba(229, 177, 46, 0.6);
}

.input-group button:hover {
  transform: translateX(2px);
  box-shadow: 0 10px 26px -6px rgba(229, 177, 46, 0.9);
}

.input-group button i { font-size: .7rem; }

/* Mensajes */
.form-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem;
  margin-top: 1rem;
  max-width: 520px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.form-msg.show { display: flex; }

.form-msg.success {
  background: rgba(21, 147, 75, 0.15);
  color: #7ee0a4;
  border: 1px solid rgba(21, 147, 75, 0.4);
}

.form-msg.error {
  background: rgba(231, 76, 60, 0.15);
  color: #f1958b;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 10, 10, 0.5);
  border: 1px solid rgba(229, 177, 46, 0.35);
  color: var(--gold);
  font-size: .95rem;
  text-decoration: none;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

.social a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0b0a0a;
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px -8px rgba(229, 177, 46, 0.6);
}

.contact {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .5px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.contact a:hover { color: var(--gold); }
.contact i { color: var(--gold); opacity: .8; }
.dot { opacity: .4; }

.copy {
  font-size: .68rem;
  color: var(--muted-2);
  letter-spacing: 1px;
  opacity: .75;
  text-align: center;
}

.copy i { margin-right: 4px; color: var(--gold); opacity: .7; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 1.5rem 1.5rem 1.2rem; }
  .headline { letter-spacing: 2px; }
  .sub { font-size: .9rem; letter-spacing: 1px; }
}

@media (max-width: 600px) {
  .header { flex-direction: column; gap: 1rem; }
  .logo img { height: 42px; }

  .eyebrow { font-size: .68rem; letter-spacing: 4px; }
  .line { width: 24px; }

  .input-group {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px;
    gap: .5rem;
  }
   .social {
    gap: .5rem;
  }

  .social a {
    width: 38px;
    height: 38px;
    font-size: .85rem;
  }

  

  .input-group > i { padding-left: 1rem; }
  .input-group input { padding: 12px 8px; }
  .input-group button { width: 100%; justify-content: center; }

  .contact { font-size: .7rem; }
  .copy { font-size: .62rem; }
}

/* Hover por red social */
.social a[aria-label="Facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

.social a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  color: #fff;
}

.social a[aria-label="YouTube"]:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #fff;
}

.social a[aria-label="LinkedIn"]:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
}