:root {
  --green-900: #163f29;
  --green-800: #1f5a38;
  --green-700: #21723f;
  --green-500: #2f9f45;
  --leaf: #7ab51d;
  --soil: #b64f24;
  --orange: #eb6916;
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --ink: #18231d;
  --muted: #657268;
  --line: rgba(22, 63, 41, 0.15);
  --shadow: 0 18px 45px rgba(17, 44, 28, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(22, 63, 41, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  color: var(--green-900);
  box-shadow: 0 10px 28px rgba(17, 44, 28, 0.08);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 60px;
 
  object-fit: contain;

  border-radius: 8px;
  padding: 5px;
}

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

.brand span {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover {
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  font-size: 0.92rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {

  color: var(--green-900);
}

.nav-insignia {
  display: block;
  width: auto;
  height: 60px;
  max-width: 240px;
  object-fit: contain;
  margin-left: auto;
}

.button.primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 24px rgba(235, 105, 22, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
min-height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 39, 25, 0.9) 0%, rgba(13, 39, 25, 0.66) 39%, rgba(13, 39, 25, 0.16) 76%),
    linear-gradient(0deg, rgba(13, 39, 25, 0.74) 0%, rgba(13, 39, 25, 0.06) 40%),
    url("assets/hero-tabaco-misiones.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(340px, 460px);
  gap: 70px;
  align-items: end;
}

.hero-main {
  display: grid;
  gap: 24px;
}

.hero-side {
  display: grid;
  gap: 18px;
  align-content: end;
}

.hero-insignia {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-insignia img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 190px;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 1.55vw, 1.34rem);
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-panel {
  background: rgba(255, 253, 247, 0.94);
  color: var(--ink);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  min-width: 0;
  width: 100%;
  max-width: 460px;
}

.hero-panel p {
  font-size: 16px;
  line-height: 1;
  color: var(--green-800);
}

.metric {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.metric strong {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  line-height: 1;
  color: var(--green-800);
}

.metric-note {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

.metric span {
  font-size: 0.88rem;
  color: var(--muted);
}



main {
  overflow: hidden;
}

section {
  padding: 96px 0;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.stats-band {
  background: var(--cream);
}

.about-band {
  background:
    linear-gradient(180deg, rgba(122, 181, 29, 0.08), rgba(255, 253, 247, 0));
}

.about-grid,
.news-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.history-visual,
.chain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.history-visual-copy,
.chain-image-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.history-visual-copy h3 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.history-visual-copy p,
.chain-image-copy p {
  margin: 0;
  color: var(--muted);
}

.history-image-frame,
.chain-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 44, 28, 0.08);
}

.history-image-frame img,
.chain-image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.chain-layout {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.techniques-band {
  background:
    linear-gradient(180deg, rgba(22, 63, 41, 0.03), rgba(247, 243, 233, 0.7));
}

.techniques-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.techniques-image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 44, 28, 0.08);
}

.techniques-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.tech-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(17, 44, 28, 0.06);
}

.tech-card h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 1.2rem;
  line-height: 1.12;
}

.tech-card p {
  margin: 0;
  color: var(--muted);
}

.about-card,
.news-card,
.contact-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 44, 28, 0.08);
}

.eyebrow,
.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(47, 159, 69, 0.11);
  color: var(--green-800);
}

.news-tag {
  background: rgba(235, 105, 22, 0.12);
  color: #a04a12;
}

.about-card h3,
.news-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 1.45rem;
  line-height: 1.1;
}

.about-card p,
.news-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.news-band {
  background: #fbf8f0;
}

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(235, 105, 22, 0.05), rgba(255, 255, 255, 0));
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 700;
}

.news-link::after {
  content: "->";
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(47, 159, 69, 0.06), rgba(255, 253, 247, 0));
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card strong {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  color: var(--green-800);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-500);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(47, 159, 69, 0.06), rgba(255, 255, 255, 0.96));
  box-shadow: 0 12px 28px rgba(17, 44, 28, 0.06);
}

.step strong {
  display: block;
  color: var(--green-900);
  font-size: 1.08rem;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.support {
  background: var(--green-900);
  color: white;
}

.support h2 {
  color: white;
}

.support .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.support-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
}

.support-panel h3 {
  margin: 0 0 14px;
  font-size: 1.6rem;
  line-height: 1.05;
}

.support-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.program svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 8px;
  color: #f7d18a;
  background: rgba(247, 209, 138, 0.14);
}

.program strong {
  display: block;
  margin-bottom: 4px;
}

.program span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

.identity {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 54px;
  align-items: center;
}

.logos {
  display: grid;
  gap: 18px;
}

.logo-box {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(17, 44, 28, 0.08);
}

.logo-box img {
  max-height: 72px;
  object-fit: contain;
}

.cta {
  background:
    linear-gradient(90deg, rgba(22, 63, 41, 0.95), rgba(22, 63, 41, 0.68)),
    url("assets/historia-tabaco-misiones.png") center 62% / cover no-repeat;
  color: white;
  padding: 86px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 40px;
  align-items: center;
}

.cta h2 {
  color: white;
}

.cta p {
  margin: 18px 0 0;
  max-width: 670px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.06rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-label {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: white;
  font-size: 1.05rem;
}

.contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-band {
  background: var(--cream);
}

.contact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-list li + li {
  margin-top: 10px;
}

footer {
  background: #10281b;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
  font-size: 0.9rem;
}

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

.footer-inner strong {
  display: block;
  margin-bottom: 6px;
  color: white;
}

.footer-inner p {
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-meta a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .nav {
    width: min(1180px, calc(100% - 28px));
    min-height: 68px;
    padding: 10px 0;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand img {
    height: 36px;
    max-width: 180px;
  }

  .nav-toggle {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(17, 50, 31, 0.97);
    box-shadow: 0 18px 40px rgba(7, 22, 13, 0.32);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.88rem;
  }

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

  .nav-insignia {
    height: 54px;
    max-width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .section-heading,
  .history-visual,
  .chain-layout,
  .techniques-layout,
  .support-grid,
  .identity,
  .cta-inner,
  .contact-strip,
  .about-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 118px 0 48px;
    gap: 34px;
  }

  .hero-insignia {
    justify-content: flex-start;
  }

  .hero-insignia img {
    max-width: 170px;
  }

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

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .nav,
  .container,
  .hero-content,
  .footer-inner {
    width: calc(100vw - 28px);
    max-width: 1180px;
  }

  .brand img {
   
    height: 48px;
  }

  .nav-insignia {
    height: 46px;
    max-width: 160px;
  }

  .nav {
    padding-top: 10px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2.35rem, 13.8vw, 3.55rem);
    line-height: 0.95;
  }

  section {
    padding: 70px 0;
  }

  .hero-panel,
  .support-panel {
    padding: 22px;
    width: 100%;
  }

  .hero-insignia {
    width: 100%;
  }

  .hero-insignia img {
    max-width: 150px;
  }

  .stat-card span,
  .program span {
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-panel {
    max-width: calc(100vw - 28px);
  }

  .hero-panel p {
    max-width: 29ch;
  }

  .stats-grid,
  .timeline,
  .techniques-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .stat-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}
