:root {
  --forest: #0f3d2e;
  --leaf: #1f6b4a;
  --mint: #2f9e6a;
  --lime: #b8e0c8;
  --ember: #e07a28;
  --ember-deep: #c45f12;
  --sand: #f3efe6;
  --cream: #faf7f1;
  --ink: #1a241e;
  --muted: #526058;
  --line: rgba(15, 61, 46, 0.14);
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow: 0 20px 48px rgba(15, 61, 46, 0.12);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Literata", Georgia, "Times New Roman", serif;
  --container: min(1140px, calc(100% - 2.4rem));
  --fs-hero: clamp(2.75rem, 7.2vw, 5.4rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.15rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.45rem);
  --fs-body: clamp(1.02rem, 1.35vw, 1.125rem);
  --fs-small: 0.86rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-optical-sizing: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -8%, rgba(224, 122, 40, 0.12), transparent 38%),
    radial-gradient(circle at 92% 4%, rgba(47, 158, 106, 0.14), transparent 34%),
    linear-gradient(180deg, #f7f3eb 0%, var(--cream) 42%, #f1eee6 100%);
  line-height: 1.65;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-family: var(--font-display);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 241, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(15, 61, 46, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand .custom-logo-link img,
.brand-logo,
.brand .custom-logo {
  width: auto;
  height: 54px;
  max-width: 220px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-list {
  display: flex;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  padding: 0.35rem 0.15rem;
}

.nav-list a:hover,
.nav-list a.is-active,
.nav-list .current-menu-item > a {
  color: var(--ember);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  min-height: 42px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--ember);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ember-deep);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(15, 61, 46, 0.28);
  color: var(--forest);
}

.btn-outline:hover {
  border-color: var(--ember);
  color: var(--ember-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 61, 46, 0.16);
  color: var(--forest);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--ember-deep);
}

.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  background: #fff;
  color: var(--forest);
}

.page-body .btn-ghost,
.inline-actions .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: min(86vh, 740px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #dceee3;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 34, 26, 0.9) 8%, rgba(15, 61, 46, 0.62) 48%, rgba(196, 95, 18, 0.28) 100%);
}

.hero-light {
  color: var(--forest);
  align-items: center;
}

.hero-light .hero-media {
  filter: saturate(1.1) brightness(1.12);
}

.hero-light .hero-media::after {
  background:
    linear-gradient(105deg, rgba(250, 247, 241, 0.92) 0%, rgba(250, 247, 241, 0.78) 38%, rgba(250, 247, 241, 0.28) 68%, rgba(224, 122, 40, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(15, 61, 46, 0.08));
}

.hero-light .eyebrow {
  color: var(--ember);
}

.hero-light .lead {
  color: var(--muted);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.6rem;
  max-width: 760px;
  margin-left: max(calc((100% - min(1140px, calc(100% - 2.4rem))) / 2), 1.2rem);
  margin-right: auto;
  width: min(760px, calc(100% - 2.4rem));
  animation: riseIn 0.9s ease both;
}

.hero-light .hero-content {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f0c39a;
}

.eyebrow.dark {
  color: var(--ember);
}

.hero h1,
.page-hero h1,
.section-head h2,
.story h2,
.why h2,
.cta-band h2,
.gallery-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  font-weight: 800;
}

.hero h1 {
  font-size: var(--fs-hero);
  max-width: 12ch;
}

.lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 450;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  padding: 4.75rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.1rem;
}

.section-head.row-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-head h2,
.story h2,
.why h2,
.gallery-title {
  font-size: var(--fs-h2);
  color: var(--forest);
}

.gallery-title {
  margin: 2.25rem 0 1.1rem;
}

.section-head p,
.why p,
.prose p,
.story p,
.value-card p,
.service-card-body p {
  color: var(--muted);
  font-size: var(--fs-body);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.05rem;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 122, 40, 0.35);
  box-shadow: var(--shadow);
}

.service-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.95;
  padding: 1.5rem 1.35rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.7) 0%, transparent 62%),
    linear-gradient(160deg, #f4f7f5, #e7eee9);
}

.service-media img {
  position: relative;
  z-index: 1;
  width: min(72%, 210px);
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: #fff;
  padding: 0.35rem;
  box-shadow:
    0 14px 30px rgba(15, 61, 46, 0.12),
    0 0 0 1px rgba(15, 61, 46, 0.05);
}

.service-media.tone-blue {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(210, 230, 245, 0.55) 55%, transparent 78%),
    linear-gradient(160deg, #eef6fb, #d7e8f5);
}

.service-media.tone-green {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(206, 236, 214, 0.55) 55%, transparent 78%),
    linear-gradient(160deg, #eef8f1, #d5eadc);
}

.service-media.tone-red {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(247, 214, 214, 0.55) 55%, transparent 78%),
    linear-gradient(160deg, #fdf1f1, #f3d9d9);
}

.service-media.tone-cyan {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(205, 236, 241, 0.55) 55%, transparent 78%),
    linear-gradient(160deg, #eefafb, #d4ebef);
}

.service-media.tone-brown {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(233, 220, 204, 0.55) 55%, transparent 78%),
    linear-gradient(160deg, #f8f3ec, #eadccb);
}

.service-media.is-photo {
  padding: 0;
  aspect-ratio: 16 / 11;
  background: #dfe8e2;
}

.service-media.is-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  padding: 0;
  object-fit: cover;
  box-shadow: none;
  background: transparent;
}

.service-card-body {
  padding: 1.15rem 1.25rem 1.4rem;
  flex: 1;
}

.service-card h3,
.value-card h3,
.partner-card h3,
.contact-card a {
  font-family: var(--font-display);
  color: var(--forest);
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--fs-h3);
}

.service-card p {
  margin: 0;
}

.values {
  padding-top: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.45rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #123f30, #1a5a42);
  color: #fff;
}

.value-card h3 {
  margin: 0 0 0.55rem;
  color: #f4c89a;
  font-size: var(--fs-h3);
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.process {
  background:
    linear-gradient(180deg, rgba(224, 122, 40, 0.06), transparent 42%),
    linear-gradient(90deg, transparent, rgba(47, 158, 106, 0.08), transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.steps span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ember);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--forest);
  font-family: var(--font-display);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.story-grid,
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.story-media {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-media img,
.inline-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.inline-figure {
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.why-list li {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--ember);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 14px 14px 0;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.preview-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.certs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(180deg, #f7f4ee, #efeae1);
  padding: 0.65rem;
}

.gallery-item.wide img {
  aspect-ratio: 4 / 5;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.partner-logo,
.partner-card {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.partner-logo img,
.partner-card img {
  max-height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-card {
  gap: 0.75rem;
  min-height: 140px;
}

.partner-card h3 {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}

.map-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #dfe7e1;
}

.map-frame iframe {
  width: 100%;
  height: min(52vh, 460px);
  display: block;
}

.cta-band {
  padding-bottom: 6rem;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2.1rem 2rem;
  border-radius: 26px;
  background:
    linear-gradient(135deg, var(--forest), #1a5a42 48%, #8a4a16 120%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.page-hero {
  padding: 4.2rem 0 1.6rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--forest);
}

.prose {
  max-width: 780px;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--forest);
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card a {
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
}

.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand strong,
.site-footer h3 {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 0.75rem;
}

.site-footer .nav-list {
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.site-footer a:hover {
  color: #f0c39a;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  animation: floatIn 0.7s 0.4s ease both;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .nav-list {
    gap: 0.3rem 1rem;
  }

  .nav-list a {
    font-size: 0.88rem;
  }

  .gallery-grid,
  .partners-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .card-grid,
  .values-grid,
  .why-grid,
  .story-grid,
  .footer-grid,
  .contact-grid,
  .partners-grid,
  .certs-row,
  .preview-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner,
  .section-head.row-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.2rem;
    left: 1.2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.55rem;
  }

  .nav-list a {
    display: block;
    padding: 0.55rem 0.25rem;
    font-size: 1rem;
  }

  .header-cta {
    width: 100%;
    margin-top: 0.35rem;
  }

  .card-grid,
  .values-grid,
  .why-grid,
  .story-grid,
  .footer-grid,
  .contact-grid,
  .partners-grid,
  .certs-row,
  .gallery-grid,
  .preview-gallery,
  .partners-strip {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .preview-gallery,
  .partners-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding-top: 5.5rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }
}
