:root {
  --green-dark: #063f34;
  --green: #0b6b55;
  --green-bright: #23a47c;
  --green-soft: #eaf8f2;
  --blue-gray: #506b75;
  --text: #25383f;
  --muted: #64767d;
  --white: #ffffff;
  --bg: #f8fcfa;
  --line: rgba(11, 107, 85, 0.16);
  --shadow: 0 22px 60px rgba(6, 63, 52, 0.14);
  --shadow-soft: 0 14px 35px rgba(6, 63, 52, 0.09);
  --radius: 28px;
  --radius-small: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 38px), var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 96px 0;
}

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

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(6, 63, 52, 0.11);
  backdrop-filter: blur(14px);
}

.header-content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.brand span,
.footer-brand span {
  display: grid;
  line-height: 1.1;
}

.brand small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--blue-gray);
  font-weight: 800;
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--green-dark);
  background: rgba(11, 107, 85, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  background:
    radial-gradient(circle at top left, rgba(35, 164, 124, 0.20), transparent 36%),
    radial-gradient(circle at right, rgba(80, 107, 117, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f1fbf6 100%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.reverse {
  grid-template-columns: 0.96fr 1.04fr;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

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

h1 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 1.35rem;
}

.hero-text,
.lead,
.section-heading p,
.contact-box p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 590px;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  box-shadow: 0 15px 35px rgba(11, 107, 85, 0.26);
}

.btn-soft {
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-white {
  color: var(--green-dark);
  background: var(--white);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-details article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
}

.hero-details span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-details strong {
  display: block;
  margin-top: 4px;
  color: var(--green-dark);
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.logo-frame {
  width: min(410px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: 48px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(11, 107, 85, 0.52), rgba(35, 164, 124, 0.14)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 32px;
}

.floating-card {
  position: absolute;
  padding: 13px 18px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.card-one {
  top: 78px;
  left: 24px;
}

.card-two {
  right: 8px;
  bottom: 86px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.compact-cards article,
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 34px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  color: var(--green);
  font-weight: 900;
}

.icon-circle {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  border-radius: 22px;
}

.icon-circle svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.section-green,
.location-section {
  background: var(--green-soft);
}

.visual-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(145deg, #ffffff, #eefaf5);
  box-shadow: var(--shadow-soft);
}

.body-shape,
.mind-shape {
  width: min(320px, 80vw);
  color: var(--green);
}

.body-shape svg,
.mind-shape svg {
  width: 100%;
  height: auto;
}

.body-shape path:first-child,
.mind-shape path:first-child {
  fill: rgba(11, 107, 85, 0.12);
}

.body-shape rect,
.mind-shape path:nth-child(2) {
  fill: rgba(11, 107, 85, 0.78);
}

.mind-shape path:nth-child(3) {
  fill: none;
  stroke: #ffffff;
  stroke-width: 8;
  stroke-linecap: round;
}

.content-panel {
  max-width: 620px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tags span {
  padding: 11px 15px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(6, 63, 52, 0.06);
}

.compact-cards article {
  padding: 24px;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.location-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.location-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -56px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(35, 164, 124, 0.12);
}

.location-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 16px;
  font-weight: 900;
}

.location-card h3 {
  margin-bottom: 8px;
}

address {
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  color: var(--white);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box p {
  color: var(--white);
}

.contact-box p {
  opacity: 0.84;
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--white);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  color: var(--white);
  background: #19a463;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(25, 164, 99, 0.34);
}

.back-to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  border: 0;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

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

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

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

  .main-nav {
    position: absolute;
    top: 76px;
    right: 19px;
    left: 19px;
    display: grid;
    gap: 6px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 15px;
  }

  .hero-grid,
  .split-grid,
  .reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .two-columns,
  .three-columns,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .contact-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding: 70px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-content {
    min-height: 76px;
  }

  .brand img,
  .footer-brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-details {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .logo-frame {
    border-radius: 34px;
    padding: 18px;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
    justify-self: center;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 8px;
  }

  .service-card,
  .location-card,
  .contact-box {
    padding: 24px;
    border-radius: 24px;
  }

  .visual-panel {
    min-height: 320px;
    border-radius: 30px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .back-to-top {
    display: none;
  }
}
