:root {
  --primary-color: #000000;
  --secondary-color: #EC7308; /* Naranja corporativo actualizado */
  --background-color: #ffffff;
  --background-alt: #F8F8F8;
  --text-color: #000000;
  --white: #ffffff;
  
  --font-heading: 'Darker Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

html {
  scroll-behavior: smooth;
}

/* =========================================
   BOTONES
   ========================================= */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

/* =========================================
   LOGO (Texto con líneas simuladas)
   ========================================= */
.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.logo-lines {
  display: inline-block;
  width: 42px;
  height: 28px;
  background: repeating-linear-gradient(
    to bottom,
    var(--secondary-color),
    var(--secondary-color) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: calc(2rem + 20px) 5% 2rem 5%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
  background-color: var(--background-alt);
  padding: 6rem 5%;
  text-align: center;
}

.features-header {
  margin-bottom: 4rem;
}

.features-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.2;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 4rem;
  text-align: left;
}

.feature-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.feature-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1.6;
}

.features-action {
  text-align: center;
}

/* =========================================
   SECONDARY VIDEO SECTION
   ========================================= */
.secondary-video-section {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.secondary-video-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.secondary-video-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* =========================================
   CATALOG & FORM SECTION
   ========================================= */
.catalog-section {
  background-color: var(--white);
  padding: 6rem 5% 60px 5%;
}

.catalog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.catalog-image-col {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.catalog-book-img {
  max-width: 100%;
  height: auto;
}

.catalog-form-col {
  flex: 1;
  min-width: 300px;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.catalog-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.catalog-desc {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.form-container {
  min-height: 200px; /* Placeholder area for form */
  width: 100%;
}

/* =========================================
   FOOTER
   ========================================= */
.home-logo {
  max-width: 220px;
  height: auto;
}

.home-logo-footer {
  max-width: 200px;
}

.site-footer {
  background-color: var(--white);
  padding: 60px 5% 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid #eee;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-text {
  font-size: 42px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =========================================
   ESTILOS ANTIGUOS (Páginas de Gracias, etc.)
   ========================================= */
.thankyou-container {
  height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  width: 100%;
}

.thankyou-content {
  width: 65%;
  text-align: center;
}

.thankyou-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.thankyou-text {
  font-family: var(--font-body);
  font-size: 21px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.thankyou-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.thankyou-link:hover {
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
/* Portátil pequeño y Tablets apaisadas */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .features-title { font-size: 2.2rem; }
  .secondary-video-title { font-size: 2.5rem; }
  .catalog-title { font-size: 2.2rem; }
  .features-section { padding-top: 4rem; padding-bottom: 4rem; }
  .catalog-section { padding-top: 4rem; padding-bottom: 60px; }
  .features-grid { gap: 1.5rem; }
}

/* Tablets (vertical) y Móviles grandes */
@media (max-width: 768px) {
  .desktop-br { display: none; }
  .hero-subtitle, .features-title, .catalog-title { text-wrap: balance; }
  
  .logo-text { font-size: 35px; }
  .logo-lines { width: 35px; height: 24px; }
  .top-bar { padding: 40px 5% 20px 5%; }
  
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
  
  .features-title { font-size: 1.8rem; margin-bottom: 2rem; }
  .features-grid { margin-bottom: calc(4rem - 15px); }
  .feature-card { min-width: 100%; text-align: center; margin-bottom: 1.5rem; }
  .features-header { margin-bottom: 2rem; }
  
  .secondary-video-section { height: 60vh; padding: 4rem 5%; }
  .secondary-video-title { font-size: 2.2rem; }
  
  .catalog-container { flex-direction: column; gap: 1rem; text-align: center; }
  .catalog-title { font-size: 2rem; }
  .catalog-section { padding-top: 4rem; padding-bottom: 40px; }
  
  .site-footer { padding: 40px 5% 2rem 5%; }
  .footer-logo .logo-text { font-size: 36px; }
  
  .thankyou-title { font-size: 35px; }
  .thankyou-text { font-size: 19px; }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .logo-text { font-size: 31px; }
  .logo-lines { width: 31px; height: 20px; }
  
  .hero-title { font-size: 2.2rem; }
  
  .features-title { font-size: 1.6rem; }
  .feature-name { font-size: 1.8rem; }
  
  .secondary-video-section { height: 50vh; }
  .secondary-video-title { font-size: 1.8rem; }
  
  .catalog-title { font-size: 1.8rem; }
  .catalog-subtitle { font-size: 1rem; }
  
  .footer-logo .logo-text { font-size: 32px; }
  
  .thankyou-title { font-size: 25px; }
  .thankyou-text { font-size: 17px; }
}

/* =========================================
   ESTILOS RECUPERADOS (Páginas Secundarias)
   ========================================= */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

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

.logo {
    max-width: 200px;
    height: auto;
}

.landing-container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 5%;
    text-align: center;
}

.landing-content-centered {
    width: 100%;
    max-width: 800px;
}

.subtitle-trust {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.description-text {
    font-family: var(--font-body);
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
}

.form-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 5% 40px 5%;
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.center-col {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.right-col {
    text-align: right;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-logo {
    max-width: 150px;
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .center-col, .right-col { justify-content: center; }
    .main-title { font-size: 32px; }
}
