/* ==========================================================================
   OWEN SERVICE & BLOG DETAIL PAGES
   owen Editorial Styling matching user reference
   ========================================================================== */

:root {
  --color-primary: #1C1F22;
  --color-accent: #C5A46D;
  --color-accent-hover: #b8955c;
  --color-background: #F5F3EE;
  --color-surface: #FFFFFF;
  --color-text: #1F2224;
  --color-text-muted: #6E7377;
  --color-border: #DDDCD5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 99999;
}

.skip-link:focus {
  top: 10px;
}

/* --------------------------------------------------------------------------
   SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 243, 238, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 220, 213, 0.7);
  box-shadow: 0 1px 10px rgba(28, 31, 34, 0.03);
}

.site-header-inner {
  max-width: 1420px;
  margin: 0 auto;
  height: 72px;
  padding: 0 clamp(16px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.05;
}

.brand-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-accent);
}

.header-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-phone-pill:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.phone-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

/* --------------------------------------------------------------------------
   SERVICE HERO SECTION (Matching User Reference Layout)
   -------------------------------------------------------------------------- */
.service-editorial-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px clamp(16px, 3.5vw, 40px) 0;
}

.service-hero-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.service-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.service-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 16px;
}

.service-summary {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 auto 24px;
  max-width: 700px;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(197, 164, 109, 0.25);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 164, 109, 0.35);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn-phone:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* Wide Rounded Banner Frame */
.service-banner-frame {
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(28, 31, 34, 0.12);
  border: 1px solid rgba(221, 220, 213, 0.6);
  background: var(--color-primary);
}

.service-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 31, 34, 0.04) 0%, rgba(28, 31, 34, 0.32) 100%);
  pointer-events: none;
}

/* 3 Overlapping Floating Cards */
.service-cards-row {
  max-width: 1100px;
  margin: -100px auto 52px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 10;
}

.service-feature-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 50px 24px 34px;
  box-shadow: 0 16px 40px rgba(28, 31, 34, 0.08);
  border: 1px solid rgba(221, 220, 213, 0.7);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(28, 31, 34, 0.14);
}

.feature-card-badge {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: #1C1F22;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(28, 31, 34, 0.22);
  border: 2.5px solid #FFFFFF;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-feature-card:hover .feature-card-badge {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateX(-50%) scale(1.08);
}

.feature-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
  line-height: 1.35;
}

.feature-card-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
  flex-grow: 1;
}

.feature-card-more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: 4px;
  transition: color 0.2s ease;
}

.more-bar {
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.25s ease, background 0.25s ease;
}

.feature-card-more:hover {
  color: var(--color-accent);
}

.feature-card-more:hover .more-bar {
  width: 44px;
  background: var(--color-primary);
}

/* --------------------------------------------------------------------------
   ARTICLE CONTENT & SECTIONS (Wide Luxury Cards)
   -------------------------------------------------------------------------- */
.service-article-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 40px) 90px;
}

.article-body {
  width: 100%;
}

.service-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 44px clamp(24px, 4vw, 56px);
  margin-bottom: 36px;
  box-shadow: 0 10px 32px rgba(28, 31, 34, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-box:hover {
  box-shadow: 0 16px 42px rgba(28, 31, 34, 0.08);
  border-color: rgba(197, 164, 109, 0.5);
}

.service-box-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(221, 220, 213, 0.5);
  padding-bottom: 18px;
}

.service-box-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 164, 109, 0.12);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-box-pill .pill-sep {
  opacity: 0.5;
}

.service-box-title {
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.25;
}

.service-box-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-box-content.has-highlights {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-box-paragraphs p {
  font-size: 16px;
  line-height: 1.8;
  color: #2D3134;
  margin: 0 0 18px;
}

.service-box-paragraphs p:last-child {
  margin-bottom: 0;
}

.service-box-highlights {
  background: #FBFBF9;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 4px 16px rgba(28, 31, 34, 0.02);
}

.highlights-title {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlights-title svg {
  color: var(--color-accent);
}

.highlights-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlights-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #3B4045;
}

.highlight-check-icon {
  flex-shrink: 0;
  color: #25D366;
  margin-top: 3px;
}

@media (max-width: 960px) {
  .service-box-content.has-highlights {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-primary);
  margin: 0 0 16px;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 16px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body ul {
  padding-left: 20px;
  margin: 16px 0;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 15px;
}

.article-body li {
  margin-bottom: 8px;
}

.section-reference {
  font-size: 13px !important;
  color: var(--color-text-muted) !important;
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.section-reference a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Source note */
.source-note {
  background: rgba(197, 164, 109, 0.1);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.7;
}

.source-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.source-note ul {
  margin: 0;
  padding-left: 20px;
}

.source-note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* FAQ */
.page-faq {
  margin: 36px 0;
}

.page-faq details {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(28, 31, 34, 0.02);
}

.page-faq summary {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.page-faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--color-accent);
  font-weight: 700;
}

.page-faq details[open] summary::after {
  content: '−';
}

.page-faq details p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Discuss site box */
.discuss-site-box {
  background: #FFFFFF !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 24px;
  padding: 48px clamp(24px, 4vw, 56px);
  text-align: center;
  box-shadow: 0 10px 32px rgba(28, 31, 34, 0.04);
}

.discuss-site-box h2 {
  color: var(--color-primary) !important;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
}

.discuss-site-box p {
  color: var(--color-text-muted) !important;
  font-size: 16px;
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto 28px !important;
  text-align: center;
}

.discuss-site-box .actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Related Services Grid (Matching Sector Cards from Who We Serve) */
.article-footer {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.article-footer-header {
  margin-bottom: 28px;
}

.footer-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin: 0;
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.related-sector-card {
  position: relative;
  background: #F4F3EE;
  border-radius: 20px;
  padding: 32px 28px 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid rgba(221, 220, 213, 0.7);
  box-shadow: 0 4px 16px rgba(28, 31, 34, 0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.related-sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 31, 34, 0.09);
  border-color: rgba(197, 164, 109, 0.75);
}

.related-sector-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7D8187;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.related-sector-title {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 0 0 10px;
  max-width: 17ch;
  transition: color 0.2s ease;
}

.related-sector-card:hover .related-sector-title {
  color: var(--color-accent);
}

.related-sector-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 20ch;
  position: relative;
  z-index: 2;
}

/* Bottom right image container */
.related-sector-img-wrap {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 136px;
  height: 136px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.related-sector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.related-sector-card:hover .related-sector-img {
  transform: scale(1.08);
}

.footer-back-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
}

.back-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-footer-link:hover {
  color: var(--color-accent);
}

@media (max-width: 960px) {
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .related-services-grid {
    grid-template-columns: 1fr;
  }
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.related a {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.related a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.back-footer-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
}

.back-footer-link:hover {
  color: var(--color-accent);
}

/* Blog Article Specific Styling */
.blog-article {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px clamp(16px, 3.5vw, 32px) 80px;
}

.blog-hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  margin: 32px 0;
  box-shadow: 0 16px 40px rgba(28, 31, 34, 0.08);
}

.editorial-note {
  margin-top: 36px;
  padding: 24px;
  background: #FFFFFF;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 4px 14px rgba(28, 31, 34, 0.04);
}

.editorial-note h2 {
  font-size: 20px;
  margin-top: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .service-banner-frame {
    height: 250px;
    border-radius: 18px;
  }

  .service-cards-row {
    margin-top: -50px;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 10px;
  }

  .service-feature-card {
    padding: 44px 20px 28px;
  }

  .site-header-inner {
    height: 64px;
  }

  .header-phone-pill span:not(.phone-pulse-dot) {
    display: none;
  }

  .header-phone-pill {
    padding: 8px;
  }
}