/* Shared internal-page polish for About and Contact. */
.page-template-page-about,
.page-template-page-contact{background:#f7fbfa;color:#17343a}
.page-template-page-about main,
.page-template-page-contact main{overflow:hidden}
.page-template-page-about .page-hero,
.page-template-page-contact .page-hero{
  min-height:0!important;
  padding:72px 24px 78px!important;
  background:linear-gradient(135deg,#f7fcfb 0%,#eef8f5 100%)!important;
}
.page-template-page-about .page-hero-grid,
.page-template-page-contact .page-hero-grid{
  max-width:1160px!important;
  margin:0 auto!important;
  align-items:center!important;
  gap:64px!important;
}
.page-template-page-about .page-hero-copy,
.page-template-page-contact .page-hero-copy{order:2}
.page-template-page-about .page-hero-copy h1,
.page-template-page-contact .page-hero-copy h1{
  margin:14px 0 18px!important;
  color:#17343a!important;
  font-size:clamp(36px,4.3vw,58px)!important;
  line-height:1.45!important;
  font-weight:500!important;
}
.page-template-page-about .page-hero-copy>p,
.page-template-page-contact .page-hero-copy>p{
  max-width:590px!important;
  color:#6b8182!important;
  font-size:15px!important;
  line-height:2.15!important;
}
.page-template-page-about .eyebrow,
.page-template-page-contact .eyebrow{
  background:#fff1a0!important;
  color:#6d5d00!important;
}
.page-template-page-about .btn-primary,
.page-template-page-contact .btn-primary{
  background:#ffd21f!important;
  color:#17343a!important;
  border:0!important;
  box-shadow:0 12px 24px rgba(255,210,31,.18)!important;
}
.page-template-page-about .btn-primary:hover,
.page-template-page-contact .btn-primary:hover{background:#f6c500!important}
.page-template-page-about .page-hero-visual,
.page-template-page-contact .page-hero-visual{
  order:1;
  filter:drop-shadow(0 18px 30px rgba(21,70,82,.09));
}
.page-template-page-about .page-hero-visual .card,
.page-template-page-contact .page-hero-visual .form-card{
  border:1px solid #dceae7!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.9)!important;
  box-shadow:0 18px 42px rgba(21,62,66,.08)!important;
}
.page-template-page-about .section,
.page-template-page-contact .section{
  padding:68px 24px!important;
  background:#fff!important;
}
.page-template-page-about .section-heading,
.page-template-page-contact .section-heading{margin-bottom:30px!important}
.page-template-page-about .section-heading h2,
.page-template-page-contact .section-heading h2{
  color:#17343a!important;
  font-size:30px!important;
  line-height:1.6!important;
  font-weight:500!important;
}
.page-template-page-about .principle-grid{
  max-width:1160px!important;
  margin:0 auto!important;
  gap:18px!important;
}
.page-template-page-about .principle-grid>article,
.page-template-page-about .principle-grid>.card{
  border:1px solid #dfece9!important;
  border-radius:20px!important;
  background:#f8fcfb!important;
  box-shadow:none!important;
}
.page-template-page-about .principle-grid .icon{
  background:#fff1a0!important;
  border-radius:14px!important;
}
.page-template-page-about .article-card{
  border:1px solid #dfece9!important;
  border-radius:20px!important;
  box-shadow:0 12px 28px rgba(21,62,66,.06)!important;
}
.page-template-page-contact .lead-form{
  border:0!important;
  border-radius:20px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.page-template-page-contact .lead-form .form-row{
  gap:14px!important;
  margin-bottom:14px!important;
}
.page-template-page-contact .lead-form label{
  color:#49656b!important;
  font-weight:600!important;
}
.page-template-page-contact .lead-form input,
.page-template-page-contact .lead-form textarea,
.page-template-page-contact .lead-form select{
  border:1px solid #dce9e7!important;
  border-radius:14px!important;
  background:#f8fcfb!important;
  color:#17343a!important;
}
.page-template-page-contact .lead-form input:focus,
.page-template-page-contact .lead-form textarea:focus,
.page-template-page-contact .lead-form select:focus{
  outline:2px solid rgba(255,210,31,.35)!important;
  border-color:#e4bd00!important;
}
.page-template-page-contact .form-note{color:#718587!important;line-height:2!important}
.page-template-page-about .ravand-seo-support-block,
.page-template-page-contact .ravand-seo-support-block{
  max-width:1160px!important;
  margin:24px auto!important;
  border:1px solid #dfece9!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(21,62,66,.05)!important;
}
@media(max-width:900px){
  .page-template-page-about .page-hero-grid,
  .page-template-page-contact .page-hero-grid{grid-template-columns:1fr!important;gap:34px!important}
  .page-template-page-about .page-hero-copy,
  .page-template-page-contact .page-hero-copy{order:1;text-align:center!important}
  .page-template-page-about .page-hero-copy>p,
  .page-template-page-contact .page-hero-copy>p{margin-inline:auto!important}
  .page-template-page-about .page-hero-visual,
  .page-template-page-contact .page-hero-visual{order:2}
}
@media(max-width:600px){
  .page-template-page-about .page-hero,
  .page-template-page-contact .page-hero{padding:52px 18px 58px!important}
  .page-template-page-about .section,
  .page-template-page-contact .section{padding:52px 18px!important}
}


/* v2: rebuild the composition, not just the palette. */
.page-template-page-about .page-hero,
.page-template-page-contact .page-hero{
  padding:54px 24px 62px!important;
  background:#f7fbfa!important;
}
.page-template-page-about .page-hero-grid,
.page-template-page-contact .page-hero-grid{
  width:min(1120px,100%)!important;
  max-width:1120px!important;
  min-height:0!important;
  padding:34px!important;
  border:1px solid #e1eeeb!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#f5fbfa 0%,#fff 70%)!important;
  box-shadow:0 18px 44px rgba(22,65,69,.07)!important;
}
.page-template-page-about .page-hero-copy,
.page-template-page-contact .page-hero-copy{
  max-width:570px!important;
}
.page-template-page-about .page-hero-copy h1,
.page-template-page-contact .page-hero-copy h1{
  max-width:570px!important;
  margin:14px 0 14px!important;
  font-size:clamp(34px,3.8vw,48px)!important;
  line-height:1.5!important;
  letter-spacing:-.6px!important;
}
.page-template-page-about .page-hero-copy>p,
.page-template-page-contact .page-hero-copy>p{
  max-width:530px!important;
  margin-bottom:20px!important;
  font-size:14px!important;
  line-height:2.05!important;
}
.page-template-page-about .page-hero-visual,
.page-template-page-contact .page-hero-visual{
  width:100%!important;
  max-width:500px!important;
}
.page-template-page-about .page-hero-visual .card,
.page-template-page-contact .page-hero-visual .form-card{
  margin:0!important;
  padding:26px!important;
  border-radius:22px!important;
  box-shadow:0 14px 32px rgba(22,65,69,.08)!important;
}
.page-template-page-about .page-hero-visual .card h2,
.page-template-page-contact .page-hero-visual .form-card h2{
  margin-top:0!important;
  color:#17343a!important;
  font-size:22px!important;
  line-height:1.6!important;
}
.page-template-page-about .section,
.page-template-page-contact .section{
  padding:54px 24px!important;
}
.page-template-page-about .section-compact,
.page-template-page-contact .section-compact{
  background:#fff!important;
}
.page-template-page-about .principle-grid,
.page-template-page-contact .article-grid{
  width:min(1120px,100%)!important;
  margin-inline:auto!important;
  gap:16px!important;
}
.page-template-page-about .principle-grid>*, 
.page-template-page-contact .article-grid>*{
  min-height:0!important;
  padding:22px!important;
  border:1px solid #e1eeeb!important;
  border-radius:18px!important;
  background:#f8fcfb!important;
  box-shadow:none!important;
}
.page-template-page-about .ravand-seo-support-block,
.page-template-page-contact .ravand-seo-support-block{
  margin:18px auto!important;
}
.page-template-page-contact .lead-form{
  max-width:100%!important;
}
.page-template-page-contact .lead-form .form-row{
  margin-bottom:10px!important;
  gap:12px!important;
}
.page-template-page-contact .lead-form input,
.page-template-page-contact .lead-form select{
  min-height:44px!important;
}
.page-template-page-contact .lead-form textarea{
  min-height:108px!important;
}
.page-template-page-contact .lead-form .form-note{
  margin:12px 0!important;
  font-size:12px!important;
}
.page-template-page-contact .lead-form .btn-primary{
  min-height:48px!important;
  margin-top:8px!important;
}
@media(max-width:900px){
  .page-template-page-about .page-hero-grid,
  .page-template-page-contact .page-hero-grid{
    padding:24px!important;
  }
  .page-template-page-about .page-hero-copy,
  .page-template-page-contact .page-hero-copy,
  .page-template-page-about .page-hero-visual,
  .page-template-page-contact .page-hero-visual{
    max-width:none!important;
  }
}
@media(max-width:600px){
  .page-template-page-about .page-hero,
  .page-template-page-contact .page-hero{padding:30px 14px 42px!important}
  .page-template-page-about .page-hero-grid,
  .page-template-page-contact .page-hero-grid{padding:18px!important;border-radius:22px!important}
  .page-template-page-about .section,
  .page-template-page-contact .section{padding:42px 16px!important}
}


/* Structure the SEO/support content as readable editorial cards. */
.page-template-page-about .ravand-seo-support-block,
.page-template-page-contact .ravand-seo-support-block{
  position:relative!important;
  max-width:1080px!important;
  margin:20px auto!important;
  padding:30px 38px!important;
  border:1px solid #dcebe8!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(22,65,69,.05)!important;
  overflow:hidden!important;
}
.page-template-page-about .ravand-seo-support-block:before,
.page-template-page-contact .ravand-seo-support-block:before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:100%!important;
  height:4px!important;
  background:linear-gradient(90deg,#ffd21f 0 36%,#42bca9 36% 68%,#17343a 68%)!important;
}
.page-template-page-about .ravand-seo-support-block h2,
.page-template-page-contact .ravand-seo-support-block h2{
  position:relative!important;
  margin:0 0 14px!important;
  color:#17343a!important;
  font-size:23px!important;
  line-height:1.65!important;
  font-weight:700!important;
}
.page-template-page-about .ravand-seo-support-block p,
.page-template-page-contact .ravand-seo-support-block p{
  margin:0 0 14px!important;
  color:#5e777b!important;
  font-size:14px!important;
  line-height:2.15!important;
}
.page-template-page-about .ravand-seo-support-block ul,
.page-template-page-contact .ravand-seo-support-block ul{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 28px!important;
  margin:16px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid #e5efed!important;
  list-style:none!important;
}
.page-template-page-about .ravand-seo-support-block li,
.page-template-page-contact .ravand-seo-support-block li{
  position:relative!important;
  padding-right:22px!important;
  color:#385b60!important;
  font-size:13px!important;
  line-height:1.9!important;
}
.page-template-page-about .ravand-seo-support-block li:before,
.page-template-page-contact .ravand-seo-support-block li:before{
  content:"✓"!important;
  position:absolute!important;
  right:0!important;
  top:0!important;
  color:#0f9993!important;
  font-weight:800!important;
}
.page-template-page-about .ravand-seo-support-links,
.page-template-page-contact .ravand-seo-support-links{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:20px!important;
}
.page-template-page-about .ravand-seo-support-links a,
.page-template-page-contact .ravand-seo-support-links a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 15px!important;
  border:1px solid #d6e8e5!important;
  border-radius:11px!important;
  background:#f5fbf9!important;
  color:#167f7b!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.page-template-page-about .ravand-seo-support-links a:hover,
.page-template-page-contact .ravand-seo-support-links a:hover{
  border-color:#ffd21f!important;
  background:#fffbea!important;
}
@media(max-width:600px){
  .page-template-page-about .ravand-seo-support-block,
  .page-template-page-contact .ravand-seo-support-block{padding:25px 22px!important}
  .page-template-page-about .ravand-seo-support-block ul,
  .page-template-page-contact .ravand-seo-support-block ul{grid-template-columns:1fr!important}
}
