:root {
  --primary: #3a5a40;
  --primary-dark: #1e3424;
  --primary-deep: #102117;
  --primary-soft: #eaf0ea;
  --accent: #c7a365;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #182019;
  --muted: #687169;
  --border: #dfe5df;
  --font-sans: "Manrope", sans-serif;
  --font-display: "Playfair Display", serif;
  --container: 1220px;
  --shadow: 0 22px 70px rgba(16, 33, 23, .12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--background);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  background: rgba(16, 33, 23, .12);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  transition: background .25s ease, color .25s ease;
}

.site-header.scrolled {
  color: var(--text);
  background: rgba(247,248,245,.94);
  border-bottom-color: var(--border);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(16,33,23,.2);
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: .1em;
}

.brand-copy small {
  margin-top: 5px;
  opacity: .72;
  font-size: .7rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .84rem;
  font-weight: 700;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
}

.site-header.scrolled .nav-cta {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: currentColor;
}

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

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,24,15,.94) 0%, rgba(10,24,15,.74) 45%, rgba(10,24,15,.24) 78%),
    linear-gradient(to top, rgba(10,24,15,.86), transparent 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 80px;
  padding: 180px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
}

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

.hero h1,
.intro h2,
.section-heading h2,
.process-copy h2,
.institutional h2,
.cta-box h2 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.8rem, 6vw, 6.7rem);
}

.hero-copy > p {
  max-width: 760px;
  margin-top: 26px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

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

.button-light {
  color: var(--primary-dark);
  background: #fff;
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.hero-panel > span {
  display: block;
  margin-bottom: 17px;
  color: rgba(255,255,255,.58);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-panel-grid {
  display: grid;
  gap: 0;
}

.hero-panel-grid strong {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .88rem;
}

.hero-panel-grid strong:last-child {
  border-bottom: 0;
}

.intro {
  padding: 130px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.intro-image {
  height: 100%;
  min-height: 620px;
  display: flex;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--primary-soft);
}

.intro-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
}

.intro h2,
.section-heading h2,
.process-copy h2,
.institutional h2 {
  font-size: clamp(2.5rem, 4.3vw, 4.2rem);
}

.intro-copy p,
.section-heading p,
.process-copy p,
.institutional-copy p {
  margin-top: 20px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--primary);
  font-weight: 800;
}

.section {
  padding: 125px 0;
}

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

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

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 28px;
  border: 1px solid rgba(58,90,64,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.solution-image {
  height: 175px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--primary-soft);
}

.solution-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.solution-card:hover .solution-image img {
  transform: scale(1.045);
}

.solution-index,
.solution-card h3,
.solution-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.solution-index {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
}

.solution-card h3 {
  font-size: 1.2rem;
}

.solution-card p {
  margin-top: 13px;
  color: var(--muted);
  font-size: .9rem;
}

.featured-card {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.featured-card .solution-image {
  position: relative;
}

.featured-card .solution-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,52,36,.55), rgba(30,52,36,.08));
}

.featured-card p {
  color: rgba(255,255,255,.72);
}

.process-section {
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(199,163,101,.12), transparent 25%),
    linear-gradient(145deg, var(--primary-deep), var(--primary-dark));
}

.process-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 125px;
}

.process-copy p {
  color: rgba(255,255,255,.66);
}

.process-list {
  display: grid;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.process-list article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
}

.process-list h3 {
  font-size: 1.05rem;
}

.process-list p {
  margin-top: 7px;
  color: rgba(255,255,255,.62);
  font-size: .9rem;
}

.expertise-section {
  background: #fff;
}

.expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.expertise-cloud span {
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--background);
  font-size: .86rem;
  font-weight: 800;
}

.institutional-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: stretch;
}

.institutional-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
  color: #fff;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), transparent),
    linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}

.quote-mark {
  height: 70px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

.institutional-card blockquote {
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 1.3;
}

.institutional-card strong {
  margin-top: 28px;
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  letter-spacing: .1em;
}

.cta-section {
  padding: 0 0 110px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  padding: 65px;
  color: #fff;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(199,163,101,.2), transparent 20%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-box h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.cta-box p {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.cta-actions > a:last-child {
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner p {
  color: var(--muted);
  font-size: .75rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: #278b55;
  box-shadow: 0 15px 36px rgba(39,139,85,.3);
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    color: var(--text);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .intro-grid,
  .process-grid,
  .institutional-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .process-copy {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links,
  .footer-inner .brand {
    justify-content: center;
  }

  .cta-actions {
    align-items: flex-start;
  }
}

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

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

  .main-nav {
    top: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 150px 0 70px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .intro,
  .section {
    padding: 88px 0;
  }

  .intro-image {
    min-height: 380px;
  }

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

  .solution-card {
    min-height: 0;
  }

  .solution-image {
    height: 190px;
  }

  .institutional-card,
  .cta-box {
    padding: 34px 25px;
  }

  .institutional-card blockquote {
    font-size: 1.65rem;
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }
}
