﻿/**
 * Estilos específicos para Landings SEO y Hub de Especialidades
 * Estudio Jurídico Figueroa & Figueroa
 * Se integra nativamente con css/estilos.css
 */

.page-seo .container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Hero Landing SEO */
.seo-hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(199, 168, 86, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(251, 248, 241, 0.9) 0%, rgba(247, 242, 232, 0.98) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.seo-breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.seo-breadcrumb a {
  color: var(--gold-strong);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.seo-breadcrumb a:hover {
  text-decoration: underline;
}

.seo-breadcrumb span {
  color: var(--text-soft);
}

.seo-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 0.6rem;
}

.seo-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}

.seo-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 1.8rem;
  max-width: 42rem;
}

.seo-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.seo-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 32, 45, 0.08);
}

.seo-hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-strong);
}

.seo-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.seo-hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-hero-cta .btn-primary {
  background: linear-gradient(135deg, #111826 0%, #1c273c 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 38, 0.18);
  border: 1px solid rgba(199, 168, 86, 0.4);
}

.seo-hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 24, 38, 0.24);
}

.seo-hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid var(--border);
}

.seo-hero-cta .btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

/* Card Visual Hero */
.seo-hero-visual {
  display: flex;
  justify-content: center;
}

.seo-hero-img-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
}

.seo-hero-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.seo-hero-badge-floating {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(17, 24, 38, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(199, 168, 86, 0.3);
}

.seo-hero-badge-floating .badge-tag {
  color: var(--gold);
  font-weight: 700;
}

/* Main Layout */
.seo-main {
  padding: 4rem 0 5rem;
  position: relative;
  z-index: 1;
}

.seo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.seo-content {
  min-width: 0;
}

.seo-block {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 2.2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.seo-block h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.seo-block p {
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.seo-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.seo-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
}

.seo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-strong);
  font-weight: 900;
}

/* FAQ */
.seo-faq {
  margin-top: 3rem;
}

.seo-faq h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.seo-faq-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: 1.2rem 1.4rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.seo-faq-item[open] {
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.seo-faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--gold-strong);
  line-height: 1;
  transition: transform 0.2s ease;
}

.seo-faq-item[open] summary::after {
  content: "−";
}

.seo-faq-item p {
  color: var(--text-soft);
  line-height: 1.6;
  margin: 1rem 0 0;
  font-size: 0.96rem;
}

/* Hub Grid */
.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.seo-hub-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.7rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.seo-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.seo-hub-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 0.4rem;
}

.seo-hub-card strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.3;
}

.seo-hub-card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-strong);
}

/* CTA Box */
.seo-cta-box {
  background: linear-gradient(135deg, #111826 0%, #1d2a42 100%);
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 2.8rem 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
  border: 1px solid rgba(199, 168, 86, 0.35);
  box-shadow: var(--shadow-xl);
}

.seo-cta-box h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: #ffffff;
  margin: 0 0 1rem;
}

.seo-cta-box p {
  color: var(--text-light);
  max-width: 38rem;
  margin: 0 auto 1.8rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.seo-cta-box .btn-primary {
  background: var(--gold);
  color: #111826;
  font-weight: 800;
  padding: 0.95rem 2rem;
  border-radius: 0.85rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.seo-cta-box .btn-primary:hover {
  transform: translateY(-2px);
  background: #deb859;
}

/* Sidebar */
.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: sticky;
  top: calc(var(--header-offset) + 1rem);
}

.seo-sidebar-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-md);
}

.seo-sidebar-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.seo-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.seo-related-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.seo-related-list a:hover {
  color: var(--gold-strong);
}

.seo-sidebar-more {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.seo-sidebar-more a {
  font-weight: 700;
  color: var(--gold-strong);
  text-decoration: none;
}

/* Footer Specialties Columns */
.site-footer__columns-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.site-footer__col .site-footer__meta-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer__specialties-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__specialties-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__specialties-list a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 960px) {
  .seo-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .seo-layout {
    grid-template-columns: 1fr;
  }
  .seo-sidebar {
    position: static;
  }
  .seo-hero-visual {
    order: -1;
  }
  .seo-hero-img-card {
    max-width: 100%;
  }
}
