:root {
  --forest: #13480d;
  --forest-2: #0b3108;
  --lime: #e6ef6d;
  --paper: #fbfbfb;
  --soft: #f1f1f1;
  --mint: #ecf4ec;
  --ink: #093807;
  --muted: #4f604d;
  --line: #dfe5dd;
  --shadow: 0 22px 44px rgba(8, 31, 9, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.overflow-hidden {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.site-header :focus-visible,
.mobile-menu :focus-visible,
.hero :focus-visible,
.inner-hero :focus-visible,
.dark :focus-visible,
.cta-panel :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--lime);
}

main[tabindex="-1"]:focus {
  outline: none;
}

.network-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(230, 239, 109, 0.3);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.network-toast i {
  color: var(--lime);
}

.bg-lime {
  background: var(--lime) !important;
}

.bg-red-600 {
  background: #dc2626 !important;
}

.text-forest {
  color: var(--forest) !important;
}

.mr-3 {
  margin-right: 0.75rem;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.section-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section-block {
  padding: 72px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 0 0;
  transition: padding 0.25s ease, background 0.25s ease;
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  width: max-content;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  min-height: 46px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 28px rgba(1, 28, 4, 0.2);
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a.active,
.desktop-nav a:hover {
  background: var(--lime);
  color: var(--forest);
}

.nav-cta,
.primary-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(17, 59, 7, 0.14);
}

.nav-cta span,
.primary-action span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
}

.menu-btn {
  display: none;
  justify-self: end;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  cursor: pointer;
}

.glass-header,
.scrolled-header {
  padding-top: 10px;
}

.glass-header .header-inner,
.scrolled-header .header-inner {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(19, 72, 13, 0.75);
  backdrop-filter: blur(18px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--forest);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 28px;
  font-weight: 900;
  transition: transform 0.3s ease;
}

.translate-x-full {
  transform: translateX(100%);
}

.mobile-menu.translate-x-full {
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  cursor: pointer;
}

.hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background: linear-gradient(90deg, rgba(5, 29, 4, 0.8) 0%, rgba(5, 29, 4, 0.62) 60%, rgba(5, 29, 4, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}

.primary-action {
  justify-self: start;
}

.inner-hero {
  min-height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 86px;
}

.inner-hero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.inner-hero p {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 700;
}

.eyebrow.light {
  color: var(--lime);
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading h2,
.why h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p,
.why p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.centered {
  text-align: center;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.compact {
  margin-bottom: 30px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 220px;
  padding: 26px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--forest);
  box-shadow: 0 18px 28px rgba(12, 41, 5, 0.12);
}

.service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--forest);
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #163b12;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(8, 31, 9, 0.08);
}

.service-detail-card .service-icon {
  margin: 0;
  background: var(--lime);
}

.service-detail-card h3 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 24px;
  line-height: 1.15;
}

.service-detail-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-detail-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-detail-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #243624;
  font-size: 13px;
  line-height: 1.45;
}

.service-detail-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(230, 239, 109, 0.32);
}

.service-detail-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.service-page {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.service-main {
  min-width: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(8, 31, 9, 0.08);
}

.feature-card .service-icon {
  margin-bottom: 24px;
  background: var(--lime);
}

.feature-card h3 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 22px;
  line-height: 1.18;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mint);
}

.method-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lime);
  color: var(--forest);
  font-size: 18px;
  font-weight: 900;
}

.method-item h3 {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.method-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-sidebar {
  position: sticky;
  top: 118px;
}

.cta-panel {
  padding: 30px;
  border-radius: 24px;
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.12;
}

.cta-panel p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-panel .primary-action,
.cta-panel .secondary-action {
  width: 100%;
  min-height: 52px;
}

.cta-panel .primary-action {
  justify-self: stretch;
}

.cta-panel .secondary-action {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.privacy-page {
  padding-top: 140px;
  background: linear-gradient(180deg, var(--mint) 0%, #fff 42%);
}

.privacy-card {
  max-width: 920px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.privacy-card h1 {
  margin: 0 0 32px;
  color: var(--forest);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.privacy-card h2 {
  margin: 34px 0 12px;
  color: var(--forest);
  font-size: 22px;
  line-height: 1.2;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.privacy-card a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
}

.privacy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.privacy-meta {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #6c7a6a !important;
  font-size: 13px !important;
}

.soft {
  background: var(--soft);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.check-list {
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.check-list i,
.check-list strong {
  color: var(--forest);
}

.check-list strong {
  display: block;
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stats-grid article {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid #d8ded6;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--forest);
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}

.stats-grid span {
  margin-top: 6px;
  font-size: 12px;
}

.project-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(132px, auto);
  grid-auto-flow: dense;
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 216px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 18px 32px rgba(13, 38, 10, 0.12);
}

.project-card--featured {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 260px;
}

.project-card--tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 260px;
}

.project-card--medium {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 260px;
}

.project-card--wide {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 260px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 4, 0.08) 24%, rgba(4, 24, 4, 0.88));
}

.project-card span,
.project-card h3 {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  z-index: 2;
}

.project-card span {
  bottom: clamp(54px, 6vw, 64px);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.project-card h3 {
  bottom: clamp(22px, 3vw, 30px);
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.08;
}

.project-card--medium h3 {
  font-size: clamp(17px, 1.55vw, 22px);
}

.projects-footer {
  margin-top: 34px;
  text-align: center;
}

.projects-footer p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dark {
  background: var(--forest);
  color: #fff;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 44px;
  text-align: center;
}

.process-grid strong {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--forest);
  font-size: 20px;
}

.process-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  overflow: hidden;
}

.testimonial-card {
  min-height: 148px;
  padding: 22px;
  border-radius: 12px;
  background: var(--mint);
  color: #1f3320;
}

.testimonial-card.featured {
  min-height: 212px;
}

.person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.person span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d4d8d1;
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
}

.person strong {
  display: block;
  font-size: 12px;
}

.person small {
  color: var(--muted);
  font-size: 10px;
}

.testimonial-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.slider-buttons {
  display: flex;
  gap: 12px;
}

.slider-buttons span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
  font-size: 12px;
}

.service-cta {
  background: #fff;
}

.service-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--mint);
}

.service-cta-box h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.service-cta-box p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact {
  background: linear-gradient(180deg, #fff 0%, #f7faf6 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

/* El contenedor del widget o el form oculto no deben ocupar una celda del grid */
.contact-layout > [data-ggea-lead-widget]:empty,
.contact-layout > .hidden {
  display: none;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--forest);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.contact-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--forest);
  color: #fff;
}

.contact-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  font-size: 24px;
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-card strong {
  font-size: 22px;
}

.lead-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.lead-form label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 8px;
  margin-bottom: 18px;
  color: #41513f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lead-form label:not(.privacy) > :not(.required-mark):not(.sr-only) {
  flex: 1 0 100%;
  min-width: 0;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #7f9777;
  border-radius: 14px;
  background: #f7f9f6;
  color: #142016;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(230, 239, 109, 0.45);
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.lead-form ::placeholder {
  color: #687666;
  opacity: 1;
}

.lead-form [aria-invalid="true"] {
  border-color: #b91c1c;
}

.form-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.required-mark {
  color: #b91c1c;
}

.lead-form .privacy {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.privacy input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.privacy a {
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
}

.analytics-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(680px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid rgba(20, 32, 22, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 32, 22, 0.22);
}

.analytics-consent strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 900;
}

.analytics-consent p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent .analytics-consent-error {
  color: #b91c1c;
  font-weight: 700;
}

.analytics-consent a {
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.analytics-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.analytics-consent button,
#analytics-preferences {
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.analytics-consent button {
  min-height: 42px;
  padding: 0 18px;
}

.analytics-consent button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.analytics-consent button[data-analytics-choice="rejected"] {
  background: #edf1eb;
  color: var(--forest);
}

.analytics-consent button[data-analytics-choice="accepted"] {
  background: var(--forest);
  color: #fff;
}

#analytics-preferences {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  min-height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest);
  border: 1px solid rgba(20, 32, 22, 0.14);
  box-shadow: 0 12px 34px rgba(20, 32, 22, 0.14);
  font-size: 12px;
}

#submit-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

#submit-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.error-msg {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #b91c1c;
  border-radius: 16px;
  background: #fef2f2;
  color: #b91c1c;
  text-align: center;
  font-weight: 900;
}

.success-msg {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--forest);
  text-align: center;
  font-weight: 900;
}

.filepond--panel-root {
  background-color: #f7f9f6 !important;
  border: 1px dashed #7d9773 !important;
  border-radius: 16px !important;
}

.filepond--drop-label {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.filepond--label-action {
  color: var(--forest) !important;
  font-weight: 900 !important;
}

.filepond--item-panel {
  background-color: var(--forest) !important;
}

.iti {
  width: 100%;
}

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1da751;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

body:has(#analytics-preferences) .whatsapp-float {
  bottom: 72px;
}

#scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateY(8px);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  padding: 44px 0 36px;
  border-top: 1px solid var(--line);
  background: #f8fcf7;
  color: #123b10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span,
.site-footer nav strong,
.site-footer nav a {
  display: block;
}

.footer-brand span {
  margin-top: 3px;
  font-size: 13px;
}

.site-footer nav strong {
  margin-bottom: 14px;
  font-size: 12px;
}

.site-footer nav a {
  padding: 5px 0;
  color: #435442;
  font-size: 12px;
}

.ultra-light-mode .hero-image,
.ultra-light-mode .project-card img {
  filter: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .project-card:hover img {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-scrim {
    background: linear-gradient(90deg, rgba(5, 29, 4, 0.64) 0%, rgba(5, 29, 4, 0.56) 100%);
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .service-grid,
  .service-detail-grid,
  .process-grid,
  .testimonial-row,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .contact-layout,
  .service-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-sidebar {
    position: static;
  }

  .project-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(120px, auto);
  }

  .project-card--featured,
  .project-card--tall,
  .project-card--medium,
  .project-card--wide {
    grid-column: span 3;
    grid-row: span 2;
    min-height: 280px;
  }

  .project-card--featured,
  .project-card--medium {
    grid-column: span 6;
  }

  .service-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .header-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero {
    min-height: 620px;
  }

  .inner-hero {
    min-height: 560px;
  }

  .hero h1,
  .inner-hero h1 {
    font-size: 40px;
  }

  .split {
    display: grid;
    align-items: start;
  }

  .service-grid,
  .feature-grid,
  .stats-grid,
  .process-grid,
  .testimonial-row,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px;
  }

  #submit-btn {
    padding: 14px 18px;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .method-item {
    grid-template-columns: 1fr;
  }

  .privacy-page {
    padding-top: 110px;
  }

  .privacy-card {
    padding: 28px;
  }

  .analytics-consent {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
  }

  .analytics-consent-actions {
    justify-content: stretch;
  }

  .analytics-consent button {
    flex: 1;
  }

  .service-cta-box {
    padding: 26px;
  }

  .project-mosaic {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-card--featured,
  .project-card--tall,
  .project-card--medium,
  .project-card--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .project-card span {
    bottom: 52px;
    letter-spacing: 0.12em;
  }
}
