/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

@font-face {
  font-family: "Inter";
  src: url(/assets/fonts/Inter-VariableFont_opsz_wght.woff);
}

@font-face {
  font-family: "Canela";
  src: url(/assets/fonts/Canela-Regular-Trial.woff);
}

/* End: Fonts */

/* Global */
:root {
  --primary: #152f47;
  --secondary: #406282;
  --white: #e0d9ca;
  --nude: #bcb3a0;
  --mouse: #8e826c;
  --accent: #d3a04c;
}
/* End: Global */

/* Hero */

#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.map-wrapper {
  position: absolute;
  inset: 0;
  line-height: 0;
  z-index: 0;
}

.map-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-title {
  position: absolute;
  bottom: clamp(42px, 6vh, 64px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  padding-bottom: clamp(40px, 5vh, 56px);
  text-align: center;
  font-size: 32px;
}

.hero-title__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 24px;
  margin: 10px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-word {
  font-size: 300 clamp(32px, 5vw, 64px);
  color: var(--nude);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.hero-word--left {
  justify-self: start;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.hero-word--center,
.hero-word--right {
  font-family: "Canela", serif;
  font-weight: 500;
}

.hero-word--center {
  justify-self: center;
  letter-spacing: 0.08em;
}

.hero-word--right {
  justify-self: end;
}

/* End: Hero */

/* Mobile */

/* Hero */
@media (max-width: 480px) {
  #hero {
    min-height: 100dvh;
    overflow: clip; /* evita scroll raro por overlays */
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 100px;
  }

  .hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-title__row {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 6px;
    margin: 0;
  }

  .hero-word {
    font-size: 32px !important;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-title {
    bottom: 0;
  }

  .hero-word--left,
  .hero-word--center,
  .hero-word--right {
    justify-self: center !important; /* centra cada palabra */
  }
}

/* End: Hero */

/* End: Mobile */

/* Platform */

#platform {
  padding-block: 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 100px;
  scroll-margin-top: 100px;
}

#platform::before {
  z-index: -1;
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/waves.svg") no-repeat right center;
  background-size: clamp(1200px, 105vw, 2000px) auto;
  opacity: 0.9;
  pointer-events: none;
  background-position: 60% 70%;
}

.platform__container {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.platform__title {
  margin: 0 0 28px 42px;
  font: 700 clamp(28px, 4vw, 56px) / 1.05 "Montserrat", system-ui, sans-serif;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 130px;
}

.platform__line {
  display: block;
}

.platform__accent {
  display: inline;
  white-space: nowrap;
  font-family: "Canela", "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}

.platform__line-2 {
  margin-left: 230px;
}

#platform .platform__cards {
  display: grid;
  grid-template-columns: repeat(4, 316px);
  grid-auto-rows: 352px;
  gap: 20px;
  margin: 12px 0 176px 42px;
  justify-content: start;
}

#platform .card {
  inline-size: 316px;
  block-size: 352px;
  border: 2px solid var(--white);
  border-radius: 16px;
  overflow: hidden;
  background: var(--primary);
  display: flex;
  flex-direction: column;
}

#platform #card-3 {
  position: relative;
  transform: translateY(40px);
}

#platform #card-4 {
  position: relative;
  transform: translateY(-140px);
}

#platform .card--text {
  padding: 79px 33px 33px;
  color: var(--white);
}

#platform .card--text .card__title {
  margin: 0 0 18px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

#platform .card--text .card__title .thin {
  font-family: "Canela";
  letter-spacing: 0.02em;
}

#platform .card__body {
  font-family: "Montserrat";
  margin-bottom: 40px;
}

#platform #card-3 .card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px 24px 42px;
  color: var(--white);
  color: #e0d9ca;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1.12;
  font-family: "Canela", serif;
  margin: 0;
}

.card__overlay .t-lead {
  font-size: 24px;
  font-style: italic;
}

.card__overlay .t-main {
  font-size: 36px;
}

#platform #card-3 .card__title--onimage {
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1.12;
}

#platform #card-3 .card__title--onimage .t-lead {
  display: block;
  font-size: 24px;
  font-style: italic;
  font-family: "Canela", serif;
  letter-spacing: -0.02em;
}

#platform #card-3 .card__title--onimage .t-main {
  display: block;
  font-size: 36px;
  font-style: normal;
  font-family: "Canela", serif;
  letter-spacing: -0.04em;
  color: var();
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1.12;
}

/* End : Platform */

/* Mobile */
/* Platform */

@media (max-width: 480px) {
  #platform .platform__title {
    margin: 0;
    padding: 24px;
    text-align: center;
  }

  #platform .platform__line {
    font-weight: 600;
    display: inline;
  }

  .platform__line-2 {
    margin-left: 0;
    font-weight: 600;
  }

  #platform #platform-cards {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    margin: 0;
    padding: 24px;
  }

  #platform #platform-cards .card {
    inline-size: auto;
    block-size: auto;
    height: auto;
    margin: 0;
    border-radius: 14px;
    border-width: 1px;
    overflow: hidden;
    position: relative;
    z-index: 0;
  }

  #platform #card-3 {
    display: none;
  }

  #platform #card-4 {
    transform: none !important;
  }

  #platform #platform-cards .card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  #platform #card-3 .card__overlay {
    display: none;
  }

  #platform #platform-cards .card__title {
    text-align: center;
    font-size: 24px;
  }

  #platform-cards .card__body {
    text-align: center;
    margin-bottom: 0;
  }
}

/* End: Mobile */

/* End: Platform */

/* Step */

#steps {
  padding-top: calc(30px + 80px + 32px);
  padding-bottom: 96px;
  scroll-margin-top: calc(30px + 80px + 8px);
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
  text-align: center;
}

.steps-header {
  margin-bottom: 40px;
}

.steps-title {
  color: var(--primary);
  font: 700 clamp(28px, 3.8vw, 48px) / 1.1 "Montserrat", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

.steps-title span {
  display: block;
}

.steps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  margin-top: 16px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  letter-spacing: 0.4em;
  color: #1a3140;
  font: 16px "Montserrat", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  margin-bottom: 36px;
}

.steps-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: #f3eee6;
}

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

.step {
  background: #f2eadc;
  border: 1px solid rgba(26, 49, 64, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 28px;
  text-align: left;
}

.step-media {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step-media img {
  width: clamp(160px, 40%, 220px);
  height: auto;
  display: block;
}

.step-title {
  text-align: center;
  margin: 40px 0 10px;
  color: var(--primary);
  font: 600 clamp(18px, 2vw, 24px) / 1.2 "Montserrat";
  letter-spacing: 0.01em;
}

.step-body {
  display: flex;
  margin: 0;
  color: var(--primary);
  opacity: 0.9;
  font: 400 clamp(14px, 1.6vw, 16px) / 1.5 "Inter", system-ui, sans-serif;
}

/* End : Step */

/* Responsive */

/*  Step */

@media (max-width: 480px) {
  #steps {
    padding: 40px 16px;
    margin: 0;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--nude);
    border-radius: 12px;
    padding: 20px;
  }

  .step-media img {
    width: 100px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
  }

  #steps-title {
    display: inline;
    font-size: 26px;
    font-weight: 600;
  }

  .step-title {
    font-size: 20px;
    margin: 0 0 8px;
    text-align: center;
    color: var(--primary);
  }

  .step-body {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    font-family: "Montserrat";
    text-align: center;
    color: var(--primary);
    margin: 0;
  }
}

/* End: Step */

/* End: Responsive */

/* Plataform RWTC */

#platform-rwtc {
  padding: 72px 16px;
  scroll-margin-top: 112px;
}

.platform-intro {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.platform-intro-img {
  margin: 0 46px 0 0;
}
.platform-intro-img img {
  width: 864px;
  max-width: 100%;
  height: auto;
}

.platform-intro-title {
  margin: 0;
  color: var(--primary);
  font: 600 50px/1.08 "Montserrat", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.platform-intro-title span {
  display: block;
}

/* End : Plataform RWTC */

/* Mobile */

/* Plataform RWTC */
@media (max-width: 480px) {
  #platform-rwtc .platform-intro {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
  }

  #platform-rwtc .platform-intro-title {
    margin: 0;
    font-size: 26px;
    text-align: center;
  }

  #platform-rwtc .platform-intro-title span {
    display: inline;
  }

  #platform-rwtc .platform-intro-img {
    margin: 0;
    width: 100%;
  }
  #platform-rwtc .platform-intro-img img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* End : Plataform RWTC */

/* End: Mobile */

/* Counter */

#counters {
  padding: 64px 16px;
}
#counters .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  color: var(--primary);
}

#counters .eyebrow span {
  position: relative;
  padding-left: 18px;
  margin-left: 48px;
}

#counters .eyebrow {
  position: relative;
  margin: 0 0 clamp(40px, 5.5vw, 80px);
  padding-top: 12px;
  border-top: 1px solid rgba(14, 35, 48, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font: 14px/1.4 "Montserrat", system-ui, -apple-system, sans-serif;
  color: rgba(14, 35, 48, 0.8);
  margin-bottom: 140px;
}

#counters .eyebrow span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

#counters .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 140px;
}

#counters .stat {
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid rgba(14, 35, 48, 0.15);
}

#counters .stat:first-child {
  border-left: 0;
}

#counters .num {
  font: 700 clamp(72px, 9vw, 140px) / 0.9 "Canela", Georgia, serif;
  margin: 0 0 12px;
  white-space: nowrap;
}
#counters .title {
  font: 700 clamp(18px, 2.2vw, 28px) / 1.15 "Canela", Georgia, serif;
  text-transform: uppercase;
  margin: 0 0 10px;
}
#counters .body {
  max-width: 40ch;
  font: 400 clamp(14px, 1.6vw, 18px) / 1.55 "Montserrat", system-ui,
    -apple-system, sans-serif;
  color: var(--primary);
}

/* End : Plataform RWTC */

/* Mobile */

@media (max-width: 480px) {
  #counters .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #counters .num {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.24);
  }

  #counters .num {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08),
      0 8px 24px rgba(0, 0, 0, 0.22);
  }

  #counters .stat {
    border-left: 0;
    padding: 0;
  }

  #counters .eyebrow {
    margin: 0 0 100px;
  }

  #counters .eyebrow span {
    margin-left: 0;
    font-size: 12px;
  }
}

/* End: Mobile */

/* End : Counter */

/* New testimonials */

#testimonials {
  background: var(--white);
  overflow: hidden;
  margin-bottom: 100px;
  padding: 16px;
}

#testimonials .eyebrow {
  position: relative;
  margin: 0 0 clamp(40px, 5.5vw, 80px);
  padding-top: 12px;
  border-top: 1px solid rgba(14, 35, 48, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font: 14px/1.4 "Montserrat", system-ui, -apple-system, sans-serif;
  color: rgba(14, 35, 48, 0.8);
}

#testimonials .eyebrow span {
  position: relative;
  padding-left: 18px;
  margin-left: 48px;
  font-size: 12px;
}

#testimonials .eyebrow span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.testimonials-row {
  width: 100%;
  display: flex;
  padding: 20px;
  gap: 20px;
  animation: marquesine 10s linear infinite;
}

@keyframes marquesine {
  to {
    transform: translateX(calc(-100% - 10px));
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: calc((100% - 40px) / 3);
  background: rgba(255, 255, 255, 0.77);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card p {
  color: var(--primary);
  font-size: 0.95rem;
  font-family: "Montserrat";
  margin-bottom: 1.2rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.author span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: "Montserrat";
}

/* Animación horizontal */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 💡 Responsive */
@media (max-width: 480px) {
  #testimonials .eyebrow span {
    margin-left: 0;
    font-size: 12px;
  }

  .testimonial-card {
    width: 240px;
    padding: 1rem;
  }

  .testimonial-card p {
    font-size: 0.85rem;
  }

  .author span {
    font-size: 0.85rem;
  }

  .testimonial-row {
    gap: 1rem;
    animation-duration: 25s;
  }
}

/* End : New Testimonials */

/* CTA */
.cta-block {
  text-align: center;
  margin-top: clamp(36px, 6vw, 56px);
}

.cta-title {
  margin: 0 0 18px;
  font: clamp(22px, 3.5vw, 34px) / 1.25 "Montserrat", serif;
  letter-spacing: 0.02em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  margin-top: 16px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  letter-spacing: 0.4em;
  color: var(--primary);
  font: 16px "Montserrat", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  margin-bottom: 100px;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: #f3eee6;
}

/* End: CTA */
