:root {
  --green-950: #0c2615;
  --green-900: #12351c;
  --green-800: #1b4a27;
  --green-700: #285d34;
  --green-100: #e6eee4;
  --cream: #f4f2e9;
  --paper: #faf9f4;
  --gold: #c5a15a;
  --gold-soft: #dfc889;
  --ink: #20261f;
  --muted: #687067;
  --line: rgba(15, 48, 25, .14);
  --white: #fff;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
}

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

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

/* =========================================================
   HEADER
   ========================================================= */

#site-header {
  position: relative;
  z-index: 2000;
  background: var(--white);
}

.topbar {
  background: var(--green-950);
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  letter-spacing: .02em;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar i {
  color: var(--gold-soft);
  margin-right: 6px;
}

.topbar a {
  text-decoration: none;
}

.main-nav {
  height: var(--header-height);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand img {
  width: auto;
  height: 49px;
}

.nav-menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-menu > a,
.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--green-950);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-menu > a:hover,
.nav-dropdown-toggle:hover {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-toggle i {
  font-size: .6rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}

.nav-dropdown-menu a:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.nav-dropdown-menu i {
  width: 20px;
  color: var(--gold);
}

.nav-cta {
  padding: 12px 17px !important;
  color: var(--white) !important;
  background: var(--green-800);
}

.nav-cta:hover {
  background: var(--green-950);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--green-900);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(197,161,90,.15), transparent 30%),
    linear-gradient(115deg, var(--green-950) 0%, var(--green-900) 62%, #204e2a 100%);
}

.hero-inner {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 60px;
  padding-block: 70px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.eyebrow-dark {
  color: var(--green-700);
}

.hero h1,
.section-copy h2,
.section-heading h2,
.statement h2,
.repository h2,
.values h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.02;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6.2vw, 6.4rem);
  letter-spacing: -.025em;
}

.hero h1 em {
  color: var(--gold-soft);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.btn-main,
.btn-light-line,
.repository-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .25s ease;
}

.btn-main {
  color: var(--green-950);
  background: var(--gold-soft);
}

.btn-main:hover {
  color: var(--green-950);
  background: var(--white);
  transform: translateY(-2px);
}

.btn-light-line {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}

.btn-light-line:hover {
  color: var(--white);
  border-color: var(--gold-soft);
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  width: min(500px, 100%);
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.35);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(197,161,90,.5);
  pointer-events: none;
  z-index: 1;
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.75);
}

.hero-note {
  position: absolute;
  left: -20px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  background: var(--gold-soft);
  color: var(--green-950);
}

.hero-note span {
  font-family: "DM Serif Display", serif;
  font-size: 2.2rem;
}

.hero-note small {
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
}

/* =========================================================
   SECCIONES
   ========================================================= */

.section {
  padding: 110px 0;
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: #173c29;
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 90px;
}

.section-image {
  position: relative;
}

.section-image img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  filter: saturate(.7);
}

.image-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-950);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.image-caption span:first-child {
  color: var(--gold-soft);
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.section-copy p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-copy .lead-copy {
  color: var(--ink);
  font-size: 1.08rem;
}

.signature-line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 35px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}

.signature-line strong {
  color: var(--green-900);
}

.signature-line span {
  color: var(--muted);
  font-size: .75rem;
}

/* =========================================================
   STATEMENT
   ========================================================= */

.statement {
  padding: 125px 0;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(12,38,21,.91), rgba(12,38,21,.91)),
    url("https://images.unsplash.com/photo-1589578527966-fdac0f44566c?auto=format&fit=crop&w=1920&q=85") center/cover;
}

.statement-inner {
  max-width: 900px;
}

.statement h2 {
  margin: 0 auto 20px;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.statement p {
  max-width: 720px;
  margin: auto;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.section-services {
  background: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 55px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(12,38,21,.12);
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.72);
  transition: transform .5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--green-950);
  color: var(--gold-soft);
  font-size: .65rem;
  font-weight: 700;
}

.service-body {
  padding: 25px;
}

.service-body h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-family: "DM Serif Display", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.service-body p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}

/* =========================================================
   ENFOQUE
   ========================================================= */

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light > p {
  color: rgba(255,255,255,.70);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.10);
}

.principle {
  position: relative;
  min-height: 450px;
  padding: 0 24px 30px;
  border-right: 1px solid rgba(255,255,255,.13);
  overflow: hidden;
  background: var(--green-950);
}

.principle-image {
  position: relative;
  height: 170px;
  margin: 0 -24px 25px;
  overflow: hidden;
  background: var(--green-900);
}

.principle-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,38,21,.78), rgba(12,38,21,.08) 65%);
}

.principle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(.96);
  transition: transform .55s ease, filter .3s ease;
}

.principle:hover .principle-image img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1);
}

.principle:last-child {
  border-right: 0;
}

.principle > span {
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 700;
}

.principle i {
  display: block;
  margin: 26px 0 18px;
  color: var(--gold-soft);
  font-size: 1.65rem;
}

.principle h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "DM Serif Display", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.principle p {
  max-width: 260px;
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: .78rem;
  line-height: 1.7;
}

/* =========================================================
   VALORES
   ========================================================= */

.values {
  padding: 105px 0;
  background: var(--paper);
}

.values-heading {
  margin-bottom: 45px;
}

.values h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(3rem, 5vw, 5rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.values-grid > div,
.values-grid > article {
  min-height: 390px;
  padding: 0 24px 25px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease;
}

.values-grid > article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(12,38,21,.10);
}

.value-image {
  position: relative;
  height: 170px;
  margin: 0 -24px 25px;
  overflow: hidden;
  background: var(--green-100);
}

.value-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,38,21,.55), transparent 60%);
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78);
  transition: transform .55s ease, filter .3s ease;
}

.values-grid > article:hover .value-image img {
  transform: scale(1.06);
  filter: saturate(1);
}

.values-grid > div:last-child,
.values-grid > article:last-child {
  border-right: 0;
}

.values-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
}

.values-grid strong {
  display: block;
  color: var(--green-900);
  font-size: .82rem;
  letter-spacing: .15em;
}

.values-grid p {
  max-width: 250px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.7;
}

/* =========================================================
   REPOSITORIO
   ========================================================= */

.repository {
  padding: 85px 0;
  color: var(--white);
  background: var(--green-800);
}

.repository-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.repository h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
}

.repository p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.68);
}

.repository-button {
  flex-shrink: 0;
  color: var(--green-950);
  background: var(--gold-soft);
}

.repository-button:hover {
  color: var(--green-950);
  background: var(--white);
}

/* =========================================================
   CONTACTO
   ========================================================= */

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 55px;
}

.contact-card {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid label > span {
  color: var(--green-950);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #ccd4cb;
  border-radius: 0;
  padding: 13px 14px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(40,93,52,.1);
}

.form-button {
  margin-top: 24px;
  border: 0;
}

.contact-info {
  padding: 10px 0;
}

.info-item {
  display: flex;
  gap: 16px;
  margin: 25px 0;
}

.info-item > i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
}

.info-item div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-item strong {
  color: var(--green-950);
  font-size: .78rem;
}

.info-item span {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
}

.map-wrap {
  margin-top: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  color: rgba(255,255,255,.63);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .9fr;
  gap: 70px;
  padding: 70px 0 55px;
}

.footer-logo {
  width: auto;
  height: 48px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
  display: block;
  max-width: 370px;
  margin: 0 0 10px;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  line-height: 1.7;
  text-decoration: none;
}

.footer-grid h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.4);
  font-size: .68rem;
}

/* =========================================================
   BOTÓN ARRIBA
   ========================================================= */

.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  color: var(--green-950);
  background: var(--gold-soft);
}

/* =========================================================
   HEADER FIJO PROPIO
   ========================================================= */

#site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

#site-header.is-fixed .topbar {
  display: none;
}

#header-spacer {
  display: none;
}

#header-spacer.active {
  display: block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

  .topbar-left span:nth-child(2) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    display: none;
    padding: 15px 24px 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
  }

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

  .nav-menu > a,
  .nav-dropdown-toggle {
    padding: 14px 0;
    text-align: left;
  }

  .nav-dropdown {
    height: auto;
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center !important;
  }

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

  .hero-visual {
    max-width: 550px;
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .principle:nth-child(2),
  .values-grid > div:nth-child(2) {
    border-right: 0;
  }

  .principle:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .values-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .repository-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {

  .container {
    width: min(100% - 30px, 1180px);
  }

  .topbar {
    display: none;
  }

  .main-nav {
    height: 72px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 65px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-image-frame {
    max-width: 100%;
  }

  .hero-note {
    left: 5px;
    bottom: 20px;
  }

  .section {
    padding: 75px 0;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 3rem;
  }

  .services-grid,
  .principles-grid,
  .values-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .principle,
  .values-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle {
    min-height: 390px;
  }

  .principle-image,
  .value-image {
    height: 155px;
  }

  .values-grid > div,
  .values-grid > article {
    min-height: 360px;
  }

  .principle:last-child,
  .values-grid > div:last-child {
    border-bottom: 0;
  }

  .contact-card {
    padding: 22px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }

  .back-top {
    right: 18px;
    bottom: 18px;
  }
}


/* Ajuste editorial: enfoque más suave y tarjetas independientes */
#enfoque.section-dark {
  background: #173c29;
}

#enfoque .section-heading {
  margin-bottom: 48px;
}

#enfoque .principles-grid {
  gap: 18px;
  border: 0;
}

#enfoque .principle {
  background: #1a452f;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(3,18,10,.13);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#enfoque .principle:hover {
  transform: translateY(-8px);
  border-color: rgba(223,200,137,.32);
  box-shadow: 0 24px 44px rgba(3,18,10,.24);
}

#valores .values-grid {
  gap: 18px;
  border: 0;
}

#valores .values-grid > article {
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(12,38,21,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#valores .values-grid > article:hover {
  transform: translateY(-8px);
  border-color: rgba(85,107,47,.22);
  box-shadow: 0 22px 42px rgba(12,38,21,.13);
}


/* =========================================================
   AJUSTE EDITORIAL — VALORES CON ICONOGRAFÍA 3D
   ========================================================= */

#valores .values-grid > article {
  min-height: 410px;
}

#valores .values-grid > article > .value-icon {
  position: relative;
  height: 180px;
  margin: 0 -24px 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(197,161,90,.20), transparent 29%),
    linear-gradient(145deg, #eef1e9 0%, #e4e9df 48%, #d7dfd4 100%);
  border-bottom: 1px solid rgba(15,48,25,.08);
}

#valores .value-icon::before,
#valores .value-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#valores .value-icon::before {
  width: 116px;
  height: 116px;
  background: rgba(255,255,255,.58);
  box-shadow:
    inset 10px 10px 18px rgba(255,255,255,.75),
    inset -10px -12px 18px rgba(12,38,21,.10),
    0 20px 30px rgba(12,38,21,.12);
  transform: translateY(2px);
}

#valores .value-icon::after {
  width: 92px;
  height: 92px;
  background: linear-gradient(145deg, #fbfaf4, #dfe7dd);
  box-shadow:
    inset 5px 5px 10px rgba(255,255,255,.9),
    inset -7px -8px 13px rgba(12,38,21,.12),
    0 9px 15px rgba(12,38,21,.12);
}

#valores .value-icon i {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #f4df9d;
  font-size: 2rem;
  background: linear-gradient(145deg, #1d5134, #0c2d1b);
  border: 1px solid rgba(223,200,137,.52);
  box-shadow:
    8px 9px 14px rgba(12,38,21,.22),
    inset 2px 2px 4px rgba(255,255,255,.16),
    inset -4px -5px 8px rgba(0,0,0,.20);
  transform: translateY(-3px) rotate(-1deg);
  transition: transform .35s ease, box-shadow .35s ease;
}

#valores .value-icon-orbit {
  position: absolute;
  z-index: 4;
  width: 132px;
  height: 54px;
  border: 1px solid rgba(197,161,90,.52);
  border-radius: 50%;
  transform: rotate(-22deg);
  pointer-events: none;
}

#valores .value-icon-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 5px;
  top: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 2px 5px rgba(12,38,21,.18);
}

#valores .value-icon-quality i {
  border-radius: 20px 14px 20px 14px;
}

#valores .value-icon-trust i {
  border-radius: 14px 20px 14px 20px;
}

#valores .value-icon-time i {
  border-radius: 50%;
}

#valores .value-icon-commitment i {
  border-radius: 18px;
}

#valores .values-grid > article:hover .value-icon i {
  transform: translateY(-8px) rotate(-2deg) scale(1.05);
  box-shadow:
    10px 14px 18px rgba(12,38,21,.25),
    inset 2px 2px 4px rgba(255,255,255,.18),
    inset -4px -5px 8px rgba(0,0,0,.20);
}

#valores .values-grid strong {
  font-family: "DM Serif Display", serif;
  font-size: 1.58rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--green-950);
}

#valores .values-grid span {
  margin-bottom: 15px;
}

#valores .values-grid p {
  margin-top: 11px;
}

@media (max-width: 767px) {
  #valores .values-grid > article {
    min-height: 0;
  }

  #valores .values-grid > article > .value-icon {
    height: 155px;
  }
}


/* =========================================================
   NUMERACIÓN UNIFICADA — INDICADORES DE TARJETA
   ========================================================= */
#enfoque .principle,
#valores .values-grid > article { position: relative; }

#enfoque .principle > .card-number,
#valores .values-grid > article > .card-number {
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(12,38,21,.10);
  border-radius: 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(3,18,10,.14);
}

/* Sobre tarjetas verde oscuro: indicador claro. */
#enfoque .principle > .card-number {
  color: var(--green-950);
  background: #fffdf7;
}

/* Sobre tarjetas claras: indicador verde. */
#valores .values-grid > article > .card-number {
  color: #fffdf7;
  background: var(--green-950);
  border-color: rgba(255,255,255,.08);
}

/* El número vive visualmente sobre la cabecera de cada tarjeta. */
#enfoque .principle > .card-number + i {
  margin-top: 26px;
}

/* Quitamos por completo el antiguo aro/orbita decorativo. */
#valores .value-icon-orbit,
#valores .value-icon-orbit::after {
  display: none !important;
}

/* Títulos de valores: mismo lenguaje editorial que los títulos superiores. */
#valores .values-grid strong {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 1.58rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--green-950);
}

@media (max-width: 767px) {
  #enfoque .principle > .card-number,
  #valores .values-grid > article > .card-number {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: .68rem;
  }
}


/* Los indicadores numericos de las tarjetas fueron retirados. */
.principle .card-number, .value-card .card-number { display: none !important; }
