/* Online Service Pros — editorial pine theme */
:root {
  --color-pine: #1b3a2f;
  --color-pine-deep: #122820;
  --color-moss: #3d6b54;
  --color-sage: #d4e5d8;
  --color-mist: #eef4ef;
  --color-paper: #f7faf7;
  --color-ink: #1a2420;
  --color-ink-soft: #3e4f46;
  --color-gold: #c4a35a;
  --color-gold-dark: #9a7d3a;
  --color-line: rgba(27, 58, 47, 0.14);
  --color-error: #8b2e2e;
  --color-success: #1b3a2f;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 2px;
  --shadow-soft: 0 18px 40px rgba(18, 40, 32, 0.08);
  --max: 70rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(196, 163, 90, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(61, 107, 84, 0.1), transparent 45%),
    linear-gradient(180deg, var(--color-mist) 0%, var(--color-paper) 35%, var(--color-paper) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-pine);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-pine-deep);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 var(--space-md); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 var(--space-md); }
h3 { font-size: 1.35rem; margin: 0 0 var(--space-sm); }

p { margin: 0 0 var(--space-md); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-pine);
  color: var(--color-sage);
}

.btn--primary:hover {
  background: var(--color-pine-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-pine);
  border-color: var(--color-pine);
}

.btn--ghost:hover {
  background: var(--color-sage);
  color: var(--color-pine-deep);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-pine-deep);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-pine);
  text-decoration: none;
  animation: brand-in 0.7s var(--ease) both;
}

.site-header__brand:hover {
  color: var(--color-moss);
}

.site-header__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-line);
  background: var(--color-paper);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-header__toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--color-pine);
}

.site-header__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-header__list a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}

.site-header__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-header__list a:hover::after,
.site-header__list a:focus-visible::after {
  transform: scaleX(1);
}

.site-header__cta {
  background: var(--color-pine);
  color: var(--color-sage) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.site-header__cta::after {
  display: none !important;
}

.site-header__cta:hover {
  background: var(--color-pine-deep);
  color: #fff !important;
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-line);
    padding: var(--space-md) 1rem;
    display: none;
  }

  .site-header__nav.is-open {
    display: block;
    animation: drop-in 0.35s var(--ease);
  }

  .site-header__list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero home — full bleed */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--color-sage);
  overflow: hidden;
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-home__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 40, 32, 0.35) 0%, rgba(18, 40, 32, 0.72) 55%, rgba(18, 40, 32, 0.92) 100%);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
  max-width: 42rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}

.hero-home__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-sm);
  animation: rise 0.8s var(--ease) both;
}

.hero-home__lead {
  font-size: 1.15rem;
  color: var(--color-sage);
  max-width: 34rem;
  margin-bottom: var(--space-lg);
  animation: rise 0.8s var(--ease) 0.12s both;
}

.hero-home__actions {
  animation: rise 0.8s var(--ease) 0.22s both;
}

.hero-home .btn--primary {
  background: var(--color-gold);
  color: var(--color-pine-deep);
}

.hero-home .btn--primary:hover {
  background: #d8b86c;
  color: var(--color-pine-deep);
}

/* Page hero (inner) */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-line);
  background:
    linear-gradient(120deg, rgba(212, 229, 216, 0.55), transparent 55%),
    var(--color-mist);
}

.page-hero--media {
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero--media .page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero--media .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--media .page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 40, 32, 0.2), rgba(18, 40, 32, 0.85));
}

.page-hero--media .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-lg);
}

.page-hero--media h1,
.page-hero--media p {
  color: #fff;
}

/* Offer grid — no cards by default; interaction list uses light dividers */
.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.offer-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ease);
}

.offer-list__item:hover {
  background: rgba(212, 229, 216, 0.35);
}

.offer-list__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.offer-list__item:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.offer-list__meta h3 {
  margin-bottom: var(--space-xs);
}

.offer-list__meta h3 a,
.offer-list__item h3 {
  color: var(--color-pine);
  text-decoration: none;
}

.offer-list__price {
  font-size: 0.9rem;
  color: var(--color-gold-dark);
  font-weight: 600;
}

@media (max-width: 760px) {
  .offer-list__item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Split / prose */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 42rem;
}

.prose--wide {
  max-width: 48rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 var(--space-md);
}

.prose li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--color-ink-soft);
}

/* Evidence / reviews */
.quote-stack {
  display: grid;
  gap: var(--space-lg);
}

.quote {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-line);
}

.quote:last-child {
  border-bottom: 1px solid var(--color-line);
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  color: var(--color-pine-deep);
  margin-bottom: var(--space-md);
}

.quote__meta {
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.quote__service {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Steps */
.steps {
  display: grid;
  gap: var(--space-md);
  counter-reset: step;
}

.steps__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-line);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-gold-dark);
  line-height: 1;
}

/* Pricing table-like rows */
.rate-table {
  border-top: 1px solid var(--color-line);
}

.rate-table__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-line);
  align-items: baseline;
}

@media (max-width: 700px) {
  .rate-table__row {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

.rate-table__price {
  font-weight: 700;
  color: var(--color-pine);
  white-space: nowrap;
}

/* Blog */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-lg);
}

@media (max-width: 700px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

.journal-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: var(--space-md);
}

.journal-card__date {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.journal-card h3 {
  margin-top: var(--space-xs);
  color: var(--color-pine);
}

.article-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  margin: var(--space-lg) 0;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

/* Forms */
.form {
  max-width: 36rem;
  display: grid;
  gap: var(--space-md);
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  width: 100%;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 2px solid var(--color-moss);
  outline-offset: 1px;
}

.form__field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__error {
  color: var(--color-error);
  font-size: 0.85rem;
  display: none;
}

.form__field.is-invalid .form__error {
  display: block;
}

.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: var(--color-error);
}

.form__status {
  padding: var(--space-md);
  border: 1px solid var(--color-line);
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--success {
  background: var(--color-sage);
  color: var(--color-pine-deep);
  border-color: var(--color-moss);
}

.form__status--error {
  background: #f8eaea;
  color: var(--color-error);
}

.contact-aside {
  background: var(--color-pine);
  color: var(--color-sage);
  padding: var(--space-lg);
}

.contact-aside a {
  color: var(--color-gold);
}

.contact-aside h2 {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 36rem;
  margin-inline: auto;
  background: var(--color-pine-deep);
  color: var(--color-sage);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 229, 216, 0.2);
  animation: rise 0.45s var(--ease);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner a {
  color: var(--color-gold);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.cookie-banner .btn--ghost {
  color: var(--color-sage);
  border-color: rgba(212, 229, 216, 0.45);
}

.cookie-banner .btn--ghost:hover {
  background: rgba(212, 229, 216, 0.12);
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  background: var(--color-pine-deep);
  color: var(--color-sage);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer a {
  color: var(--color-gold);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 var(--space-xs);
}

.site-footer__tag {
  margin: 0;
  opacity: 0.85;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(212, 229, 216, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-xl) 1rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-gold);
  line-height: 1;
  margin: 0;
}

/* Legal */
.legal h2 {
  margin-top: var(--space-xl);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid var(--color-line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--color-sage);
}

/* Motions */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    letter-spacing: 0.08em;
  }
  to {
    opacity: 1;
    letter-spacing: normal;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-band {
  background: var(--color-pine);
  color: var(--color-sage);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 36rem;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
