/* ============================================================
   BRÚJULAMAYOR — pages.css
   Estilos para páginas internas: Blog, Detalle, Contacto
   ============================================================ */

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, var(--c-primary-lt) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(207,113,24,.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 720px; }
.page-hero .tag {
  background: rgba(255,255,255,.15); color: #fff;
  border-color: rgba(255,255,255,.25); margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1rem; color: #fff;
}
.page-hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82); line-height: 1.7;
}

/* ── BREADCRUMBS ──────────────────────────────────────────── */
.breadcrumbs {
  padding: .875rem 0;
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .3rem; list-style: none;
}
.breadcrumbs li {
  display: flex; align-items: center; gap: .3rem;
  font-size: .82rem; color: var(--c-text-soft);
}
.breadcrumbs li a {
  color: var(--c-text-mid); transition: color .2s;
}
.breadcrumbs li a:hover { color: var(--c-primary); }
.breadcrumbs li.active { color: var(--c-primary); font-weight: 500; }
.breadcrumbs li:not(:last-child)::after {
  content: '/'; margin-left: .3rem; color: var(--c-border);
}

/* ── MAIN LAYOUT (blog + detalle) ────────────────────────── */
.page-layout {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

/* ── ──────────────────────────────────────────────────────── */
/*    BLOG LISTING                                             */
/* ── ──────────────────────────────────────────────────────── */

/* Filter bar */
.blog-filter-bar {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; margin-bottom: 2.5rem;
}
.blog-filter-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.filter-pill {
  font-size: .8rem; font-weight: 600;
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  background: #fff; color: var(--c-text-mid);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--c-primary); color: #fff;
  border-color: var(--c-primary);
}
.blog-count {
  font-size: .85rem; color: var(--c-text-soft);
  white-space: nowrap;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--c-bg-soft);
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: 1.5rem; flex: 1;
  display: flex; flex-direction: column;
}
.blog-card-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .85rem;
}
.blog-cat {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: .25rem .7rem; border-radius: var(--radius-pill);
}
.cat-gestion    { background: var(--c-primary-xl); color: var(--c-primary); }
.cat-legal      { background: var(--c-warm-lt); color: var(--c-warm-hover); }
.cat-bienestar  { background: #E2F5EE; color: #1D6A56; }
.cat-tecnologia { background: #E8F0FE; color: #1A56A8; }
.blog-date {
  font-size: .78rem; color: var(--c-text-soft);
  display: flex; align-items: center; gap: .3rem;
}
.blog-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 600; line-height: 1.3;
  color: var(--c-text); margin-bottom: .6rem;
  transition: color .2s;
}
.blog-card:hover h3 { color: var(--c-primary); }
.blog-card p {
  font-size: .88rem; color: var(--c-text-mid);
  line-height: 1.65; flex: 1;
}
.blog-card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}
.blog-author {
  display: flex; align-items: center; gap: .5rem;
}
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-lt), var(--c-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: #fff; font-weight: 700; flex-shrink: 0;
}
.author-name { font-size: .78rem; font-weight: 600; color: var(--c-text-mid); }
.read-link {
  font-size: .8rem; font-weight: 600; color: var(--c-primary);
  display: flex; align-items: center; gap: .25rem;
  transition: gap .2s;
}
.blog-card:hover .read-link { gap: .45rem; }

/* Featured card (spans full width) */
.blog-card.featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.4fr 1fr;
}
.blog-card.featured .blog-card-img {
  aspect-ratio: auto; min-height: 260px;
}
.blog-card.featured .blog-card-body { padding: 2rem 2rem 2rem 2rem; }
.blog-card.featured h3 {
  font-size: 1.35rem; margin-bottom: .75rem;
}
.blog-card.featured p { font-size: .93rem; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-top: 3rem;
}
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border); background: #fff;
  color: var(--c-text-mid); font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.page-btn:hover { border-color: var(--c-primary-lt); color: var(--c-primary); }
.page-btn.active {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}
.page-btn.arrow { font-size: 1rem; }
.page-btn.arrow:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }

/* ── ──────────────────────────────────────────────────────── */
/*    BLOG DETAIL                                              */
/* ── ──────────────────────────────────────────────────────── */

/* Article header */
.article-header { margin-bottom: 2rem; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem 1.25rem; margin-bottom: 1.25rem;
}
.article-meta .blog-date { font-size: .85rem; }
.article-reading-time {
  font-size: .82rem; color: var(--c-text-soft);
  display: flex; align-items: center; gap: .3rem;
}
.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  color: var(--c-text); margin-bottom: 1rem;
}
.article-excerpt {
  font-size: 1.1rem; color: var(--c-text-mid);
  line-height: 1.7; border-left: 3px solid var(--c-primary-lt);
  padding-left: 1.25rem; margin-bottom: 1.5rem;
}
.article-author-row {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--c-bg-soft); border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
}
.author-avatar-lg {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; font-weight: 700; flex-shrink: 0;
}
.author-info .author-name { font-size: .9rem; font-weight: 700; color: var(--c-text); }
.author-info .author-role { font-size: .78rem; color: var(--c-text-soft); }

/* Featured image */
.article-featured-img {
  border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 16/7; margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article content */
.article-content {
  font-size: 1.02rem; line-height: 1.85; color: var(--c-text);
}
.article-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700; color: var(--c-text);
  margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 600;
  color: var(--c-text); margin: 2rem 0 .75rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul,
.article-content ol {
  padding-left: 1.5rem; margin-bottom: 1.25rem;
  list-style: disc;
}
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .5rem; }
.article-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--c-primary-lt); }
.article-content strong { font-weight: 700; color: var(--c-text); }
.article-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--c-primary-lt);
  background: var(--c-bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem; font-style: italic;
  color: var(--c-text-mid); line-height: 1.7;
}
.article-content img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0; box-shadow: var(--shadow-sm);
}
.article-content .tip-box {
  background: var(--c-primary-xl); border: 1px solid rgba(29,106,86,.25);
  border-radius: var(--radius-sm); padding: 1.25rem 1.5rem;
  margin: 2rem 0; display: flex; gap: 1rem; align-items: flex-start;
}
.article-content .tip-box i {
  color: var(--c-primary); font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem;
}

/* Tags row */
.article-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 2.5rem 0 2rem; padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.article-tag {
  font-size: .78rem; font-weight: 600;
  padding: .35rem .9rem; border-radius: var(--radius-pill);
  background: var(--c-bg-soft); color: var(--c-text-mid);
  border: 1px solid var(--c-border);
  text-decoration: none; transition: all .2s;
}
.article-tag:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Share */
.article-share {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.article-share span { font-size: .9rem; font-weight: 600; color: var(--c-text-mid); }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border: 1.5px solid var(--c-border);
  color: var(--c-text-mid); background: #fff;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.share-btn:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-bg-soft); }

/* Related articles */
.related-articles { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--c-border); }
.related-articles h3 {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700;
  color: var(--c-text); margin-bottom: 1.75rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.related-card {
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  overflow: hidden; background: #fff;
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-img {
  aspect-ratio: 16/9; overflow: hidden; background: var(--c-bg-soft);
}
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-body { padding: 1rem; }
.related-body h4 {
  font-size: .9rem; font-weight: 600; color: var(--c-text);
  line-height: 1.35; margin-bottom: .4rem;
  transition: color .2s;
}
.related-card:hover .related-body h4 { color: var(--c-primary); }
.related-body .blog-date { font-size: .75rem; }

/* ── ──────────────────────────────────────────────────────── */
/*    SIDEBAR                                                  */
/* ── ──────────────────────────────────────────────────────── */

.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.75rem; }

.sidebar-widget {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.sidebar-widget h4 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--c-text); margin-bottom: 1.25rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: .5rem;
}
.sidebar-widget h4 i { color: var(--c-primary); font-size: 1.1rem; }

/* Search widget */
.sidebar-search {
  display: flex; gap: .5rem;
}
.sidebar-search input {
  flex: 1; padding: .65rem 1rem; border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: .9rem;
  font-family: var(--font-body); color: var(--c-text);
  background: var(--c-bg); outline: none;
  transition: border-color .2s;
}
.sidebar-search input::placeholder { color: var(--c-text-soft); }
.sidebar-search input:focus { border-color: var(--c-primary-lt); }
.sidebar-search button {
  padding: .65rem .9rem; border-radius: var(--radius-sm);
  background: var(--c-primary); color: #fff;
  border: none; cursor: pointer; font-size: 1rem;
  transition: background .2s;
}
.sidebar-search button:hover { background: var(--c-primary-lt); }

/* Categories widget */
.sidebar-categories li { margin-bottom: .5rem; }
.sidebar-categories a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .88rem; color: var(--c-text-mid); padding: .4rem 0;
  border-bottom: 1px solid var(--c-bg-soft);
  transition: color .2s;
}
.sidebar-categories a:hover { color: var(--c-primary); }
.cat-count {
  font-size: .75rem; font-weight: 600;
  background: var(--c-bg-soft); color: var(--c-primary);
  padding: .15rem .55rem; border-radius: var(--radius-pill);
}

/* Recent posts */
.sidebar-posts li { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-bg-soft); }
.sidebar-posts li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-post-link {
  display: flex; gap: .85rem; text-decoration: none;
}
.sidebar-post-img {
  width: 62px; height: 62px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--c-bg-soft);
}
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-info h5 {
  font-size: .83rem; font-weight: 600; color: var(--c-text);
  line-height: 1.35; margin-bottom: .3rem;
  transition: color .2s;
}
.sidebar-post-link:hover h5 { color: var(--c-primary); }
.sidebar-post-info .blog-date { font-size: .73rem; }

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  color: #fff; text-align: center;
}
.sidebar-cta h4 {
  color: #fff; border-color: rgba(255,255,255,.15);
  justify-content: center;
}
.sidebar-cta h4 i { color: var(--c-warm); }
.sidebar-cta p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 1.25rem; }
.sidebar-cta .btn {
  background: var(--c-warm); color: #1C1B29;
  width: 100%; justify-content: center;
}
.sidebar-cta .btn:hover { background: var(--c-warm-hover); }

/* ── ──────────────────────────────────────────────────────── */
/*    CONTACT PAGE                                             */
/* ── ──────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Contact form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
  color: var(--c-text); margin-bottom: .5rem;
}
.contact-form-wrap > p {
  font-size: .95rem; color: var(--c-text-mid);
  margin-bottom: 2rem; line-height: 1.7;
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--c-text-mid); margin-bottom: .45rem;
}
.form-group label span.required { color: var(--c-rose); margin-left: .15rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem;
  color: var(--c-text); background: var(--c-bg);
  transition: border-color .2s, box-shadow .2s; outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-text-soft); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary-lt);
  box-shadow: 0 0 0 3px rgba(29,106,86,.1);
  background: #fff;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* Checkbox */
.form-checkbox {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: 1.5rem;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  margin-top: .1rem; cursor: pointer; accent-color: var(--c-primary);
}
.form-checkbox label {
  font-size: .82rem; color: var(--c-text-mid); line-height: 1.55;
  cursor: pointer;
}
.form-checkbox label a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }

/* Submit button */
.btn-submit {
  width: 100%; justify-content: center; padding: .95rem 2rem;
  font-size: 1rem; background: var(--c-warm);
  color: #fff; border: none; border-radius: var(--radius-pill);
  cursor: pointer; font-family: var(--font-body); font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: var(--shadow-warm);
}
.btn-submit:hover {
  background: var(--c-warm-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(207,113,24,.4);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Success message */
.form-success {
  display: none; text-align: center; padding: 3rem 2rem;
}
.form-success.visible { display: block; }
.form-success .success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-accent-lt); color: #059669;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.25rem;
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700; color: var(--c-text); margin-bottom: .5rem;
}
.form-success p { font-size: .95rem; color: var(--c-text-mid); }

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 1.75rem;
}
.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700; color: var(--c-text);
  margin-bottom: 1.25rem;
}
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.1rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-bg-soft);
}
.contact-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.contact-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--c-bg-soft); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text .label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--c-text-soft); margin-bottom: .2rem;
}
.contact-item-text .value {
  font-size: .92rem; font-weight: 500; color: var(--c-text);
}
.contact-item-text a { color: var(--c-primary); transition: color .2s; }
.contact-item-text a:hover { color: var(--c-primary-mid); }

/* Response time badge */
.response-badge {
  display: flex; align-items: center; gap: .6rem;
  background: var(--c-primary-xl); border: 1px solid rgba(29,106,86,.25);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  margin-top: 1.25rem;
}
.response-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; flex-shrink: 0;
  animation: pulse-dot 1.8s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(.85); }
}
.response-badge p { font-size: .82rem; color: var(--c-primary-dark); line-height: 1.4; }
.response-badge strong { font-weight: 700; }

/* FAQ accordion */
.contact-faq { margin-top: .25rem; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  color: var(--c-text); cursor: pointer; text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: var(--c-primary); }
.faq-question i {
  font-size: 1.1rem; color: var(--c-text-soft);
  transition: transform .3s, color .2s; flex-shrink: 0;
}
.faq-item.open .faq-question { color: var(--c-primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--c-primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  font-size: .88rem; color: var(--c-text-mid);
  line-height: 1.7; padding-bottom: 1rem;
}

/* ── RESPONSIVE: TABLET ≤ 900px ─────────────────────────── */
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-card.featured {
    grid-template-columns: 1fr;
  }
  .blog-card.featured .blog-card-img { aspect-ratio: 16/9; min-height: auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE: MOBILE ≤ 600px ─────────────────────────── */
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filter-bar { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .contact-layout { padding: 2rem 0; }
  .related-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 1.6rem; }
  .article-excerpt { font-size: 1rem; }
}
