:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #eff5f0;
  --white: #ffffff;
  --ink: #1a2f24;
  --muted: #506257;
  --line: rgba(26, 47, 36, 0.16);
  --green-900: #1e6849;
  --green-800: #2f8760;
  --green-700: #48a679;
  --earth: #b4864f;
  --shadow: 0 14px 32px rgba(24, 33, 27, 0.1);
  --radius-md: 14px;
  --radius-lg: 20px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbf9 0%, var(--bg) 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(94vw, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 249, 0.92) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 8px 18px rgba(8, 27, 20, 0.12);
}

.header-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.brand img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 2px 5px rgba(7, 24, 17, 0.35));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(241, 247, 243, 0.96);
  border: 1px solid rgba(24, 74, 51, 0.16);
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f4f39;
}

.main-nav a:hover {
  color: #123a2a;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(239, 246, 241, 0.95);
  color: #1f4f39;
  border-radius: 9px;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff;
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(241, 247, 243, 0.96);
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #1f4f39;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-whatsapp,
.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(47, 127, 89, 0.32);
}

.btn-whatsapp {
  padding: 10px 14px;
  border-radius: 10px;
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 30, 20, 0.84), rgba(9, 30, 20, 0.58) 48%, rgba(9, 30, 20, 0.35));
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 760px;
  padding: 66px 0;
}

.kicker,
.section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-family: "Spectral", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero p {
  margin: 16px 0 0;
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  position: relative;
  padding: 82px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(242, 248, 243, 0.94) 100%);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 99, 71, 0.22), transparent);
}

.section-alt {
  background: linear-gradient(180deg, #e4eee6 0%, #ecdfcd 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-family: "Spectral", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  color: var(--green-900);
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-areas:
    "icon title"
    "desc desc";
  column-gap: 12px;
  row-gap: 8px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 134, 79, 0.5);
}

.service-card .icon {
  grid-area: icon;
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  margin-bottom: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.service-card h3 {
  grid-area: title;
  margin: 0;
  font-size: 1.08rem;
}

.service-card p {
  grid-area: desc;
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
}

.about-copy h2 {
  margin: 0;
  font-family: "Spectral", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.about-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f7fbf8 0%, #edf5ef 100%);
  display: grid;
  place-items: center;
  padding: 14px;
}

.about-media img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
}

.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stat-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #edf6ef 0%, #dcefe2 100%);
  border: 1px solid rgba(44, 63, 50, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green-900);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat strong {
  font-family: "Spectral", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--green-900);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 134, 79, 0.55);
}

.social-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.15rem;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #edf6ef 0%, #dcefe2 100%);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--green-900);
}

.social-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info h2 {
  margin: 0;
  font-family: "Spectral", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.contact-info ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-info a {
  color: var(--green-900);
  font-weight: 700;
}

.map-wrap {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-form h3 {
  margin: 0 0 12px;
  font-family: "Spectral", serif;
}

.contact-form label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(43, 125, 91, 0.35);
  border-color: transparent;
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.replacement-notes {
  padding-top: 30px;
}

.replacement-notes .wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f4 100%);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.replacement-notes h2 {
  margin: 0;
  font-size: 1.25rem;
}

.replacement-notes ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 249, 0.92) 100%);
  color: #1f4f39;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
  justify-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-brand img {
  width: 256px;
  height: auto;
  max-width: 100%;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #1f4f39;
  font-size: 1rem;
}

.site-footer p {
  margin: 0 0 8px;
  color: #355847;
}

.site-footer a {
  color: #1e6849;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #123a2a;
}

.footer-bottom {
  border-top: 1px solid rgba(26, 47, 36, 0.14);
  margin-top: 18px;
  padding: 14px 0 18px;
  text-align: center;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 65;
  background: linear-gradient(135deg, #59b987 0%, #2f8a62 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 12px 26px rgba(9, 35, 19, 0.35);
}

.lightbox {
  width: min(92vw, 860px);
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(8, 12, 9, 0.75);
}

.lightbox img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(13, 20, 16, 0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.legal-main {
  padding: 30px 0 44px;
}

.legal-hero,
.legal-section {
  padding: 12px 0;
}

.legal-intro,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-intro h1,
.legal-card h2 {
  margin: 0;
  font-family: "Spectral", serif;
}

.legal-copy {
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .services-grid,
  .social-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: 62px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .btn-whatsapp {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: 72vh;
  }

  .section {
    padding: 64px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .social-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 60px;
  }

  .brand img {
    width: 110px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .wa-float {
    right: 12px;
    bottom: 12px;
  }
}
