/* =========================================================
   MOBILE HOME
========================================================= */

.mobile-home {
  background: #ffffff;
  padding-top: 74px;
}

/* =========================================================
   HERO
========================================================= */

.mobile-home-hero {
  position: relative;
  height: auto;
  width: 100%;
  aspect-ratio: 442 / 821;
  overflow: hidden;
}

.mobile-home-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    url('../../img/home/mobile-hero-home.png');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.mobile-home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.04) 0%,
      rgba(0,0,0,0.16) 38%,
      rgba(0,0,0,0.62) 100%
    );
  z-index: 1;
}

.mobile-home-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center; 
  box-sizing: border-box;
  padding: 0 16px;
}

.mobile-home-hero h1 {
  margin: 0;
  max-width: 320px;
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 42px;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.mobile-home-hero h1 em {

  font-style: italic;
  font-weight: 350;
}

/* =========================================================
   INTRO
========================================================= */

.mobile-home-intro {
  background: #ffffff;
  padding: 60px 24px 60px 24px; 
  box-sizing: border-box;
}

.mobile-home-intro h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 40px;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: #212121;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mobile-home-intro__text {
  margin-top: 40px; 
}

.mobile-home-intro__text p {
  margin: 0;
  font-family: 'Inter', var(--font-sans), sans-serif;
  font-size: 20px;
  line-height: 30px;   
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #000000;  
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   METRICS SECTION (Contenedor global)
========================================================= */

.mobile-home-metrics {
  background: #ffffff;
  /* Espaciado interno superior e inferior para dar aire a las tarjetas */
  padding: 24px 24px 42px;
  box-sizing: border-box;
}

/* Rejilla de 2 columnas asimétricas o flexibles con el espacio justo */
.mobile-home-metrics__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;  
  row-gap: 84px;          
}

/* Cada tarjeta de métrica individual */
.mobile-home-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
}

/* =========================================================
   TIPOGRAFÍA DE LAS MÉTRICAS
========================================================= */

/* Números grandes (+120, +30, etc.) */
.mobile-home-metric strong {
  font-family: var(--font-serif);
  font-size: 60px;
  line-height: 40px;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: #000000;
  display: block;
  margin-bottom: 12px;
  
  -webkit-font-smoothing: antialiased;
}

/* Textos descriptivos debajo de los números */
.mobile-home-metric span {
  font-family: 'Inter', var(--font-sans), sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #212121;
  max-width: 198px; 
  display: block;
  
  -webkit-font-smoothing: antialiased;
}


/* =========================================================
   ABOUT US SECTION (Contenedor con imagen de fondo)
========================================================= */

.mobile-home-about {
  position: relative;
  width: 100%;
  aspect-ratio: 442 / 845; 
  
  overflow: hidden;
  background-color: #000;
}

.mobile-home-about img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  
  z-index: 1;
}

.mobile-home-about::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* =========================================================
   CONTENIDO FLOTANTE (Encima de la imagen)
========================================================= */

.mobile-home-about__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 24px;
  box-sizing: border-box;
}

/* Etiqueta pequeña "ABOUT US" */
.mobile-section-label {
  font-family: 'AktivGrotesk-Regular', var(--font-sans), sans-serif;
  font-size: 18px;
  line-height: 30px;          
  font-weight: 400;             
  letter-spacing: 0%;           
  color: #ffffff;
  opacity: 0.5;                 
  margin-bottom: 8px;           
  display: block;  
  -webkit-font-smoothing: antialiased;
}

.mobile-home-about__content h2 {
  margin: 0;
  font-family: 'P22 Mackinac Pro', var(--font-serif), serif;
  font-size: 30px;                
  line-height: 40px;             
  font-weight: 350;             
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 40px; 
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   BOTONES Y ACCIONES (Meet the team / Clients)
========================================================= */

.mobile-home-about__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  width: 100%;
}

/* 3. Botón "Meet the team" */
.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  
  /* Dimensiones equilibradas para el bloque del botón */
  padding: 14px 24px; 
  width: 165px;                  
  box-sizing: border-box;
  text-align: center;
  border-radius: 0px;
}

/* 4. Enlace "Clients&Partners ->"  */
.mobile-link-arrow {
  font-family: 'DM Sans', var(--font-sans), sans-serif; 
  font-size: 14px;            
  line-height: 28.51px;         
  font-weight: 400;               
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0%;
  
  -webkit-font-smoothing: antialiased;
}


/* =========================================================
   SERVICES
========================================================= */

.mobile-home-services {
  padding:
    72px
    15px
    0;
}

/* LABEL */
.mobile-home-services .mobile-section-label {
  margin-bottom: 12px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-section-label--light {
  display: block;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* TITLE */
.mobile-home-services h2 {
  width: 100%;
  max-width: 400px;
  margin:
    0
    0
    34px;
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 30px;
  line-height: 32px;
  font-weight: 350;
  letter-spacing: -0.04em;
  color: #000000;
}

/* CARDS */
.mobile-home-services__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

/* CARD */
.mobile-service-card {
  position: relative;
  width: 100%;
  height: 148px;
  padding:
    18px
    16px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

/* BACKGROUNDS */
.mobile-service-card--one {
  background: #E4E4E4;
}

.mobile-service-card--two {
  background: #CEC8BC;
}

.mobile-service-card--three {
  background: #F1EFE9;
}


/* SHAPES */
.mobile-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
}

.mobile-service-card--one::before {
  background-image: url('../../img/home/img-services.png');
}

.mobile-service-card--two::before {
  background-image: url('../../img/services/img-services-1.png');
}

.mobile-service-card--three::before {
  background-image: url('../../img/services/img-services-2.png');
}

/* CONTENT */
.mobile-service-card h3 {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 240px;
  margin: 0;
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 22px;
  line-height: 24px;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: #231C18;
}

/* LINK */
.mobile-service-card span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  color: #231C18;
}


/* =========================================================
   SERVICES BOTTOM
========================================================= */

.mobile-home-services__bottom {
  margin-top: 22px;
  background: #2B221E;
}

.mobile-home-services__bottom-content {
  padding:
    30px
    21px
    26px;
}

.mobile-home-services__bottom .mobile-section-label {
  display: block;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.mobile-home-services__bottom h2 {
  margin: 0 0 28px;
  max-width: 400px;
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 30px;
  font-weight: 350;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.mobile-home-services__bottom p {
  margin: 0 0 32px;
  max-width: 407px;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.mobile-home-services__bottom-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mobile-home-services__bottom .mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 24px;
  background: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #2B221E;
  text-decoration: none;
}

.mobile-home-services__bottom .mobile-link-arrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #FFFFFF;
  text-decoration: none;
}

.mobile-home-services__bottom img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.mobile-home-testimonials__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mobile-home-testimonials__content {
  padding:
    36px
    21px
    40px;
}

.mobile-home-testimonials__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
}

.mobile-home-testimonials .mobile-section-label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: -4px;
}

.mobile-home-testimonials__arrows {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.mobile-home-testimonials__arrows button {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #3B1200;
  cursor: pointer;
}

.mobile-home-testimonial p {
  margin: 0 0 28px;
  max-width: 395px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 350;
  line-height: 35px;
  letter-spacing: 0;
  color: #3B1200;
}

.mobile-home-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-home-testimonial__author strong {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
}

.mobile-home-testimonial__author span {
  font-family: var(--font-sans);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: #8C8C8C;
}

/* =========================================================
   SUCCESS STORIES
========================================================= */

.mobile-home-success {
  padding:
    40px
    21px
    56px;
  background: #F2F1EC;
}

.mobile-home-success .mobile-section-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--color-muted);
}

.mobile-home-success h2 {
  margin: 0 0 28px;
  max-width: 400px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 350;
  line-height: 40px;
  color: var(--color-text);
}

/* =========================================================
   CARD
========================================================= */

.mobile-home-success-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 20px;
}

.mobile-home-success-card:last-child {
  margin-bottom: 0;
}

/* =========================================================
   DARK CARD
========================================================= */

.mobile-home-success-card--dark {
  background: #2B221E;
}

.mobile-home-success-card--dark
.mobile-home-success-card__top span,
.mobile-home-success-card--dark
.mobile-home-success-card__top h4,
.mobile-home-success-card--dark
.mobile-home-success-card__content h3 {
  color: #ffffff;
}

/* =========================================================
   LIGHT CARD
========================================================= */

.mobile-home-success-card--light {
  background: #B7B8AD;
}

.mobile-home-success-card--light
.mobile-home-success-card__top span,
.mobile-home-success-card--light
.mobile-home-success-card__top h4,
.mobile-home-success-card--light
.mobile-home-success-card__content h3 {
  color: #000000;
}

/* =========================================================
   TOP
========================================================= */

.mobile-home-success-card__top {
  padding:
    16px
    14px
    10px;
}

.mobile-home-success-card__top span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  opacity: .6;
}

.mobile-home-success-card__top h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-transform: uppercase;
}


/* =========================================================
   IMAGE
========================================================= */

.mobile-home-success-card img {
  width: 100%;
  height: 161px;
  object-fit: cover;
  display: block;
}

/* =========================================================
   CONTENT
========================================================= */

.mobile-home-success-card__content {
  padding:
    16px
    14px
    22px;
}

.mobile-home-success-card__content h3 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 350;
  line-height: 30px;
}

/* =========================================================
   BUTTON
========================================================= */

.mobile-home-success-card__button {
  width: 208px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #000000;
  text-decoration: none;
}

.mobile-home-success-card--light
.mobile-home-success-card__button {
  background: #ffffff;
  color: #000000;
}