/* ==========================================================================
   Estilos especficos para Blog, Artculos y Contacto (AngelRos Premium UI)
   ========================================================================== */

.blog-page,
.article-page,
.contact-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(233, 213, 255, 0.32), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(204, 213, 174, 0.28), transparent 26rem),
    var(--color-brand-paper);
}

.blog-hero,
.contact-hero,
.article-hero {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem 2rem 1.5rem;
}

.blog-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.blog-hero h1,
.contact-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--color-brand-ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.blog-hero p,
.contact-hero p {
  font-size: 1.25rem;
  color: rgb(52 58 64 / 0.75);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.blog-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.floating-topic-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(250, 237, 205, 0.9);
  padding: 1.25rem 2.5rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 14px 40px rgba(52, 58, 64, 0.08);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-brand-ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-topic-card:nth-child(1) { transform: translateX(-2rem); }
.floating-topic-card:nth-child(2) { transform: translateX(2rem); }
.floating-topic-card:nth-child(3) { transform: translateX(-4rem); }

.blog-hero:hover .floating-topic-card {
  transform: translateX(0) scale(1.05);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  max-width: var(--max-w-7xl);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgb(52 58 64 / 0.6);
  font-family: var(--font-sans);
}
.breadcrumb a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.breadcrumb a:hover {
  opacity: 0.7;
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Premium Cards base
   -------------------------------------------------------------------------- */
.premium-glass-card {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(250, 237, 205, 0.85);
  border-radius: var(--border-radius-3xl);
  box-shadow: 0 24px 80px rgba(52, 58, 64, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  transition: transform var(--premium-duration) var(--premium-ease-soft),
              box-shadow var(--premium-duration) var(--premium-ease-soft);
}
.premium-glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 78px rgba(52, 58, 64, 0.12);
  border-color: rgba(212, 163, 115, 0.3);
}

/* --------------------------------------------------------------------------
   Buscador y Filtros
   -------------------------------------------------------------------------- */
.blog-search-panel {
  max-width: var(--max-w-5xl);
  margin: 0 auto 4rem auto;
  padding: 2rem;
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid rgba(250, 237, 205, 0.85);
  border-radius: var(--border-radius-3xl);
  box-shadow: 0 24px 80px rgba(52, 58, 64, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.js-blog-search {
  width: 100%;
  max-width: 600px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(212, 163, 115, 0.3);
  background: white;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-brand-ink);
  outline: none;
  transition: border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.js-blog-search:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.2);
  transform: translateY(-2px);
}
.blog-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.blog-filter-chip {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(212, 163, 115, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-brand-ink);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1), color 0.65s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-filter-chip:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(52,58,64,0.08);
}
.blog-filter-chip.is-active {
  background: var(--color-brand-primary);
  color: white;
  border-color: var(--color-brand-primary);
  box-shadow: var(--premium-gold-glow);
}

/* --------------------------------------------------------------------------
   Rutas rapidas (Fast routes)
   -------------------------------------------------------------------------- */
.fast-routes {
  max-width: var(--max-w-7xl);
  margin: 0 auto 5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.route-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,253,249,0.7));
  border: 1px solid rgba(250, 237, 205, 0.9);
  border-radius: var(--border-radius-2xl);
  padding: 2rem;
  text-align: center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.75s cubic-bezier(0.22, 1, 0.36, 1), color 0.75s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--color-brand-ink);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: 0 10px 30px rgba(52, 58, 64, 0.04);
  font-size: 1.15rem;
  backdrop-filter: blur(8px);
}
.route-card:hover {
  background: white;
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(52, 58, 64, 0.1);
  color: var(--color-brand-primary);
  border-color: rgba(212, 163, 115, 0.4);
}

/* --------------------------------------------------------------------------
   Blog Featured
   -------------------------------------------------------------------------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid rgba(250, 237, 205, 0.85);
  border-radius: var(--border-radius-3xl);
  box-shadow: 0 24px 80px rgba(52, 58, 64, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem;
  margin: 0 auto 5rem auto;
  max-width: var(--max-w-7xl);
  align-items: center;
}
.blog-featured__media {
  background: radial-gradient(circle at 30% 20%, rgb(250 237 205 / 0.8), transparent 52%), var(--color-gray-50);
  border-radius: var(--border-radius-2xl);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.blog-featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.blog-featured__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--color-brand-ink);
  line-height: 1.1;
}
.blog-featured__body p {
  color: rgb(52 58 64 / 0.7);
  font-size: 1.25rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Blog Grid & Cards
   -------------------------------------------------------------------------- */
.blog-grid {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 3rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  text-decoration: none;
}
.blog-card__category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-brand-primary);
}
.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-brand-ink);
  line-height: 1.2;
}
.blog-card__excerpt {
  color: rgb(52 58 64 / 0.7);
  line-height: 1.6;
  font-size: 1.1rem;
  flex-grow: 1;
}
.blog-card__meta {
  font-size: 0.9rem;
  color: rgb(52 58 64 / 0.5);
  margin-top: auto;
}
.blog-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  text-decoration: none;
  font-size: 1.1rem;
}
.blog-card__link::after {
  content: ' \2192';
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-block;
}
.blog-card:hover .blog-card__link::after {
  transform: translateX(6px);
}
.blog-card__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Premium Banners
   -------------------------------------------------------------------------- */
.premium-banner {
  max-width: var(--max-w-7xl);
  margin: 4rem auto;
  padding: clamp(4rem, 6vw, 6rem);
  border-radius: var(--border-radius-3xl);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.46), transparent 14rem),
    linear-gradient(135deg, var(--color-brand-ink), rgb(52 58 64 / 0.88));
  color: var(--color-brand-paper);
  text-align: center;
  box-shadow: 0 34px 90px rgba(52, 58, 64, 0.20);
  position: relative;
  overflow: hidden;
}
.premium-banner::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -10rem;
  border-radius: 9999px;
  background: rgba(212, 163, 115, 0.32);
  filter: blur(10px);
}
.premium-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.premium-banner p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.premium-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   Cluster Cuidados
   -------------------------------------------------------------------------- */
.cluster-cuidados {
  max-width: var(--max-w-7xl);
  margin: 6rem auto;
  padding: 0 1.5rem;
}
.cluster-cuidados__header {
  text-align: center;
  margin-bottom: 4rem;
}
.cluster-cuidados__header h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-brand-ink);
}
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.cluster-card {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cluster-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-brand-ink);
}
.cluster-card p {
  color: rgb(52 58 64 / 0.7);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   FAQ Editorial
   -------------------------------------------------------------------------- */
.faq-editorial {
  max-width: 800px;
  margin: 6rem auto;
  padding: 0 1.5rem;
}
.faq-editorial h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-brand-ink);
  text-align: center;
  margin-bottom: 4rem;
}
.faq-item {
  border-bottom: 1px solid rgba(212, 163, 115, 0.3);
  padding: 2rem 0;
}
.faq-item summary {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-brand-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--color-brand-primary);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 1.5rem;
  color: rgb(52 58 64 / 0.7);
  line-height: 1.7;
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Artculo Interno - Componentes Premium
   -------------------------------------------------------------------------- */
.article-hero {
  text-align: center;
  padding-bottom: 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1.5rem;
}
.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-brand-ink);
  line-height: 1.1;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.article-hero p {
  font-size: 1.5rem;
  color: rgb(52 58 64 / 0.75);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.article-hero__meta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 1rem;
  color: rgb(52 58 64 / 0.5);
  font-weight: 500;
}

.article-layout {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem 8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 5rem;
  align-items: start;
}

/* Resumen Rpido & TOC */
.article-toc {
  background: rgba(250, 237, 205, 0.4);
  border-radius: var(--border-radius-2xl);
  padding: 3rem;
  margin-bottom: 4rem;
  border-left: 6px solid var(--color-brand-primary);
}
.article-toc h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-brand-ink);
}
.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.article-toc li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.15rem;
}
.article-toc li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-brand-primary);
  font-weight: 700;
}
.article-toc .toc-links a {
  display: block;
  color: var(--color-brand-ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.article-toc .toc-links a:hover {
  color: var(--color-brand-primary);
  transform: translateX(6px);
}

/* Contenido (Escaneo de ojos, lectura premium) */
.article-content {
  font-size: 1.25rem;
  line-height: 1.9;
  color: rgb(52 58 64 / 0.85);
}
.article-content > p:first-of-type::first-letter {
  float: left;
  font-size: 5rem;
  line-height: 0.8;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  font-family: var(--font-serif);
  color: var(--color-brand-primary);
  font-weight: 700;
}
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-brand-ink);
  margin: 4rem 0 2rem;
  scroll-margin-top: 6rem;
  line-height: 1.2;
}
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-brand-ink);
  margin: 3rem 0 1.5rem;
}
.article-content p {
  margin-bottom: 1.75rem;
}
.article-content ul:not(.toc-links) {
  margin-bottom: 2rem;
  padding-left: 2rem;
}
.article-content li {
  margin-bottom: 0.75rem;
}
.article-content li::marker {
  color: var(--color-brand-primary);
}
.article-content strong {
  color: var(--color-brand-ink);
  font-weight: 700;
}

/* Callouts Premium */
.article-highlight, .article-callout {
  background: linear-gradient(to right, rgba(250, 237, 205, 0.4), transparent);
  border-left: 4px solid var(--color-brand-primary);
  border-radius: 0 var(--border-radius-2xl) var(--border-radius-2xl) 0;
  padding: 3rem;
  margin: 4rem 0;
  position: relative;
}
.article-callout::before {
  content: '\2726';
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  background: var(--color-brand-primary);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(212, 163, 115, 0.4);
}
.article-highlight h3, .article-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-brand-ink);
  margin-bottom: 1.5rem;
  margin-top: 0;
}
.article-highlight p:last-child, .article-callout p:last-child {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-brand-ink);
}

/* Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cta-card {
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid rgba(250, 237, 205, 0.9);
  border-radius: var(--border-radius-3xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(52, 58, 64, 0.08);
}
.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-brand-ink);
}
.cta-card p {
  font-size: 1.1rem;
  color: rgb(52 58 64 / 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.btn--full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Article Summary & Sidebar Fixes
   -------------------------------------------------------------------------- */
.article-summary {
  background: linear-gradient(135deg, rgba(250, 237, 205, 0.5), rgba(255, 253, 249, 0.8));
  border-radius: var(--border-radius-2xl);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  border-left: 5px solid var(--color-brand-primary);
}
.article-summary h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-brand-ink);
  margin-bottom: 1rem;
}
.article-summary ul {
  padding-left: 1.5rem;
  margin: 0;
}
.article-summary li {
  margin-bottom: 0.5rem;
  color: rgb(52 58 64 / 0.8);
  font-size: 1.1rem;
}
.article-summary li::marker {
  color: var(--color-brand-primary);
}

/* Sidebar estandar */
.article-sidebar,
.sticky-sidebar {
  position: sticky;
  top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-whatsapp-card,
.cta-card {
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid rgba(250, 237, 205, 0.9);
  border-radius: var(--border-radius-3xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(52, 58, 64, 0.08);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar-whatsapp-card:hover,
.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(52, 58, 64, 0.14);
}
.sidebar-whatsapp-card h3,
.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-brand-ink);
}
.sidebar-whatsapp-card p,
.cta-card p {
  font-size: 1.1rem;
  color: rgb(52 58 64 / 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact Page Premium Styles
   -------------------------------------------------------------------------- */
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem 2rem;
}

.contact-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--color-brand-ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.contact-hero p {
  font-size: 1.25rem;
  color: rgb(52 58 64 / 0.75);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.contact-hero__card {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(250, 237, 205, 0.9);
  border-radius: var(--border-radius-3xl);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(52, 58, 64, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-hero__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 90px rgba(52, 58, 64, 0.14);
}

.contact-hero__card span {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 1rem;
}

.contact-hero__card h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-brand-ink);
  margin-bottom: 1rem;
}

.contact-hero__card p {
  font-size: 1.1rem;
  color: rgb(52 58 64 / 0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-intents {
  max-width: var(--max-w-7xl);
  margin: 5rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.contact-intents h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-brand-ink);
  margin-bottom: 3rem;
}

.contact-intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-intent-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 253, 249, 0.85);
  border: 2px solid rgba(250, 237, 205, 0.9);
  border-radius: var(--border-radius-2xl);
  color: var(--color-brand-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 30px rgba(52, 58, 64, 0.04);
}

.contact-intent-button:hover {
  background: white;
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(52, 58, 64, 0.12);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .blog-hero,
  .contact-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-hero__visual {
    align-items: center;
    margin-top: 2rem;
  }
  
  .floating-topic-card {
    transform: translateX(0) !important;
  }

  .blog-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .blog-featured__body {
    align-items: center;
  }
  
  .premium-banner .btn-group {
    flex-direction: column;
  }
}
/* --------------------------------------------------------------------------
   Mobile Responsive Fixes (576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .blog-hero,
  .contact-hero,
  .article-hero {
    padding: 3rem 1rem 1.5rem 1rem !important;
  }
  
  .blog-hero h1,
  .contact-hero h1,
  .article-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem) !important;
  }
  
  .blog-hero p,
  .contact-hero p,
  .article-meta {
    font-size: 1.05rem !important;
  }
  
  .floating-topic-card {
    font-size: 1.15rem !important;
    padding: 1rem 1.5rem !important;
    width: 100%;
    text-align: center;
  }
  
  .blog-hero__visual {
    gap: 0.75rem !important;
  }
  
  .article-content {
    font-size: 1.05rem !important;
    padding: 1rem !important;
  }
  
  .article-content h2 {
    font-size: 1.5rem !important;
  }
  
  .article-content h3 {
    font-size: 1.25rem !important;
  }
  
  .article-content img {
    border-radius: var(--border-radius-xl) !important;
  }

  .blog-card {
    margin: 0 !important;
  }
  
  .contact-intent-grid {
    grid-template-columns: 1fr !important;
  }
  
  .contact-faq-item__question {
    font-size: 1.05rem !important;
    padding: 1rem !important;
  }
  
  .contact-faq-item__answer {
    font-size: 0.95rem !important;
    padding: 0 1rem 1rem 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Responsive Fixes (360px - Extreme Reduction)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .blog-hero,
  .contact-hero,
  .article-hero {
    padding: 2rem 0.75rem 1rem 0.75rem !important;
  }
  
  .blog-hero h1,
  .contact-hero h1,
  .article-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }
  
  .blog-hero p,
  .contact-hero p {
    font-size: 0.95rem !important;
  }
  
  .floating-topic-card {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
  }
  
  .article-content {
    font-size: 0.95rem !important;
    padding: 0.75rem !important;
  }
  
  .article-content h2 {
    font-size: 1.35rem !important;
  }
  
  .article-content h3 {
    font-size: 1.15rem !important;
  }
  
  .article-sidebar {
    padding: 1rem !important;
  }
  
  .contact-card,
  .contact-method-card {
    padding: 1.5rem 1rem !important;
  }
  
  .contact-intent-button {
    font-size: 1rem !important;
    padding: 0.85rem !important;
  }
}

/* --------------------------------------------------------------------------
   STRICT GRID OVERRIDE FOR SMALL MOBILES (PREVENT HORIZONTAL SCROLL)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .blog-grid,
  .cluster-grid,
  .article-layout,
  .contact-hero,
  .contact-intent-grid,
  .blog-hero,
  .blog-featured,
  .premium-hero-grid,
  .premium-stats-grid,
  .products__grid,
  .blog-preview-grid,
  .footer__grid,
  .catalog-premium-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ==========================================================================
   AGRESSIVE OVERRIDES FOR 320px - ARTICLE PAGES 
   ========================================================================== */
@media (max-width: 360px) {
  /* Hero & Header reductions */
  .article-hero {
    padding: 1.5rem 0.5rem 1rem 0.5rem !important;
    gap: 1rem !important;
  }
  .article-title {
    font-size: 1.6rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.5rem !important;
    word-break: break-word;
  }
  .article-meta {
    font-size: 0.85rem !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
  }
  .breadcrumb {
    padding: 0 0.5rem !important;
    margin-top: 1rem !important;
    font-size: 0.75rem !important;
    flex-wrap: wrap;
  }

  /* Content typography & spacing */
  .article-content {
    font-size: 0.9rem !important; 
    line-height: 1.5 !important;
    padding: 0.5rem !important;
  }
  .article-content h2 {
    font-size: 1.25rem !important;
    margin: 1.5rem 0 0.75rem 0 !important;
  }
  .article-content h3 {
    font-size: 1.1rem !important;
    margin: 1rem 0 0.5rem 0 !important;
  }
  .article-content p, 
  .article-content ul, 
  .article-content ol {
    margin-bottom: 1rem !important;
  }
  .article-content img {
    margin: 1rem 0 !important;
    border-radius: 0.5rem !important;
  }
  
  /* Sidebar & Cards */
  .article-sidebar {
    padding: 1rem 0.5rem !important;
    gap: 1rem !important;
  }
  .blog-card,
  .product-card {
    padding: 1rem !important;
  }
  .blog-card__body,
  .product-card__content {
    padding: 0.75rem !important;
  }
  .blog-card__title {
    font-size: 1.1rem !important;
  }
  .blog-card__desc {
    font-size: 0.85rem !important;
  }
  
  /* Related grid */
  .article-layout {
    gap: 2rem !important;
  }
  
  /* general container padding */
  .premium-section {
    padding: 1.5rem 0.5rem !important;
  }
}
