:root {
  --brand-navy: #011E41;
  --brand-deep: #001171;
  --brand-gold: #EFAA03;
  --font-display: "Edgecutting Lite Medium", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

.btn-festejo {
  background-color: var(--brand-gold);
  color: #FFF;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(160px, 60%, 300px);
  border-radius: 16px;
  text-decoration: none;
  padding: .75rem 1.25rem;
}

* {
  box-sizing: border-box
}

html,
body {
  overflow-x: hidden
}

body {
  font-family: var(--font-body);
  color: #1a1a1a;
  margin: 0;
}

.font-display {
  font-family: var(--font-display);
}

.font-display h1,
h2,
h3 {
  letter-spacing: 6px;
}

/* AJUSTE 5 — Headings de secciones un poco más chicos en desktop */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  /* antes: clamp(2rem, 5vw, 4rem) */
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0
}

/* AJUSTE 2 — Dividers más grandes */
.divider {
  height: 24px;
  width: 480px;
}

.divider.invert {
  filter: invert(1) brightness(2);
  opacity: .7
}

/* HERO */
.hero {
  background: var(--brand-navy);
  min-height: 100vh;
  color: #fff;
  padding: 5rem 1rem
}

/* AJUSTE 1 — Logo hero más chico */
.hero-logo {
  max-width: 300px;
  /* antes: 400px */
  width: 70%
    /* antes: 90% */
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: #fff
}

.hero-sub {
  max-width: 680px;
  font-size: clamp(.95rem, 1.4vw, 1.125rem);
  color: rgba(255, 255, 255, .75)
}

/* Flecha */
.flecha-abajo {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  z-index: 10;
  animation: rebote 2s infinite;
}

.flecha-abajo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  border-bottom: 4px solid #ffffff;
  border-right: 4px solid #ffffff;
  transform: rotate(45deg);
}

@keyframes rebote {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* PILARES */
.pilares {
  background: #fff;
  padding: 8rem 0;
  overflow: hidden
}

.deco {
  position: absolute;
  width: 260px;
  opacity: .7;
  pointer-events: none
}

.deco-left {
  left: -40px;
  top: 40px
}

.deco-right {
  right: -40px;
  bottom: 40px
}

@media (min-width: 768px) {
  .deco {
    width: 120px
  }
}

@media (max-width: 767px) {
  .deco {
    width: 60px;
    opacity: .5
  }
}

.pilares-sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--brand-deep)
}

/* CROWE BAND */
.crowe-band {
  background: #fff
}

.crowe-band img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  object-position: center center;
  display: block
}

@media (max-width: 767px) {
  .crowe-band img {
    height: 40vh;
    object-position: center top;
  }
}

/* EMPRESAS */
.empresas {
  background: var(--brand-navy);
  padding: 6rem 0
}

.empresas .container {
  max-width: 1080px
}

.flip-card {
  perspective: 1200px;
  height: 280px
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  transform-style: preserve-3d
}

.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner {
  transform: rotateY(180deg)
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  padding: 1.5rem
}

.flip-back {
  position: absolute;  
  inset: 0;             
  transform: rotateY(180deg);
  overflow: hidden;
}

.flip-back::before,
.flip-back::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-image: url("assets/Recurso_Circulos.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.flip-back::before {
  top: -20px;
  left: -20px;
}

.flip-back::after {
  bottom: -20px;
  right: -20px;
  transform: rotate(180deg);
}

.flip-back .flip-list {
  position: relative;
  z-index: 1;
}

.flip-face img {
  max-height: 96px;
  max-width: 70%;
  object-fit: contain
}


.flip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  color: var(--brand-navy);
  font-size: 1.1rem;
  line-height: 2;
  letter-spacing: 1px;
  text-align: left;
}

/* AJUSTE 3 — Ícono check con color fijo, sin depender del OS */
.flip-check {
  color: var(--brand-deep);
  /* azul oscuro siempre, en cualquier navegador/OS */
  font-size: 1rem;
  margin-right: .35rem;
  vertical-align: middle;
}

/* ============================================
   OFICINAS — Acordeón en 3 columnas
   ============================================ */
.oficinas {
  background: #fff;
  padding: 6rem 0
}

.office-columns {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.office-region-title {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-gold);
  text-align: center;
  margin-bottom: 1.5rem;
}

.office-accordion {
  width: 100%;
}

.office-accordion-item {
  border: none;
  border-bottom: 1px solid rgba(1, 30, 65, 0.12);
  background: transparent;
}

.office-accordion-item:last-child {
  border-bottom: none;
}

.office-accordion .accordion-button {
  background: transparent;
  color: var(--brand-navy);
  font-size: 1rem;
  padding: 1rem 0.25rem;
  box-shadow: none;
  gap: 0.65rem;
}

.office-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--brand-navy);
  box-shadow: none;
}

.office-accordion .accordion-button:focus {
  box-shadow: none;
}

.office-accordion .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.2s ease-in-out;
}

.office-accordion .office-icon {
  font-size: 1.05rem;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.office-accordion .office-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.office-accordion .accordion-body {
  padding: 0 0.25rem 1.25rem 2.2rem;
}

.office-accordion .office-street {
  margin-bottom: 0.3rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.office-accordion .office-phone {
  font-weight: 600;
  color: var(--brand-deep);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .office-columns .col-lg-4:not(:last-child) {
    margin-bottom: 2.5rem;
  }
}

/* ============================================
   FOOTER — AJUSTE 4
   ============================================ */
.footer {
  background: #fff;
  /* antes: #f3f3f3 */
  position: relative;
  overflow: hidden;
}

/* Imágenes decorativas del footer, mismas que #pilares */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .25;
  pointer-events: none;
}

.footer::before {
  background-image: url("https://weone.com.ar/wp-content/uploads/2026/03/circulos-04.png");
  left: -30px;
  bottom: -20px;
}

.footer::after {
  background-image: url("https://weone.com.ar/wp-content/uploads/2026/03/circulos-03.png");
  right: -30px;
  top: -20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: auto;
  position: relative;
  /* queda por encima de los pseudoelementos */
  z-index: 1;
}

.footer-logo {
  height: 100%;
  width: auto;
  max-height: 52px;
  object-fit: contain;
}

.crowe-logo .footer-logo {
  max-width: 130px;
}

.weone-logo .footer-logo {
  max-width: 110px;
}

/* MyA es el logo protagonista del footer: va arriba y un poco más grande */
.monasterio-logo {
  height: 64px;
}

.monasterio-logo .footer-logo {
  max-width: 150px;
  max-height: 64px;
}

.footer-logos-secondary {
  padding-top: .25rem;
  border-top: 1px solid rgba(1, 30, 65, .08);
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .25s ease;
  position: relative;
  z-index: 1;
}

.linkedin-btn:hover {
  transform: scale(1.1);
  color: #fff
}

.footer-sign {
  font-size: .875rem;
  color: #909090;
  position: relative;
  z-index: 1;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .25s ease, box-shadow .25s ease
}

.wa-float.show {
  display: flex;
  animation: wa-pop .5s ease-out both
}

.wa-float:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
  color: #fff
}

@keyframes wa-pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.8)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}



/******* EMPRESAS — Desktop: mantener flip al hover sólo en dispositivos con hover real ******/
@media (hover: none),
(pointer: coarse) {

  .flip-card:hover .flip-inner,
  .flip-card:focus-within .flip-inner {
    transform: none;
  }
}

/* EMPRESAS — Mobile: convertir flip en accordion */
@media (max-width: 767px) {
  .flip-card {
    height: auto;
    perspective: none;
    cursor: pointer;
  }

  .flip-inner {
    position: static;
    transform: none !important;
    transform-style: flat;
    transition: none;
    display: flex;
    flex-direction: column;
  }

  .flip-face {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
  }

  .flip-front {
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    background: #fff;
    transition: border-radius .35s ease, border-color .35s ease, box-shadow .35s ease;

  }


  @media(max-width:600px) {
    .flip-front {
      display: flex;
      flex-direction: column;
    }
  }

  .flip-card.active .flip-front {
    border-radius: 16px 16px 0 0;
    border-bottom-color: #ffffff00;
    box-shadow: none;
  }

  .flip-card.active .flip-back {
    max-height: 600px;
    opacity: 1;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  }

  .flip-list {
    font-size: 1rem;
    line-height: 1.9;
  }

  /* Chevron indicador */
  .flip-front::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: .85rem;
    color: var(--brand-gold);
    margin-top: .6rem;
    display: block;
    text-align: center;
    transition: transform .35s ease;
  }

  .flip-card.active .flip-front::after {
    transform: rotate(180deg);
  }

  .flip-back {
    transform: none !important;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e8e8e8;
    border-top: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height .45s ease, opacity .35s ease, padding .35s ease;
  }
}


/* ============================================ FADE-IN EN HEADINGS (section-title) ============================================ */
.section-title,
.hero-lead,
.hero-sub,
.pilares-sub {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-title.fade-in,
.hero-lead.fade-in,
.hero-sub.fade-in,
.pilares-sub.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Delay escalonado para el hero */
.hero-lead {
  transition-delay: 0.15s;
}

.hero-sub {
  transition-delay: 0.3s;
}

/* ============================================ BTN-FESTEJO — HOVER SHINE + ELEVACIÓN ============================================ */
.btn-festejo {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-festejo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: none;
}

.btn-festejo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(239, 170, 3, 0.4);
}

.btn-festejo:hover::after {
  left: 130%;
  transition: left 0.55s ease;
}

.btn-festejo:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(239, 170, 3, 0.3);
}


/**** CARDS — fondo decorativo en reverso ****/
.flip-back::before,
.flip-back::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background-image: url("assets/Recurso_Circulos.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.flip-back::before {
  top: -20px;
  left: -20px;
}

.flip-back::after {
  bottom: -20px;
  right: -20px;
  transform: rotateY(180deg) rotate(180deg);
}

.flip-back .flip-list {
  position: relative;
  z-index: 1;
}

.flip-arrow {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: .45rem;
  vertical-align: middle;
  flex-shrink: 0;
}