/* === Variables & Reset === */
:root {
  --ivory: #f8f8f5;
  --teal: #085a61;
  --green: #258c5d;
  --slate: #7c8083;
  --text: #243438;
  --muted: #657174;
  --card: #ffffff;
  --border: rgba(8, 90, 97, 0.12);
  --shadow: 0 20px 60px rgba(8, 90, 97, 0.12);

  color: var(--text);
  background: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ivory);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body::before {
  background-image:
    linear-gradient(rgba(8, 90, 97, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 90, 97, 0.035) 1px, transparent 1px);
  background-size: 2.75rem 2.75rem;
  content: '';
  inset: 0;
  pointer-events: none;
  position: fixed;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(2.85rem, 13vw, 6.9rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.05rem, 8vw, 4.7rem);
  max-width: 12ch;
}

::selection {
  background: rgba(37, 140, 93, 0.24);
  color: var(--teal);
}

/* === Layout === */
main {
  overflow: hidden;
}

.hero-section,
.section,
.commitment-section,
.pricing-section,
.contact-section {
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

/* === Hero === */
.hero-section {
  display: grid;
  gap: 2rem;
  min-height: 92svh;
  padding-block: 2rem 3rem;
  position: relative;
}

.hero-section::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 140, 93, 0.2), transparent 24rem),
    radial-gradient(circle at 100% 4%, rgba(8, 90, 97, 0.2), transparent 20rem);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.hero-card,
.section-heading,
.services-grid,
.advantages-grid,
.commitment-section,
.pricing-section,
.contact-section {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: end;
  max-width: 48rem;
}

.site-brand {
  align-items: center;
  color: var(--slate);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.site-brand img {
  border-radius: 1rem;
  box-shadow: 0 16px 36px rgba(8, 90, 97, 0.16);
  flex: 0 0 auto;
  height: 4rem;
  object-fit: cover;
  width: 4rem;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  line-height: 1.6;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(37, 140, 93, 0.38);
  outline-offset: 4px;
}

.button-primary {
  background: var(--teal);
  box-shadow: 0 18px 34px rgba(8, 90, 97, 0.22);
  color: #ffffff;
}

.button-primary:hover {
  background: #064b51;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(8, 90, 97, 0.16);
  color: var(--teal);
}

.hero-card {
  align-self: start;
  background:
    linear-gradient(145deg, rgba(8, 90, 97, 0.96), rgba(8, 90, 97, 0.86)),
    var(--teal);
  border-radius: 2rem;
  box-shadow: 0 30px 80px rgba(8, 90, 97, 0.28);
  color: rgba(255, 255, 255, 0.86);
  padding: 1.35rem;
}

.brand-mark {
  align-items: center;
  background: var(--ivory);
  border-radius: 1.35rem;
  display: inline-flex;
  font-size: 2rem;
  font-weight: 900;
  gap: 0.1rem;
  height: 4.5rem;
  justify-content: center;
  letter-spacing: -0.12em;
  margin-bottom: 3.5rem;
  width: 4.5rem;
}

.brand-mark span:first-child {
  color: var(--teal);
}

.brand-mark span:last-child {
  color: var(--green);
}

.brand-mark sup {
  color: #D4A017;
  font-size: 0.75em;
  font-weight: bold;
  margin-left: 0.08em;
  vertical-align: super;
}

.hero-card-kicker {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.9rem;
}

.hero-card p:last-child {
  line-height: 1.65;
  margin: 0;
}

/* === Sections === */
.section {
  padding-block: 4rem;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 48rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem 0 0;
}

/* === Services === */
.services-section {
  background: #ffffff;
  border-radius: 2.5rem 2.5rem 0 0;
  box-shadow: 0 -24px 60px rgba(8, 90, 97, 0.08);
}

.services-grid,
.advantages-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.advantage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  box-shadow: 0 18px 48px rgba(8, 90, 97, 0.07);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.service-card-header {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.service-number {
  color: rgba(8, 90, 97, 0.22);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.service-count {
  align-self: flex-start;
  background: rgba(37, 140, 93, 0.08);
  border: 1px solid rgba(37, 140, 93, 0.14);
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-top: 0.25rem;
  padding: 0.55rem 0.72rem;
  text-transform: uppercase;
}

.service-card h3,
.advantage-card h3 {
  color: var(--teal);
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.service-card p,
.advantage-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 1rem 0 0;
}

.service-toggle {
  align-items: center;
  background: rgba(8, 90, 97, 0.06);
  border: 1px solid rgba(8, 90, 97, 0.12);
  border-radius: 999px;
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.75rem 0.95rem;
  transition:
    background 180ms ease,
    transform 180ms ease;
  width: 100%;
}

.service-toggle:hover {
  background: rgba(37, 140, 93, 0.1);
  transform: translateY(-1px);
}

.service-toggle:focus-visible {
  outline: 3px solid rgba(37, 140, 93, 0.3);
  outline-offset: 3px;
}

.service-toggle .toggle-icon {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.05rem;
  height: 1.8rem;
  justify-content: center;
  line-height: 1;
  width: 1.8rem;
}

.service-details {
  border-top: 1px solid var(--border);
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
}

.service-details.is-open {
  display: block;
}

.service-items-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

/* === Service items (details/summary) === */
.service-item {
  background: linear-gradient(180deg, rgba(248, 248, 245, 0.92), #ffffff);
  border: 1px solid rgba(8, 90, 97, 0.12);
  border-radius: 1.2rem;
  overflow: hidden;
}

.service-item[open] {
  box-shadow: 0 14px 30px rgba(8, 90, 97, 0.08);
}

.service-item summary {
  list-style: none;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item-summary {
  align-items: flex-start;
  cursor: pointer;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
}

.service-item-summary h4 {
  color: var(--teal);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  text-transform: capitalize;
}

.service-item-summary p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0.55rem 0 0;
}

.service-item-summary-icon {
  align-items: center;
  background: rgba(8, 90, 97, 0.08);
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  margin-top: 0.05rem;
  transition: transform 180ms ease, background 180ms ease;
  width: 2rem;
}

.service-item[open] .service-item-summary-icon {
  background: var(--green);
  color: #ffffff;
  transform: rotate(45deg);
}

.service-item-body {
  border-top: 1px solid rgba(8, 90, 97, 0.08);
  padding: 0 1rem 1rem;
}

.service-item-meta-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.95rem;
}

.service-item-meta {
  background: rgba(8, 90, 97, 0.04);
  border-radius: 0.95rem;
  min-width: 0;
  padding: 0.85rem 0.9rem;
}

.service-item-meta span {
  color: var(--green);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.service-item-meta strong {
  color: var(--text);
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* === Why section === */
.why-section {
  background: linear-gradient(180deg, #ffffff, var(--ivory));
}

.advantage-card {
  padding: 1.25rem;
}

/* === Commitment === */
.commitment-section {
  background: var(--teal);
  color: #ffffff;
  display: grid;
  gap: 1.5rem;
  padding-block: 3rem;
}

.commitment-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.commitment-section h2 {
  color: #ffffff;
}

.commitment-section p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0;
}

/* === Pricing === */
.pricing-section {
  background: #ffffff;
  padding-block: 4rem;
}

.pricing-card {
  display: grid;
  gap: 1rem;
}

.pricing-card > div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 248, 245, 0.96)),
    var(--ivory);
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  box-shadow: 0 18px 48px rgba(8, 90, 97, 0.07);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.pricing-label {
  color: var(--green);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.35;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.pricing-value {
  color: var(--teal);
  display: block;
  font-size: clamp(1.9rem, 8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pricing-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 1rem 0 0;
}

/* === Contact === */
.contact-section {
  background:
    linear-gradient(135deg, rgba(248, 248, 245, 0.94), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 12% 20%, rgba(37, 140, 93, 0.16), transparent 18rem);
  padding-block: 4rem;
}

.contact-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 1rem 0 1.7rem;
  max-width: 42rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.45rem;
  box-shadow: 0 18px 48px rgba(8, 90, 97, 0.07);
  padding: 1.25rem;
}

.contact-card > span {
  color: var(--green);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.contact-card address {
  color: var(--text);
  display: grid;
  font-style: normal;
  gap: 0.24rem;
  line-height: 1.55;
}

.contact-card a {
  color: var(--teal);
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--green);
}

.contact-card a:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid rgba(37, 140, 93, 0.34);
  outline-offset: 4px;
}

/* === Responsive === */
@media (min-width: 42rem) {
  .hero-actions {
    align-items: center;
    flex-direction: row;
  }

  .button {
    width: fit-content;
  }
}

@media (min-width: 52rem) {
  .services-grid,
  .advantages-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-item-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 66rem) {
  .hero-section {
    align-items: center;
    grid-template-columns: minmax(0, 1.14fr) minmax(20rem, 0.62fr);
    min-height: 84svh;
    padding-block: 3.5rem 5rem;
  }

  .hero-copy {
    align-self: center;
  }

  .hero-card {
    align-self: center;
    padding: 1.65rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section {
    padding-block: 5.5rem;
  }

  .commitment-section {
    align-items: center;
    grid-template-columns: 0.82fr 1fr;
    padding-block: 4.5rem;
  }
}

/* === Footer === */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.25rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto;
}

.footer-content p {
  margin: 0.35rem 0;
}

