:root {
  --red: #62b84d;
  --red-dark: #358a2d;
  --green: #62b84d;
  --green-dark: #2f7d2a;
  --ink: #17191b;
  --muted: #62676b;
  --soft: #f4f5f2;
  --white: #ffffff;
  --line: #dfe2dc;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 23, 18, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.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; z-index: 1000; top: 12px; left: 12px; transform: translateY(-150%);
  padding: 10px 16px; color: white; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; width: 194px; height: 48px; }
.brand img, .footer-brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  position: relative; color: white; text-decoration: none; font-size: .9rem; font-weight: 700;
  letter-spacing: .03em;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px;
  background: var(--red); transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; color: white; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image {
  background: url("assets/vleeko-oficina.jpg") center 45% / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,15,12,.92) 0%, rgba(15,28,18,.76) 48%, rgba(25,48,27,.28) 100%),
    linear-gradient(0deg, rgba(38,123,27,.28), rgba(38,123,27,.28));
}
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.eyebrow {
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px; color: white;
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 800;
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--red); }
.eyebrow-dark { color: var(--green-dark); }
.eyebrow-light { color: rgba(255,255,255,.9); }
.hero h1 {
  max-width: 900px; margin: 0; font-size: clamp(2.65rem, 6vw, 5.6rem); line-height: .98;
  letter-spacing: -.055em; font-weight: 750;
}
.hero h1 span { color: #8bdd67; }
.hero-statement {
  max-width: 820px; margin: 28px 0 34px; padding-left: 22px; border-left: 3px solid var(--red);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem); line-height: 1.48; color: rgba(255,255,255,.88);
}
.hero-statement strong { color: white; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px;
  padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.hero-marker {
  position: absolute; z-index: 3; right: max(24px, calc((100% - var(--container))/2)); bottom: 0;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50% 50% 0 0;
  color: white; background: var(--green); font-weight: 900; font-size: 1.4rem;
}

.agency-banner { color: white; background: var(--green-dark); }
.agency-banner-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.agency-banner p { max-width: 780px; margin: 0; line-height: 1.45; color: rgba(255,255,255,.85); }
.agency-banner strong { color: white; }
.agency-banner a { flex: 0 0 auto; color: white; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(48px, 8vw, 110px); }
.intro-visual { position: relative; }
.intro-visual::before {
  content: ""; position: absolute; z-index: -1; left: -22px; bottom: -22px; width: 58%; height: 64%;
  background: var(--green); border-radius: var(--radius);
}
.intro-visual img { width: 100%; max-height: 620px; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-number {
  position: absolute; z-index: 2; top: -24px; right: -20px; color: var(--red);
  font-weight: 900; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1;
}
.intro-copy h2, .section-heading h2, .projects-heading h2, .contact h2 {
  margin: 0; font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.045em;
}
.intro-copy > p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); font-size: 1.12rem; }
.intro-copy strong { color: var(--green-dark); }
.accent-line { width: 100px; height: 4px; margin-top: 30px; background: linear-gradient(90deg, var(--green-dark) 40%, #8fd87e 40%); }

.commitment { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: white; }
.commitment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.commitment-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,91,25,.95), rgba(25,113,34,.78) 56%, rgba(10,20,12,.34)); }
.commitment-content { position: relative; z-index: 2; padding-block: 110px; }
.commitment-content > * { max-width: 880px; }
.quote-mark { display: block; height: 68px; color: rgba(255,255,255,.35); font: 900 7rem/1 Georgia, serif; }
.commitment h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
.commitment p { margin: 24px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.8rem); color: rgba(255,255,255,.82); line-height: 1.45; }
.commitment strong { color: white; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 54px; }
.section-heading h2 { max-width: 850px; }
.section-index { flex: 0 0 auto; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .8rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pillar-card {
  min-height: 285px; padding: 34px; border: 1px solid var(--line); border-radius: 20px;
  background: white; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pillar-card:hover { transform: translateY(-5px); border-color: #a9d8a0; box-shadow: 0 18px 45px rgba(24,70,29,.09); }
.pillar-number { display: block; margin-bottom: 44px; color: var(--green); font-size: .85rem; font-weight: 900; }
.pillar-card h3 { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.25; }
.pillar-card p { margin: 0; color: var(--muted); }

.projects { color: white; background: #151917; }
.projects-heading { max-width: 940px; margin-bottom: 52px; }
.projects-heading h2 span { color: #82d665; }
.tab-list { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.tab-list button {
  position: relative; margin: 0; padding: 18px 24px; border: 0; color: rgba(255,255,255,.58);
  background: transparent; cursor: pointer; font-weight: 800;
}
.tab-list button::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .25s ease;
}
.tab-list button[aria-selected="true"] { color: white; }
.tab-list button[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 540px; border-radius: var(--radius); overflow: hidden; background: #222824; }
.tab-panel[hidden] { display: none; }
.project-media { min-height: 480px; background: #f7f7f5; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media-contain img { object-fit: contain; object-position: center 28%; }
.project-copy { align-self: center; padding: clamp(32px, 5vw, 68px); }
.project-label { color: #82d665; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; }
.project-copy h3 { margin: 10px 0 24px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.project-copy h3 strong { color: #82d665; }
.project-copy p { margin: 0 0 28px; color: rgba(255,255,255,.7); }
.text-link { display: inline-flex; gap: 12px; color: white; font-weight: 800; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.social-panel { grid-template-columns: .8fr 1.2fr; }
.social-copy { padding-block: 42px; }
.social-project + .social-project { margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.social-project h3 { margin-bottom: 16px; font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
.social-project p { font-size: .94rem; line-height: 1.58; margin-bottom: 18px; }

.quote-section { padding: 0; background: var(--soft); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 620px; align-items: stretch; }
.quote-photo { margin-left: calc((100vw - min(calc(100vw - 40px), var(--container))) / -2); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
blockquote { align-self: center; margin: 0; padding: clamp(48px, 8vw, 100px); }
blockquote > span { display: block; height: 74px; color: var(--green); font: 900 7rem/1 Georgia, serif; }
blockquote p { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 650; }
blockquote footer { margin-top: 30px; color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 900; }

.contact { position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #2f7d2a 0%, #62b84d 100%); text-align: center; }
.contact-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow::before { background: white; }
.contact h2 { max-width: 850px; }
.contact p:not(.eyebrow) { margin: 20px 0 32px; font-size: 1.25rem; color: rgba(255,255,255,.8); }
.button-light { color: var(--ink); background: white; }
.button-light:hover { color: var(--green-dark); }
.contact-shape { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.contact-shape-one { width: 420px; height: 420px; top: -230px; left: -120px; }
.contact-shape-two { width: 310px; height: 310px; right: -80px; bottom: -170px; }

.site-footer { padding-top: 56px; color: white; background: #101311; }
.footer-main { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 44px; padding-bottom: 44px; }
.footer-brand { display: block; width: 210px; height: 52px; }
.footer-main p { margin: 0; color: rgba(255,255,255,.62); }
.footer-top { color: white; font-weight: 800; text-underline-offset: 6px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 34px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; color: rgba(255,255,255,.82); text-decoration: none; font-size: .86rem; font-weight: 750;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.social-links a:hover { color: white; border-color: var(--green); background: rgba(98,184,77,.12); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.7); }

:focus-visible { outline: 3px solid #79d85d; outline-offset: 4px; }

@media (max-width: 900px) {
  .section { padding: 78px 0; }
  .site-header { position: absolute; }
  .header-inner { min-height: 80px; }
  .brand { width: 168px; height: 42px; }
  .menu-toggle { position: relative; z-index: 31; display: grid; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 28px; height: 2px; background: white; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; z-index: 30; inset: 0; display: flex; flex-direction: column; justify-content: center;
    gap: 28px; background: rgba(15,19,16,.98); opacity: 0; visibility: hidden; transition: opacity .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font-size: 1.35rem; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,15,12,.94), rgba(15,28,18,.68)); }
  .agency-banner-inner { padding-block: 28px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .intro-grid, .tab-panel, .social-panel, .quote-grid { grid-template-columns: 1fr; }
  .intro-visual { max-width: 620px; }
  .commitment > img { object-position: 58% center; }
  .commitment-shade { background: rgba(24,105,29,.83); }
  .project-media { min-height: 380px; max-height: 540px; }
  .quote-photo { margin-left: 0; height: 500px; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 90px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .hero-statement { font-size: 1.05rem; }
  .hero-marker { display: none; }
  .button { width: 100%; }
  .intro-grid { gap: 56px; }
  .image-number { right: -4px; }
  .intro-copy h2, .section-heading h2, .projects-heading h2, .contact h2 { font-size: 2.25rem; }
  .commitment { min-height: 580px; }
  .commitment-content { padding-block: 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: auto; padding: 28px; }
  .pillar-number { margin-bottom: 28px; }
  .projects-heading { margin-bottom: 34px; }
  .tab-list { width: calc(100% + 28px); margin-left: -14px; overflow-x: auto; padding-inline: 6px; }
  .tab-list button { flex: 0 0 auto; padding: 15px 14px; font-size: .9rem; }
  .project-media { min-height: 260px; height: 290px; }
  .project-copy { padding: 30px 24px 38px; }
  .project-copy h3 { font-size: 2rem; }
  .quote-photo { height: 420px; }
  blockquote { padding: 58px 8px 68px; }
  blockquote p { font-size: 2.1rem; }
  .footer-main { padding-bottom: 34px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
