@font-face {
    font-family: 'Belgiano serif';
    src: url('fonts/Belgiano Serif 2.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}
 :root {
  --gold: #DCAF0C;
  --gold-dark: #B47A21;
  --ink: #0B0A08;
  --ink-soft: #17150F;
  --cream: #F7F4EC;
  --paper: #FBF9F4;
  --line: #E4DEC9;
  --text-dark: #2A2620;
  --text-mute: #5C574B;
  --text-on-dark: #F2EEE1;
  --text-on-dark-mute: #A9A290;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Belgiano serif', sans-serif;
 background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  position: relative;
}


/* tipografia*/

h1,
h2,
h3,
h4 {
  font-family: 'Belgiano serif', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.eyebrow {
  font-family: 'Belgiano serif', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

.eyebrow2{
  font-family: 'Belgiano serif', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: black;
  }
.eyebrow.on-dark {
  color:#fff;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Belgiano serif', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  white-space: nowrap;
}

.btn-solid {
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--gold-dark) 100%
  );
  color: var(--ink);
}

.btn-solid:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color:#fff;
  color: #fff;
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-light {
  border-color: rgba(20, 18, 12, .25);
  color: var(--text-dark);
}

.btn-outline-light:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.btn-ghost-ink {
  color: var(--ink);
  padding: 0;
  border-bottom: 1px solid rgba(20, 18, 12, .3);
  border-radius: 0;
}

.btn-ghost-ink:hover {
  border-color: var(--ink);
}


/*  HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  padding: 18px 0;

  background:  #fff;;
  border-bottom: 1px solid #E4DEC9;

  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);

  transition: all .45s var(--ease);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.scrolled {
  padding: 14px 0;

  background: #FBF9F4;

  border-bottom: 1px solid #DCAF0C;

  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);

  backdrop-filter: none;

}
.logo {
    display: flex;
    align-items: center;
    width: 140px;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

/*DESKTOP NAV */

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

nav.main-nav ul {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav.main-nav a.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b47a21;
  position: relative;
  padding-bottom: 4px;
  transition: color .3s var(--ease);
}

nav.main-nav a.nav-link:hover {
  color: var(--gold-dark);
}
nav.main-nav a.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

nav.main-nav a.nav-link:hover::after {
  width: 100%;
}


/*  BURGER */

.burger {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: black;
  transition: all .3s var(--ease);
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 8px;
}

.burger span:nth-child(3) {
  top: 16px;
}


/*  HERO */

.hero {
  min-height: 100vh;
   background:linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 900px 500px at 78% 15%,
      rgba(220, 175, 12, .10),
      transparent 60%
    ),
    radial-gradient(
      ellipse 700px 700px at 10% 100%,
      rgba(180, 122, 33, .08),
      transparent 60%
    );
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 74px);
  color: #fff ;
  margin: 22px 0 26px;
}

.hero h1 em {
  font-style: italic;
  color:#141413;
  font-weight: 400;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.7;
  color:  #0B0A08;
  max-width: 460px;
  margin-bottom: 38px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 460px;
}


/* ARBOL*/

.tree-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.6s var(--ease) forwards;
}

.tree-node {
  fill: var(--ink);
  stroke: var(--gold);
  stroke-width: 1.4;
  opacity: 0;
  animation: nodeIn .6s var(--ease) forwards;
}

.tree-node.n1 {
  animation-delay: 1.1s;
}

.tree-node.n2 {
  animation-delay: 1.3s;
}

.tree-node.n3 {
  animation-delay: 1.5s;
}

.tree-node.n4 {
  animation-delay: 1.7s;
}

.tree-node.n5 {
  animation-delay: 1.9s;
}

.tree-root {
  fill: var(--gold);
  opacity: 0;
  animation: nodeIn .6s var(--ease) forwards;
  animation-delay: .2s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes nodeIn {
  to {
    opacity: 1;
  }
}


/*  SCROLL CUE*/

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark-mute);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue .stem {
  width: 1px;
  height: 34px;
  background: linear-gradient(
    var(--gold),
    transparent
  );
}


/* SECTIONS */

.section {
  padding: 130px 0;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%)
}

.section.tight {
  padding: 100px 0;
}

.section.on-dark {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-top: 14px;
}

.section-head p {
  color: black;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
}

.on-dark .section-head p {
  color: var(--text-on-dark-mute);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.about-copy {
  max-width: 560px;
}

.about-title {
  margin: 16px 0 26px;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.about-tree {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-tree img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
}

.about-copy p:first-of-type {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.5;
}

.trunk-figure {
  border: 1px solid var(--line);
  background: var(--ink);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.trunk-figure svg {
  width: 100%;
  height: 100%;
}


/* FILOSOFÍA CORPORATIVA */


.filosofia-section {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding-top: 150px;
    padding-bottom: 100px;
}



.filosofia-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.filosofia-intro .eyebrow {
    color: #fff;
}

.filosofia-intro h1 {
    font-family: 'Belgiano serif', serif;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 500;
    color: #0B0A08;
    margin: 14px 0 15px;
}

.filosofia-intro p {
    font-family: 'Belgiano serif', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2A2620;
    max-width: 650px;
    margin: 0 auto;
}


.filosofia {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto auto;

    background: linear-gradient(
        120deg,
        var(--gold) 0%,
        var(--gold-dark) 100%
    );

    border: 1px solid #222;
    position: relative;
}


.proposito {
    grid-column: 1 / 5;
    text-align: center;

    padding: 35px 70px;

    border-bottom: 1px solid #222;
}

.proposito h2 {
    font-family: 'Belgiano serif', sans-serif;
    font-size: 38px;
    margin: 0 0 15px;
    color: #0B0A08;
}

.proposito p {
    max-width: 850px;
    margin: 0 auto;

    font-family: 'Belgiano serif', sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: #2A2620;
}


.filosofia-bloque {
    padding: 40px 35px;
    min-height: 230px;
}

.filosofia-bloque h2 {
    font-family: 'Belgiano serif', sans-serif;
    font-size: 38px;
    text-align: center;
    margin: 0 0 15px;
    color: #0B0A08;
}

.filosofia-bloque p {
    font-family: 'Belgiano serif', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    color: #2A2620;
    margin: 0;
}


.mision {
    grid-column: 1 / 3;
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}



.vision {
    grid-column: 3 / 5;
    border-bottom: 1px solid #222;
}

.valores-titulo {
    grid-column: 1 / 5;
    text-align: center;
    padding: 20px 0 8px;
}

.valores-titulo h2 {
    font-family: 'Belgiano serif', sans-serif;
    font-size: 36px;
    margin: 0;
    color: #0B0A08;
}



.valor {
    padding: 30px 22px;
    text-align: center;
    border-right: 1px solid #222;
}

.valor:last-child {
    border-right: none;
}

.valor h3 {
    display: inline-block;
    margin: 0 0 18px;
    padding: 5px 15px;

    background: #DCAF0C;
    color: #0B0A08;

    border-radius: 5px;

    font-family: 'Belgiano serif', sans-serif;
    font-size: 21px;
}

.valor p {
    font-family: 'Belgiano serif', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #2A2620;
    margin: 0;
}
.branch-rail {
  position: relative;
  height: 64px;
  margin-bottom: 0;
}

.branch-rail svg {
  width: 100%;
  height: 100%;
  display: block;
}

.branch-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: none;
}

.company-card {
  background: var(--paper);
  padding: 34px 24px 30px;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: background .35s var(--ease);
}

.company-card:hover {
  background: #fff;
}

.badge {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 26px;
  transition: all .35s var(--ease);
}

.company-card:hover .badge {
  background: var(--gold-dark);
  color: #fff;
}

.company-card .cat {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.company-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
  font-weight: 500;
}

.company-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-mute);
  flex-grow: 1;
}

.company-card .cta {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.company-card .cta svg {
    width: 10px;
    height: 10px;
  transition: transform .3s var(--ease);
}

.company-card:hover .cta svg {
  transform: translateX(4px);
}



.philosophy {
  text-align: center;
  padding: 180px 0;
}

.philosophy .wrap {
  max-width: 900px;
}

.philosophy-quote {
  font-family: 'Belgiano serif', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
  color: var(--text-on-dark);
  margin-top: 26px;
}

.philosophy blockquote em {
  color: var(--gold);
  font-style: italic;
}

.philosophy .attribution {
  margin-top: 36px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-on-dark-mute);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project-card {
  background: var(--paper);
  aspect-ratio: 4 / 3.1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.project-card .pnum {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: 'Belgiano serif', serif;
  font-style: italic;
  color: var(--line);
  font-size: 52px;
  transition: color .4s var(--ease);
}

.project-card:hover .pnum {
  color: rgba(220, 175, 12, .35);
}

.project-card .ptag {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.project-card h4 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 500;
}

.project-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}

.projects-foot {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 90px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.stat .num {
  font-family: 'Belgiano serif', serif;
  font-size: 44px;
  color: var(--gold-dark);
  font-weight: 500;
}

.stat .lbl {
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: .04em;
  margin-top: 8px;
}

.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(
    var(--gold),
    var(--line)
  );
}

.tl-item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 56px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.6px solid var(--gold);
}

.tl-year {
  font-family: 'Belgiano serif', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 16px;
  margin-bottom: 6px;
}

.tl-item h4 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 500;
}

.tl-item p {
  font-size: 14px;
  color: var(--text-mute);
  max-width: 520px;
  line-height: 1.7;
}


.final-cta {
  background: linear-gradient(
    120deg,
    var(--gold) 0%,
    var(--gold-dark) 100%
  );
  padding: 110px 0;
  text-align: center;
  position: relative;
}

.final-cta h2 {
  font-size: clamp(30px, 4vw, 50px);
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 34px;
}

.final-cta .ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .btn-solid {
  background: var(--ink);
  color: var(--gold);
}

.final-cta .btn-solid:hover {
  background: #000;
}

.final-cta .btn-outline-light {
  border-color: rgba(20, 18, 12, .4);
}

.cta-eyebrow {
  color: rgba(11, 10, 8, .6);
}


footer {
  background: #fff;
  color: black;
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b47a21 ;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13.5px;
  transition: color .3s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 12px;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 24px;
}

.footer-bottom .legal-links a:hover {
  color: var(--gold);
}



.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav ul li {
  margin-bottom: 22px;
}

.mobile-nav ul li a {
  font-family: 'Belgiano', serif;
  font-size: 30px;
  color: var(--text-on-dark);
}




.projects-teaser .teaser-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 70px 40px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.teaser-mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
}

.projects-teaser h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin: 16px 0 18px;
}

.projects-teaser p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-mute);
    margin-bottom: 30px;
}

.projects-teaser .btn {
    border-color: rgba(20, 18, 12, .25);
    color: var(--text-dark);
}

.projects-teaser .btn:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}

/*RESPONSIVE */

@media (max-width: 1080px) {

  .about-grid {
    grid-template-columns: 1fr;
  }

  .trunk-figure {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .companies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .companies-grid .company-card:nth-child(4),
  .companies-grid .company-card:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    row-gap: 40px;
  }

  .values-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

}


@media (max-width: 820px) {

    .projects-teaser .teaser-box {
        padding: 50px 26px;
    }

}


@media (max-width: 820px) {

  .wrap {
    padding: 0 24px;
  }

  nav.main-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto 20px;
  }

  .hero {
    padding-top: 110px;
    text-align: left;
  }

  .section {
    padding: 90px 0;
  }

  .companies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .branch-rail {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .philosophy {
    padding: 120px 0;
  }

}


@media (max-width: 560px) {

  .companies-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

}
@media (max-width: 820px) {

    .filosofia-section {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .filosofia {
        grid-template-columns: 1fr 1fr;
    }

    .proposito {
        grid-column: 1 / 3;
        padding: 30px 25px;
    }

    .mision {
        grid-column: 1 / 3;
        border-right: none;
    }

    .vision {
        grid-column: 1 / 3;
    }

    .valores-titulo {
        grid-column: 1 / 3;
    }

    .valor {
        border-bottom: 1px solid #222;
    }

    .valor:nth-last-child(1) {
        border-right: none;
    }
}


@media (max-width: 560px) {

    .filosofia-intro h1 {
        font-size: 36px;
    }

    .filosofia {
        grid-template-columns: 1fr;
    }

    .proposito,
    .mision,
    .vision,
    .valores-titulo {
        grid-column: 1;
    }

    .proposito {
        padding: 30px 20px;
    }

    .filosofia-bloque {
        padding: 35px 25px;
    }

    .valor {
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .valor:last-child {
        border-bottom: none;
    }
}

@media (prefers-reduced-motion: reduce) {

  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

}



a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tree-anim{
  position:relative;
  width:100%;
  background: #000;
}
.tree-anim-img{
  position:relative;
  width:100%;
  clip-path: inset(100% 0 0 0);
  animation: treeGrow 2.4s cubic-bezier(.45,.05,.35,1) forwards;
}
.tree-anim-img img{ display:block; width:100%; height:auto; }
@keyframes treeGrow{ to{ clip-path: inset(0% 0 0 0); } }

.tree-logo{
  position:absolute;
  opacity:0;
  transform:translateY(18px) scale(.7);
  filter:drop-shadow(0 6px 10px rgba(40,20,0,0.35));
  animation-name: treePopIn, treeFloat;
  animation-duration:.85s, 5s;
  animation-timing-function: cubic-bezier(.34,1.56,.64,1), ease-in-out;
  animation-iteration-count:1, infinite;
  animation-fill-mode:forwards, none;
}
.tree-logo img{ display:block; width:100%; height:auto; }
@keyframes treePopIn{ to{ opacity:1; transform:translateY(0) scale(1); } }
@keyframes treeFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }

.tree-logo--taco{    left:16%; top:16%; width:23%; animation-delay:2.6s; }
.tree-logo--yaxche{  left:63%; top:15%; width:20%; animation-delay:2.95s; }
.tree-logo--mirae{   left:37%; top:33%; width:26%; animation-delay:3.3s; }
.tree-logo--ecowork{ left:10%; top:47%; width:24%; animation-delay:3.65s; }
.tree-logo--orion{   left:66%; top:44%; width:17%; animation-delay:4.0s; }