/* Variables y Sistema de Diseño */
:root {
  --color-black: #0B0B0F;
  --color-red: #8B0000;
  --color-gold: #C9A227;
  --color-white: #F5F5F5;
  --color-gold-hover: #E3B423;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  --border-radius: 8px;
  --border-radius-lg: 16px;

  --transition: all 0.3s ease;
}

/* Reset Básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Componentes - Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

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

.btn-secondary:hover {
  background-color: rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
}

/* Top-bar para número telefónico */
.top-bar {
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 8px 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 1001;
  position: relative;
}

.top-bar a {
  color: var(--color-gold);
  text-decoration: underline;
  margin-left: 10px;
}

/* Header & Navegación */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 10px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  /* Reduced gap so it fits */
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section-bg-dark {
  background-color: var(--color-black);
}

.section-bg-red {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-red) 100%);
}

.section-texture {
  background-image: radial-gradient(rgba(201, 162, 39, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(11, 11, 15, 0.8), rgba(11, 11, 15, 0.9)), url('/images/amarre-amor-ruptura.jpg') center/cover;
  padding: var(--spacing-xl) 0;
  transition: background-image 1s ease-in-out;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

/* Cards (Servicios, Testimonios) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.05);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
  text-align: left;
  border-left: 3px solid var(--color-gold);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-gold);
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold);
  font-weight: 600;
}

.faq-answer {
  display: none;
  margin-top: 15px;
  color: var(--color-white);
}

.faq-answer.active {
  display: block;
}

/* Footer */
.site-footer {
  background-color: #050508;
  padding: var(--spacing-xl) 0 20px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-white);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
  margin: 0 10px;
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 1px 1px 2px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(11, 11, 15, 0.98);
    /* Changed from var(--color-dark) as it's not defined */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    transition: 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }
}