/* EDICIÓN RÁPIDA: cambia colores y medidas principales en :root. */
:root {
  --green: #006c62;
  --green-dark: #00594f;
  --gold: #bd943d;
  --ink: #4e5353;
  --line: #d8dcda;
  --surface: #f7f8f7;
  --white: #ffffff;
  --container: 1460px;
  --section-space: clamp(4.75rem, 8vw, 9rem);
  --title-font:  "Libre Caslon Text", serif;
  --body-font: "Nunito Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--green);
  border-radius: 0.25rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header { padding-top: 1.4rem; }
.header-top {
  min-height: 145px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.brand { width: 94px; height: 94px; display: block; }
.brand img { height: 100%; object-fit: contain; }
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.45rem 1.15rem;
  color: var(--green);
  border: 1px solid var(--green);
  font-family: var(--title-font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.contact-button:hover, .contact-button:focus-visible {
  color: var(--white);
  background: var(--green);
  transform: translateY(-2px);
}

.title-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-block: 1rem 3.1rem;
  border-bottom: 1px solid var(--line);
}
.page-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--green);
  font-family: var(--title-font);
  font-size: 1.45rem;
  font-weight: 700;
}
.page-label-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #dbdada;
  border-radius: 0.7rem;
}
.page-label-icon img {
  width: 34px;
  height: 34px;
  display: grid;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  color: var(--green);
  font-family: var(--title-font);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 { margin-bottom: 0; font-size: clamp(1.8rem, 3.2vw, 4rem); font-weight: 700; }
h2 { margin-bottom: clamp(2.5rem, 5vw, 5rem); font-size: clamp(1rem, 2.3vw, 2.9rem); }
.section { padding-block: var(--section-space); }

.intro {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}
.intro-copy { max-width: 1050px; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.intro-copy p { margin-bottom: 2rem; }

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3.48 / 1;
  background: #edf0ef;
}
.hero-media img { height: 100%; object-fit: cover; }
.accent-outline {
  position: absolute;
  top: 42%;
  right: 2.5%;
  width: 20%;
  height: 70%;
  border-top: 2px solid rgba(189, 148, 61, 0.9);
  border-left: 2px solid rgba(189, 148, 61, 0.9);
  transform: skewX(36deg);
  transform-origin: top left;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
}
.benefits-intro > p { max-width: 610px; }
.eyebrow { margin-top: 2.2rem; color: #575b5b; font-weight: 700; }
.benefit-list { margin: 0; padding: 0; list-style: none; }
.benefit-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}
.benefit-number {
  color: #666b6a;
  font-family: var(--title-font);
  font-size: 1.2rem;
  font-weight: 700;
}
.benefit-list h3 {
  margin-bottom: 0.25rem;
  color: #555958;
  font-family: var(--title-font);
  font-size: 1.18rem;
}
.benefit-list p { margin-bottom: 0; }

.skills-band { background: var(--surface); }
.skills-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.skills-image { position: relative; margin: 0; }
.skills-copy p { margin-bottom: 2rem; }
.accent-line {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 34%;
  height: 2px;
  background: var(--gold);
  transform: rotate(43deg);
  transform-origin: right center;
}

.resources { border-top: 1px solid var(--line); }
.resource-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.48fr);
  gap: 1.5rem;
}
.resource-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #2d3433;
}
.resource-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to top, rgba(16, 26, 25, 0.82), transparent);
}
.resource-card img { height: 100%; object-fit: cover; transition: transform 500ms ease; }
.resource-card:hover img { transform: scale(1.025); }
.resource-overlay {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2.75rem);
  bottom: clamp(1.4rem, 3vw, 2.6rem);
  left: clamp(1.25rem, 3vw, 2.75rem);
  color: var(--white);
}
.resource-overlay h3 {
  margin-bottom: 0.55rem;
  font-family: var(--title-font);
  font-size: clamp(0.8rem, 2vw, 2rem);
  line-height: 1.1;
}
.resource-overlay a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  color: var(--white);
  background: var(--gold);
  font-size: 0.95rem;
  text-decoration: none;
}
.resource-shape {
  position: absolute;
  z-index: 1;
  top: 35%;
  right: 2%;
  width: 35%;
  height: 70%;
  background: rgba(189, 148, 61, 0.78);
  clip-path: polygon(0 0, 54% 0, 100% 100%, 46% 100%);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 3.6rem 0 1.5rem;
  color: var(--white);
  background: var(--green-dark);
}
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.35fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.footer-brand img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.site-footer h2 { margin-bottom: 1.2rem; color: var(--white); font-size: 1.25rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a, .site-footer address { font-style: normal; font-size: 0.92rem; text-decoration: none; }
.site-footer li + li, .site-footer address a + a { margin-top: 0.35rem; }
.site-footer address a { display: block; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.social-list { display: flex; gap: 0.65rem; }
.social-list a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.social-list img{
  width: 20px;
  height: 20px;
}
.footer-watermark {
  position: absolute;
  right: -2rem;
  bottom: -4.8rem;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--title-font);
  font-size: 8.5rem;
  line-height: 0.57;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 3rem), var(--container));
  margin: 2.8rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
}
.floating-whatsapp {
  position: fixed;
  z-index: 20;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 10px 18px rgba(0, 61, 55, 0.22));
  transition: transform 180ms ease;
}
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { transform: translateY(-4px) scale(1.03); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .title-grid, .intro, .benefits, .skills-grid { grid-template-columns: 1fr; }
  .title-grid, .intro { gap: 1.6rem; }
  .title-grid { align-items: start; }
  .page-label { order: 2; }
  .title-grid h1 { order: 1; }
  .intro > div[aria-hidden="true"] { display: none; }
  .hero-media { aspect-ratio: 2 / 1; }
  .benefits { align-items: start; }
  .skills-grid { gap: 2.5rem; }
  .resource-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .header-top { min-height: 112px; }
  .brand { width: 76px; height: 76px; }
  .contact-button { margin-top: 0.35rem; padding: 0.55rem 0.75rem; font-size: 0.82rem; }
  .title-grid { padding-bottom: 2rem; }
  h1 br, h2 br { display: none; }
  .hero-media { width: 100%; aspect-ratio: 1.25 / 1; }
  .hero-media img { object-position: 61% center; }
  .benefit-list li { grid-template-columns: 42px 1fr; }
  .resource-grid, .footer-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 390px; }
  .resource-card-large { min-height: 330px; }
  .footer-grid { gap: 2.4rem; }
  .footer-watermark { font-size: 6rem; }
  .floating-whatsapp { width: 62px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

 .whatsapp-float {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 64px;
      height: 64px;
    
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;

      z-index: 9999;
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .whatsapp-float:hover {
      transform: scale(1.08);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    }

    .whatsapp-float img {
      width: 64px;
      height: 64px;
    }

    .whatsapp-tooltip {
      position: absolute;
      right: 78px;
      background: #ffffff;
      color: #333;
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 14px;
      white-space: nowrap;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
      opacity: 0;
      pointer-events: none;
      transform: translateX(10px);
      transition: all 0.3s ease;
    }

    .whatsapp-float:hover .whatsapp-tooltip {
      opacity: 1;
      transform: translateX(0);
    }

    @media (max-width: 768px) {
      .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
      }

      .whatsapp-float img {
        width: 32px;
        height: 32px;
      }

      .whatsapp-tooltip {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
      }

      .whatsapp-float img {
        width: 30px;
        height: 30px;
      }
    }


    .up-video-tab__counter {
  margin-top: 10px;
  text-align: center;
  font-family: var(--up-font-body);
  font-size: 0.78rem;
  font-weight: var(--up-font-bold);
  color: var(--up-color-primary);
  opacity: 0.9;
}

.up-video-tab__counter span {
  color: var(--up-color-gold);
}

/*======================Boton Flotante==================*/
