/*
Theme Name: Arete
Theme URI: https://jpsolutionsco.com/
Author: JPSolutions
Author URI: https://jpsolutionsco.com/
Description: Premium healthcare management and marketing WordPress theme with Elementor compatibility, configurable homepage sections, and polished presentation for Arete Healthcare.
Version: 1.1.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: jp_arete
Tags: healthcare, custom-logo, custom-menu, elementor, bootstrap, featured-images, full-width-template, theme-options
*/

:root {
  --arete-dk: #2d5a10;
  --arete-md: #3d6b18;
  --arete-lime: #6fc12a;
  --arete-lt: #8fd94e;
  --arete-blk: #0c1206;
  --arete-char: #111a08;
  --arete-cream: #f3f8ec;
  --arete-wht: #ffffff;
  --arete-gray: #4d5e3a;
  --arete-lgt: #e5f0d6;
  --arete-shadow: 0 18px 48px rgba(45, 90, 16, 0.12);
  --arete-font-heading: "Cormorant Garamond", Georgia, serif;
  --arete-font-body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--arete-font-body);
  color: var(--arete-char);
  background: var(--arete-wht);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site { min-height: 100vh; }
.arete-container { width: min(1200px, calc(100% - 2.5rem)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--arete-char);
  color: var(--arete-wht);
  z-index: 10000;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: var(--arete-char);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
}
.topbar-inner,
.topbar-list,
.trust-bar-inner,
.footer-bottom,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-inner { justify-content: space-between; gap: 0.75rem 1.5rem; }
.topbar-list { gap: 0.75rem 1.5rem; }
.topbar-item,
.topbar-address,
.trust-item,
.contact-detail,
.footer-branding,
.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar a { color: rgba(255, 255, 255, 0.72); }
.topbar a:hover,
.topbar a:focus { color: var(--arete-lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--arete-lgt);
  box-shadow: 0 2px 16px rgba(45, 90, 16, 0.07);
  backdrop-filter: blur(14px);
}
.site-header .navbar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0.9rem 0;
  align-items: center;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 620px);
  margin-right: 1rem;
}
.site-branding-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 620px);
  max-height: 72px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--arete-dk), var(--arete-lime));
  color: var(--arete-wht);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title,
.hero-title,
.section-title,
.contact-card-title,
.page-hero-title,
.entry-title,
.service-title,
.value-title,
.contact-title,
.footer-brand-title,
.hero-card-title,
.representation-title,
.cta-title {
  font-family: var(--arete-font-heading);
}
.brand-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--arete-dk);
}
.brand-title span,
.footer-brand-title span { color: var(--arete-lime); }
.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--arete-gray);
}
.navbar-toggler {
  margin-left: auto;
  border: 1px solid var(--arete-lgt);
  padding: 0.45rem 0.7rem;
  flex: 0 0 auto;
  color: var(--arete-dk);
  background: var(--arete-wht);
  border-radius: 8px;
}
.navbar-toggler-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  background-image: none;
  font-size: 1.1rem;
  line-height: 1;
}
.navbar-toggler:focus { box-shadow: 0 0 0 0.25rem rgba(111, 193, 42, 0.2); }
.navbar-collapse {
  flex-basis: auto;
}
.primary-menu .menu,
.footer-menu,
.card-list,
.check-list,
.info-list { list-style: none; margin: 0; padding: 0; }
.primary-menu > .menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.primary-menu .menu-item > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--arete-char);
}
.primary-menu .menu-item > a:hover,
.primary-menu .menu-item > a:focus,
.primary-menu .current-menu-item > a { color: var(--arete-dk); }
.menu-cta > a {
  background: var(--arete-dk);
  color: var(--arete-wht);
  border-radius: 4px;
  padding: 0.6rem 1.35rem;
  text-decoration: none;
}
.menu-cta > a,
.menu-cta > a:visited { color: var(--arete-wht) !important; }
.menu-cta > a:hover,
.menu-cta > a:focus { background: var(--arete-md); color: var(--arete-wht) !important; text-decoration: none; }

.homepage-hero,
.cta-section,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--arete-wht);
}
.homepage-hero {
  padding: 6.5rem 0 5.5rem;
  background: var(--arete-char);
}
.homepage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 35%, rgba(111, 193, 42, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 5% 90%, rgba(45, 90, 16, 0.32) 0%, transparent 60%);
}
.hero-grid,
.role-grid,
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.role-grid,
.contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  padding: 0.38rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(111, 193, 42, 0.13);
  border: 1px solid rgba(111, 193, 42, 0.3);
  color: var(--arete-lt);
}
.hero-title,
.section-title,
.page-hero-title,
.cta-title {
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-title { font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin: 0 0 1.3rem; }
.hero-title em,
.section-title em,
.cta-title em,
.page-hero-title em { color: var(--arete-lime); font-style: italic; }
.hero-copy,
.hero-quote,
.cta-copy,
.cta-quote,
.page-hero-copy { color: rgba(255, 255, 255, 0.8); }
.hero-copy {
  max-width: 540px;
  margin-bottom: 1.7rem;
  font-size: 1rem;
  line-height: 1.85;
}
.hero-quote {
  margin-bottom: 2.3rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--arete-lime);
  font-size: 1.1rem;
  font-style: italic;
}
.button-row { gap: 1rem; }
a.arete-button,
a.arete-button:visited,
a.arete-button:hover,
a.arete-button:focus {
  text-decoration: none;
}
.arete-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 2.05rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.arete-button:hover,
.arete-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus { transform: translateY(-2px); }
.arete-button-primary,
.wp-block-button__link { background: var(--arete-lime); color: var(--arete-blk); }
.arete-button-primary:hover,
.arete-button-primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus { background: var(--arete-lt); color: var(--arete-blk); }
.arete-button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--arete-wht);
}
.arete-button-outline:hover,
.arete-button-outline:focus { border-color: var(--arete-lime); color: var(--arete-lime); }

.hero-card,
.representation-panel,
.service-card,
.value-card,
.contact-card,
.page-card,
.value-quote { border-radius: 14px; }
.hero-card {
  border: 1px solid rgba(111, 193, 42, 0.18);
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.hero-card-title { margin: 0 0 1.4rem; font-size: 1.2rem; color: var(--arete-lime); }
.check-list { display: grid; gap: 0.9rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}
.check-list li i {
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 0.1rem;
  background: var(--arete-lime);
  color: var(--arete-blk);
  font-size: 0.66rem;
}
.compliance-pill {
  margin-top: 1.6rem;
  border: 1px solid rgba(111, 193, 42, 0.22);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  text-align: center;
  background: rgba(45, 90, 16, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}
.compliance-pill strong { color: var(--arete-lt); }

.trust-bar {
  padding: 1.25rem 0;
  background: var(--arete-dk);
  border-top: 3px solid var(--arete-lime);
}
.trust-bar-inner {
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
.trust-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
}

.homepage-section,
.page-section { padding: 5.5rem 0; }
.section-label,
.footer-column-title,
.cta-label {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arete-lime);
}
.accent-bar {
  width: 3.5rem;
  height: 3px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--arete-lime), var(--arete-dk));
}
.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  color: var(--arete-dk);
}
.section-title em { color: var(--arete-md); }
.section-lead,
.section-text,
.card-copy,
.contact-card-text,
.footer-summary,
.page-card-copy { color: var(--arete-gray); }
/* Long-form legal pages (disclaimer, privacy): predictable rhythm vs Bootstrap defaults */
.page-card-copy p {
  margin: 0 0 1rem;
  line-height: 1.85;
}
.page-card-copy p:last-child { margin-bottom: 0; }
.page-card-copy ul,
.page-card-copy ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
}
.page-card-copy li { margin-bottom: 0.45rem; line-height: 1.75; }
.page-card-copy li:last-child { margin-bottom: 0; }
.page-card-copy hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--arete-lgt);
  opacity: 1;
}
.page-card-copy h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--arete-font-heading);
  font-size: clamp(1.28rem, 2.2vw, 1.52rem);
  font-weight: 700;
  color: var(--arete-dk);
  line-height: 1.3;
}
.page-card-copy hr + h2 { margin-top: 0; }
.arete-legal-meta {
  font-size: 0.95rem;
  color: var(--arete-gray);
  margin: 0 0 1.25rem;
}
.section-lead {
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
  line-height: 1.85;
}
.section-text { line-height: 1.85; }
.representation-panel {
  border: 1px solid rgba(111, 193, 42, 0.2);
  border-radius: 18px;
  padding: 2.6rem;
  background:
    radial-gradient(circle at top right, rgba(111, 193, 42, 0.18), transparent 34%),
    linear-gradient(160deg, #ffffff 0%, #f7fbeF 45%, #edf7df 100%);
  box-shadow: 0 24px 50px rgba(25, 50, 7, 0.08);
}
.representation-title {
  margin: 0 0 1.35rem;
  font-size: 1.2rem;
  color: var(--arete-dk);
}
.info-list {
  display: grid;
  gap: 0.8rem;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(111, 193, 42, 0.2);
  border-left: 0;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(45, 90, 16, 0.05);
  color: var(--arete-char);
  font-size: 0.9rem;
  font-weight: 600;
}
.info-list li i {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--arete-dk), var(--arete-lime));
  color: var(--arete-wht);
  font-size: 0.86rem;
}
.support-note,
.service-note {
  border-left: 3px solid var(--arete-dk);
  border-radius: 0 6px 6px 0;
  background: var(--arete-cream);
}
.support-note {
  margin-top: 1.4rem;
  border: 1px solid rgba(111, 193, 42, 0.22);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--arete-dk);
  font-size: 0.82rem;
  box-shadow: 0 12px 26px rgba(45, 90, 16, 0.05);
}
.quote-panel {
  margin-top: 2rem;
  border-radius: 12px;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, var(--arete-dk) 0%, var(--arete-md) 100%);
}
.quote-panel p {
  margin: 0;
  font-family: var(--arete-font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.93);
}

.services-section,
.contact-section { background: var(--arete-cream); }
.services-grid,
.values-grid,
.footer-grid { display: grid; gap: 1.5rem; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.service-card,
.value-card,
.contact-panel,
.page-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #cce0aa;
  padding: 2.3rem;
  background: var(--arete-wht);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--arete-shadow);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.service-card:nth-child(1)::before,
.service-card:nth-child(4)::before { background: var(--arete-lime); }
.service-card:nth-child(2)::before { background: var(--arete-dk); }
.service-card:nth-child(3)::before { background: var(--arete-md); }
.service-icon,
.value-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--arete-cream);
  color: var(--arete-dk);
}
.service-icon,
.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: 1.35rem;
}
.service-title,
.value-title,
.contact-title,
.entry-title { margin: 0 0 0.75rem; color: var(--arete-dk); }
.service-title { font-size: 1.35rem; }
.card-list { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.card-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--arete-char);
  font-size: 0.88rem;
  line-height: 1.55;
}
.card-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--arete-lime);
  font-weight: 700;
}
.service-note {
  margin-bottom: 1.2rem;
  padding: 0.75rem 1rem;
  color: var(--arete-gray);
  font-size: 0.8rem;
}
.service-tagline {
  padding-top: 1rem;
  border-top: 1px solid var(--arete-lgt);
  color: var(--arete-dk);
  font-family: var(--arete-font-heading);
  font-size: 0.97rem;
  font-style: italic;
}
.value-card { border-color: var(--arete-lgt); }
.value-number {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  font-family: var(--arete-font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--arete-cream);
  user-select: none;
  pointer-events: none;
}
.value-card p { margin: 0; color: var(--arete-gray); font-size: 0.88rem; }
.value-quote {
  margin-top: 3rem;
  border: 1px solid #c0d9a0;
  padding: 3rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--arete-cream) 0%, var(--arete-lgt) 100%);
}
.value-quote blockquote {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--arete-dk);
  font-family: var(--arete-font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
}
.value-quote p { margin: 0; color: var(--arete-gray); font-size: 0.87rem; }

.compliance-section,
.cta-section,
.site-footer { color: var(--arete-wht); }
.compliance-section { background: var(--arete-char); }
.compliance-section .section-title,
.compliance-section .section-title em { color: var(--arete-wht); }
.compliance-section .section-title em { color: var(--arete-lime); }
.compliance-section .section-lead { color: rgba(255, 255, 255, 0.68); }
.compliance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.compliance-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  border: 1px solid rgba(111, 193, 42, 0.14);
  border-radius: 10px;
  padding: 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.04);
}
.compliance-number {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--arete-lime);
  color: var(--arete-blk);
  font-size: 0.78rem;
  font-weight: 700;
}
.compliance-title { margin: 0 0 0.35rem; font-size: 0.93rem; font-weight: 600; color: rgba(255, 255, 255, 0.95); }
.compliance-copy { margin: 0; color: rgba(255, 255, 255, 0.57); font-size: 0.83rem; }
.compliance-banner {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid rgba(111, 193, 42, 0.22);
  border-radius: 12px;
  padding: 1.8rem 2.2rem;
  background: linear-gradient(90deg, rgba(45, 90, 16, 0.55) 0%, rgba(45, 90, 16, 0.18) 100%);
}
.compliance-banner p { flex: 1; margin: 0; color: rgba(255, 255, 255, 0.8); }
.compliance-banner strong { color: var(--arete-lt); }
.compliance-banner-icon { font-size: 2.2rem; color: var(--arete-lime); }

.cta-section {
  padding: 6.5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--arete-char) 0%, var(--arete-md) 100%);
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(111, 193, 42, 0.12) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.cta-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  white-space: nowrap;
}
.cta-copy { margin-bottom: 1rem; font-size: 1rem; line-height: 1.8; }
.cta-quote {
  margin-bottom: 2.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.2rem;
  font-style: italic;
}

.contact-title { font-size: 1.5rem; }
.contact-panel,
.contact-card {
  height: 100%;
  box-shadow: 0 12px 34px rgba(45, 90, 16, 0.08);
}
.contact-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}
.contact-panel:hover {
  transform: none;
  box-shadow: none;
}
.contact-card {
  padding: 2rem;
  transition: none;
  border: 1px solid #cce0aa;
  background: var(--arete-wht);
  box-shadow: 0 16px 34px rgba(45, 90, 16, 0.08);
}
.contact-card:hover {
  transform: none;
  box-shadow: 0 16px 34px rgba(45, 90, 16, 0.08);
}
.contact-detail {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin: 0;
}
.contact-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #cce0aa;
  background: #e9f6d8;
  color: var(--arete-dk);
  font-size: 1rem;
}
.contact-detail-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-detail span,
.contact-detail a {
  color: var(--arete-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-card-title { margin: 0 0 0.45rem; font-size: 1.3rem; color: var(--arete-dk); }
.contact-card-text { margin-bottom: 1.15rem; font-size: 0.88rem; }
.contact-card form {
  display: grid;
  gap: 0.9rem;
}
.form-field {
  display: block;
  width: 100%;
  margin: 0;
}
.form-field label {
  display: block;
  width: 100%;
  margin-bottom: 0.42rem;
  color: var(--arete-char);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  max-width: none;
  border: 1px solid #cce0aa;
  border-radius: 6px;
  box-sizing: border-box;
  padding: 0.78rem 0.9rem;
  background: var(--arete-cream);
  color: var(--arete-char);
  font-family: var(--arete-font-body);
  font-size: 0.92rem;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--arete-lime);
  background: var(--arete-wht);
  outline: 0;
}
.form-field textarea { min-height: 124px; resize: vertical; }
.form-note { margin: 1rem 0 0; color: var(--arete-gray); font-size: 0.78rem; }
.form-status {
  margin-bottom: 1rem;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}
.form-status-success { background: #eaf7da; color: #27490f; border: 1px solid #b5d88c; }
.form-status-error { background: #fbeaea; color: #812020; border: 1px solid #e8b6b6; }

.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--arete-char) 0%, var(--arete-md) 100%);
}
.page-hero-title { margin: 0 0 0.8rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.page-hero-copy { max-width: 760px; margin: 0; }
.page-card { border-color: var(--arete-lgt); box-shadow: 0 8px 30px rgba(45, 90, 16, 0.05); }
.entry-title { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
.entry-title a { color: var(--arete-dk); }
.page-card-copy a,
.entry-content a { color: var(--arete-dk); }

.site-footer {
  padding: 3.5rem 0 2rem;
  background: #0c1206;
  background: var(--arete-blk, #0c1206);
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .arete-container {
  position: relative;
  z-index: 1;
}
.site-footer a { color: rgba(255, 255, 255, 0.52); }
.footer-brand-title { font-size: 1.25rem; color: var(--arete-wht); }
.footer-brand-image {
  display: block;
  width: min(100%, 360px);
  max-width: 100%;
  height: auto;
  max-height: 96px;
}
.footer-summary { font-size: 0.83rem; line-height: 1.8; color: rgba(255, 255, 255, 0.42); }
.footer-menu { display: grid; gap: 0.55rem; }
.footer-menu li { font-size: 0.84rem; }
.footer-contact-menu {
  align-content: start;
  gap: 0.85rem;
}
.footer-contact-menu li {
  line-height: 1.7;
}
.footer-bottom {
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.77rem;
}
.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.footer-legal-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}
.footer-privacy-link,
.footer-disclaimer-link {
  color: var(--arete-lt);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}
.footer-privacy-link:hover,
.footer-privacy-link:focus,
.footer-disclaimer-link:hover,
.footer-disclaimer-link:focus { color: var(--arete-wht); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-animate > * { animation: fadeUp 0.7s ease both; }
.hero-animate > *:nth-child(1) { animation-delay: 0.05s; }
.hero-animate > *:nth-child(2) { animation-delay: 0.15s; }
.hero-animate > *:nth-child(3) { animation-delay: 0.25s; }
.hero-animate > *:nth-child(4) { animation-delay: 0.35s; }
.hero-animate > *:nth-child(5) { animation-delay: 0.45s; }
.hero-card { animation: fadeUp 0.7s ease 0.25s both; }

@media (max-width: 991.98px) {
  .hero-grid,
  .role-grid,
  .contact-grid,
  .services-grid,
  .values-grid,
  .footer-grid,
  .compliance-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-wrap: wrap; }
  .site-branding {
    flex-basis: auto;
    max-width: calc(100% - 4.75rem);
    margin-right: 0.75rem;
  }
  .site-branding-image {
    width: auto;
    max-width: 100%;
    max-height: 56px;
  }
  .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
  }
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    padding: 1rem 1.1rem;
    border: 1px solid var(--arete-lgt);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(25, 50, 7, 0.12);
  }
  .cta-title { white-space: normal; }
  .contact-panel,
  .contact-card { height: auto; }
  .primary-menu > .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .homepage-hero,
  .cta-section { padding: 5rem 0 4rem; }
  .homepage-section,
  .page-section { padding: 4rem 0; }
  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .trust-divider { display: none; }
  .trust-item {
    width: 100%;
    white-space: normal;
  }
  .arete-container { width: min(1200px, calc(100% - 1.5rem)); }
  .site-header .navbar { padding: 0.75rem 0; }
  .contact-detail {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.85rem;
  }
  .site-branding-image {
    width: auto;
    max-width: 100%;
    max-height: 40px;
  }
  .footer-brand-image {
    width: min(100%, 220px);
    max-height: 76px;
  }
}
