/* ---------------------------------- */
/* Estilos Globales del Sitio    */
/* Estudio Jurídico GS           */
/* ---------------------------------- */

/* -- VARIABLES DE DISEÑO -- */
:root {
  --bg-primary: #1B263B;    /* Azul Noche */
  --bg-secondary: #2C3E50;   /* Gris Oscuro */
  --color-accent: #B89B72;   /* Dorado Ocre */
  --text-light: #F4F4F4;     /* Blanco Hueso */
  --font-headings: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

/* -- ESTILOS BASE -- */
html, body {
  overflow-x: hidden; /* Previene el scroll horizontal */
}

body {
  background-color: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-headings);
}

/* -- COMPONENTES REUTILIZABLES -- */
.cta-button {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  transition: all 0.3s ease;
  font-weight: 700;
  border: none;
}
.cta-button:hover {
  transform: scale(1.05);
  background-color: #d4b58a; /* Dorado más claro al pasar el mouse */
}

.service-card {
  background-color: var(--bg-secondary);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: block;
  text-decoration: none;
  color: var(--text-light);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: var(--color-accent);
}

/* -- SECCIONES ESPECÍFICAS -- */

/* Hero Section (Página de Inicio) */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 1rem;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; 
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  opacity: 0.8;
  z-index: -1;
}

/* Encabezado de Páginas Internas (Servicios, Blog, etc.) */
.page-header {
    background-color: var(--bg-secondary);
    padding: 6rem 1rem;
}

/* -- ESTILOS DE CONTENIDO DE PÁGINAS INTERNAS -- */

/* Contenido de páginas de servicio */
.service-content h3 {
    font-family: var(--font-headings);
    color: var(--color-accent);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-secondary);
}
.service-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #cfcfcf;
}

/* Contenido de artículos de blog */
.article-content h2 {
    font-family: var(--font-headings);
    color: var(--color-accent);
    font-size: 1.875rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}
.article-content h3 {
    font-family: var(--font-headings);
    color: var(--color-accent);
    opacity: 0.9;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-content p, .article-content li {
    line-height: 1.9;
    margin-bottom: 1.25rem;
    color: #cfcfcf;
    font-size: 1.125rem;
}
.article-content a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 600;
}
.article-content ul {
    list-style-type: disc;
    padding-left: 2rem;
}
.article-content strong {
    color: var(--color-accent);
    font-weight: 700;
}


/* -- AJUSTES PARA DISPOSITIVOS MÓVILES (RESPONSIVE) -- */
@media (max-width: 767px) {
  .hero-section {
      height: auto;
      min-height: 90vh;
      padding-top: 10rem;
      padding-bottom: 5rem;
  }
  .hero-section h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .hero-section .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  .hero-section .contact-info {
    font-size: 0.9rem;
  }
}