:root {
  --ink: #10201d;
  --muted: #65716e;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --sage: #dfe9df;
  --green: #0f6b55;
  --green-deep: #064739;
  --mint: #8fd0bb;
  --line: rgba(16, 32, 29, 0.12);
  --shadow: 0 24px 70px rgba(11, 47, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(5, 31, 25, 0.12);
  backdrop-filter: blur(18px);
  transition: background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
}

.brand img {
  width: 52px;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 900;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: rgba(16, 32, 29, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--green);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 107, 85, 0.16);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.74);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(15, 107, 85, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button.outline {
  color: var(--green-deep);
  background: transparent;
  border: 1px solid rgba(15, 107, 85, 0.24);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 136px max(24px, calc((100vw - 1180px) / 2)) 58px;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.9);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62) 58%, transparent 100%);
}

.hero-overlay {
  background:
    radial-gradient(circle at 77% 26%, rgba(143, 208, 187, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(3, 36, 31, 0.96), rgba(3, 36, 31, 0.76) 46%, rgba(3, 36, 31, 0.58)),
    linear-gradient(0deg, rgba(3, 36, 31, 0.66), rgba(3, 36, 31, 0.08) 46%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 58px;
  align-items: stretch;
  width: min(1180px, 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6.8vw, 84px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.hero-stats,
.pill-list,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 42px;
  gap: 14px;
}

.hero-stats div {
  width: 178px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 29px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero-profile {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.hero-profile img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 82%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 18%, #000 90%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 15%, #000 82%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 18%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.profile-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(3, 36, 31, 0.78);
  backdrop-filter: blur(14px);
}

.profile-caption span,
.profile-caption strong {
  display: block;
}

.profile-caption span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.profile-caption strong {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.2;
}

section:not(.hero) {
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 64px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.services {
  background: #eef5ef;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(310px, 1fr) minmax(0, 1.35fr);
  gap: 18px;
}

.solution-image-card,
.solution-card,
.blog-card,
.contact-panel,
.contact-form,
.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(11, 47, 39, 0.08);
}

.solution-image-card {
  min-height: 468px;
  overflow: hidden;
}

.solution-image-card img {
  width: 100%;
  height: 326px;
  object-fit: cover;
}

.solution-image-card div {
  padding: 24px;
}

.solution-image-card span,
.blog-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-image-card strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  min-height: 225px;
  padding: 26px;
}

.solution-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-weight: 900;
}

.solution-card p,
.blog-card p {
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 68px;
  align-items: center;
  background: var(--green-deep);
  color: #fff;
}

.approach-media img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.78;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%),
    linear-gradient(0deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.approach-content .section-kicker {
  color: var(--mint);
}

.approach-content h2 {
  max-width: 720px;
}

.pill-list {
  margin: 28px 0 34px;
}

.pill-list span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.process-list div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.process-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.blog {
  background: #f6f8f5;
}

.blog-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.blog-heading > div {
  max-width: 790px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.blog-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homepage-blog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.blog-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card[hidden] {
  display: none !important;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(11, 47, 39, 0.13);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.blog-card span,
.blog-card h3,
.blog-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.blog-card span {
  margin-top: 18px;
}

.blog-card h3 {
  margin-top: 8px;
  font-size: 18px;
}

.blog-card p {
  margin-bottom: 20px;
  font-size: 14px;
}

.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination a {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 107, 85, 0.18);
  border-radius: 999px;
  color: var(--green-deep);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.pagination a.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.page-hero {
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 62px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 36, 31, 0.96), rgba(3, 36, 31, 0.76)),
    url("assets/hero.webp?v=20260617") center / cover;
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.blog-page {
  background: #f6f8f5;
}

.article-hero {
  padding: 142px max(24px, calc((100vw - 1040px) / 2)) 54px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(143, 208, 187, 0.24), transparent 34%),
    linear-gradient(135deg, #05372e, var(--green-deep));
}

.article-hero > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.article-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
}

.article-hero img {
  width: 100%;
  max-height: 460px;
  margin-top: 32px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.article-body {
  max-width: 940px;
  margin: 0 auto;
  padding: 70px 24px 92px;
  color: var(--ink);
  font-size: 18px;
}

.article-body p {
  color: var(--muted);
}

.wp-content {
  background: #fff;
}

.wp-content > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.wp-content img {
  height: auto;
  border-radius: 8px;
}

.wp-content figure,
.wp-content .wp-block-image,
.wp-content .wp-block-table {
  max-width: 100%;
}

.wp-content ul,
.wp-content ol {
  color: var(--muted);
}

.wp-content li + li {
  margin-top: 8px;
}

.wp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.wp-content td,
.wp-content th {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}

.article-body h2 {
  margin-top: 38px;
  font-size: 34px;
}

.article-back {
  margin-top: 34px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  max-width: 820px;
  margin: 46px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-nav a:first-child {
  justify-self: start;
}

.post-nav a:nth-child(2) {
  justify-self: center;
}

.post-nav a:last-child {
  justify-self: end;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: stretch;
  background: var(--paper);
}

.contact-panel {
  height: 100%;
  padding: 40px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  margin-top: 28px;
  flex-direction: column;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-button {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid rgba(15, 107, 85, 0.2);
  border-radius: 999px;
  color: var(--green-deep);
  background: #f1f6f2;
  font-size: 14px;
  font-weight: 800;
}

.social-button svg {
  width: 20px;
  height: 20px;
}

.contact-list a {
  padding: 16px 18px;
  border-radius: 8px;
  background: #f1f6f2;
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  height: 100%;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #f8faf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(143, 208, 187, 0.35);
  border-color: var(--green);
}

.map-section {
  padding-top: 0;
  background: var(--paper);
}

.map-frame {
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer img {
  width: 74px;
}

.site-footer p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    border-radius: 24px;
  }

  .brand img {
    width: 44px;
  }

  .brand {
    min-width: 0;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 12px 0 4px;
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .site-nav a {
    padding: 12px 8px;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-inner,
  .intro-grid,
  .approach,
  .contact,
  .solution-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-profile {
    max-width: 520px;
  }

  .hero-profile img {
    min-height: 460px;
  }

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

  .homepage-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding-left: 14px;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 44px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 34px;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-profile {
    max-width: none;
  }

  .hero-profile img {
    min-height: 360px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-stats div {
    width: 100%;
  }

  section:not(.hero) {
    padding: 68px 18px;
  }

  .solution-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-heading {
    display: block;
  }

  .blog-heading .button {
    margin-top: 12px;
  }

  .homepage-blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-grid {
    grid-template-columns: 1fr;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav a,
  .post-nav a:first-child,
  .post-nav a:nth-child(2),
  .post-nav a:last-child {
    justify-self: stretch;
  }

  .solution-image-card,
  .solution-card,
  .blog-card {
    min-height: auto;
  }

  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .map-frame iframe {
    min-height: 360px;
  }

  .article-hero {
    padding-top: 120px;
  }

  .article-hero h1 {
    font-size: 34px;
  }

  .site-footer {
    display: grid;
  }
}
