/* === VARIABLES === */
:root {
  --negro: #0a0a0a;
  --negro2: #141414;
  --dorado: #d4af37;
  --dorado-hover: #f0c952;
  --blanco: #ffffff;
  --gris: #9a9a9a;
  --gris-claro: #cccccc;
}

/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--negro);
  color: var(--blanco);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 6%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 15px 6%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Logo    */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.header.scrolled .logo img {
  height: 48px;
  transition: all 0.3s ease;
}

.logo span {
  color: var(--dorado);
}

.header nav {
  display: flex;
  gap: 35px;
  align-items: center;
}

.header nav a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dorado);
  transition: width 0.3s ease;
}

.header nav a:hover {
  color: var(--dorado);
}

.header nav a:hover::after {
  width: 100%;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 6% 60px;
  background: 
    linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(20,20,20,0.85) 100%),
    url('https://images.unsplash.com/photo-1581091215367-59ab6f4df39c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
  color: var(--blanco);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  color: var(--gris-claro);
  margin-bottom: 40px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

/* === BOTÓN DORADO === */
.btn-dorado {
  background: linear-gradient(135deg, var(--dorado) 0%, #b88e20 100%);
  color: var(--negro);
  padding: 16px 48px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-dorado::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-dorado:hover::before {
  width: 300px;
  height: 300px;
}

.btn-dorado:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

/* === SLIDER === */
.slider-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--negro) 0%, var(--negro2) 100%);
}

.slider {
  width: 90%;
  max-width: 1400px;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  filter: brightness(0.7);
}

.slides img.active {
  opacity: 1;
}

.slider-text {
  position: relative;  
  text-align: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 25px 60px;
  border-radius: 15px;
  border: 2px solid var(--dorado);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin: 40px auto 0;  
  max-width: 600px;  
  width: fit-content;  
}

.slider-text h2 {
  margin: 0;
  color: var(--dorado);
  font-size: 28px;
  font-weight: 700;
}

.slider-text p {
  margin: 8px 0 0;
  color: white;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 300;
}

/* === FLECHAS SLIDER === */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: var(--dorado);
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background: rgba(212, 175, 55, 0.9);
  color: var(--negro);
  border-color: var(--dorado);
  transform: translateY(-50%) scale(1.1);
}

.arrow.left { left: 30px; }
.arrow.right { right: 30px; }

/* === INDICADORES SLIDER === */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--dorado);
  width: 30px;
  border-radius: 6px;
}

/* === SERVICIOS === */
.servicios-preview {
  padding: 100px 6%;
  text-align: center;
  background: var(--negro);
}

.servicios-preview h2 {
  color: var(--dorado);
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

.servicios-preview > p {
  color: var(--gris-claro);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--dorado);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.card .icono {
  font-size: 48px;
  color: var(--dorado);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.card:hover .icono {
  transform: scale(1.1) rotateY(360deg);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--blanco);
}

.card p {
  color: var(--gris);
  line-height: 1.7;
  font-size: 15px;
}

/* === PÁGINAS INTERNAS === */
.page {
  padding: 140px 6% 80px;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
}

.page h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--dorado);
  margin-bottom: 20px;
  text-align: center;
}

.intro-text {
  text-align: center;
  color: var(--gris-claro);
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* === LISTA SERVICIOS === */
.lista-servicios {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.item {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 30px;
  border-left: 4px solid var(--dorado);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.item:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.item-header i {
  font-size: 32px;
  color: var(--dorado);
}

.item h3 {
  font-size: 24px;
  color: var(--blanco);
  margin: 0;
}

.item p {
  color: var(--gris-claro);
  line-height: 1.8;
  font-size: 16px;
}

/* === ABOUT (NOSOTROS) === */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  margin-bottom: 60px;
}

.about-intro p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--gris-claro);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: var(--dorado);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.about-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--dorado) 0%, #b88e20 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-icon i {
  font-size: 36px;
  color: var(--negro);
}

.about-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dorado);
}

.about-card p {
  color: var(--gris-claro);
  line-height: 1.8;
}

/* === EXPERIENCE SECTION === */
.experience-section {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 50px 40px;
  border-radius: 20px;
  margin-top: 40px;
}

.experience-section h3 {
  text-align: center;
  font-size: 32px;
  color: var(--dorado);
  margin-bottom: 40px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.exp-item {
  text-align: center;
  padding: 20px;
}

.exp-item i {
  font-size: 48px;
  color: var(--dorado);
  margin-bottom: 15px;
}

.exp-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--blanco);
}

.exp-item p {
  color: var(--gris-claro);
  font-size: 15px;
}

/* === CONTACTO === */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.contact-info {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  height: fit-content;
}

.contact-info h3 {
  font-size: 24px;
  color: var(--dorado);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 28px;
  color: var(--dorado);
  margin-top: 5px;
}

.info-item h4 {
  font-size: 18px;
  color: var(--blanco);
  margin-bottom: 5px;
}

.info-item p {
  color: var(--gris-claro);
  font-size: 15px;
}

/* === FORMULARIO === */
.formulario {
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.formulario h3 {
  font-size: 24px;
  color: var(--dorado);
  margin-bottom: 30px;
  text-align: center;
}

.formulario input,
.formulario textarea,
.formulario select {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.1);
  color: var(--blanco);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus,
.formulario select:focus {
  outline: none;
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.formulario input::placeholder,
.formulario textarea::placeholder {
  color: #7f7f7f;
}

.formulario select {
  cursor: pointer;
}

.formulario button {
  width: 100%;
  margin-top: 10px;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  margin-top: 80px;
  padding: 60px 40px;
  background: linear-gradient(145deg, #141414 0%, #0f0f0f 100%);
  border-radius: 20px;
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.cta-section h3 {
  font-size: 28px;
  color: var(--blanco);
  margin-bottom: 30px;
}

/* === FOOTER === */
.footer {
  padding: 40px 6%;
  text-align: center;
  color: var(--gris);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: var(--negro2);
  font-size: 14px;
}

/* === WHATSAPP === */
.whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

/* === LANG SWITCH === */
.lang-switch {
  position: fixed;
  top: 5px;  
  right: 30px;
  z-index: 999;
  display: flex;
  gap: 10px;
}

.lang-switch button {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--blanco);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-switch button:hover {
  background: var(--dorado);
  color: var(--negro);
  border-color: var(--dorado);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  animation: fadeInUp 0.8s ease;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 5%;
    flex-direction: column;
    gap: 15px;
  }
  
  .header nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header nav a {
    font-size: 14px;
  }
  
  .logo {
    font-size: 22px;
  }
  
  .hero {
    padding: 100px 5% 40px;
  }
  
  .slider {
    width: 95%;
    height: 350px;
  }
  
  .slider-text {
    padding: 15px 30px;
  }
  
  .slider-text h2 {
    font-size: 20px;
  }
  
  .slider-text p {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .arrow.left { left: 15px; }
  .arrow.right { right: 15px; }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .lang-switch {
    top: 15px;  
    right: 15px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .page {
    padding: 120px 5% 60px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .btn-dorado {
    padding: 14px 32px;
    font-size: 14px;
  }
  
  .slider {
    height: 280px;
  }
  
  .slider-text {
    padding: 12px 20px;
  }
  
  .slider-text h2 {
    font-size: 18px;
  }
  
  .slider-text p {
    font-size: 10px;
  }
}