:root {
  --primary-color: #0d0d0d;
  --secondary-color: #1a1a1a;
  --text-color: #e0e0e0;
  --accent-color: #c0c0c0; /* Silver */
  --highlight-color: #ffffff;
  --font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--highlight-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--highlight-color);
}

/* Header & Navbar */
header {
  background-color: #000000;
  padding: 0 5%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.8);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--highlight-color);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  height: 100%;
}

.logo span {
  color: var(--accent-color);
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--highlight-color);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(20, 20, 20, 0.95)), url('../images/fondo.png') no-repeat center center/cover;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 200;
}

.hero-slogan {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Premium Layout Sections */
.about-section, .what-we-do-section {
  padding: 6rem 0;
  position: relative;
}

.what-we-do-section {
  background-color: #111111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.split-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.split-layout.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.visual-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--highlight-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-text {
  font-size: 1.2rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.section-text strong {
  color: var(--highlight-color);
  font-weight: 600;
}

.section-image {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s;
}

.section-image:hover {
  transform: translateY(-5px);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeInUp 1s ease;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card h3 {
  font-size: 1.5rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

/* Service Cards Modal Design */
.service-card {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 530px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-img-wrapper {
  height: 250px;
  width: 100%;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-content {
  height: auto;
  flex: 1;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  color: var(--highlight-color);
}

.service-content .price {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  color: #fff;
}

.service-content .price span {
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Pack Elite Card */
.pack-elite-card {
  display: flex;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  background: linear-gradient(145deg, rgba(10,10,10,0.8) 0%, rgba(0,0,0,0.9) 100%);
}

.pack-elite-img-wrapper {
  flex: 1;
  min-height: 100%;
}

.pack-elite-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pack-elite-content {
  flex: 1.5;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .pack-elite-card {
    flex-direction: column;
  }
  .pack-elite-img-wrapper {
    height: 300px;
  }
  .pack-elite-content {
    padding: 2rem 1rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #111;
  padding: 3rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  animation: fadeInDown 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--accent-color);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--highlight-color);
}

/* Footer */
footer {
  background: transparent;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: #111;
  border: 1px solid #444;
  color: var(--highlight-color);
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav ul { flex-direction: column; gap: 1rem; align-items: center; display: none; }
  .hero-title { font-size: 2.5rem; }
  .hero-slogan { font-size: 1.2rem; }
  .split-layout, .split-layout.reverse { flex-direction: column; gap: 2rem; }
  .about-section, .what-we-do-section { padding: 4rem 1rem; }
}

/* Image Modal Lightbox */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}
.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.image-modal-close:hover {
    color: var(--primary, #bbb);
}
@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0;}
    to {transform:scale(1); opacity:1;}
}
