:root {
  --color-pink: #ec66a2;
  --color-green-light: #a5d19d;
  --color-charcoal: #282826;
  --color-gray-medium: #9697a9;
  --color-olive: #545e35;
  --color-black: #1d1d1b;
  --color-white: #ffffff;
  --font-primary: "Inter Tight", sans-serif;
  --font-secondary: "Cormorant Garamond", serif;
  --base-size-font: 14px;
  --h1-size: clamp(3rem, 4.2vw, 3.9rem);
  --h2-size: clamp(1.9rem, 3vw, 2.5rem);
  --tagline-size: 0.8rem;
  --text-content-size: 1rem;
  --transition: all 0.4s ease;
  --ease-fill: cubic-bezier(0.65, 0, 0.35, 1);
}
/**
*	BASE
*	=======================================================================================================
**/
body {
  font: 400 var(--base-size-font) var(--font-primary);
  line-height: 1.6;
  margin: 0;
  color: var(--color-charcoal);
  background-color: var(--color-white);
}

html,
body {
  height: 100%;
  overscroll-behavior: none;
}

html {
  font-size: var(--base-size-font);
  overflow-y: scroll; /* reserva siempre el espacio de la scrollbar para que no salte el layout al bloquear/liberar el scroll (preloader) */
  scrollbar-gutter: stable;
}

h1,
h2,
h3 {
  font-weight: 400;
}

p {
  font-size: var(--text-content-size);
  margin-bottom: 16px;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

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

/**
*	UTILIDADES
*	=======================================================================================================
**/
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.d-flex {
  display: flex;
}

.highlight {
  color: var(--color-green-light);
}

/* --- Container --- */
.container {
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 1.5rem;
  max-width: 1200px;
  z-index: 1;
}

/**
*	SECTION (global)
*	=======================================================================================================
**/
section {
  padding: 60px 0;
  overflow-x: clip;
  position: relative;
  scroll-margin-top: 100px;
}

@media screen and (min-width: 980px) {
  section {
    padding: 100px 0;
  }
}

/**
*	BOTONES
*	=======================================================================================================
**/
.btn {
  border: none;
  background-color: var(--color-pink);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  padding: 10px 36px;
  transition: transform 0.4s var(--ease-fill);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 3px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-green-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-fill);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn.-outline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.btn.-outline::before {
  background-color: var(--color-pink);
}

/**
*	TÍTULO DE SECCIÓN
*	=======================================================================================================
**/
.section-title {
  margin-bottom: 40px;
}

.section-title__tag {
  display: inline-block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-green-light);
  margin-bottom: 15px;
}

.section-title__heading {
  font: 400 var(--h2-size) var(--font-secondary);
  line-height: 1.2;
  color: var(--color-charcoal);
  margin: 0;  
}
.section-title__heading.-adorno{
position: relative;
padding-bottom: 33px;
}
.section-title__heading.-adorno::after{
  content: "";
  position: absolute;
  width: 52px;
  height: 3px;
  background-color: var(--color-green-light);
  bottom: 0;
  left: 0;
}
.section-title__heading.-adorno.-white::after{
  background-color: #fff;
}

.section-title.-white .section-title__heading {
  color: var(--color-white);
}

.section-title.-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 980px) {
  .section-title {
    margin-bottom: 56px;
  }
}

/**
*	PRELOADER
*	=======================================================================================================
**/
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.preloader__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-black);
}

.preloader__panel--top {
  top: 0;
}

.preloader__panel--bottom {
  bottom: 0;
}

.preloader__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.preloader__logo {
  width: 180px;
  height: auto;
}

.preloader__logo-metodo,
.preloader__logo-upaya,
.preloader__logo-09 {
  opacity: 0;
  transform: translateY(12px);
}

.preloader__percent {
  font: 700 0.9rem var(--font-primary);
  letter-spacing: 0.08em;
  color: var(--color-pink);
}

/**
*	HEADER
*	=======================================================================================================
**/
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 0;
}

.header__inner {
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 50px;
  width: auto;
}
/** HEADER - NAV **/
.header__nav {
  display: none;
}

.header__nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-menu a {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

.header__nav-menu a.is-active {
  color: var(--color-green-light);
}

/** HEADER - RIGHT (social + cta) **/
.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__social {
  display: none;
  align-items: center;
  gap: 14px;
}

.header__social img {
  width: 16px;
  height: 16px;
}

.header__cta {
  display: none;
  padding: 12px 28px;
}

/** HEADER - HAMBURGER (MOBILE) **/
.header__hamburger {
  width: 32px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.header__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.header__hamburger span:nth-child(1) {
  top: 0;
}

.header__hamburger span:nth-child(2) {
  top: 10px;
}

.header__hamburger span:nth-child(3) {
  top: 20px;
}

@media screen and (min-width: 980px) {
  .header__nav {
    display: block;
  }

  .header__social {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }
}

/**
*	HEADER FLOTANTE
*	=======================================================================================================
**/
.header-floating {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  background-color: var(--color-black);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-fill);
}

.header-floating.is-visible {
  transform: translateY(0);
}

.header-floating__inner {
  align-items: center;
  justify-content: space-between;
}

.header-floating__logo img {
  height: 40px;
  width: auto;
}

.header-floating__cta {
  display: none;
  padding: 10px 24px;
}

@media screen and (min-width: 980px) {
  .header-floating__cta {
    display: inline-flex;
  }
}

/**
*	NAV SIDEBAR (MOBILE)
*	=======================================================================================================
**/
.nav-sidebar__overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background-color: rgba(29, 29, 27, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-sidebar__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background-color: var(--color-black);
  z-index: 200;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-fill);
  display: flex;
  flex-direction: column;
}

.nav-sidebar.is-open {
  transform: translateX(0);
}

.nav-sidebar__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.nav-sidebar__close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.nav-sidebar__menu {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: auto;
}

.nav-sidebar__menu a {
  color: var(--color-white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.nav-sidebar__menu a.is-active {
    color: var(--color-green-light);
}

.nav-sidebar__footer {
  padding-top: 32px;
}

.nav-sidebar__social {
  display: flex;
  gap: 16px;
}

.nav-sidebar__social img {
  width: 18px;
  height: 18px;
}

@media screen and (min-width: 980px) {
  .nav-sidebar,
  .nav-sidebar__overlay {
    display: none;
  }
}

/**
*	HERO
*	=======================================================================================================
**/
.hero {
    background-color: var(--color-black);
    padding-top: 160px;
    padding-bottom: 80px;
    background-image: url(../images/img-hero2.webp);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: auto 100%;
    padding: 175px 1.5rem 80px;
}
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: 600px;
  pointer-events: none;
}

.hero__stars-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  transform-style: preserve-3d;
  box-shadow:
    -411px -476px #cccccc, 777px -407px #d4d4d4, -387px -477px #fcfcfc, -91px -235px #d4d4d4, 491px -460px #f7f7f7,
    892px -128px #f7f7f7, 758px -277px #ededed, 596px 378px #cccccc, 647px 423px whitesmoke, 183px 389px #c7c7c7,
    524px -237px #f0f0f0, 679px -535px #e3e3e3, 158px 399px #ededed, 157px 249px #ededed, 81px -450px #ebebeb,
    719px -360px #c2c2c2, -499px 473px #e8e8e8, -158px -349px #d4d4d4, 870px -134px #cfcfcf, 446px 404px #c2c2c2,
    440px 490px #d4d4d4, 414px 507px #e6e6e6, -12px 246px #fcfcfc, -384px 369px #e3e3e3, 641px -413px #fcfcfc,
    822px 516px #dbdbdb, 449px 132px #c2c2c2, 727px 146px #f7f7f7, -315px -488px #e6e6e6, 952px -70px #e3e3e3,
    -869px -29px #dbdbdb, 502px 80px #dedede, 764px 342px #e0e0e0, -150px -380px #dbdbdb, 654px -426px #e3e3e3,
    -325px -263px #c2c2c2, 755px -447px #c7c7c7, 729px -177px #c2c2c2, -682px -391px #e6e6e6, 554px -176px #ededed,
    -85px -428px #d9d9d9, 714px 55px #e8e8e8, 359px -285px #cfcfcf, -362px -508px #dedede, 468px -265px #fcfcfc,
    74px -500px #c7c7c7, -514px 383px #dbdbdb, 730px -92px #cfcfcf, -112px 287px #c9c9c9, -853px 79px #d6d6d6,
    828px 475px #d6d6d6, -681px 13px #fafafa, -176px 209px #f0f0f0, 758px 457px #fafafa, -383px -454px #ededed,
    813px 179px #d1d1d1, 608px 98px whitesmoke, -860px -65px #c4c4c4, -572px 272px #f7f7f7, 459px 533px #fcfcfc,
    624px -481px #e6e6e6, 790px 477px #dedede, 731px -403px #ededed, 70px -534px #cccccc, -23px 510px #cfcfcf,
    -652px -237px whitesmoke, -690px 367px #d1d1d1, 810px 536px #d1d1d1, 774px 293px #c9c9c9, -362px 97px #c2c2c2,
    563px 47px #dedede, 313px 475px #e0e0e0, 839px -491px #e3e3e3, -217px 377px #d4d4d4, -581px 239px #c2c2c2,
    -857px 72px #cccccc, -23px 340px #dedede, -837px 246px white, 170px -502px #cfcfcf, 822px -443px #e0e0e0,
    795px 497px #e0e0e0, -814px -337px #cfcfcf, 206px -339px #f2f2f2, -779px 108px #e6e6e6, 808px 2px #d4d4d4,
    665px 41px #d4d4d4, -564px 64px #cccccc, -380px 74px #cfcfcf, -369px -60px #f7f7f7, 47px -495px #e3e3e3,
    -383px 368px #f7f7f7, 419px 288px #d1d1d1, -598px -50px #c2c2c2, -833px 187px #c4c4c4, 378px 325px whitesmoke,
    -703px 375px #d6d6d6, 392px 520px #d9d9d9, -492px -60px #c4c4c4, 759px 288px #ebebeb, 98px -412px #c4c4c4,
    -911px -277px #c9c9c9;
}

.hero__stars-layer:nth-child(1) {
  animation: hero-stars-fly-1 5s linear infinite;
}

.hero__stars-layer:nth-child(2) {
  animation: hero-stars-fly-2 5s linear infinite;
  animation-delay: -1.66s;
}

.hero__stars-layer:nth-child(3) {
  animation: hero-stars-fly-3 5s linear infinite;
  animation-delay: -3.33s;
}

@keyframes hero-stars-fly-1 {
  0% {
    transform: translateZ(-600px);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translateZ(0);
    opacity: 0;
  }
}

@keyframes hero-stars-fly-2 {
  0% {
    transform: translateZ(-1200px);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translateZ(-600px);
    opacity: 0;
  }
}

@keyframes hero-stars-fly-3 {
  0% {
    transform: translateZ(-1800px);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translateZ(-1200px);
    opacity: 0;
  }
}

.hero__wrapper {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font: 400 var(--h1-size) var(--font-secondary);
  color: var(--color-white);
  line-height: 1;
  margin: 0 0 24px;
}
.hero__text {
  color: #fff;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  margin-top: 28px;
}
.hero__graphic {
    position: relative;
    width: 140%;
    aspect-ratio: 860.96 / 459.03;
}

@media screen and (min-width: 580px) {
   .hero__graphic {
    width:100%;
  }
}

@media screen and (min-width: 980px) {
  .hero {
    padding-top: 200px;
    padding-bottom: 120px;
  }

.hero__wrapper {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0 0 0 max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
}
.hero__content {
    text-align: left;
    width: 40%;
    flex-shrink: 0;
    max-width: 444px;
}
  .hero__text {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__graphic {
    width: 58%;
    max-width: none;
  }
}

/**
*	FILOSOFÍA
*	=======================================================================================================
**/
.filosofia {
  background-color: var(--color-charcoal);
  color: #fff;
  padding: 0;
}

.filosofia__wrapper {
    position: relative;
    flex-direction: column;
    gap: 40px;
    padding: 60px 1.5rem;
}
.filosofia__col {
  position: relative;
  width: 100%;
}
.filosofia__col--tag .section-title {
  margin-bottom: 0;
}

.filosofia__col--tag .section-title__heading {
  color: #fff;
}

.filosofia__col--media {
  position: relative;
  height: 320px;
}

.filosofia__media-card {
  position: absolute;
  inset: 0;
  background-color: var(--color-gray-medium);
  height: calc(100% + 20px);
}

.filosofia__media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 980px) {
  .filosofia__wrapper {
    flex-direction: row;
    align-items: center;
    gap: 75px;
    padding: 0 0 0 max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    min-height: 542px;
    justify-content: space-between;
  }

  .filosofia__col--tag {
    width: 20%;
    min-width: 365px;
  }
  .filosofia__col--text {
    width: 33%;
    max-width: 425px;
    padding-right: 80px;
  }
  .filosofia__col--media {
    height: stretch;
    width: 30%;
  }
  .filosofia__media-card {
    z-index: 2;
  }
  .filosofia__media-card img {
    position: absolute;
    left: -130px;
    width: 100%;
    min-width: 536px;
    transform: translateY(-50%);
    top: 50%;
  }
}

/**
*	MÉTODO
*	=======================================================================================================
**/
.metodo {
    background-color: var(--color-white);
    background-image: url("../images/patron.jpg");
    background-repeat: repeat;
    padding: 80px 0 100px;
}
.metodo .section-title {
    max-width: 397px;
    margin: 0 auto 74px;
}
.metodo .section-title__tag{
  color: var(--color-pink);
}
.metodo .section-title h2{
color: var(--color-olive);
}
.metodo__wrapper {
  flex-direction: column;
  gap: 40px;
}

.metodo__step {
  flex: 1;
}
.metodo__number {
    display: block;
    font: 600 4.3rem var(--font-secondary);
    color: var(--color-pink);
    line-height: 1;
    position: relative;
}
.metodo__number::after {
    display: none;
}
.metodo__step-title {
    font: 400 1.6rem var(--font-secondary);
    margin: 0 0 12px;
    color: var(--color-black);
    position: relative;
}

.metodo__step-text {
    color: var(--color-olive);
    font-size: 0.9rem;
}



@media screen and (min-width: 980px) {
  .metodo {
    padding: 150px 0;
}
 .metodo__wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.metodo__number::after {
    display: block;
    content: "";
    position: absolute;
    width: 69%;
    height: 20px;
    background-image: url(../images/arrow.svg);
    background-repeat: no-repeat;
    background-position: center right;
    top: 60%;
    transform: translateY(-50%);
    right: 0;
    margin-right: 20px;
    background-size: 147px;
}

}

/**
*	CAMPOS
*	=======================================================================================================
**/
.campos {
  background-color: var(--color-black);
  position: relative;
}
.campos::before {
  content: "";
  position: absolute;
  width: 360px;
  max-width: 100%;
  height: 65px;
  top: -32px;
  left: 0;
  background-color: var(--color-pink);
  z-index: 2;
}

.campos__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.campos__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--color-black);
  opacity: 0.8;
}

.campos .container {
  z-index: 2;
}
.campos__wrapper {
    flex-direction: column;
    gap: 48px;
    min-height: 270px;
    padding: 80px 0 50px;
}

.campos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
  margin-bottom: 32px;
}

.campos__row:last-child {
  margin-bottom: 0;
}

.campos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 84px;
  text-align: center;
}

.campos__item img {
  width: 50px;
  height: 37px;
  object-fit: contain;
}

.campos__item span {
  color: var(--color-white);
}
.campos .section-title {
  margin-bottom: 0;
}

@media screen and (min-width: 980px) {
  .campos__wrapper {
    flex-direction: row;
    align-items: center;
    gap: 6%;
    padding: 0;
  }

  .campos__col--title {
    width: 30%;
    flex-shrink: 0;
  }

  .campos__col--grid {
    width: 64%;
  }

  .campos__row {
    gap: 36px;
  }
}

/**
*	VIDEOS
*	=======================================================================================================
**/
.videos {
  background-color: #5ea28e;
  padding: 0;
}

.videos__wrapper {
    flex-direction: column;
    gap: 40px;
    padding-top: 80px;
}
.videos .section-title{
  margin-bottom: 0;
}
.videos__col--title {
  padding: 0 1.5rem;
}
.videos .section-title__tag {
  color: #fff;
}
.videos .section-title__heading {
  color: #fff;
}

.videos__col--slider {
  overflow: hidden;
}

.videos__swiper {
  overflow: visible;
}

.videos__slide {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--color-charcoal);
}

.videos__slide-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.videos__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(29, 29, 27, 0.9) 0%,
    rgba(29, 29, 27, 0) 100%
  );
}

.videos__slide-info {
  position: absolute;
  top: 45px;
  left: 50px;
  z-index: 2;
}

.videos__slide-tag {
  display: block;
  text-transform: uppercase;
  color: var(--color-green-light);
  /* margin-bottom: 15px; */
}

.videos__slide-title {
  font: 400 1.8rem var(--font-secondary);
  color: var(--color-white);
  margin: 0;
  max-width: 220px;
}
.videos__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.videos__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.videos__play img {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 980px) {
  .videos__wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 6%;
    align-items: center;
    padding: 0;
  }
  .videos__col--title {
    width: 35%;
    flex-shrink: 0;
    padding-left: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
}

 .videos__col--slider {
    width: 64%;
    padding-bottom: 40px;
    background-color: var(--color-black);
}

 .videos__slide {
    aspect-ratio: 4/3;
}
}

/**
*	VIDEO MODAL
*	=======================================================================================================
**/
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  padding: 20px;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(29, 29, 27, 0.9);
}

.video-modal__box {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-modal__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/**
*	FRASE
*	=======================================================================================================
**/
.frase {
  background-color: var(--color-black);
}

.frase__wrapper {
  flex-direction: column;
  gap: 40px;
  text-align: center;
  padding: 0 6.5rem;
}

.frase__col--media {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}
.frase__img {
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.frase__quote {
    font: 400 clamp(1.6rem, 3vw, 2.9rem) var(--font-secondary);
    line-height: 1;
    color: #fff;
    margin: 0 0 28px;
}
.frase__col--spacer {
  display: none;
}

@media screen and (min-width: 980px) {
  .frase__wrapper {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .frase__col--media,
  .frase__col--spacer {
    width: 22%;
    flex-shrink: 0;
    margin: 0;
    min-width: 255px;
  }
  .frase__col--quote {
    width: 56%;
    text-align: center;
  }

  .frase__col--spacer {
    display: block;
  }
}

/**
*	FONDO FOOTER
*	=======================================================================================================
**/
.fondo-footer {
    padding: 0;
    height: 220px;
    overflow: hidden;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .fondo-footer {
  height: 375px;
}
}
@media screen and (min-width: 1280px) {
}


.fondo-footer img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
}

/**
*	FOOTER
*	=======================================================================================================
**/
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  position: relative;
}
.footer::before {
  position: absolute;
  content: "";
  width: 365px;
  max-width: 100%;
  height: 25px;
  background-color: var(--color-pink);
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}

.footer__row--top {
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  padding: 75px 0 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.footer__col--phone,
.footer__col--mail {
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}

.footer__col--phone img,
.footer__col--mail img {
  width: 18px;
  height: 18px;
}
.footer__col--logo {
  order: -1; /* mobile: el logo va primero, luego teléfono y correo */
}

.footer__col--logo img {
  height: 64px;
  width: auto;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social img {
  width: 16px;
  height: 16px;
}

.footer__row--bottom {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer__copy,
.footer__credit {
  color: #fff;
}

.footer__credit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__credit img {
  height: 14px;
  width: auto;
}

.footer__divider {
  display: none;
}

@media screen and (min-width: 768px) {
  .footer__row--top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__col {
    width: 33%;
  }

  .footer__col--logo {
    order: 0; /* desktop: vuelve al orden natural del DOM (teléfono, logo, correo) */
  }

  .footer__col--phone,
  .footer__col--mail {
    flex-direction: row;
    justify-content: flex-start;
  }

  .footer__col.footer__col--mail {
    justify-content: flex-end;
  }

  .footer__row--bottom {
    flex-direction: row;
    justify-content: center;
  }

  .footer__divider {
    display: inline;
    margin-right: 6px;
    color: var(--color-gray-medium);
  }
}

/**
*	404 (solo WordPress, no existe en la maqueta HTML)
*	=======================================================================================================
**/
.error-404-upaya {
  background-color: var(--color-black);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
}

.error-404-upaya__wrapper {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.error-404-upaya__wrapper .section-title__tag {
  display: block;
  margin-bottom: 16px;
}

.error-404-upaya__title {
  font: 400 clamp(2.6rem, 6vw, 4rem) var(--font-secondary);
  color: var(--color-white);
  line-height: 1.1;
  margin: 0 0 16px;
}

.error-404-upaya__text {
  color: var(--color-gray-medium);
  margin-bottom: 32px;
}

@media screen and (min-width: 980px) {
  .error-404-upaya {
    min-height: 70vh;
    padding-top: 200px;
  }
}
