/* Inner pages */
.page-inner-hero {
  background: #1a1a18;
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-inner-hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.page-inner-hero .section-inner { position: relative; z-index: 1; }
.page-inner-hero .section-tag { color: var(--gold-light); }
.page-inner-hero .section-title { color: var(--white); margin-bottom: 16px; }
.page-inner-hero .section-sub { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.breadcrumb {
  margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; }

.page-content { padding: 80px 0; background: var(--white); }
.page-content.gray-bg { background: var(--silver-pale); }
.page-content .cms-content { font-size: 16px; color: var(--gray); line-height: 1.9; font-weight: 300; }
.article-detail-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400; color: var(--dark); line-height: 1.3; margin-bottom: 32px;
}
.page-content .cms-content h2,
.page-content .cms-content h3 { font-family: var(--font-display); color: var(--dark); margin: 1.5em 0 0.75em; font-weight: 400; }
.page-content .cms-content img { max-width: 100%; height: auto; }
.page-content .cms-content a { color: var(--gold); }

.page-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300;
  margin-top: 12px; max-width: 520px; line-height: 1.7;
}
.page-hero--short { height: 300px; }

.contact-main { padding: 100px 0; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}
.contact-info-block p {
  font-size: 16px; color: var(--gray); line-height: 1.9; font-weight: 300; margin-bottom: 40px;
}
.contact-items { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--gold); font-size: 18px;
}
.contact-item-text h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dark); margin-bottom: 6px;
}
.contact-item-text p {
  font-size: 15px; color: var(--gray); font-weight: 300; line-height: 1.6; margin: 0;
}
.contact-item-text a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.contact-item-text a:hover { color: var(--gold); }
.working-hours {
  background: var(--silver-pale); border-left: 3px solid var(--gold); padding: 20px 24px;
}
.working-hours h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dark); margin-bottom: 10px;
}
.working-hours p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.7; margin: 0; }

.contact-form-wrap {
  background: var(--silver-pale); padding: 48px 44px; border: 1px solid var(--silver-mid);
}
.form-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--dark); margin-bottom: 8px;
}
.form-sub {
  font-size: 14px; color: var(--gray); font-weight: 300; margin-bottom: 32px; line-height: 1.6;
}
.contact-form-wrap .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-wrap .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.contact-form-wrap .form-group.full { grid-column: 1 / -1; }
.contact-form-wrap .form-group label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark);
}
.contact-form-wrap .form-group input,
.contact-form-wrap .form-group select,
.contact-form-wrap .form-group textarea {
  font-family: var(--font-body); font-size: 14px; font-weight: 300;
  padding: 12px 16px; border: 1px solid var(--silver-mid);
  background: var(--white); color: var(--dark); outline: none;
  transition: border-color 0.2s; border-radius: 0; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group select:focus,
.contact-form-wrap .form-group textarea:focus { border-color: var(--gold); }
.contact-form-wrap .form-group textarea { resize: vertical; min-height: 120px; }
.contact-form-wrap .form-group select { cursor: pointer; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--white); border: none;
  padding: 16px 40px; font-size: 14px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; font-family: var(--font-body);
  margin-top: 8px; transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-note {
  font-size: 12px; color: var(--silver-dark); margin-top: 12px;
  text-align: center; line-height: 1.6;
}
.form-note a { color: var(--gold); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

.map-section { background: var(--silver-pale); padding: 0; }
.map-section iframe { display: block; width: 100%; height: 400px; border: none; filter: grayscale(20%); }

.pagination-wrap { text-align: center; margin-top: 40px; }
.pagination-wrap a {
  margin: 0 8px; color: var(--gray); text-decoration: none; font-size: 14px;
}
.pagination-wrap a.active { color: var(--gold); font-weight: 600; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* About page */
.page-hero {
  position: relative; height: 340px; display: flex; align-items: center;
  background: var(--dark); overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1505409628601-edc9af17fda6?w=1600&q=80') center/cover no-repeat;
  opacity: 0.2;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(28,28,26,0.9) 40%, transparent);
}
.page-hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%;
}
.page-hero .breadcrumb {
  font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px; margin-top: 0;
}
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; color: var(--white); line-height: 1.15;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300;
  margin-top: 12px; max-width: 520px; line-height: 1.7;
}

.story { padding: 100px 0; background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { position: relative; }
.story-img img { width: 100%; height: 500px; object-fit: cover; display: block; }
.story-img-frame {
  position: absolute; bottom: -20px; right: -20px; width: 100%; height: 100%;
  border: 2px solid var(--gold-border); z-index: -1;
}
.story-content p,
.story-content .cms-content { font-size: 16px; color: var(--gray); line-height: 1.9; font-weight: 300; margin-bottom: 20px; }

.values { padding: 100px 0; background: var(--silver-pale); }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px; background: var(--silver-mid);
}
.value-card {
  background: var(--white); padding: 40px 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(200,168,75,0.1); }
.value-icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.value-card h3 {
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--dark); margin-bottom: 12px;
}
.value-card p { font-size: 15px; color: var(--gray); line-height: 1.7; font-weight: 300; }

.stats { padding: 80px 0; background: var(--dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(255,255,255,0.06);
}
.stat-card { background: var(--dark); padding: 48px 32px; text-align: center; }
.stats .stat-num {
  font-family: var(--font-display); font-size: 4rem; font-weight: 300;
  color: var(--gold-light); line-height: 1;
}
.stats .stat-label {
  font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 2px;
  text-transform: uppercase; margin-top: 10px;
}

.why { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--gold-border); min-width: 40px; line-height: 1;
}
.why-text h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.why-text p { font-size: 15px; color: var(--gray); line-height: 1.7; font-weight: 300; }
.why-img img { width: 100%; height: 480px; object-fit: cover; display: block; }

.cta-banner {
  background: linear-gradient(135deg, var(--gold-pale), #ede9df);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  position: absolute;
  font-family: var(--font-display); font-size: 20vw; font-weight: 300;
  color: rgba(200,168,75,0.06); top: 50%; left: 50%;
  transform: translate(-50%,-50%); pointer-events: none; white-space: nowrap;
}
.cta-banner--about::before { content: 'ABOUT'; }
.cta-banner--services::before { content: 'LEGAL'; }
.cta-banner .section-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--dark); margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px; color: var(--gray); font-weight: 300; margin-bottom: 36px;
  max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8;
}

/* Our Services page */
.services-intro { padding: 80px 0 60px; background: var(--white); }
.services-list { padding: 0 0 100px; background: var(--white); }
.service-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 40px;
  padding: 48px 0; border-bottom: 1px solid var(--silver-mid);
  align-items: start;
}
.service-item:last-child { border-bottom: none; }
.services-list .service-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: var(--silver-mid); line-height: 1; padding-top: 4px; transition: color 0.3s;
}
.service-item:hover .service-num { color: var(--gold-border); }
.service-body h2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: var(--dark); margin-bottom: 16px;
}
.service-body p {
  font-size: 16px; color: var(--gray); line-height: 1.8; font-weight: 300; margin-bottom: 20px;
}
.service-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.feature-tag {
  background: var(--silver-pale); border: 1px solid var(--silver-mid);
  color: var(--gray); font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 2px;
}
.service-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); text-decoration: none; transition: gap 0.2s;
}
.service-cta:hover { gap: 14px; }

/* Resources page */
.resources-header { padding: 60px 0 40px; background: var(--white); }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.filter-btn {
  font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 20px; border: 1px solid var(--silver-mid); background: var(--white);
  color: var(--gray); cursor: pointer; border-radius: 2px; transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}

.featured-post { padding: 0 0 60px; background: var(--white); }
a.featured-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--silver-mid); overflow: hidden;
  transition: box-shadow 0.3s; text-decoration: none; color: inherit;
}
a.featured-card:hover { box-shadow: 0 16px 48px rgba(200,168,75,0.12); }
.featured-card-img { height: 420px; overflow: hidden; }
.featured-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s;
}
a.featured-card:hover .featured-card-img img { transform: scale(1.03); }
.featured-card-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.post-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.post-cat::before { content: ''; width: 24px; height: 1px; background: var(--gold); display: block; }
.post-cat--sm { font-size: 10px; margin-bottom: 8px; }
.post-cat--sm::before { display: none; }
.featured-card-body h2 {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 400;
  color: var(--dark); line-height: 1.3; margin-bottom: 16px;
}
.featured-card-body p {
  font-size: 15px; color: var(--gray); line-height: 1.8; font-weight: 300; margin-bottom: 28px;
}
.post-meta {
  font-size: 12px; color: var(--silver-dark); display: flex; gap: 16px; margin-bottom: 24px;
}
.article-card .post-meta { margin-bottom: 0; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); transition: gap 0.2s;
}
a.featured-card:hover .read-more { gap: 14px; }

.articles { padding: 20px 0 100px; background: var(--white); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
a.article-card {
  border: 1px solid var(--silver-mid); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none; color: inherit; display: block;
}
a.article-card:hover {
  border-color: var(--gold-border); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200,168,75,0.1);
}
.article-card-img { height: 200px; overflow: hidden; }
.article-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s;
}
a.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 24px; }
.article-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 400;
  color: var(--dark); line-height: 1.4; margin-bottom: 10px;
}
.article-card p {
  font-size: 14px; color: var(--gray); line-height: 1.7; font-weight: 300; margin-bottom: 16px;
}

.newsletter { background: var(--dark); padding: 80px 0; }
.newsletter-inner { max-width: 600px; margin: 0 auto; padding: 0 40px; text-align: center; }
.newsletter-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 16px;
}
.newsletter h2 {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 300;
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.newsletter p {
  font-size: 16px; color: rgba(255,255,255,0.5); font-weight: 300;
  line-height: 1.7; margin-bottom: 32px;
}
.newsletter-form { display: flex; gap: 0; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; font-size: 14px; font-family: var(--font-body);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: var(--white); outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
  background: var(--gold); color: var(--white); border: none; padding: 14px 28px;
  font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; font-family: var(--font-body); transition: background 0.2s; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

.resource-item.is-hidden { display: none !important; }

@media (max-width: 768px) {
  .story-grid, .why-grid { grid-template-columns: 1fr; }
  .story-img-frame { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .service-item { grid-template-columns: 1fr; gap: 16px; }
  a.featured-card { grid-template-columns: 1fr; }
  .featured-card-img { height: 260px; }
  .newsletter-form { flex-direction: column; }
}
