/* PAGE SPECIFIC STYLES - LEONARDO CAMPINS WEBSITE */

/* ==========================================================
   1. HERO SECTIONS
   ========================================================== */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
              linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-image {
    height: 380px;
  }
}

/* Page Sub-Heros */
.page-hero {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 5rem;
  background-color: var(--primary-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
  color: #ffffff;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--slate-light);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================================
   2. HOME PAGE (SECTIONS)
   ========================================================== */
/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stat-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 27, 61, 0.04);
  border-bottom: 3px solid var(--primary);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card:hover .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-medium);
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    padding-top: 3rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Dual Profile Section */
.profile-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pillar-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.pillar-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Quotes/Philosophy Layout */
.quote-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.quote-author {
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-author span {
  display: block;
  font-weight: 500;
  color: var(--slate-medium);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

/* ==========================================================
   3. ABOUT ME PAGE (sobre-mi.html)
   ========================================================== */
.catalyst-box {
  background-color: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border-left: 6px solid var(--accent);
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Core Truth Comparison Table */
.truth-table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-light);
  margin-top: 2rem;
}

.truth-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: #ffffff;
}

.truth-table th {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.truth-table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(11, 27, 61, 0.08);
  font-size: 1rem;
}

.truth-table tr:last-child td {
  border-bottom: none;
}

.truth-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.truth-tag-red {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--error);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.truth-tag-green {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--success);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Interest Stacking Grids */
.interest-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.interest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.interest-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.interest-body {
  padding: 2rem;
  flex-grow: 1;
}

.interest-tag {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================
   4. METHODOLOGY PAGE (metodo.html)
   ========================================================== */
/* The System OS Campins */
.method-step {
  padding: 2.5rem;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.method-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Interactive Cases Section */
.case-tabs-container {
  margin-top: 3rem;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.case-tab-btn {
  padding: 1rem 2rem;
  background-color: #ffffff;
  border: 1px solid var(--slate-light);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.case-tab-btn.active,
.case-tab-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.case-panel {
  display: none;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.case-content {
  padding: 3rem;
}

.case-image {
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  width: 100%;
}

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

/* Avatar Filtering Section */
.filter-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .filter-container {
    grid-template-columns: 1fr;
  }
}

.filter-box {
  padding: 3rem;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-top: 5px solid;
}

.filter-box.avatar-in {
  border-top-color: var(--success);
}

.filter-box.avatar-out {
  border-top-color: var(--error);
}

.filter-list {
  list-style: none;
  margin-top: 1.5rem;
}

.filter-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.filter-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.avatar-in .filter-list li::before {
  content: '✓';
  background-color: rgba(42, 157, 143, 0.15);
  color: var(--success);
}

.avatar-out .filter-list li::before {
  content: '✗';
  background-color: rgba(230, 57, 70, 0.15);
  color: var(--error);
}

/* ==========================================================
   5. RESOURCES PAGE (recursos.html)
   ========================================================== */
/* Blog Card Specifics */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--slate-medium);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--slate-medium);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Book Section Layout */
.book-showcase {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 10% 90%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: #ffffff;
  border-bottom: 4px solid var(--accent);
}

.book-cover-mockup {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light-color) 100%);
  border-radius: var(--radius-md);
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2rem;
  box-shadow: 10px 15px 30px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  border-left: 10px solid var(--primary-dark);
}

.book-cover-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 5%, rgba(255,255,255,0.05) 6%, transparent 10%);
}

.book-title {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.book-subtitle {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.book-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .book-showcase {
    padding: 2rem;
  }
  .book-cover-mockup {
    height: 340px;
  }
}

/* ==========================================================
   6. CONTACT PAGE (contacto.html) & PRE-QUALIFIER WIZARD
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-panel {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  color: #ffffff;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  color: #ffffff;
}

.contact-info-panel p {
  color: var(--slate-light);
}

.contact-details {
  margin: 3rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pre-qualification Wizard styling */
.wizard-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem;
  border: 1px solid rgba(11, 27, 61, 0.05);
  position: relative;
}

@media (max-width: 576px) {
  .wizard-card {
    padding: 2rem 1.25rem;
  }
}

.wizard-progress {
  height: 6px;
  background-color: var(--bg-light);
  border-radius: var(--radius-full);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  width: 25%;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.wizard-question {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--primary);
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.options-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .options-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Custom Radio/Checkbox Options */
.option-card {
  border: 2px solid var(--slate-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  font-weight: 500;
  color: var(--slate-dark);
}

.option-card:hover {
  border-color: var(--primary-light-color);
  background-color: var(--bg-light);
}

.option-card.selected {
  border-color: var(--accent);
  background-color: var(--accent-pale);
  color: var(--primary);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-circle {
  width: 20px;
  height: 20px;
  border: 2px solid var(--slate-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.option-card.selected .option-circle {
  border-color: var(--accent);
}

.option-card.selected .option-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  display: block;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--slate-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--slate-light);
  padding-top: 2rem;
  margin-top: 2rem;
}

.wizard-actions .btn-prev {
  background-color: transparent;
  color: var(--slate-medium);
  border: 1px solid var(--slate-light);
}

.wizard-actions .btn-prev:hover {
  background-color: var(--bg-light);
  color: var(--slate-dark);
}

/* Success panel within wizard */
.wizard-success-panel {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem auto;
  border: 2px solid var(--success);
}

/* ==========================================================
   7. HIGH-CONTRAST DIFFERENTIATOR STYLES
   ========================================================== */
#home-differentiator {
  background-color: var(--bg-light); /* Soft background for contrast */
}

.intro-navy-card {
  background-color: var(--primary-dark);
  border-left: 6px solid var(--accent);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.intro-navy-card h2 {
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.intro-navy-card p {
  color: var(--slate-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pillar-item-card {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 27, 61, 0.04);
  transition: var(--transition-normal);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 0;
}

.pillar-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.2);
}

.pillar-item-card .pillar-number {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item-card h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pillar-item-card p {
  color: var(--slate-dark);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

