:root {
  --wine: #822428;
  --wine-dark: #65191d;
  --peach: #e4a66c;
  --ink: #24201f;
  --charcoal: #2a2928;
  --paper: #fbfaf7;
  --cream: #f2ece5;
  --line: #d9cfc4;
  --max: 1220px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Alegreya", serif;
  font-size: 18px;
  line-height: 1.52
}

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

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em
}

h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.025em
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(130, 36, 40, .12)
}

.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 28px
}

.brand {
  width: 220px;
  flex: 0 0 auto
}

.brand img {
  width: 100%;
  display: block
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: .87rem;
  letter-spacing: .045em
}

.main-nav>a,
.nav-dropdown-toggle {
  padding: 10px 0;
  position: relative;
  white-space: nowrap
}

.main-nav>a:after,
.nav-dropdown-toggle:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: .25s
}

.main-nav>a:hover:after,
.main-nav>a.is-active:after,
.nav-dropdown-toggle:hover:after {
  width: 100%
}

.nav-dropdown {
  position: relative
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px
}

.nav-social-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine)
}

.nav-social-links {
  display: flex;
  gap: 8px
}

.nav-social-links a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid rgba(130, 36, 40, .35);
  border-radius: 50%;
  transition: .2s
}

.nav-social-links a:hover {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine)
}

.nav-social-links a:after {
  display: none
}

.nav-social-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.nav-social-links svg .play {
  fill: currentColor
}

.nav-dropdown-toggle {
  border: 0;
  background: none;
  color: inherit;
  letter-spacing: .045em;
  cursor: pointer
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 230px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 5px;
  text-transform: none;
  letter-spacing: 0
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: #f7f3eb
}

.hero-lines {
  position: absolute;
  inset: 0;
  background: linear-gradient(152deg, transparent 0 53%, rgba(228, 166, 108, .12) 53.2% 55.5%, transparent 55.7%), linear-gradient(25deg, transparent 0 72%, rgba(130, 36, 40, .055) 72.2% 74.2%, transparent 74.4%)
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  padding: 105px 0
}

.hero h1 {
  max-width: 1050px;
  color: var(--wine)
}

.hero-kicker {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  color: var(--wine);
  font-style: italic;
  margin: 28px 0 18px
}

.hero-text {
  max-width: 790px;
  font-size: 1.13rem;
  color: #4f4844
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  letter-spacing: .07em;
  font-size: .85rem;
  font-weight: 700;
  transition: .2s;
  margin-top: 18px
}

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

.button-primary:hover {
  background: var(--wine-dark)
}

.button-outline {
  border-color: var(--wine);
  color: var(--wine)
}

.button-outline:hover {
  background: var(--wine);
  color: #fff
}

.button-cta {
  background: var(--peach);
  color: #fff;
  border-radius: 10px;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 16px 32px
}

.button-cta:hover {
  background: #c58b43;
  color: #fff
}

.numbers .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.numbers .section-heading .button-cta {
  margin-top: 0;
  flex-shrink: 0
}

.approach-cta {
  text-align: center;
  margin-top: 8px
}

.approach-cta .button-cta {
  margin-top: 0
}

@media(max-width:991px) {
  .numbers .section-heading .button-cta {
    margin: 6px auto 0
  }
}

.profiles-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px
}

.approach {
  padding: 110px 0
}

.approach-intro {
  max-width: 880px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.16;
  color: var(--wine);
  margin-bottom: 64px
}

.approach-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: start
}

.approach-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 35px
}

.approach-copy p {
  font-size: 1.08rem;
  margin-bottom: 24px
}

.system-card {
  padding: 24px 30px 30px;
  border-left: 1px solid var(--line)
}

.venn {
  height: 430px;
  position: relative;
  max-width: 500px;
  margin: 0 auto
}

.circle {
  position: absolute;
  width: 245px;
  height: 245px;
  border: 2px solid;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  padding-top: 32px;
  font-weight: 700;
  background: rgba(255, 255, 255, .18)
}

.circle-top {
  left: 128px;
  top: 10px;
  border-color: var(--wine)
}

.circle-left {
  left: 42px;
  top: 150px;
  border-color: var(--peach);
  align-items: flex-end;
  padding-bottom: 32px;
  padding-top: 0
}

.circle-right {
  right: 42px;
  top: 150px;
  border-color: var(--charcoal);
  align-items: flex-end;
  padding-bottom: 32px;
  padding-top: 0
}

.zone {
  position: absolute;
  font-size: .9rem
}

.z1 {
  left: 80px;
  top: 257px
}

.z2 {
  left: 244px;
  top: 86px
}

.z3 {
  right: 80px;
  top: 257px
}

.z4 {
  left: 171px;
  top: 201px
}

.z5 {
  right: 171px;
  top: 201px
}

.z6 {
  left: 244px;
  top: 315px
}

.z7 {
  left: 244px;
  top: 226px;
  color: var(--wine)
}

.venn-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: .86rem;
  color: #5e5751
}

.venn-legend span {
  display: flex;
  gap: 8px
}

.venn-legend b {
  color: var(--wine)
}

.soft-section {
  background: var(--cream)
}

.principles {
  padding: 110px 0
}

.section-heading {
  max-width: 920px;
  margin-bottom: 55px
}

.section-heading>p {
  font-size: 1.15rem;
  color: #5a524d
}

.principles-list {
  border-top: 1px solid #cfc4b8
}

.principle {
  display: grid;
  grid-template-columns: .8fr 1.55fr;
  gap: 70px;
  padding: 38px 0;
  border-bottom: 1px solid #cfc4b8
}

.principle h3 {
  margin: 0;
  color: var(--wine);
  font-size: 1.65rem
}

.principle p {
  margin: 0;
  font-size: 1.05rem
}

.references-box {
  margin-top: 48px;
  padding: 34px 38px;
  border: 1px solid var(--wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(255, 255, 255, .35)
}

.references-box h3 {
  margin-bottom: 8px
}

.references-box p {
  margin: 0;
  max-width: 760px
}

.numbers {
  padding: 110px 0;
  background: var(--wine);
  color: #fff
}

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

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .3)
}

.fact {
  padding: 30px 22px;
  border-right: 1px solid rgba(255, 255, 255, .25)
}

.fact:last-child {
  border-right: 0
}

.fact p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, .88)
}

.quote {
  margin: 58px 0 0;
  padding: 0 0 0 32px;
  border-left: 2px solid var(--peach);
  max-width: 980px
}

.quote p {
  font-size: 1.85rem;
  line-height: 1.28;
  margin-bottom: 16px
}

.quote footer {
  color: rgba(255, 255, 255, .72);
  font-size: .95rem
}

.profiles {
  padding: 110px 0
}

.profiles-table {
  border-top: 1px solid var(--line)
}

.profiles-head,
.profile-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 50px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line)
}

.profiles-head {
  background: var(--charcoal);
  color: #fff;
  font-weight: 700
}

.profile-row strong {
  font-size: 1.08rem;
  color: var(--wine)
}

.profile-row span {
  color: #554e49
}

.profile-row:nth-child(odd) {
  background: #f6f1eb
}

.services {
  padding: 0 0 110px
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.service-panel {
  padding: 58px;
  background: var(--peach);
  min-height: 445px;
  display: flex;
  flex-direction: column
}

.service-panel h2 {
  font-size: clamp(2.7rem, 4vw, 3.7rem)
}

.service-panel p {
  font-size: 1.04rem
}

.service-name {
  font-size: .95rem !important;
  text-transform: none;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 20px
}

.service-panel .text-link {
  margin-top: auto;
  align-self: flex-start
}

.service-panel-dark {
  background: var(--charcoal);
  color: #fff
}

.service-panel-dark p {
  color: rgba(255, 255, 255, .82)
}

.text-link {
  display: inline-flex;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: var(--wine);
  font-weight: 700;
  letter-spacing: .035em
}

.light-link {
  color: #fff
}

.iso {
  padding: 110px 0
}

.iso-grid {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 80px;
  align-items: start
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0
}

.check-list li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #cfc5ba;
  position: relative
}

.check-list li:before {
  content: "•";
  position: absolute;
  left: 3px;
  color: var(--wine);
  font-weight: 700
}

.iso-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.iso-placeholder {
  min-height: 430px;
  border: 1px dashed #c7b9aa;
  background: rgba(255, 255, 255, .45)
}

.newsletter {
  padding: 70px 0;
  background: #efe6db
}

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

.newsletter-inner h2 {
  font-size: 3rem;
  margin-bottom: 8px
}

.newsletter-inner p {
  margin: 0;
  max-width: 760px
}

.site-footer {
  background: #1f1f1f;
  color: #fff;
  padding: 70px 0 22px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 55px
}

.footer-brand img {
  width: 270px
}

.site-footer h3 {
  font-size: 1rem;
  color: var(--peach);
  margin-bottom: 15px
}

.site-footer a {
  display: block;
  color: #ddd4ce;
  margin: 9px 0
}

.site-footer a:hover {
  color: #fff
}

.allies {
  padding-top: 27px
}

.footer-social {
  margin-top: 18px;
  color: #a9a29e;
  font-size: .92rem
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #3b3b3b;
  color: #99918c;
  font-size: .9rem
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  z-index: 40
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: currentColor
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

/* menú desplegable editorial inspirado en la interacción de referencia LGA */

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.nav-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform .22s ease
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  transform: rotate(225deg) translate(-1px, -1px)
}

/* ajustes de Home */

.hero {
  min-height: 620px
}

.hero-inner {
  max-width: 980px
}

.hero h1 {
  max-width: 860px;
  color: #77716d;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 1.02
}

.approach-intro {
  font-size: 1.18rem;
  line-height: 1.4;
  color: #716963;
  max-width: 820px;
  margin-bottom: 22px;
  font-weight: 600
}

.approach-copy h2 {
  font-size: clamp(2.25rem, 3.35vw, 3.35rem);
  line-height: 1.06;
  max-width: 650px
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 0
}

.principle {
  display: block;
  padding: 32px 28px;
  border: 1px solid #cfc4b8;
  background: rgba(255, 255, 255, .32)
}

.principle-mark {
  display: block;
  width: 38px;
  height: 4px;
  background: var(--peach);
  margin-bottom: 24px
}

.principle h3 {
  margin-bottom: 18px
}

.references-copy {
  display: flex;
  align-items: flex-start;
  gap: 20px
}

.references-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wine);
  font-size: 1.35rem
}

.numbers .section-heading {
  max-width: none
}

.numbers .section-heading h2 {
  font-size: clamp(2.6rem, 4vw, 4.15rem);
  white-space: nowrap
}

.fact {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.fact-number {
  display: block;
  color: #fff;
  font-size: clamp(3rem, 4.4vw, 5.1rem);
  font-weight: 500;
  line-height: .9;
  margin-bottom: 18px
}

.fact p {
  font-size: 1rem
}

.quote {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 0;
  border-left: 0;
  max-width: 1100px;
  align-items: start
}

.quote-mark {
  font-size: 9rem;
  line-height: .7;
  color: var(--peach);
  font-weight: 700
}

.quote-copy p {
  margin-top: 0
}

.profile-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 34px
}

.profile-filter {
  border: 1px solid var(--wine);
  background: transparent;
  color: var(--wine);
  padding: 11px 16px;
  cursor: pointer;
  transition: .2s
}

.profile-filter:hover,
.profile-filter.is-active {
  background: var(--wine);
  color: #fff
}

.profile-row.is-hidden {
  display: none
}

.service-panel {
  padding: 0 58px 58px;
  overflow: hidden
}

.service-image-placeholder {
  height: 245px;
  margin: 0 -58px 46px;
  background: linear-gradient(135deg, #efe7dc, #ddd0c2);
  display: grid;
  place-items: center;
  color: #8b7f76;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase
}

.service-image-placeholder-dark {
  background: linear-gradient(135deg, #454240, #343230);
  color: #a9a29e
}

.newsletter {
  background: var(--wine);
  color: #fff
}

.newsletter-inner p {
  color: rgba(255, 255, 255, .82)
}

.newsletter .button-primary {
  background: transparent;
  border-color: #fff;
  color: #fff
}

.newsletter .button-primary:hover {
  background: #fff;
  color: var(--wine)
}

.footer-grid {
  grid-template-columns: 1.35fr .8fr 1fr
}

.footer-contact .follow-title {
  margin-top: 28px
}

.footer-social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.footer-social-links a {
  margin: 0
}

.allies-block {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid #3b3b3b
}

.allies-heading {
  display: flex;
  align-items: baseline;
  gap: 16px
}

.allies-heading h3 {
  margin: 0
}

.allies-heading p {
  margin: 0;
  color: #99918c;
  font-size: .9rem
}

.ally-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px
}

.ally-banners a {
  margin: 0;
  border: 1px solid #45413f;
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #262524;
  color: #ddd4ce
}

.ally-banners a:hover {
  border-color: var(--peach);
  color: #fff
}

/* ajustes de composición solicitados */

.principles-list {
  display: block;
  border-top: 1px solid #cfc4b8
}

.principle {
  display: grid;
  grid-template-columns: 72px .72fr 1.55fr;
  gap: 28px;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid #cfc4b8;
  background: transparent;
  align-items: start
}

.principle-mark {
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px dashed var(--peach);
  background: transparent;
  position: relative
}

.principle-mark:before,
.principle-mark:after {
  content: "";
  position: absolute;
  background: var(--peach);
  opacity: .7
}

.principle-mark:before {
  width: 18px;
  height: 1px;
  left: 14px;
  top: 23px
}

.principle-mark:after {
  width: 1px;
  height: 18px;
  left: 23px;
  top: 14px
}

.principle h3 {
  margin: 0;
  font-size: 1.65rem
}

.principle p {
  margin: 0
}

/* refinamientos solicitados */

.hero h1 {
  color: var(--ink)
}

.approach-intro {
  color: var(--wine);
  margin: 0 0 18px;
  max-width: 720px;
  font-weight: 600
}

.svg-icon-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed currentColor;
  background: transparent;
  color: var(--peach);
  font-family: Arial, sans-serif;
  font-size: .58rem;
  letter-spacing: .08em;
  line-height: 1
}

.svg-icon-placeholder span {
  opacity: .8
}

.principle-mark {
  width: 48px;
  height: 48px;
  margin: 0;
  color: var(--peach)
}

.principle-mark:before,
.principle-mark:after {
  display: none
}

.references-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 0;
  color: var(--wine)
}

.fact {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 34px
}

.fact-number {
  min-height: 1em;
  margin-bottom: 18px
}

.fact p {
  margin: 0;
  align-self: flex-start
}

.service-panel h2 {
  font-size: clamp(2.15rem, 3.15vw, 3.15rem);
  line-height: 1.05
}

.check-list li:before {
  content: "›";
  left: 3px;
  top: 9px;
  color: var(--wine);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700
}

.newsletter-copy {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 850px
}

.newsletter-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  color: var(--peach);
  margin-top: 4px
}

.footer-social-links {
  align-items: start
}

.footer-social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ddd4ce;
  border: 1px solid #45413f;
  border-radius: 50%;
  transition: .2s
}

.footer-social-links a:hover {
  color: #fff;
  border-color: var(--peach)
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.footer-social-links svg path:not(.play) {
  fill: none
}

.footer-social-links svg .play {
  fill: currentColor;
  stroke: none
}

.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
}

.allies-heading {
  display: block
}

/* assets, counters e ISO */

.principles .section-heading p {
  max-width: 980px;
  width: 100%;
}

.svg-icon {
  display: block;
  background-color: var(--wine);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-consultoria {
  -webkit-mask-image: url('../img/home/consultoria.svg');
  mask-image: url('../img/home/consultoria.svg')
}

.icon-neutralidad {
  -webkit-mask-image: url('../img/home/neutralidad.svg');
  mask-image: url('../img/home/neutralidad.svg')
}

.icon-confidencial {
  -webkit-mask-image: url('../img/home/confidencial.svg');
  mask-image: url('../img/home/confidencial.svg')
}

.icon-referencia {
  -webkit-mask-image: url('../img/home/referencia.svg');
  mask-image: url('../img/home/referencia.svg')
}

.icon-newsletter {
  -webkit-mask-image: url('../img/comun/newsletter.svg');
  mask-image: url('../img/comun/newsletter.svg')
}

.principle-mark {
  border: 0 !important;
  background-color: var(--wine) !important;
}

.references-icon {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--wine);
}

.newsletter-icon {
  background-color: var(--peach);
}

.fact {
  justify-content: flex-start !important;
  padding-top: 42px !important;
}

.fact-number {
  min-height: 1em;
}

.iso-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.iso-visual img {
  display: block;
  width: min(100%, 520px);
  height: auto;
}

.iso-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.iso-caption strong {
  font-size: 1.4rem;
  color: var(--wine);
  margin-bottom: 5px;
}

.iso-caption span {
  font-size: 1rem;
}

/* imágenes, iconos visibles e ISO nivelado */

.principle-mark {
  width: 54px !important;
  height: 54px !important;
  margin-bottom: 20px !important;
  background-color: var(--wine) !important;
}

.references-icon {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
}

.newsletter-icon {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  background-color: var(--peach) !important;
}

.service-image {
  height: 245px;
  margin: 0 -58px 46px;
  overflow: hidden;
  background: #ddd0c2;
}

.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.iso-grid {
  align-items: start;
}

.iso-visual {
  align-self: start;
}

.iso-actions-visual {
  justify-content: center;
  margin-top: 2px;
}

.iso-actions-visual .button {
  margin-top: 0;
}

/* SVG icons rendered as images to avoid mask/local-browser issues */

.icon-img {
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.principle-mark.icon-img {
  width: 54px !important;
  height: 54px !important;
  margin: 0 0 20px !important;
  border: 0 !important;
}

.references-icon.icon-img {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.footer-logo img {
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.newsletter-icon-img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
  margin-top: 4px
}

.footer-grid {
  grid-template-columns: 1.25fr .8fr 1.15fr .7fr;
  align-items: start
}

.footer-follow h3 {
  margin-bottom: 15px
}

/* hero bordó + motion */

.hero {
  background: var(--wine);
  color: #fff
}

.hero-lines {
  background: linear-gradient(152deg, transparent 0 53%, rgba(228, 166, 108, .18) 53.2% 55.5%, transparent 55.7%), linear-gradient(25deg, transparent 0 72%, rgba(255, 255, 255, .07) 72.2% 74.2%, transparent 74.4%);
  animation: heroLines 10s ease-in-out infinite alternate
}

.hero h1 {
  color: #fff
}

.hero-kicker {
  color: var(--peach)
}

.hero-text {
  color: rgba(255, 255, 255, .82)
}

.hero .button-primary {
  background: #fff;
  color: var(--wine);
  border-color: #fff
}

.hero .button-primary:hover {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--wine-dark);
  transform: translateY(-2px)
}

.hero-inner.reveal.is-visible h1,
.hero-inner.reveal.is-visible .hero-kicker,
.hero-inner.reveal.is-visible .hero-text,
.hero-inner.reveal.is-visible .button {
  animation: heroIn .75s cubic-bezier(.2, .7, .2, 1) both
}

.hero-inner.reveal.is-visible .hero-kicker {
  animation-delay: .12s
}

.hero-inner.reveal.is-visible .hero-text {
  animation-delay: .22s
}

.hero-inner.reveal.is-visible .button {
  animation-delay: .32s
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes heroLines {
  from {
    background-position: 0 0, 0 0
  }

  to {
    background-position: 35px -18px, -25px 20px
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1)
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.principle.reveal:nth-child(2) {
  transition-delay: .09s
}

.principle.reveal:nth-child(3) {
  transition-delay: .18s
}

.fact.reveal:nth-child(2) {
  transition-delay: .07s
}

.fact.reveal:nth-child(3) {
  transition-delay: .14s
}

.fact.reveal:nth-child(4) {
  transition-delay: .21s
}

.fact.reveal:nth-child(5) {
  transition-delay: .28s
}

.principle-mark.icon-img,
.references-icon.icon-img,
.newsletter-icon-img {
  transition: transform .45s ease
}

.principle:hover .principle-mark.icon-img,
.references-box:hover .references-icon.icon-img,
.newsletter-inner:hover .newsletter-icon-img {
  transform: translateY(-4px) scale(1.06)
}

.service-image img {
  transition: transform .8s ease
}

.service-panel:hover .service-image img {
  transform: scale(1.035)
}

.quote-mark {
  transform-origin: top left;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.quote.is-visible .quote-mark {
  transform: scale(1)
}

.profile-row {
  transition: opacity .28s ease, transform .28s ease, background-color .2s ease
}

.profile-row.is-hidden {
  display: none
}

.profile-row:not(.is-hidden) {
  animation: profileIn .35s ease both
}

@keyframes profileIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.button {
  transition: background .25s, color .25s, border-color .25s, transform .25s
}

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

.floating-whatsapp {
  background: #25D366;
  color: #fff
}

.floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.04)
}

.floating-whatsapp {
  transition: background .25s, transform .25s
}

/* editorial hero, unified interactions and richer motion */

.hero {
  min-height: 690px;
  background: var(--wine);
  isolation: isolate
}

.hero-graphic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none
}

.hero-orbit {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  transform: rotate(-24deg)
}

.orbit-a {
  width: 720px;
  height: 720px;
  right: -170px;
  top: -245px
}

.orbit-b {
  width: 510px;
  height: 510px;
  right: 80px;
  top: 175px;
  border-color: rgba(228, 166, 108, .22)
}

.hero-dot {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: 305px;
  top: 290px;
  background: var(--peach);
  opacity: .88;
  box-shadow: 0 0 0 30px rgba(228, 166, 108, .06)
}

.hero-inner {
  max-width: var(--max);
  padding: 100px 0 82px
}

.hero-title-wrap {
  max-width: 1000px;
  overflow: hidden
}

.hero h1 {
  font-size: clamp(3.4rem, 5.9vw, 6.25rem);
  line-height: .94;
  letter-spacing: -.04em;
  margin-bottom: 72px
}

.hero-lower {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, .25);
  padding-top: 28px;
  max-width: 1050px
}

.hero-kicker {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  margin: 0;
  color: var(--peach);
  line-height: 1.15
}

.hero-detail {
  max-width: 610px
}

.hero-text {
  margin-bottom: 20px
}

.hero-detail .button {
  margin-top: 4px
}

.hero-inner.reveal.is-visible .hero-title-wrap {
  animation: heroClip .9s cubic-bezier(.2, .75, .2, 1) both
}

.hero-inner.reveal.is-visible .hero-lower {
  animation: heroIn .8s .18s cubic-bezier(.2, .7, .2, 1) both
}

.hero-graphic {
  animation: heroFloat 12s ease-in-out infinite alternate
}

@keyframes heroClip {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    clip-path: inset(0);
    transform: none
  }
}

@keyframes heroFloat {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-22px, 15px, 0)
  }
}

.fact-number {
  color: var(--peach) !important
}

.button,
.profile-filter,
.text-link {
  text-transform: uppercase
}

.button,
.profile-filter,
.text-link,
.ally-banners a {
  position: relative;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease
}

.button:hover,
.profile-filter:hover,
.text-link:hover,
.ally-banners a:hover {
  transform: translateY(-3px)
}

.button:hover {
  box-shadow: 0 9px 22px rgba(36, 32, 31, .12)
}

.service-panel .text-link {
  padding: 9px 0 6px
}

.service-panel .text-link:hover {
  letter-spacing: .055em
}

.profile-filter {
  font-size: .78rem;
  letter-spacing: .045em;
  font-weight: 700
}

.profile-filter.is-active {
  box-shadow: inset 0 -3px 0 var(--peach)
}

.principle {
  transition: background-color .3s ease, transform .3s ease
}

.principle:hover {
  background: rgba(255, 255, 255, .55);
  transform: translateX(5px)
}

.principle .icon-img {
  transition: transform .45s cubic-bezier(.2, .8, .2, 1)
}

.principle:hover .icon-img {
  transform: translateY(-3px) rotate(-4deg) scale(1.06)
}

.approach-copy h2,
.section-heading h2 {
  background: linear-gradient(currentColor, currentColor) left bottom/0 1px no-repeat;
  transition: background-size .8s ease
}

.approach-copy.is-visible h2,
.section-heading.is-visible h2 {
  background-size: 72px 1px;
  padding-bottom: 14px
}

.circle {
  transition: transform .6s cubic-bezier(.2, .8, .2, 1)
}

.system-card.is-visible .circle-top {
  animation: circleIn .8s .05s both
}

.system-card.is-visible .circle-left {
  animation: circleIn .8s .15s both
}

.system-card.is-visible .circle-right {
  animation: circleIn .8s .25s both
}

@keyframes circleIn {
  from {
    opacity: 0;
    transform: scale(.82)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.service-image {
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s cubic-bezier(.2, .75, .2, 1)
}

.service-panel.is-visible .service-image {
  clip-path: inset(0)
}

.floating-whatsapp {
  background: transparent !important;
  box-shadow: none;
  width: 62px;
  height: 62px
}

.floating-whatsapp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain
}

.floating-whatsapp:hover {
  background: transparent !important;
  transform: translateY(-4px) scale(1.055)
}

/* principles hover: icon motion only */

.principle:hover {
  background: transparent;
  transform: none
}

.principle:hover .icon-img {
  transform: translateY(-4px) rotate(-4deg) scale(1.07);
  filter: sepia(1) saturate(1.6) hue-rotate(338deg) brightness(1.18)
}

/* FAQ internal */

.faq-hero {
  background: var(--wine);
  color: #fff;
  padding: 92px 0 76px;
  overflow: hidden;
  position: relative
}

.faq-hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(228, 166, 108, .25);
  border-radius: 50%;
  right: -80px;
  top: -170px
}

.faq-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.3rem, 6vw, 6rem)
}

.faq-section {
  padding: 105px 0 120px
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--line)
}

.faq-item {
  border-bottom: 1px solid var(--line)
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 28px;
  align-items: center;
  text-align: left;
  padding: 28px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2
}

.faq-question:hover {
  color: var(--wine)
}

.faq-chevron {
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(45deg);
  justify-self: center;
  transition: transform .3s ease
}

.faq-item.is-open .faq-chevron {
  transform: rotate(225deg)
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1)
}

.faq-answer>div {
  overflow: hidden
}

.faq-answer p {
  max-width: 850px;
  margin: 0;
  padding: 0 64px 28px 0;
  color: #554e49;
  font-size: 1.08rem
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr
}

/* FAQ redesign */

.faq-hero {
  padding: 58px 0 54px;
  background: var(--wine);
  min-height: 0
}

.faq-hero:before {
  content: "FAQ";
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .035);
  letter-spacing: -.06em;
  pointer-events: none
}

.faq-hero:after {
  width: 250px;
  height: 250px;
  right: -55px;
  top: -125px;
  border-color: rgba(228, 166, 108, .32)
}

.faq-hero .container {
  position: relative;
  z-index: 1
}

.faq-hero h1 {
  font-size: clamp(2.45rem, 4.4vw, 4.4rem);
  line-height: 1;
  margin: 0;
  max-width: 760px;
  letter-spacing: -.025em
}

.faq-section {
  padding: 78px 0 105px;
  background: #fbf8f4
}

.faq-list {
  max-width: 1120px;
  border-top: 0;
  display: grid;
  gap: 14px
}

.faq-item {
  border: 1px solid #ded3c7;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease
}

.faq-item:hover {
  border-color: rgba(130, 36, 40, .42);
  box-shadow: 0 12px 30px rgba(64, 47, 39, .07);
  transform: translateY(-2px)
}

.faq-item.is-open {
  border-color: rgba(130, 36, 40, .52);
  box-shadow: 0 16px 36px rgba(64, 47, 39, .08)
}

.faq-question {
  padding: 25px 28px;
  grid-template-columns: 1fr 44px;
  gap: 24px;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 700;
  transition: color .22s ease, background-color .22s ease
}

.faq-question:hover {
  color: var(--wine);
  background: rgba(228, 166, 108, .055)
}

.faq-item.is-open .faq-question {
  color: var(--wine);
  background: rgba(228, 166, 108, .075)
}

.faq-chevron {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(130, 36, 40, .32);
  border-radius: 50%;
  position: relative;
  transform: none;
  transition: background .25s ease, border-color .25s ease, transform .3s ease
}

.faq-chevron:before,
.faq-chevron:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--wine);
  transform: translate(-50%, -50%);
  transition: transform .3s ease
}

.faq-chevron:after {
  transform: translate(-50%, -50%) rotate(90deg)
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--wine);
  border-color: var(--wine)
}

.faq-item.is-open .faq-chevron:before,
.faq-item.is-open .faq-chevron:after {
  background: #fff
}

.faq-item.is-open .faq-chevron:after {
  transform: translate(-50%, -50%) rotate(0)
}

.faq-answer {
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .42s cubic-bezier(.2, .7, .2, 1), opacity .3s ease
}

.faq-answer>div {
  overflow: hidden;
  width: 100%
}

.faq-answer p {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 4px 86px 30px 28px;
  color: #554e49;
  font-size: 1.08rem;
  line-height: 1.65
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1
}

/* FINAL — cita: aprovechar el ancho real disponible */

.numbers .quote {
  max-width: none;
  width: 100%;
  grid-template-columns: 100px minmax(0, 1fr)
}

.numbers .quote-copy {
  min-width: 0;
  width: 100%
}

.numbers .quote-copy p {
  max-width: none;
  width: 100%
}

/* Contacto */

.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--wine);
  color: #fff;
  padding: 70px 0 64px
}

.contact-hero:before {
  content: "CONTACT";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .035);
  letter-spacing: -.06em;
  pointer-events: none
}

.contact-hero:after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(228, 166, 108, .34);
  border-radius: 50%;
  right: -70px;
  top: -145px
}

.contact-hero .container {
  position: relative;
  z-index: 1
}

.contact-eyebrow {
  display: block;
  color: var(--peach);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 13px
}

.contact-hero h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  line-height: .95;
  margin: 0 0 18px;
  color: #fff;
  letter-spacing: -.025em
}

.contact-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem)
}

.contact-section {
  padding: 92px 0 110px;
  background: #fbf8f4
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: start
}

.contact-form-wrap,
.contact-direct {
  background: #fff;
  border: 1px solid #ded3c7;
  border-radius: 16px;
  padding: 38px 40px;
  box-shadow: 0 16px 40px rgba(64, 47, 39, .055)
}

.contact-section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px
}

.contact-section-heading>span {
  color: var(--peach);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em
}

.contact-section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
  line-height: 1.05
}

.contact-form {
  display: grid;
  gap: 24px
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.contact-form label {
  display: grid;
  gap: 8px
}

.contact-form label>span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #655c56
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #cfc4b8;
  background: #fbf8f4;
  padding: 14px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease
}

.contact-form textarea {
  resize: vertical;
  min-height: 145px
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  background: #fff;
  box-shadow: inset 0 -2px 0 var(--wine)
}

.contact-form .button {
  justify-self: start;
  margin-top: 4px
}

.contact-direct {
  position: sticky;
  top: 110px
}

.contact-direct>p {
  font-size: 1.15rem;
  color: #655c56;
  margin: -4px 0 28px
}

.contact-direct-link {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #e5ddd5;
  color: var(--ink) !important;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s ease, transform .25s ease
}

.contact-direct-link:hover {
  color: var(--wine) !important;
  transform: translateX(4px)
}

.contact-direct-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5ece5;
  color: var(--wine);
  font-weight: 700;
  font-size: 1.15rem
}

.whatsapp-mini {
  background: #e8f7ed;
  color: #1d9c50
}

.contact-direct-link small {
  display: block;
  color: #9a8f87;
  font-size: .68rem;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 3px
}

.contact-whatsapp-button {
  margin-top: 28px;
  width: 100%;
  text-align: center;
  justify-content: center
}

/* Contacto v20 */

.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--wine);
  color: #fff;
  padding: 64px 0 58px
}

.contact-hero:before {
  content: none !important
}

.contact-hero:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(228, 166, 108, .34);
  border-radius: 50%;
  right: -60px;
  top: -120px
}

.contact-hero .container {
  position: relative;
  z-index: 1
}

.contact-hero h1 {
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -.02em
}

.contact-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem)
}

.contact-section {
  padding: 90px 0 108px;
  background: #fbf8f4
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .72fr);
  gap: 72px;
  align-items: start
}

.contact-form-wrap,
.contact-direct {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none
}

.contact-form {
  display: grid;
  gap: 28px
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.contact-form label {
  display: grid;
  gap: 9px
}

.contact-form label>span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #655c56
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8cec4;
  background: #fff;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 1.03rem;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(130, 36, 40, .08)
}

.contact-form .button {
  justify-self: start;
  margin-top: 2px
}

.contact-direct {
  position: static;
  border-left: 1px solid #d9cec4;
  padding-left: 38px;
  padding-top: 2px
}

.contact-direct-link {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #ded5cc;
  color: var(--ink) !important;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s ease, transform .25s ease
}

.contact-direct-link:first-child {
  border-top: 1px solid #ded5cc
}

.contact-direct-link:hover {
  color: var(--wine) !important;
  transform: translateX(4px)
}

.contact-direct-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e5dc;
  color: var(--wine);
  font-weight: 700;
  font-size: 1.05rem
}

.whatsapp-mini {
  background: #e8f7ed;
  color: #1d9c50
}

/* movimiento sutil en headers internos + icono WhatsApp contacto */

.faq-hero,
.contact-hero {
  isolation: isolate
}

.faq-hero .container,
.contact-hero .container {
  position: relative;
  z-index: 4
}

/* Círculos dorados: dos capas extra además del aro existente */

.faq-hero {
  background-image:
    radial-gradient(circle at 76% 30%, rgba(228, 166, 108, .18) 0 16px, transparent 17px),
    radial-gradient(circle at 87% 72%, rgba(228, 166, 108, .10) 0 34px, transparent 35px)
}

.contact-hero {
  background-image:
    radial-gradient(circle at 73% 28%, rgba(228, 166, 108, .18) 0 15px, transparent 16px),
    radial-gradient(circle at 86% 72%, rgba(228, 166, 108, .10) 0 32px, transparent 33px)
}

.faq-hero:after,
.contact-hero:after {
  z-index: 1;
  border-width: 2px;
  animation: internalRingFloat 8s ease-in-out infinite alternate;
  will-change: transform;
}

.faq-hero:before {
  z-index: 2
}

/* tercer círculo, lleno y pequeño, creado sin sumar markup */

.faq-hero .container:after,
.contact-hero .container:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--peach);
  opacity: .72;
  right: 18%;
  top: -18px;
  pointer-events: none;
  animation: internalDotFloat 6.5s ease-in-out infinite alternate;
}

.contact-hero .container:after {
  right: 15%;
  top: -10px;
  width: 16px;
  height: 16px;
  opacity: .68
}

@keyframes internalRingFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1)
  }

  to {
    transform: translate3d(-18px, 16px, 0) scale(1.045)
  }
}

@keyframes internalDotFloat {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(18px, 12px, 0)
  }
}

.whatsapp-mini {
  padding: 0;
  background: transparent !important;
  overflow: hidden
}

.whatsapp-mini img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain
}

/* links de consulta + headers internos unificados */

.faq-hero:before {
  content: none !important
}

.faq-hero,
.contact-hero {
  min-height: 236px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px
}

.faq-hero .container,
.contact-hero .container {
  width: 100%
}

/* fix internal hero alignment + WhatsApp SVG sizing */

.faq-hero .container,
.contact-hero .container {
  width: min(calc(100% - 56px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.floating-whatsapp {
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.floating-whatsapp img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.whatsapp-mini {
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  border-radius: 50%;
  overflow: hidden;
}

.whatsapp-mini img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

/* icono de mail provisto por cliente */

.contact-direct-icon.mail-svg img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

/* mail: usar solamente el SVG, sin círculo/fondo adicional */

.contact-direct-icon.mail-svg {
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible;
}

.contact-direct-icon.mail-svg img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

/* Consultoría internas */

.consulting-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--wine);
  color: #fff;
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 62px 0;
  background-image: radial-gradient(circle at 83% 30%, rgba(228, 166, 108, .16) 0 18px, transparent 19px)
}

.consulting-hero:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(228, 166, 108, .34);
  border-radius: 50%;
  right: -70px;
  top: -155px;
  animation: internalRingFloat 8s ease-in-out infinite alternate;
  z-index: -1
}

.consulting-hero .container {
  position: relative;
  z-index: 2
}

.consulting-hero .container:after {
  content: "";
  position: absolute;
  right: 16%;
  top: -8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--peach);
  opacity: .72;
  animation: internalDotFloat 6.5s ease-in-out infinite alternate
}

.consulting-eyebrow {
  display: block;
  color: var(--peach);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .17em;
  margin-bottom: 13px
}

.consulting-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .95;
  margin: 0 0 18px;
  color: #fff;
  letter-spacing: -.025em
}

.consulting-hero p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.35
}

.consulting-page {
  background: #fbf8f4;
  padding: 96px 0 112px
}

.consulting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr);
  gap: 88px;
  align-items: start
}

.consulting-copy {
  max-width: 800px
}

.consulting-copy p {
  font-size: 1.12rem;
  line-height: 1.68;
  margin-bottom: 28px
}

.consulting-copy .button {
  margin-top: 10px
}

.stage-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 34px;
  border-top: 1px solid #d9cec4
}

.stage-list li {
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid #d9cec4;
  position: relative
}

.stage-list li:before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--wine);
  font-weight: 700
}

.consulting-aside {
  position: sticky;
  top: 130px;
  display: grid;
  place-items: center;
  min-height: 370px
}

.consulting-orbit {
  width: 310px;
  height: 310px;
  border: 1px solid rgba(130, 36, 40, .28);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  position: relative
}

.consulting-orbit:before {
  content: "";
  position: absolute;
  width: 215px;
  height: 215px;
  border: 1px solid rgba(228, 166, 108, .75);
  border-radius: 50%
}

.consulting-orbit span {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  letter-spacing: .08em
}

.consulting-orbit span:nth-child(2) {
  color: var(--peach);
  font-size: 2.3rem;
  line-height: 1
}

.consulting-layout-media {
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr)
}

.consulting-image {
  position: sticky;
  top: 130px;
  overflow: hidden
}

.consulting-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .8s ease
}

.consulting-image:hover img {
  transform: scale(1.025)
}

.consulting-subsection {
  margin-top: 92px
}

.consulting-subsection h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.5rem);
  color: var(--wine);
  margin-bottom: 34px
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d9cec4;
  border: 1px solid #d9cec4
}

.audience-grid>div {
  background: #fff;
  padding: 34px 30px;
  font-size: 1.06rem;
  line-height: 1.55;
  position: relative
}

.audience-grid>div:before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--peach);
  margin-bottom: 22px
}

.protocol-form-section {
  margin-top: 76px;
  padding-top: 64px;
  border-top: 1px solid #d9cec4
}

.protocol-form {
  max-width: 900px
}

.contact-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8cec4;
  background: #fff;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 1.03rem;
  outline: none
}

.contact-form select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(130, 36, 40, .08)
}

.organisms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #d9cec4;
  border: 1px solid #d9cec4
}

.organisms-grid article {
  background: #fff;
  padding: 32px 30px
}

.organisms-grid h3 {
  color: var(--wine);
  font-size: 1.55rem;
  margin-bottom: 14px
}

.organisms-grid p {
  margin: 0;
  line-height: 1.6
}

.organism-wide {
  grid-column: 1/-1
}

.government-highlight {
  margin: 92px 0 0;
  background: var(--wine);
  color: #fff;
  padding: 70px 0
}

.government-highlight h2 {
  color: var(--peach);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  margin-bottom: 22px
}

.government-highlight p {
  max-width: 1040px;
  font-size: 1.16rem;
  line-height: 1.68;
  margin: 0
}

.government-ending {
  padding-top: 76px
}

.government-ending p {
  max-width: 980px;
  font-size: 1.12rem;
  line-height: 1.68;
  margin-bottom: 32px
}

/* Consultoría: estructura unificada + recursos dinámicos */

.consulting-layout-media {
  align-items: start
}

.consulting-layout-media .consulting-copy {
  max-width: none
}

.consulting-image,
.consulting-image-placeholder {
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(64, 47, 39, .08)
}

.consulting-image {
  background: #eee4d8
}

.consulting-image img {
  border-radius: 16px
}

.consulting-image-placeholder {
  aspect-ratio: 4/3;
  min-height: 0;
  background: linear-gradient(145deg, #efe5d9 0%, #e4d4c4 100%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(130, 36, 40, .13);
  overflow: hidden;
  position: sticky;
  top: 130px
}

.consulting-image-placeholder:before,
.consulting-image-placeholder:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(130, 36, 40, .16);
  border-radius: 50%;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1)
}

.consulting-image-placeholder:before {
  width: 72%;
  aspect-ratio: 1;
  right: -28%;
  top: -35%
}

.consulting-image-placeholder:after {
  width: 42%;
  aspect-ratio: 1;
  left: -14%;
  bottom: -25%;
  border-color: rgba(228, 166, 108, .55)
}

.image-placeholder-mark {
  width: 94px;
  height: 94px;
  position: relative;
  z-index: 1;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1)
}

.image-placeholder-mark span {
  position: absolute;
  border: 2px solid var(--wine);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  opacity: .78
}

.image-placeholder-mark span:nth-child(1) {
  left: 18px;
  top: 0
}

.image-placeholder-mark span:nth-child(2) {
  left: 0;
  top: 34px;
  border-color: var(--peach)
}

.image-placeholder-mark span:nth-child(3) {
  right: 0;
  top: 34px
}

.consulting-image-placeholder:hover .image-placeholder-mark {
  transform: rotate(8deg) scale(1.07)
}

.consulting-image-placeholder:hover:before {
  transform: translate(-10px, 12px)
}

.consulting-image-placeholder:hover:after {
  transform: translate(12px, -8px)
}

/* Listas y tarjetas: íconos geométricos, sin sumar copy */

.stage-list {
  counter-reset: stage
}

.stage-list li {
  counter-increment: stage;
  padding-left: 48px;
  transition: padding-left .25s ease, color .25s ease, background-color .25s ease
}

.stage-list li:before {
  content: counter(stage);
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  border: 1px solid rgba(130, 36, 40, .35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  line-height: 1;
  color: var(--wine);
  background: #fff
}

.stage-list li:hover {
  padding-left: 54px;
  color: var(--wine);
  background: rgba(228, 166, 108, .06)
}

.audience-grid>div,
.organisms-grid article {
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
  overflow: hidden
}

.audience-grid>div:before {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(130, 36, 40, .28);
  border-radius: 50%;
  background: transparent;
  margin-bottom: 20px
}

.audience-grid>div:after {
  content: "";
  position: absolute;
  left: 43px;
  top: 47px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(-45deg)
}

.audience-grid>div:hover,
.organisms-grid article:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(64, 47, 39, .09);
  background: #fffdfb
}

.organisms-grid article {
  position: relative;
  padding-top: 88px
}

.organisms-grid article:before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(130, 36, 40, .3);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--peach) 0 4px, transparent 5px)
}

.organisms-grid article:after {
  content: "";
  position: absolute;
  left: 48px;
  top: 49px;
  width: 28px;
  height: 1px;
  background: rgba(130, 36, 40, .42);
  transform-origin: left center;
  transform: rotate(-28deg)
}

.organisms-grid article:nth-child(even):after {
  transform: rotate(28deg)
}

.organisms-grid article:hover:before {
  animation: consultIconPulse .7s ease
}

@keyframes consultIconPulse {
  50% {
    transform: scale(1.12);
    border-color: var(--peach)
  }
}

/* El formulario conserva su función, pero comparte el ritmo visual de las internas */

.protocol-form-section {
  position: relative
}

.protocol-form-section:before {
  content: "";
  position: absolute;
  right: 4%;
  top: 38px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(228, 166, 108, .5);
  border-radius: 50%;
  pointer-events: none
}

.government-highlight {
  position: relative;
  overflow: hidden
}

.government-highlight:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(228, 166, 108, .2);
  border-radius: 50%;
  right: -90px;
  top: -120px;
  animation: internalRingFloat 9s ease-in-out infinite alternate
}

/* íconos SVG reales + placeholder Empresa & Familia */

.consult-card-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 0 20px;
  transition: transform .35s ease, filter .35s ease
}

.audience-grid>div:before,
.audience-grid>div:after,
.organisms-grid article:before,
.organisms-grid article:after {
  display: none !important;
  content: none !important
}

.audience-grid>div {
  padding: 32px 30px
}

.audience-grid>div span {
  display: block
}

.audience-grid>div:hover .consult-card-icon,
.organisms-grid article:hover .consult-card-icon {
  transform: translateY(-4px) scale(1.06)
}

.organisms-grid article {
  padding: 30px
}

.organisms-grid .consult-card-icon {
  margin-bottom: 18px
}

/* ===== Equipo ===== */

.team-menu-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
}

.team-intro {
  padding: 72px 0 48px;
  background: #f8f5ef;
}

.team-intro p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.45;
  color: #2b2927;
}

.team-section {
  padding: 20px 0 100px;
  background: #f8f5ef;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.team-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.team-photo-placeholder {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ece5da, #ddd2c2);
  border-radius: 2px;
}

.team-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: auto -18% -28% auto;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(176, 139, 68, .42);
  border-radius: 50%;
  transition: transform .65s ease;
}

.team-photo-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .55;
}

.team-photo-mark::before {
  content: '';
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1.5px solid #7d1f2b;
  transform: translateY(-30px);
}

.team-photo-mark span:first-child {
  position: absolute;
  width: 150px;
  height: 105px;
  border: 1.5px solid #7d1f2b;
  border-radius: 80px 80px 0 0;
  transform: translateY(78px);
  border-bottom: 0;
}

.team-card-info {
  padding: 18px 4px 0;
  border-top: 1px solid transparent;
}

.team-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  font-weight: 600;
  transition: color .3s ease;
}

.team-card:hover .team-photo-placeholder::after {
  transform: scale(1.15) translate(-6px, -6px);
}

.team-card:hover h2 {
  color: #8b6a2f;
}

.team-card:hover .team-photo-mark {
  transform: scale(1.025);
}

.team-photo-mark {
  transition: transform .45s ease;
}

/* Equipo: retratos circulares + modal reutilizable */

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 34px
}

.team-card {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  text-align: center;
  cursor: pointer;
  width: 100%
}

.team-photo-placeholder,
.team-photo {
  width: min(100%, 270px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #ece5da, #ddd2c2);
  border: 1px solid rgba(130, 36, 40, .10);
  transition: transform .38s ease, box-shadow .38s ease, border-color .38s ease
}

.team-photo {
  display: block;
  object-fit: cover;
  object-position: center 28%
}

.team-card-info {
  padding: 20px 4px 0;
  border: 0
}

.team-card h2 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem)
}

.team-card:hover .team-photo-placeholder,
.team-card:hover .team-photo {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 34px rgba(64, 47, 39, .12);
  border-color: rgba(228, 166, 108, .8)
}

.team-card:hover .team-photo {
  filter: saturate(1.03)
}

.team-photo-placeholder::after {
  inset: auto -16% -30% auto
}

.team-card-placeholder {
  cursor: default
}

.team-card-placeholder:hover .team-photo-placeholder {
  transform: none;
  box-shadow: none;
  border-color: rgba(130, 36, 40, .10)
}

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px
}

.team-modal.is-open {
  display: flex
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 24, 22, .64);
  backdrop-filter: blur(5px);
  animation: modalFade .25s ease
}

.team-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(720px, 88vh);
  overflow: auto;
  background: #fbf8f3;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
  padding: 54px;
  animation: modalUp .34s cubic-bezier(.2, .8, .2, 1)
}

.team-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(130, 36, 40, .18);
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease
}

.team-modal-close:hover {
  background: var(--wine);
  color: #fff;
  transform: rotate(5deg)
}

.team-modal-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  align-items: start
}

.team-modal-photo {
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: 0 16px 36px rgba(64, 47, 39, .12)
}

.team-modal-eyebrow {
  display: block;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 10px
}

.team-modal h2 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1;
  color: var(--wine);
  margin: 0 0 28px
}

.team-modal h3 {
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--ink);
  margin: 0 0 18px;
  text-transform: uppercase
}

.team-modal-bio p {
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 12px
}

body.modal-open {
  overflow: hidden
}

@keyframes modalFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.985)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* Leonardo Glikin */

.leo-intro {
  padding: 88px 0 72px
}

.leo-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 72px;
  align-items: start
}

.leo-kicker {
  color: var(--burgundy);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem
}

.leo-intro h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: .98;
  margin: 14px 0 30px
}

.leo-copy p {
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 0 0 20px
}

.leo-photo-placeholder {
  aspect-ratio: 4/5;
  border: 1px solid rgba(143, 34, 42, .25);
  background: linear-gradient(145deg, #f2e8df, #fbf8f3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 120px;
  overflow: hidden
}

.leo-photo-placeholder:before {
  content: '';
  width: 150px;
  height: 150px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .7
}

.leo-photo-placeholder span {
  position: absolute;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy)
}

.leo-section {
  padding: 84px 0
}

.leo-section.alt {
  background: #f5efe8
}

.leo-section-head {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start
}

.leo-section-head h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.7rem);
  line-height: 1.05;
  margin: 0
}

.leo-section-head p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0
}

.leo-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.leo-fact {
  border-top: 1px solid rgba(143, 34, 42, .28);
  padding: 26px 12px 10px 0
}

.leo-fact strong {
  display: block;
  color: var(--burgundy);
  font-size: 1.2rem;
  margin-bottom: 10px
}

.leo-fact p {
  margin: 0;
  line-height: 1.65
}

.leo-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  border-top: 1px solid rgba(143, 34, 42, .22)
}

.leo-topic {
  padding: 20px 0;
  border-bottom: 1px solid rgba(143, 34, 42, .22);
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.leo-topic:before {
  content: '›';
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1
}

.leo-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 45px
}

.leo-video-placeholder {
  aspect-ratio: 16/9;
  background: var(--burgundy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.leo-video-placeholder:before {
  content: '▶';
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 4px
}

.leo-video-placeholder span {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase
}

.leo-years {
  display: grid;
  gap: 12px
}

.leo-year {
  border-bottom: 1px solid rgba(143, 34, 42, .2)
}

.leo-year summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.45rem;
  color: var(--burgundy);
  font-weight: 700
}

.leo-year summary::-webkit-details-marker {
  display: none
}

.leo-year summary:after {
  content: '+';
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 400
}

.leo-year[open] summary:after {
  content: '−'
}

.leo-year ul {
  padding: 0 0 25px 22px;
  margin: 0;
  max-width: 1000px
}

.leo-year li {
  margin: 0 0 12px;
  line-height: 1.55
}

.leo-books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.leo-book-cover {
  aspect-ratio: 2/3;
  background: linear-gradient(145deg, #8f222a, #b75f47);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
  box-shadow: 0 16px 32px rgba(70, 35, 25, .12);
  transition: .3s
}

.leo-book:hover .leo-book-cover {
  transform: translateY(-6px)
}

.leo-book h3 {
  font-size: 1.3rem;
  margin: 18px 0 4px
}

.leo-books-cta {
  margin-top: 38px
}

/* Leonardo Glikin */

.leo-photo {
  aspect-ratio: 4/5;
  position: sticky;
  top: 120px;
  overflow: hidden;
  background: #f2e8df;
}

.leo-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Leonardo */

.leo-page-hero .contact-eyebrow {
  display: block;
  color: var(--peach);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 13px
}

.leo-page-hero h1 {
  max-width: 900px
}

.leo-videos-three {
  grid-template-columns: repeat(3, 1fr)
}

.leo-video {
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden
}

.leo-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.leo-ditella {
  background: var(--wine);
  color: #fff
}

.leo-ditella .leo-section-head h2,
.leo-ditella .leo-section-head p {
  color: #fff
}

.leo-ditella .button-primary {
  background: var(--peach);
  color: var(--wine-dark)
}

.leo-ditella .button-primary:hover {
  background: #fff;
  color: var(--wine)
}

/* Leonardo — anchos, videos y libros */

.leo-section-head {
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr);
  gap: 54px
}

.leo-section-head h2 {
  font-size: clamp(2.05rem, 2.8vw, 3.15rem);
  line-height: 1.08;
  max-width: 620px
}

.leo-ditella .leo-section-head {
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr)
}

.leo-ditella .leo-section-head h2 {
  max-width: 650px
}

.leo-videos {
  grid-template-columns: minmax(0, 760px);
  justify-content: start
}

.leo-video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 760px
}

.leo-video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #741b25, #9b3236);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(64, 47, 39, .12)
}

.leo-video-thumb:after {
  content: '';
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 166, 108, .35);
  border-radius: 50%;
  right: -12%;
  top: -42%;
  transition: transform .45s ease
}

.leo-video-link:hover .leo-video-thumb:after {
  transform: scale(1.12)
}

.leo-video-play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .8);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  padding-left: 4px;
  transition: .3s ease
}

.leo-video-link:hover .leo-video-play {
  background: #fff;
  color: var(--wine);
  transform: scale(1.06)
}

.leo-video-label {
  display: block;
  margin-top: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--wine)
}

.leo-videos-more {
  margin-top: 28px
}

.leo-books {
  align-items: start;
  gap: 42px
}

.leo-book-image {
  height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 0 18px
}

.leo-book-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(50, 35, 28, .14));
  transition: transform .35s ease
}

.leo-book:hover .leo-book-image img {
  transform: translateY(-6px)
}

.leo-book h3 {
  font-size: 1.25rem;
  line-height: 1.22;
  color: var(--wine);
  margin: 14px 0 8px
}

.leo-book-author {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 14px
}

.leo-book-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0
}

/* publicaciones + video embeds */

.leo-video-embed {
  aspect-ratio: 16/9;
  background: #171819;
  overflow: hidden
}

.leo-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.leo-books-cta {
  margin-top: 34px
}

.leo-books-cta .btn {
  display: inline-flex;
  padding: 15px 24px;
  background: var(--burgundy, #8f2529);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .05em
}

.publications-menu-links {
  grid-template-columns: repeat(4, 1fr)
}

.content-section,
.article-section {
  padding: 80px 0
}

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

.content-card {
  padding: 30px;
  border: 1px solid rgba(143, 37, 41, .18);
  background: #fff
}

.content-card h3 {
  color: #8f2529;
  font-size: 1.7rem;
  margin-top: 0
}

.empty-state {
  padding: 36px;
  background: #f4ede6;
  margin-bottom: 64px
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  margin-bottom: 32px
}

.news-list {
  max-width: 1100px
}

.news-card {
  padding: 34px 0;
  border-bottom: 1px solid rgba(143, 37, 41, .2)
}

.news-card time {
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8f2529
}

.news-card h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  max-width: 900px;
  margin: 8px 0 12px
}

.news-card h2 a {
  color: inherit;
  text-decoration: none
}

.publication-books {
  display: grid;
  gap: 0
}

.publication-book {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(143, 37, 41, .18);
  align-items: start
}

.publication-cover {
  width: 190px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center
}

.publication-cover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.placeholder-cover {
  background: #f1e8df;
  border: 1px solid rgba(143, 37, 41, .2);
  color: #8f2529;
  letter-spacing: .15em;
  font-size: .75rem
}

.publication-book-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 10px;
  color: #8f2529;
  max-width: 850px
}

.article-body {
  max-width: 900px
}

.article-body>h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
  margin: 20px 0 30px
}

.article-meta {
  color: #8f2529;
  letter-spacing: .08em;
  font-weight: 700
}

.article-lead {
  font-size: 1.45rem
}

.article-body p,
.article-body li {
  font-size: 1.15rem;
  line-height: 1.65
}

.article-body h2 {
  font-size: 2rem;
  color: #8f2529;
  margin-top: 45px
}

.article-body .button {
  margin-top: 30px
}

/* refinements */

.leo-videos-three {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start
}

.leo-video-embed {
  margin: 0 !important
}

.leo-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0
}

.ditella-mark {
  width: min(230px, 32vw);
  max-height: 90px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px
}

.leo-ditella .leo-section-head {
  grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.4fr);
  align-items: center
}

.leo-books-cta {
  text-align: center;
  margin-top: 38px
}

.team-intro p {
  font-size: clamp(1.65rem, 2.6vw, 2.6rem) !important;
  line-height: 1.1 !important;
  max-width: 1050px !important
}

.service-real-image,
.service-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 2px
}

.consult-stages li,
.stages-list li {
  border-left: 3px solid #c58b43;
  padding-left: 18px
}

.consult-stages li::marker,
.stages-list li::marker {
  color: #8d2529;
  font-weight: 700
}

.consult-stages strong,
.stages-list strong {
  color: #8d2529
}

.protocol-form-section {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important
}

.protocol-form-section>h2 {
  text-align: center;
  color: #8d2529;
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin: 0 0 34px
}

.event-card-media {
  height: 190px;
  margin: -1px -1px 24px;
  overflow: hidden;
  background: #eee6dc
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.event-card-placeholder,
.news-image-placeholder {
  display: grid;
  place-items: center;
  color: #8d2529;
  font-weight: 700;
  letter-spacing: .18em;
  background: linear-gradient(135deg, #f2e9df, #e8d8c7)
}

.event-open {
  cursor: pointer
}

.event-open:hover {
  transform: translateY(-4px)
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none
}

.event-modal.is-open {
  display: block
}

.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 15, 13, .68);
  backdrop-filter: blur(4px)
}

.event-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  max-height: calc(100vh - 70px);
  overflow: auto;
  margin: 35px auto;
  background: #fbf8f4;
  border-radius: 20px;
  padding: 46px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px
}

.event-modal-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover
}

.event-modal-copy h2 {
  color: #8d2529;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.02
}

.event-modal-copy p {
  font-size: 1.25rem;
  line-height: 1.55
}

.event-modal-close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: none;
  font-size: 2.3rem;
  color: #8d2529;
  cursor: pointer
}

.news-grid-two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px !important
}

.news-grid-two .news-card {
  display: block !important;
  border: 1px solid #eaded3;
  padding: 0 0 30px !important;
  overflow: hidden
}

.news-card-media {
  height: 280px;
  margin-bottom: 24px
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.news-grid-two .news-card>time,
.news-grid-two .news-card>h2,
.news-grid-two .news-card>p {
  display: block;
  margin-left: 28px;
  margin-right: 28px
}

.news-grid-two .news-card h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem)
}

.consulting-real-image {
  align-self: start;
  overflow: hidden;
  min-height: 420px
}

.consulting-real-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  min-height: 420px;
  object-fit: cover
}

.stage-list li {
  position: relative;
  padding: 14px 18px 14px 22px;
  border-left: 3px solid #c58b43;
  background: linear-gradient(90deg, rgba(197, 139, 67, .09), transparent 70%);
  margin-bottom: 8px
}

.stage-list li::marker {
  color: #8d2529;
  font-weight: 700
}

.stage-list li:nth-child(odd) {
  font-weight: 600;
  color: #542e2e
}

.publications-grid img,
.books-grid img,
.book-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain
}

/* corrections */

.team-intro p {
  font-size: clamp(1.2rem, 1.65vw, 1.55rem) !important;
  line-height: 1.45 !important;
  max-width: 1000px !important
}

.consulting-layout-media {
  align-items: start
}

.consulting-real-image {
  position: static !important;
  align-self: start !important;
  min-height: 0 !important;
  overflow: hidden
}

.consulting-real-image img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important
}

.stage-list {
  display: grid;
  gap: 10px;
  border-top: 0 !important;
  counter-reset: stage
}

.stage-list li {
  display: flex !important;
  align-items: center !important;
  min-height: 62px;
  margin: 0 !important;
  padding: 14px 18px 14px 66px !important;
  border: 1px solid #dfd2c5 !important;
  border-left: 3px solid #c58b43 !important;
  background: linear-gradient(90deg, rgba(197, 139, 67, .09), transparent 75%) !important;
  font-weight: 500 !important;
  color: #2b2927 !important
}

.stage-list li:before {
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  background: #fff !important;
  z-index: 1
}

.stage-list li:nth-child(odd) {
  font-weight: 600 !important;
  color: #542e2e !important
}

.ditella-card {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 64px;
  align-items: center;
  background: var(--wine);
  padding: 48px 56px;
  color: #fff
}

.ditella-logo-wrap {
  background: #fff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 145px
}

.ditella-mark {
  display: block !important;
  width: 100% !important;
  max-width: 320px !important;
  max-height: 110px !important;
  object-fit: contain !important;
  margin: 0 !important
}

.ditella-copy h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  line-height: 1
}

.ditella-copy p {
  color: #fff;
  margin: 8px 0;
  font-size: 1.18rem
}

.ditella-copy .button {
  margin-top: 22px
}

.news-read-more {
  display: inline-flex;
  margin: 20px 28px 0;
  padding: 11px 16px;
  border: 1px solid var(--wine);
  color: var(--wine);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em
}

.news-read-more:hover {
  background: var(--wine);
  color: #fff
}

/* refinements */

.ditella-logo-wrap {
  background: transparent !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  min-height: 0 !important
}

.ditella-mark {
  max-width: 360px !important;
  max-height: 95px !important;
  object-position: left center !important
}

.leo-centered-cta,
.leo-books-cta {
  text-align: center !important;
  margin-top: 38px !important
}

.leo-centered-cta .btn,
.leo-books-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: var(--wine);
  color: #fff;
  border: 1px solid var(--wine);
  letter-spacing: .07em;
  font-size: .85rem;
  font-weight: 700;
  transition: .2s
}

.leo-centered-cta .btn:hover,
.leo-books-cta .btn:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark)
}

.consulting-real-image {
  position: sticky !important;
  top: 130px !important;
  align-self: start !important;
  overflow: hidden
}

.consulting-real-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s ease
}

.consulting-real-image:hover img {
  transform: scale(1.025)
}

.event-modal-dialog {
  grid-template-columns: 1fr !important;
  width: min(760px, calc(100% - 40px)) !important
}

.event-modal-copy {
  max-width: 680px;
  margin: 0 auto
}

/* Eventos completos */

.event-card-media {
  height: 240px;
  background: #f3eee8;
  display: flex;
  align-items: center;
  justify-content: center
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block
}

.content-card.event-open {
  cursor: pointer
}

.content-card.event-open:focus-visible {
  outline: 2px solid #c58b43;
  outline-offset: 4px
}

.event-modal-copy h3 {
  margin: 26px 0 10px;
  color: #8d2529;
  font-size: 1.45rem
}

.event-modal-copy p {
  margin: 0 0 16px
}

/* Eventos: listado editorial en una columna */

.content-section .content-grid {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  max-width: 1120px;
  margin: 0 auto
}

.content-card.event-open {
  display: grid !important;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 0 !important;
  overflow: hidden;
  min-height: 230px;
  transition: transform .25s ease, box-shadow .25s ease
}

.content-card.event-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(55, 30, 25, .08)
}

.content-card.event-open .event-card-media {
  height: 100% !important;
  min-height: 230px;
  margin: 0 !important;
  background: #f3eee8
}

.content-card.event-open .event-card-media img {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain !important;
  object-position: center;
  background: #f3eee8
}

.event-card-copy {
  padding: 30px 34px 30px 0
}

.event-card-copy h3 {
  margin: 0 0 12px !important
}

.event-card-copy p {
  margin: 0;
  line-height: 1.55
}

.event-card-placeholder {
  font-size: .88rem;
  letter-spacing: .16em;
  color: var(--wine);
  font-weight: 700;
  text-align: center
}

.event-modal-dialog {
  display: block !important;
  width: min(900px, calc(100% - 40px)) !important;
  padding: 42px !important
}

.event-modal-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 34px;
  background: #f3eee8;
  max-height: 58vh;
  overflow: hidden
}

.event-modal-media img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 58vh !important;
  object-fit: contain !important
}

.event-modal-placeholder {
  height: 240px;
  color: var(--wine);
  font-weight: 700;
  letter-spacing: .16em
}

.event-modal-copy {
  max-width: 760px !important;
  margin: 0 auto !important
}

.article-featured-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 1.75rem 0 2rem;
  background: #f6f1eb
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* Eventos sin márgenes internos en imágenes */

.content-card.event-open {
  align-items: stretch !important
}

.content-card.event-open .event-card-media {
  width: 340px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  align-self: start;
  overflow: hidden
}

.content-card.event-open .event-card-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important
}

.content-card.event-open .event-card-placeholder {
  width: 340px !important;
  min-height: 230px !important;
  background: #f3eee8 !important;
  display: grid !important;
  place-items: center !important
}

/* Eventos y reemplazo de imágenes de noticias */

/* Las piezas de Universidad del Pacífico llenan toda la altura de la preview:
   se permite el recorte solamente en la tarjeta. */

.content-card.event-open .event-card-media.pacifico-preview {
  width: 340px !important;
  height: 100% !important;
  min-height: 230px !important;
  align-self: stretch !important;
  background: transparent !important;
}

.content-card.event-open .event-card-media.pacifico-preview img {
  width: 100% !important;
  height: 100% !important;
  min-height: 230px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.event-more-info {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  transition: opacity .2s ease, transform .2s ease;
}

.content-card.event-open:hover .event-more-info {
  opacity: .72;
  transform: translateX(3px)
}

/* En el popup la pieza vuelve a verse completa, sin recorte ni márgenes propios. */

.event-modal-media {
  padding: 0 !important
}

.event-modal-media img {
  margin: 0 !important
}

\n\n

/* consistency and responsive audit */
/* Center the news grid inside the common site container. */
.news-list.news-grid-two {
  width: 100%;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important
}

/* Match the rounded treatment used by Protocolo Familiar and Gobierno Activo. */

.consulting-real-image {
  border-radius: 16px !important;
  box-shadow: 0 18px 44px rgba(64, 47, 39, .08)
}

.consulting-real-image img {
  border-radius: 16px !important
}

/* Avoid overflow from long labels/content on narrow screens. */

img,
svg,
video,
iframe {
  max-width: 100%
}

.news-grid-two,
.publication-books,
.content-grid,
.consulting-layout,
.consulting-layout-media {
  min-width: 0
}

.news-card,
.publication-book,
.event-card-copy,
.consulting-copy {
  min-width: 0
}

.news-card h2,
.publication-book-copy h2,
.event-card-copy h3 {
  overflow-wrap: anywhere
}

/* Noticias: alineación exacta con el container general */

.content-section>.container>.news-list.news-grid-two {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* destacado ISO bajo el hero, sello ISO en footer y 6 sitios aliados */

.iso-banner {
  background: var(--cream);
  border-bottom: 1px solid var(--line)
}

.iso-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 26px 0
}

.iso-banner-seal {
  width: 170px;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 18px
}

.iso-banner-copy h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin: 0 0 6px;
  color: var(--wine);
  line-height: 1.1
}

.iso-banner-copy p {
  margin: 0;
  max-width: 640px
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.footer-iso {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 2px;
  line-height: 0
}

.footer-iso img {
  width: 120px;
  height: auto;
  display: block
}

.ally-banners {
  grid-template-columns: repeat(3, 1fr)
}

/* menú Novedades y botón flotante de newsletter */

.novedades-menu-links {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 36px !important
}

.floating-newsletter {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--wine);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .045em;
  transition: background .25s, transform .25s
}

.floating-newsletter img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1)
}

.floating-newsletter:hover {
  background: var(--wine-dark);
  transform: translateY(-3px)
}

/* flotantes alineados: ambos circulares, apilados; el newsletter muestra el texto al pasar el mouse */

.floating-newsletter {
  right: 16px;
  bottom: 88px;
  height: 62px;
  min-width: 62px;
  padding: 0 18px;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  white-space: nowrap
}

.floating-newsletter img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px
}

.floating-newsletter span {
  display: block;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transition: max-width .35s ease, opacity .25s ease, margin-left .35s ease
}

.floating-newsletter:hover span,
.floating-newsletter:focus-visible span {
  max-width: 240px;
  opacity: 1;
  margin-left: 10px
}

/* flotantes en fila: pill de newsletter con texto visible, a la izquierda de WhatsApp y centrado verticalmente */

.floating-newsletter {
  right: 90px;
  bottom: 22px;
  height: 50px;
  min-width: 0;
  padding: 0 20px;
  gap: 10px;
  overflow: visible
}

.floating-newsletter span {
  max-width: none;
  opacity: 1;
  margin-left: 0;
  transition: none
}

.floating-newsletter:hover span,
.floating-newsletter:focus-visible span {
  margin-left: 0
}

/* newsletter abajo a la izquierda, WhatsApp abajo a la derecha */

.floating-newsletter {
  right: auto;
  left: 20px;
  bottom: 24px
}

/* bajada en el hero de Preguntas Frecuentes */

.faq-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem)
}

.faq-hero h1 {
  margin-bottom: 16px
}

.floating-newsletter {
  box-shadow: 0 14px 34px rgba(36, 32, 31, .45), 0 4px 10px rgba(36, 32, 31, .3)
}

.floating-newsletter:hover {
  box-shadow: 0 18px 40px rgba(36, 32, 31, .5), 0 6px 14px rgba(36, 32, 31, .35)
}

.floating-newsletter {
  box-shadow: 0 18px 44px rgba(36, 32, 31, .6), 0 6px 16px rgba(36, 32, 31, .45)
}

.floating-newsletter:hover {
  box-shadow: 0 22px 52px rgba(36, 32, 31, .65), 0 8px 20px rgba(36, 32, 31, .5)
}

.hero {
  min-height: 0
}

.hero-inner.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0
}

.hero-split .hero-copy {
  min-width: 0
}

.hero-split .hero-title-wrap {
  max-width: none
}

.hero-split h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  line-height: 1;
  margin-bottom: 26px
}

.hero-split .hero-lower {
  display: block;
  border-top: 0;
  padding-top: 0;
  max-width: none
}

.hero-split .hero-kicker {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.9vw, 1.75rem);
  margin: 0 0 16px
}

.hero-split .hero-detail {
  max-width: 560px
}

.hero-split .hero-text {
  margin-bottom: 26px
}

.hero-media {
  border-radius: 14px;
  overflow: hidden;
  background: #ffe6d9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  aspect-ratio: 16/9
}

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

.hero-inner.hero-split.reveal.is-visible .hero-media {
  animation: heroIn .8s .2s cubic-bezier(.2, .7, .2, 1) both
}

.hero-inner.hero-split {
  position: relative;
  z-index: 1
}

.hero-split .hero-title-wrap {
  padding-bottom: .12em
}

.venn {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 500/430;
  margin: 0 auto !important;
  transform: none !important
}

.circle {
  width: 49%;
  height: auto;
  aspect-ratio: 1
}

.circle-top {
  left: 25.6%;
  top: 2.33%;
  padding-top: 6.4%
}

.circle-left {
  left: 8.4%;
  top: 34.88%;
  padding-bottom: 6.4%
}

.circle-right {
  right: 8.4%;
  top: 34.88%;
  padding-bottom: 6.4%
}

.z1 {
  left: 16%;
  top: 59.77%
}

.z2 {
  left: 48.8%;
  top: 20%
}

.z3 {
  right: 16%;
  top: 59.77%
}

.z4 {
  left: 34.2%;
  top: 46.74%
}

.z5 {
  right: 34.2%;
  top: 46.74%
}

.z6 {
  left: 48.8%;
  top: 73.26%
}

.z7 {
  left: 48.8%;
  top: 52.56%
}

.hero-split h1 {
  text-wrap: balance
}

.article-byline {
  margin: -6px 0 18px;
  color: #6a625c;
  font-style: italic;
  font-weight: 600
}

.article-inline-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0
}

.article-body blockquote {
  margin: 1.75rem 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--peach);
  color: #542e2e;
  font-size: 1.25rem;
  font-style: italic
}

.article-source {
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1rem !important;
  color: #6a625c
}

.article-source a {
  color: var(--wine);
  text-decoration: underline
}

.news-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 28px;
  scroll-margin-top: 110px
}

.news-toolbar input {
  flex: 1 1 280px;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.05rem;
  border-radius: 2px
}

.news-toolbar input:focus {
  outline: 2px solid var(--wine);
  outline-offset: 1px;
  border-color: var(--wine)
}

.news-count {
  color: #6a625c;
  font-size: .95rem
}

.news-card.is-hidden {
  display: none !important
}

.news-empty {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  color: #6a625c
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1100px;
  margin: 44px auto 0
}

.news-pagination button {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--wine);
  background: transparent;
  color: var(--wine);
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .2s, color .2s
}

.news-pagination button:hover:not(:disabled),
.news-pagination button[aria-current="page"] {
  background: var(--wine);
  color: #fff
}

.news-pagination button:disabled {
  opacity: .4;
  cursor: default
}

.news-pagination .dots {
  padding: 0 4px;
  color: #6a625c
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media(max-width:1250px) {
  .main-nav {
    gap: 12px;
    font-size: .76rem
  }

  .brand {
    width: 180px
  }

  .nav-social-label {
    display: none
  }

  .nav-social {
    margin-left: 2px;
    gap: 8px
  }

  .nav-social-links {
    gap: 6px
  }

  .nav-social-links a {
    width: 26px;
    height: 26px
  }

  .nav-social-links svg {
    width: 13px;
    height: 13px
  }
}

@media(max-width:1050px) {

  .approach-grid,
  .iso-grid {
    gap: 48px
  }

  .facts-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .fact:nth-child(3) {
    border-right: 0
  }

  .fact:nth-child(-n+3) {
    border-bottom: 1px solid rgba(255, 255, 255, .25)
  }

  .footer-grid>div:last-child {
    grid-column: 2/4
  }
}

@media(max-width:991px) {
  .header-inner {
    height: 76px
  }

  .brand {
    width: 165px
  }

  .menu-toggle {
    display: block;
    margin-left: auto
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--paper);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line)
  }

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

  .main-nav>a,
  .nav-dropdown-toggle {
    width: 100%;
    text-align: left
  }

  .nav-social {
    margin: 18px 0 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    justify-content: center;
    gap: 14px
  }

  .nav-social-label {
    display: inline
  }

  .nav-social-links {
    gap: 10px
  }

  .nav-social-links a {
    width: 34px;
    height: 34px
  }

  .nav-social-links svg {
    width: 17px;
    height: 17px
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 4px 0 0 18px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none
  }

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

@media(max-width:820px) {
  body {
    font-size: 17px
  }

  .container {
    width: min(100% - 32px, var(--max))
  }

  .approach-grid,
  .iso-grid {
    grid-template-columns: 1fr
  }

  .system-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 38px
  }

  .facts-grid {
    grid-template-columns: 1fr 1fr
  }

  .fact:nth-child(n) {
    border-right: 1px solid rgba(255, 255, 255, .25);
    border-bottom: 1px solid rgba(255, 255, 255, .25)
  }

  .fact:nth-child(even) {
    border-right: 0
  }

  .fact:last-child {
    grid-column: 1/-1;
    border-bottom: 0
  }

  .profiles-head,
  .profile-row {
    grid-template-columns: 1fr;
    gap: 7px
  }

  .services-grid {
    grid-template-columns: 1fr
  }

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

  .footer-brand {
    grid-column: 1/-1
  }

  .footer-grid>div:last-child {
    grid-column: auto
  }
}

@media(max-width:560px) {
  h1 {
    font-size: 3.35rem
  }

  h2 {
    font-size: 2.65rem
  }

  .approach,
  .principles,
  .numbers,
  .profiles,
  .iso {
    padding: 78px 0
  }

  .system-card {
    padding: 20px 0;
    overflow: hidden
  }

  .references-box {
    padding: 28px;
    align-items: flex-start;
    flex-direction: column
  }

  .facts-grid {
    grid-template-columns: 1fr
  }

  .fact:nth-child(n) {
    border-right: 0
  }

  .quote p {
    font-size: 1.5rem
  }

  .service-panel {
    min-height: 390px
  }

  .newsletter-inner h2 {
    font-size: 2.45rem
  }

  .footer-grid>div:last-child {
    grid-column: auto
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px
  }
}

@media(min-width:821px) {
  .nav-dropdown {
    position: static
  }

  .nav-dropdown-menu.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-top: 1px solid rgba(130, 36, 40, .1);
    background: #f7f3eb;
    box-shadow: 0 22px 45px rgba(36, 32, 31, .08);
    transform: translateY(8px)
  }

  .nav-dropdown:hover .nav-dropdown-menu.nav-mega-menu,
  .nav-dropdown.is-open .nav-dropdown-menu.nav-mega-menu {
    transform: none
  }

  .nav-mega-inner {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 70px;
    padding-top: 48px;
    padding-bottom: 56px
  }

  .nav-mega-title {
    margin: 0;
    color: var(--wine);
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.02em
  }

  .nav-mega-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 54px
  }

  .nav-dropdown-menu .nav-mega-item {
    display: block;
    padding: 0;
    text-transform: none;
    letter-spacing: 0
  }

  .nav-mega-item strong {
    display: block;
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700
  }

  .nav-mega-item span {
    display: block;
    color: #7b7069;
    font-size: 1rem;
    line-height: 1.45;
    max-width: 230px
  }

  .nav-mega-item:hover strong {
    color: var(--wine)
  }
}

@media(max-width:820px) {
  .nav-chevron {
    margin-left: auto;
    margin-right: 4px
  }

  .nav-dropdown-menu.nav-mega-menu {
    padding-left: 0
  }

  .nav-mega-inner {
    width: 100%;
    padding: 8px 0 4px 18px
  }

  .nav-mega-title {
    display: none
  }

  .nav-mega-links {
    display: grid;
    gap: 0
  }

  .nav-dropdown-menu .nav-mega-item {
    padding: 10px 0
  }

  .nav-mega-item strong {
    display: block;
    color: var(--ink);
    font-size: 1rem
  }

  .nav-mega-item span {
    display: block;
    color: #7b7069;
    font-size: .9rem;
    line-height: 1.35;
    margin-top: 3px
  }
}

@media(max-width:1050px) {
  .principles-list {
    grid-template-columns: 1fr
  }

  .numbers .section-heading h2 {
    white-space: normal
  }

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

  .fact:nth-child(n) {
    border-bottom: 1px solid rgba(255, 255, 255, .25)
  }

  .fact:nth-child(even) {
    border-right: 0
  }

  .fact:last-child {
    grid-column: 1/-1
  }
}

@media(max-width:820px) {
  .hero h1 br {
    display: none
  }

  .quote {
    grid-template-columns: 60px 1fr;
    gap: 15px
  }

  .quote-mark {
    font-size: 6rem
  }

  .service-panel {
    padding: 0 38px 42px
  }

  .service-image-placeholder {
    margin: 0 -38px 36px
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .allies-heading p {
    margin-top: 5px
  }
}

@media(max-width:560px) {
  .facts-grid {
    grid-template-columns: 1fr
  }

  .fact:last-child {
    grid-column: auto
  }

  .quote {
    grid-template-columns: 1fr
  }

  .quote-mark {
    height: 55px
  }

  .footer-brand {
    grid-column: auto
  }
}

@media (min-width: 821px) {

  .hero h1 {
    max-width: 1120px
  }

  .approach-intro {
    font-size: 1.05rem;
    line-height: 1.35
  }

  .approach-grid {
    grid-template-columns: 1.08fr .92fr;
    gap: 62px
  }

  .approach-copy h2 {
    font-size: clamp(2.15rem, 2.9vw, 3rem);
    max-width: 720px;
    line-height: 1.08
  }
}

@media(max-width:820px) {
  .principle {
    grid-template-columns: 54px 1fr;
    gap: 16px
  }

  .principle p {
    grid-column: 2
  }

  .principle-mark:before {
    left: 11px;
    top: 20px
  }

  .principle-mark:after {
    left: 20px;
    top: 11px
  }
}

@media(max-width:560px) {
  .principle {
    grid-template-columns: 1fr
  }

  .principle p {
    grid-column: auto
  }
}

@media(max-width:820px) {
  .newsletter-copy {
    gap: 16px
  }

  .service-panel h2 {
    font-size: clamp(2rem, 7vw, 2.7rem)
  }
}

@media(max-width:820px) {
  .service-image {
    margin: 0 -38px 36px
  }

  .principle-mark {
    width: 48px !important;
    height: 48px !important
  }
}

@media(max-width:820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-brand {
    grid-column: auto
  }

  .newsletter-icon-img {
    width: 46px;
    height: 46px;
    flex-basis: 46px
  }
}

@media(max-width:560px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

@media(max-width:820px) {

  .hero h1 {
    margin-bottom: 46px
  }

  .hero-lower {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .orbit-a {
    right: -420px
  }

  .orbit-b {
    right: -260px
  }

  .hero-dot {
    right: 50px;
    top: 210px;
    opacity: .35
  }
}

@media(max-width:560px) {
  .faq-hero {
    padding: 48px 0 44px
  }

  .faq-section {
    padding: 58px 0 78px
  }

  .faq-list {
    gap: 10px
  }

  .faq-question {
    padding: 21px 18px;
    grid-template-columns: 1fr 38px;
    gap: 14px
  }

  .faq-chevron {
    width: 34px;
    height: 34px
  }

  .faq-answer p {
    padding: 2px 18px 24px;
    font-size: 1rem
  }
}

@media(max-width:820px) {
  .numbers .quote {
    grid-template-columns: 60px minmax(0, 1fr)
  }
}

@media(max-width:560px) {
  .numbers .quote {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {

  .contact-section-heading {
    margin-bottom: 24px
  }
}

@media(max-width:900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .contact-direct {
    border-left: 0;
    padding-left: 0
  }

  .contact-section {
    padding: 72px 0 88px
  }
}

@media(max-width:560px) {
  .contact-hero {
    padding: 50px 0 46px
  }

  .contact-section {
    padding: 56px 0 72px
  }

  .contact-form-row {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {

  .faq-hero:after,
  .contact-hero:after,
  .faq-hero .container:after,
  .contact-hero .container:after {
    animation: none !important
  }
}

@media(max-width:560px) {

  .faq-hero,
  .contact-hero {
    background-image: radial-gradient(circle at 83% 32%, rgba(228, 166, 108, .15) 0 13px, transparent 14px)
  }

  .faq-hero .container:after,
  .contact-hero .container:after {
    display: none
  }
}

@media(max-width:560px) {

  .faq-hero,
  .contact-hero {
    min-height: 210px;
    padding-top: 44px;
    padding-bottom: 44px
  }
}

@media(max-width:820px) {

  .faq-hero .container,
  .contact-hero .container {
    width: min(100% - 32px, var(--max));
  }
}

@media(max-width:900px) {

  .consulting-layout,
  .consulting-layout-media {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .consulting-aside,
  .consulting-image {
    position: static
  }

  .consulting-aside {
    min-height: 300px
  }

  .audience-grid {
    grid-template-columns: 1fr
  }

  .organisms-grid {
    grid-template-columns: 1fr
  }

  .organism-wide {
    grid-column: auto
  }

  .consulting-page {
    padding: 74px 0 88px
  }
}

@media(max-width:560px) {
  .consulting-hero {
    min-height: 260px;
    padding: 48px 0
  }

  .consulting-page {
    padding: 58px 0 74px
  }

  .consulting-subsection {
    margin-top: 64px
  }

  .consulting-orbit {
    width: 250px;
    height: 250px
  }

  .consulting-orbit:before {
    width: 175px;
    height: 175px
  }

  .protocol-form .contact-form-row {
    grid-template-columns: 1fr
  }

  .government-highlight {
    margin-top: 64px;
    padding: 52px 0
  }
}

@media(prefers-reduced-motion:reduce) {

  .consulting-hero:after,
  .consulting-hero .container:after {
    animation: none !important
  }
}

@media(max-width:900px) {
  .consulting-image-placeholder {
    position: relative;
    top: auto;
    width: 100%
  }
}

@media(prefers-reduced-motion:reduce) {

  .government-highlight:after,
  .organisms-grid article:hover:before {
    animation: none !important
  }

  .consulting-image-placeholder * {
    transition: none !important
  }
}

@media(max-width:560px) {
  .consult-card-icon {
    width: 46px;
    height: 46px
  }
}

@media (max-width:900px) {

  .team-menu-links {
    grid-template-columns: 1fr
  }

  .team-hero {
    min-height: 280px
  }
}

@media (max-width:580px) {

  .team-intro {
    padding: 50px 0 34px
  }

  .team-section {
    padding-bottom: 70px
  }
}

@media(max-width:900px) {
  .team-modal-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px
  }

  .team-modal-photo {
    width: 210px;
    margin: auto
  }

  .team-modal-dialog {
    padding: 48px 30px
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:580px) {
  .team-grid {
    grid-template-columns: 1fr
  }

  .team-photo-placeholder,
  .team-photo {
    width: min(78vw, 280px)
  }

  .team-modal {
    padding: 14px
  }

  .team-modal-dialog {
    padding: 54px 22px 30px
  }

  .team-modal-photo {
    width: 170px
  }

  .team-modal h2 {
    font-size: 2rem
  }
}

@media(max-width:900px) {

  .leo-intro-grid,
  .leo-section-head {
    grid-template-columns: 1fr
  }

  .leo-photo-placeholder {
    position: relative;
    top: auto;
    max-width: 500px
  }

  .leo-facts,
  .leo-books {
    grid-template-columns: 1fr
  }

  .leo-topics,
  .leo-videos {
    grid-template-columns: 1fr
  }
}

@media(max-width:900px) {
  .leo-photo {
    position: relative;
    top: auto;
    max-width: 500px;
  }
}

@media(max-width:900px) {

  .leo-section-head,
  .leo-ditella .leo-section-head {
    grid-template-columns: 1fr
  }

  .leo-section-head h2 {
    max-width: none
  }

  .leo-book-image {
    height: 330px
  }
}

@media(max-width:800px) {
  .publications-menu-links {
    grid-template-columns: 1fr
  }

  .content-grid {
    grid-template-columns: 1fr
  }

  .publication-book {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .publication-cover {
    width: 150px;
    height: 210px
  }

  .leo-videos-three {
    grid-template-columns: 1fr !important
  }
}

@media(max-width:800px) {

  .leo-videos-three,
  .news-grid-two {
    grid-template-columns: 1fr
  }

  .leo-ditella .leo-section-head {
    grid-template-columns: 1fr
  }

  .news-card-media {
    height: 220px
  }
}

@media(max-width:800px) {
  .ditella-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 28px
  }

  .stage-list li {
    padding-left: 62px !important
  }
}

@media(max-width:800px) {
  .consulting-real-image {
    position: relative !important;
    top: auto !important
  }

  .ditella-mark {
    max-width: 280px !important
  }
}

@media(max-width:800px) {
  .event-card-media {
    height: 210px
  }
}

@media(max-width:760px) {
  .content-card.event-open {
    grid-template-columns: 1fr
  }

  .event-card-copy {
    padding: 24px
  }

  .event-modal-dialog {
    padding: 28px !important
  }

  .event-modal-media {
    margin-bottom: 26px
  }
}

@media(max-width:760px) {

  .content-card.event-open .event-card-media,
  .content-card.event-open .event-card-placeholder {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important
  }

  .content-card.event-open .event-card-placeholder {
    min-height: 190px !important
  }
}

@media(max-width:760px) {
  .content-card.event-open .event-card-media.pacifico-preview {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important
  }

  .content-card.event-open .event-card-media.pacifico-preview img {
    height: 220px !important;
    min-height: 220px !important
  }
}

@media(max-width:800px) {
  .container {
    width: min(calc(100% - 36px), var(--max))
  }

  .content-section,
  .article-section {
    padding: 58px 0
  }

  .news-grid-two {
    gap: 24px !important
  }

  .news-grid-two .news-card>time,
  .news-grid-two .news-card>h2,
  .news-grid-two .news-card>p,
  .news-grid-two .news-card>.news-read-more {
    margin-left: 22px !important;
    margin-right: 22px !important
  }

  .publication-book {
    padding: 32px 0
  }

  .publication-cover {
    margin: 0 auto;
    width: min(190px, 60vw);
    height: auto;
    min-height: 210px
  }

  .consulting-real-image {
    position: relative !important;
    top: auto !important;
    width: 100%
  }
}

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

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem)
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem)
  }

  .news-card-media {
    height: 200px
  }

  .news-grid-two .news-card>time,
  .news-grid-two .news-card>h2,
  .news-grid-two .news-card>p,
  .news-grid-two .news-card>.news-read-more {
    margin-left: 18px !important;
    margin-right: 18px !important
  }

  .publication-book-copy h2 {
    font-size: 1.75rem
  }

  .event-modal-dialog {
    width: calc(100% - 24px) !important;
    margin: 12px auto !important;
    max-height: calc(100vh - 24px) !important;
    padding: 22px !important;
    border-radius: 14px !important
  }

  .team-modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto
  }
}

@media(max-width:820px) {
  .iso-banner-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left
  }

  .iso-banner-seal {
    width: 140px
  }

  .iso-banner-inner .button {
    justify-self: start
  }
}

@media(max-width:1050px) {
  .ally-banners {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .ally-banners {
    grid-template-columns: 1fr
  }
}

@media(max-width:820px) {
  .novedades-menu-links {
    grid-template-columns: 1fr !important;
    gap: 0 !important
  }
}

@media(max-width:560px) {

  .floating-newsletter span {
    display: block
  }
}

@media(max-width:560px) {
  .floating-newsletter {
    padding: 0 14px
  }

  .floating-newsletter span {
    display: none
  }
}

@media(max-width:560px) {
  .floating-newsletter {
    right: auto;
    left: 14px;
    bottom: 24px
  }
}

@media(max-width:1180px) {
  .hero-inner.hero-split {
    gap: 44px
  }

  .hero-split h1 {
    font-size: clamp(2.6rem, 4.8vw, 3.9rem)
  }
}

@media(max-width:900px) {
  .hero-inner.hero-split {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 52px 0 56px
  }

  .hero-split h1 {
    font-size: clamp(2.6rem, 8vw, 3.8rem);
    margin-bottom: 20px
  }

  .hero-split .hero-detail {
    max-width: 640px
  }

  .hero-media {
    aspect-ratio: 16/9;
    max-width: 680px
  }

  .hero-dot {
    opacity: .25
  }
}

@media(max-width:560px) {
  .hero-inner.hero-split {
    gap: 28px;
    padding: 40px 0 44px
  }

  .hero-split h1 {
    font-size: clamp(2.25rem, 10.5vw, 2.8rem);
    line-height: 1.02
  }

  .hero-split .hero-kicker {
    font-size: 1.3rem;
    margin-bottom: 12px
  }

  .hero-split .hero-text {
    margin-bottom: 22px
  }

  .hero-split .button {
    width: 100%;
    text-align: center
  }

  .hero-media {
    aspect-ratio: 3/2;
    border-radius: 10px;
    max-width: none
  }
}

@media(max-width:991px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .system-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 38px 0 0
  }
}

@media(min-width:561px) and (max-width:900px) {
  .hero-inner.hero-split {
    gap: 32px;
    padding: 56px 0 64px
  }

  .hero-split h1 {
    font-size: clamp(2.6rem, 6.2vw, 3.4rem);
    line-height: 1.04;
    margin-bottom: 18px
  }

  .hero-split .hero-kicker {
    font-size: 1.45rem
  }

  .hero-split .hero-detail {
    max-width: 600px
  }

  .hero-media {
    aspect-ratio: 2/1;
    max-width: none
  }

  .hero-dot {
    display: none
  }
}

@media(max-width:820px) {
  .main-nav {
    max-height: calc(100vh - 76px);
    overflow-y: auto
  }
}

@media(max-width:767px) {
  .leo-intro {
    padding: 44px 0 52px
  }

  .leo-intro-grid {
    gap: 28px
  }

  .leo-photo {
    order: -1;
    width: min(100%, 380px);
    max-width: none;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(36, 32, 31, .14)
  }

  .leo-intro h2 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    line-height: 1.04;
    margin: 10px 0 20px
  }

  .leo-copy p {
    font-size: 1.04rem;
    line-height: 1.7;
    margin-bottom: 16px
  }
}

@media(max-width:480px) {
  .leo-photo {
    width: min(100%, 320px)
  }
}

@media(max-width:767px) {
  .newsletter {
    padding: 48px 0
  }

  .newsletter-inner {
    gap: 22px
  }

  .newsletter-copy {
    gap: 16px;
    align-items: flex-start
  }

  .newsletter-icon-img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-top: 2px
  }

  .newsletter-inner h2 {
    font-size: clamp(2rem, 7vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 8px
  }

  .newsletter-inner p {
    font-size: 1.02rem;
    line-height: 1.5
  }
}

@media(max-width:560px) {
  .newsletter {
    padding: 40px 0
  }

  .newsletter-copy {
    flex-direction: column;
    gap: 12px
  }

  .newsletter-inner .button {
    width: 100%;
    text-align: center
  }
}

@media(max-width:900px) {
  .article-body {
    overflow-wrap: break-word
  }

  .article-body img {
    max-width: 100%;
    height: auto
  }

  .article-body>h1 {
    font-size: clamp(2.2rem, 6.5vw, 3.4rem);
    text-wrap: balance
  }
}

@media(max-width:767px) {
  .content-section {
    padding: 48px 0 56px
  }

  .article-section {
    padding: 40px 0 56px
  }

  .article-body>h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.06;
    margin: 12px 0 20px
  }

  .article-meta {
    font-size: .85rem;
    letter-spacing: .06em;
    line-height: 1.4
  }

  .article-lead {
    font-size: 1.2rem;
    line-height: 1.5
  }

  .article-body p,
  .article-body li {
    font-size: 1.06rem;
    line-height: 1.65
  }

  .article-body h2 {
    font-size: 1.6rem;
    line-height: 1.15;
    margin-top: 34px
  }

  .article-body ul,
  .article-body ol {
    padding-left: 1.2rem
  }

  .article-featured-image {
    margin: 1.25rem 0 1.5rem;
    max-height: none
  }

  .article-body .button {
    width: 100%;
    text-align: center;
    margin-top: 24px
  }

  .news-grid-two {
    gap: 24px !important
  }

  .news-grid-two .news-card h2 {
    font-size: clamp(1.4rem, 5.6vw, 1.75rem);
    line-height: 1.12
  }

  .news-read-more {
    display: inline-block
  }
}

@media(max-width:480px) {
  .news-card-media {
    height: 190px;
    margin-bottom: 18px
  }

  .news-grid-two .news-card {
    padding-bottom: 24px !important
  }

  .news-grid-two .news-card>time,
  .news-grid-two .news-card>h2,
  .news-grid-two .news-card>p,
  .news-grid-two .news-card>.news-read-more {
    margin-left: 18px;
    margin-right: 18px
  }

  .news-read-more {
    width: calc(100% - 36px);
    text-align: center
  }
}

@media(max-width:560px) {
  .news-toolbar {
    margin-bottom: 20px
  }

  .news-toolbar input {
    flex-basis: 100%
  }

  .news-pagination {
    gap: 6px;
    margin-top: 32px
  }

  .news-pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 10px
  }

  .article-body blockquote {
    font-size: 1.12rem;
    padding-left: 16px
  }
}