/* ==========================================================================
   Merit Infra Technologies — main stylesheet
   Palette taken from the company logo: green, deep green, red accent, white
   ========================================================================== */
:root {
  --green: #148348;
  --green-600: #0d6b3c;
  --green-700: #0b5732;
  --green-900: #0b3827;
  --green-950: #08281c;
  --lime: #b5ddb8;
  --red: #9a5147;
  --red-soft: #f9eeeb;
  --ink: #192820;
  --muted: #5f6e64;
  --line: #dce5dd;
  --bg: #ffffff;
  --bg-soft: #f5f8f5;
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(6, 48, 26, .06);
  --shadow: 0 10px 30px rgba(6, 48, 26, .09);
  --shadow-lg: 0 22px 50px rgba(6, 48, 26, .18);
  --header-h: 76px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden
}

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

img {
  height: auto
}

a {
  color: var(--green-600);
  text-decoration: none
}

a:hover {
  color: var(--green-700)
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--green-950);
  letter-spacing: -.01em
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800
}

h3 {
  font-size: 1.2rem;
  font-weight: 700
}

p {
  margin: 0 0 1em
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

[hidden] {
  display: none !important
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green-900);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 8px;
  z-index: 200
}

.skip-link:focus {
  left: 8px;
  color: #fff
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0
}

.section--soft {
  background: var(--bg-soft)
}

.section--dark {
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
  color: #e8f6ea
}

.section--dark h2,
.section--dark h3 {
  color: #fff
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem
}

.section--dark .section-head p {
  color: #cde8d1
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: .9rem
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--red)
}

.section--dark .eyebrow {
  color: var(--lime)
}

.section--dark .eyebrow::before {
  background: var(--lime)
}

.icon {
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font: 700 .98rem var(--font-head);
  padding: .9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  min-height: 48px;
  text-align: center
}

.btn .icon {
  transition: transform .3s var(--ease)
}

.btn:hover .icon-arrow {
  transform: translateX(4px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(7, 155, 7, .32)
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(7, 155, 7, .4)
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green)
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px)
}

.btn-light {
  background: #fff;
  color: var(--green-700);
  box-shadow: var(--shadow)
}

.btn-light:hover {
  transform: translateY(-3px);
  color: var(--green-700);
  box-shadow: var(--shadow-lg)
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px)
}

.btn-ghost:hover {
  background: #fff;
  color: var(--green-700);
  transform: translateY(-3px)
}

.btn-wa {
  background: #1fa855;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, .3)
}

.btn-wa:hover {
  color: #fff;
  transform: translateY(-3px)
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(6, 48, 26, .1);
  border-color: var(--line)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--green-950)
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-head)
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--green-700)
}

.brand-text span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 3px
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .4rem
}

.nav-list>li {
  position: relative
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .85rem;
  font: 600 .95rem var(--font-head);
  color: var(--ink);
  border-radius: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease)
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--green-700)
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1)
}

.nav-link .chev {
  width: .9em;
  height: .9em;
  transition: transform .3s
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: .6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.has-sub:hover .chev,
.has-sub.is-open .chev {
  transform: rotate(180deg)
}

.submenu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: .93rem
}

.submenu a:hover {
  background: var(--bg-soft);
  color: var(--green-700)
}

.submenu .icon {
  color: var(--green)
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-700);
  cursor: pointer;
  align-items: center;
  justify-content: center
}

.menu-toggle .icon {
  width: 24px;
  height: 24px
}

.menu-toggle .icon-close {
  display: none
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block
}

/* Hero (home) */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(1000px 520px at 85% 10%, rgba(109, 240, 109, .18), transparent 60%), linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 45%, var(--green-700) 100%)
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .75;
  pointer-events: none
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%)
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3.5rem, 9vw, 7rem) 0
}

.hero h1 {
  color: #fff
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--lime), #c9ffc9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d5ecd8;
  max-width: 56ch
}

.hero .eyebrow {
  color: var(--lime)
}

.hero .eyebrow::before {
  background: var(--lime)
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px)
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center
}

.hero-card {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  border-radius: 32px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
  display: grid;
  place-items: center
}

.hero-card img {
  width: 68%;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35)
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: 14px;
  background: #fff;
  color: var(--green-900);
  font: 700 .82rem var(--font-head);
  box-shadow: var(--shadow-lg)
}

.float-chip .icon {
  color: var(--green)
}

.float-chip.c1 {
  top: 6%;
  left: -8%
}

.float-chip.c2 {
  bottom: 12%;
  right: -8%
}

.float-chip.c3 {
  bottom: -4%;
  left: 8%
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-950), var(--hero-b, var(--green-700)))
}

.page-hero .hero-grid {
  opacity: .8
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0
}

.page-hero.simple .page-hero-inner {
  grid-template-columns: 1fr
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.1rem)
}

.page-hero p {
  color: #d5ecd8;
  font-size: 1.1rem;
  max-width: 58ch
}

.page-hero .eyebrow {
  color: var(--lime)
}

.page-hero .eyebrow::before {
  background: var(--lime)
}

.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .2)
}

.hero-art img {
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  margin-bottom: 1.2rem;
  color: #b9dcbf
}

.breadcrumb a {
  color: #e6f7e8
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: .5rem;
  opacity: .6
}

/* Cards */
.grid {
  display: grid;
  gap: 1.6rem
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  transform-style: preserve-3d;
  will-change: transform
}

.card::before {
  content: "";
  position: absolute;
  left: 1.8rem;
  right: 1.8rem;
  top: -1px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease)
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(7, 155, 7, .35);
  transform: translateY(-8px)
}

.card:hover::before {
  transform: scaleX(1)
}

.card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f8e8, #d3f2d3);
  color: var(--green-600);
  margin-bottom: 1.2rem;
  transition: background .3s, color .3s, transform .4s var(--ease)
}

.card .icon-wrap .icon {
  width: 28px;
  height: 28px
}

.card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--green), var(--green-600));
  color: #fff;
  transform: rotate(-6deg) scale(1.06)
}

.card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: .98rem
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: 700 .92rem var(--font-head);
  color: var(--green-600)
}

.card-link .icon {
  transition: transform .3s var(--ease)
}

.card:hover .card-link .icon,
.card-link:hover .icon {
  transform: translateX(5px)
}

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

.service-card .card-link {
  margin-top: auto
}

.service-card a.stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius)
}

.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  color: #e8f6ea
}

.glass:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(109, 240, 109, .5)
}

.glass h3 {
  color: #fff
}

.glass p {
  color: #cde8d1
}

.glass .icon-wrap {
  background: rgba(255, 255, 255, .12);
  color: var(--lime)
}

.num {
  font: 800 2.2rem var(--font-head);
  color: rgba(7, 155, 7, .18);
  line-height: 1;
  margin-bottom: .4rem
}

/* Intro / capabilities */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center
}

.split-media {
  position: relative
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--lime));
  opacity: .22;
  z-index: -1
}

.check-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .45rem 0;
  color: var(--ink)
}

.check-list .icon {
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  padding: 4px;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .12rem
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s
}

.chip:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: var(--shadow)
}

.chip .icon {
  color: var(--green)
}

.industry {
  text-align: center;
  padding: 1.6rem 1.2rem
}

.industry .icon-wrap {
  margin-inline: auto
}

.industry h3 {
  font-size: 1.02rem;
  margin: 0
}

.notice {
  background: var(--red-soft);
  border: 1px dashed var(--red);
  color: #6f1313;
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: .92rem
}

.ph {
  background: #fff6d6;
  border: 1px dashed #c99a00;
  color: #6a5200;
  border-radius: 6px;
  padding: 0 .35rem;
  font-size: .92em
}

/* Projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.2rem
}

.filter-btn {
  font: 600 .9rem var(--font-head);
  padding: .6rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all .3s var(--ease);
  min-height: 44px
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green-700);
  transform: translateY(-2px)
}

.filter-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--green), var(--green-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(7, 155, 7, .28)
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.project-card::before {
  display: none
}

.project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 8/5;
  background: var(--green-900)
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease)
}

.project-card:hover .project-thumb img {
  transform: scale(1.08)
}

.demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(163, 29, 29, .92);
  color: #fff;
  font: 700 .68rem var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px
}

.project-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font: 700 .72rem var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: #e4f6e4;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .8rem
}

.project-body h3 {
  font-size: 1.1rem
}

.project-body p {
  color: var(--muted);
  font-size: .94rem;
  flex: 1
}

.link-btn {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: .3rem 0;
  font: 700 .92rem var(--font-head);
  color: var(--green-600);
  cursor: pointer;
  display: inline-flex;
  gap: .4rem;
  align-items: center
}

.link-btn:hover {
  color: var(--green-700)
}

.link-btn .icon {
  transition: transform .3s var(--ease)
}

.link-btn:hover .icon {
  transform: translateX(5px)
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem
}

dialog.project-dialog {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  color: var(--ink)
}

dialog.project-dialog::backdrop {
  background: rgba(4, 33, 15, .65);
  backdrop-filter: blur(4px)
}

dialog[open].project-dialog {
  animation: dialogIn .4s var(--ease)
}

.dialog-body {
  padding: 1.6rem 1.8rem 2rem
}

.dialog-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .95);
  color: var(--green-900);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow)
}

.dialog-media {
  position: relative
}

.dialog-media img {
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
  padding: 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm)
}

.meta-list dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700
}

.meta-list dd {
  margin: .15rem 0 0;
  font-weight: 600
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: .9rem
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s
}

.faq details[open] {
  box-shadow: var(--shadow);
  border-color: rgba(7, 155, 7, .4)
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font: 700 1rem var(--font-head);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--green);
  transition: transform .3s var(--ease);
  line-height: 1
}

.faq details[open] summary::after {
  transform: rotate(45deg)
}

.faq details p {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  color: var(--muted)
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 3.8rem);
  background: linear-gradient(135deg, var(--green-950), var(--green-600));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg)
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(109, 240, 109, .14)
}

.cta-band::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px
}

.cta-band::after {
  width: 200px;
  height: 200px;
  left: 30%;
  bottom: -120px
}

.cta-band>* {
  position: relative;
  z-index: 1
}

.cta-band h2 {
  color: #fff;
  margin-bottom: .4rem
}

.cta-band p {
  color: #d5ecd8;
  margin: 0;
  max-width: 52ch
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.2rem;
  align-items: start
}

.form-card {
  padding: 2rem
}

.form-card:hover {
  transform: none;
  box-shadow: var(--shadow)
}

.form-card::before {
  display: none
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

.field {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font: 600 .9rem var(--font-head)
}

.field label .req {
  color: var(--red)
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  min-height: 48px;
  width: 100%
}

.field textarea {
  min-height: 140px;
  resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(7, 155, 7, .15)
}

.field [aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(163, 29, 29, .1)
}

.field-error {
  color: var(--red);
  font-size: .84rem;
  min-height: 1.1em
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.form-status {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none
}

.form-status.show {
  display: block
}

.form-status.ok {
  background: #e4f6e4;
  color: #075f10;
  border: 1px solid #9bdc9b
}

.form-status.err {
  background: var(--red-soft);
  color: #7a1414;
  border: 1px solid #e3a5a5
}

.form-status.info {
  background: #eef5ff;
  color: #1c3d73;
  border: 1px solid #bcd3f5
}

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1rem
}

.info-card .icon-wrap {
  margin: 0;
  flex: none;
  width: 48px;
  height: 48px
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: .25rem
}

.info-card p {
  margin: 0
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  background: var(--bg-soft)
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0
}

/* Prose (about, privacy) */
.prose {
  max-width: 820px;
  margin-inline: auto
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem
}

.prose li {
  margin: .35rem 0 .35rem 1.2rem;
  list-style: disc;
  color: var(--muted)
}

.prose p {
  color: var(--muted)
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: #bcd9c1;
  padding-top: 4rem;
  position: relative
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--lime), var(--red))
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem
}

.site-footer a {
  color: #bcd9c1
}

.site-footer a:hover {
  color: var(--lime)
}

.site-footer li {
  margin: .5rem 0
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 1rem
}

.footer-contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start
}

.footer-contact .icon {
  color: var(--lime);
  margin-top: .2rem
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .88rem
}

.footer-bottom ul {
  display: flex;
  gap: 1.2rem
}

.site-footer .ph {
  background: rgba(255, 246, 214, .12);
  border-color: #c99a00;
  color: #ffe9a0
}

/* Floating */
.wa-float {
  position: sticky;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(31, 168, 85, .45);
  transition: transform .3s var(--ease)
}

.wa-float:hover {
  transform: scale(1.1);
  color: #fff
}

.wa-float .icon {
  width: 28px;
  height: 28px
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--green-900);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  box-shadow: var(--shadow)
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.to-top .icon {
  transform: rotate(-90deg)
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-950);
  color: #fff;
  padding: .85rem 1.3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  max-width: calc(100% - 2rem);
  text-align: center
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%)
}

.dlg-list {
  margin: 1rem 0 1.4rem
}

.dlg-list li {
  list-style: disc;
  margin: .3rem 0 .3rem 1.2rem;
  color: var(--muted)
}


/* Refined corporate presentation: restrained greens, balanced spacing and real service photography. */
.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(220, 229, 221, .8)
}

.brand img {
  box-shadow: 0 0 0 1px rgba(11, 87, 50, .12)
}

.nav-link {
  font-weight: 600
}

.btn-primary {
  background: linear-gradient(135deg, #16884d, #0b6b3b);
  box-shadow: 0 7px 18px rgba(11, 87, 50, .18)
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(11, 87, 50, .25)
}

.btn-outline {
  border-color: #9db9a6
}

.btn-outline:hover {
  border-color: var(--green);
  background: var(--green)
}

.hero {
  background: radial-gradient(760px 460px at 95% 5%, rgba(71, 123, 97, .30), transparent 67%), linear-gradient(120deg, #09281c 0%, #103b2a 56%, #165639 100%)
}

.hero canvas {
  opacity: .28
}

.hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .6
}

.hero-inner {
  gap: clamp(2rem, 4vw, 3.5rem)
}

.hero h1 {
  letter-spacing: -.035em
}

.hero p.lead {
  color: #e1ece5
}

.hero-card {
  width: min(500px, 100%);
  aspect-ratio: 1.18;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .22);
  overflow: hidden;
  backdrop-filter: none;
  position: relative;
  display: block
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  box-shadow: none;
  max-width: none
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 36, 24, .20));
  pointer-events: none
}

.float-chip {
  border: 1px solid rgba(11, 87, 50, .08);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  font-size: .8rem
}

.float-chip.c1 {
  left: -3%;
  top: 7%
}

.float-chip.c2 {
  right: -2%;
  bottom: 16%
}

.float-chip.c3 {
  left: 8%;
  bottom: -3%
}

.card {
  border-color: rgba(220, 229, 221, .9);
  box-shadow: 0 5px 20px rgba(16, 50, 33, .045)
}

.card:hover {
  box-shadow: 0 16px 32px rgba(16, 50, 33, .09)
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%
}

.service-card p {
  flex: 1
}

.service-card .icon-wrap {
  background: #eef6ef;
  color: var(--green-700);
  border: 1px solid #dbeadd
}

.submenu {
  max-height: min(74vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain
}

.info-card {
  border-color: #e2e9e3
}

.address-map-link {
  margin-top: .5rem !important;
  font-size: .88rem;
  font-weight: 600
}

.map-wrap {
  border-color: #d6e0d8;
  box-shadow: 0 14px 34px rgba(17, 48, 31, .08)
}

.map-action {
  display: flex;
  justify-content: center;
  margin: 1.35rem 0 0
}

.site-footer {
  background: #091f17
}

.site-footer p,
.site-footer li {
  overflow-wrap: anywhere
}

.footer-contact {
  gap: .95rem
}

.footer-contact li {
  align-items: flex-start
}

.footer-contact .icon {
  margin-top: .15rem;
  color: #a9d5b3
}

@media (max-width:900px) {
  .hero-card {
    width: min(500px, 100%);
    aspect-ratio: 1.22
  }

  .float-chip.c1 {
    left: 0
  }

  .float-chip.c2 {
    right: 0
  }
}

@media (max-width:600px) {
  .hero-card {
    aspect-ratio: 1.08;
    border-radius: 19px
  }

  .float-chip {
    font-size: .72rem;
    padding: .45rem .62rem
  }

  .float-chip.c1 {
    top: 3%;
    left: -2%
  }

  .float-chip.c2 {
    right: -2%;
    bottom: 12%
  }

  .float-chip.c3 {
    left: 4%;
    bottom: -4%
  }
}


/* Real service photography, carousel and persistent floating contact control */
.service-thumb {
  width: 100%;
  aspect-ratio: 8/5;
  overflow: hidden;
  border-radius: 14px;
  margin: 0 0 1.2rem;
  background: #edf3ee
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease
}

.service-card:hover .service-thumb img {
  transform: scale(1.04)
}

.service-slider {
  position: relative;
  isolation: isolate;
  background: #09281c;
  overflow: hidden
}

.service-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit
}

.service-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s ease, transform 1.4s ease;
  border-radius: inherit;
  padding: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  background: transparent !important
}

.service-slide.is-active {
  opacity: 1;
  transform: scale(1)
}

.service-slide-caption {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(4, 28, 18, .78);
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: left;
  pointer-events: none
}

.service-slide-caption span {
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #bce5c7;
  font-weight: 700
}

.service-slide-caption strong {
  font-size: clamp(.78rem, 1.1vw, .95rem);
  line-height: 1.3;
  font-weight: 700
}

.service-slider-dots {
  position: absolute;
  z-index: 4;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 30px;
  background: rgba(5, 27, 17, .55);
  backdrop-filter: blur(8px)
}

.service-dot {
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .62);
  cursor: pointer;
  transition: width .25s ease, background .25s ease
}

.service-dot.is-active {
  width: 22px;
  background: #fff
}

.service-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px
}

/* Anchor the WhatsApp action to the viewport, never to document/footer flow. */
.wa-float {
  position: fixed !important;
  right: max(18px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(18px, env(safe-area-inset-bottom, 0px)) !important;
  z-index: 99999 !important;
  flex: none;
  visibility: visible !important;
  box-sizing: border-box;
  transform: translateZ(0)
}

.to-top {
  position: fixed !important;
  right: max(24px, env(safe-area-inset-right, 0px)) !important;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 99998 !important
}

/* Visible business name/address label over the map; Google Maps may otherwise show only the street name. */
.map-wrap--office {
  position: relative;
  isolation: isolate
}

.map-office-label {
  position: absolute;
  z-index: 3;
  left: 16px;
  top: 16px;
  width: min(390px, calc(100% - 32px));
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid rgba(11, 87, 50, .15);
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 28px rgba(4, 31, 18, .2);
  color: #173529;
  text-decoration: none
}

.map-office-label:hover {
  color: #0b6b3b;
  box-shadow: 0 12px 32px rgba(4, 31, 18, .24)
}

.map-office-pin {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e9f5eb;
  color: #108346
}

.map-office-pin .icon {
  width: 22px;
  height: 22px
}

.map-office-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px
}

.map-office-copy strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .04em;
  line-height: 1.4
}

.map-office-copy span:nth-child(2) {
  font-size: .7rem;
  font-weight: 700;
  color: #13824a;
  text-transform: uppercase;
  letter-spacing: .08em
}

.map-office-copy span:last-child {
  font-size: .76rem;
  line-height: 1.45;
  color: #4a5a50
}

.map-office-open {
  font-size: 1rem;
  font-weight: 800;
  color: #14864b;
  margin-left: auto
}

@media(max-width:640px) {
  .wa-float {
    width: 54px !important;
    height: 54px !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important
  }

  .to-top {
    right: 20px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important
  }

  .service-slide-caption {
    left: 10px;
    bottom: 10px;
    padding: 9px 10px
  }

  .service-slider-dots {
    top: 10px;
    right: 10px;
    gap: 4px;
    padding: 7px 8px
  }

  .service-dot {
    width: 6px;
    height: 6px
  }

  .service-dot.is-active {
    width: 17px
  }

  .map-office-label {
    left: 10px;
    top: 10px;
    width: calc(100% - 20px);
    padding: 11px
  }

  .map-office-copy span:last-child {
    font-size: .7rem
  }
}

@media(prefers-reduced-motion:reduce) {

  .service-slide,
  .service-dot,
  .service-thumb img {
    transition: none !important
  }
}
