/* Importa la fuente desde Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap");

/* Define la fuente global */
body {
  font-family: "Quicksand", sans-serif;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header general */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  width: 100%;
  background-color: rgba(40, 40, 40, 0.5);
  position: fixed;
  z-index: 999;
}

/* Logo */
.logo img {
  width: 150px;
}

/* Botón de menú hamburguesa */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.8em;
  color: white;
  cursor: pointer;
}

/* Navegación */
.navigation {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ddd;
}

/* Botón y SVG a la derecha */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-right .icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.cta-button {
  padding: 12px 20px;
  font-size: 1em;
  color: #282828;
  background-color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  text-decoration: none;
}

.cta-button a {
  color: #282828;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #ddd;
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .cta-button {
    display: none; /* Oculta el botón "Área de Cliente" en móviles */
  }

  .hamburger-menu {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(40, 40, 40, 0.9);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    font-size: 1.2em;
  }

  /* Alineación en una sola línea en móvil */
  header {
    justify-content: space-between;
    flex-direction: row;
  }

  .header-right {
    flex-direction: row;
    align-items: center;
  }

  .icon {
    margin-left: auto;
    margin-right: 10px;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-left: 5%;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  font-weight: 700;
  background: radial-gradient(72.07% 270.53% at 4.19% 83.87%, #ffa72b66, #fff0),
    linear-gradient(90deg, #edeef0, #edeef099);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2em;
  line-height: 1.5;
  max-width: 500px;
  background: radial-gradient(72.07% 270.53% at 4.19% 83.87%, #ffa72b66, #fff0),
    linear-gradient(90deg, #edeef0, #edeef099);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-small {
  height: 35vh; /* Ajusta a tu gusto: 30vh, 40vh, etc. */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 440px;
  padding: 2rem 0;
  box-sizing: border-box;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  background: radial-gradient(72.07% 270.53% at 4.19% 83.87%, #ffa72b66, #fff0),
    linear-gradient(90deg, #edeef0, #edeef099);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  background: radial-gradient(72.07% 270.53% at 4.19% 83.87%, #ffa72b66, #fff0),
    linear-gradient(90deg, #edeef0, #edeef099);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.form-group input,
.form-group select {
  width: 100%;
  box-sizing: border-box;
  color-scheme: dark;
  font-family: inherit;
  padding: 1rem;
  font-size: 1rem;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
  border-color: #be9063;
  background-color: rgba(255, 255, 255, 0.1);
}

.submit-btn {
  font-family: inherit;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #be9063;
  border: 1px solid #be9063;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.submit-btn:hover {
  background: #a9754e;
  border-color: #a9754e;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
}
.form-status[data-state="ok"] { color: #b9e4c9; }
.form-status[data-state="error"] { color: #ffc4c4; }

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-form {
    padding: 1.5rem 0;
  }

  .contact-form h2 {
    font-size: 1.8rem;
  }

  .submit-btn {
    font-size: 1rem;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  padding: 40px;
  background-color: #f3f3f3;
}

.grid-text {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-self: center;
  line-height: 1em;
  padding: 20px;
  font-size: 2.5em;
  color: #333;
}

.grid-text p {
  margin: 0 0 10px;
}

.grid-text .highlight {
  font-style: italic;
  font-weight: 300;
  color: #666;
}

.grid-item.card {
  position: relative;
  padding-left: 40px;
  padding-right: 25px;
  height: 300px;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.grid-item.card .icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
}

.grid-item.card p {
  padding-top: 15px;
  font-size: 1.5em;
  color: #666;
  margin: 0;
}

/* Sección 2 */
/* Sección principal */
.info-2 {
  background-color: #fff;
  padding-top: 50px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 0;
  text-align: center;
}

/* Encabezados */
.info-2 h3 {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  color: #333;
}

.info-2 p {
  font-size: 1.3em;
  font-weight: 300; /* Ligero */
  color: #555;
}

/* Grid de tarjetas */
.secondary-card-grid {
  margin-top: 5em;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas */
  gap: 20px;
  margin-bottom: 80px;
  margin-top: 160px;
  align-items: start;
  justify-content: center;
  position: relative;
}

/* Cada tarjeta */
.secondary-card-item {
  text-align: center; /* Asegura que todo el contenido esté centrado */
  display: flex;
  flex-direction: column; /* Coloca tarjeta y texto debajo en columna */
  align-items: center; /* Centra horizontalmente los elementos */
  justify-content: flex-start; /* Asegura que los elementos se ubiquen uno debajo del otro */
  position: relative;
}

/* Tarjetas (dentro del grid) */
.secondary-card {
  background-color: #f9f9f9;
  width: 200px;
  height: 220px;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column; /* Organiza el contenido en columna (ícono y texto) */
  justify-content: center; /* Centra verticalmente */
  align-items: center; /* Centra horizontalmente */
  text-align: center; /* Asegura que el texto también esté centrado */
  padding: 15px;
  transition: background-color 0.3s ease, color 0.3s ease, fill 0.3s ease; /* Transiciones suaves */
}

/* Íconos en las tarjetas */
.secondary-card img {
  width: 80px; /* Tamaño del ícono */
  height: 80px;
  margin-bottom: 10px; /* Espacio entre el ícono y el texto */
  transition: filter 0.3s ease; /* Transición suave para los íconos */
}

/* Texto dentro de las tarjetas */
.secondary-card p {
  font-size: 1.2em;
  color: #666;
  font-weight: 600;
  margin: 0;
  transition: color 0.3s ease; /* Transición suave para el color del texto */
}

.secondary-card p span {
  font-weight: 700;
  color: #be9063;
}

/* Hover en las tarjetas */
.secondary-card:hover {
  background-color: #be9063; /* Fondo al pasar el mouse */
  cursor: pointer;
}

.secondary-card:hover p {
  color: white; /* Texto se vuelve blanco */
}

.secondary-card:hover p span {
  color: white; /* Texto se vuelve blanco */
}

.secondary-card:hover img {
  filter: brightness(0) invert(1); /* Convierte el ícono a blanco */
}

/* Texto debajo de las tarjetas */
.secondary-card-text {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
  text-align: center; /* Centra el texto horizontalmente */
  max-width: 200px; /* Ajusta el ancho máximo al tamaño de la tarjeta */
}
/* Responsividad */
@media screen and (max-width: 768px) {
  .secondary-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .secondary-card {
    width: 180px;
    height: 180px;
  }
  .secondary-card-item {
    top: auto !important;
    bottom: auto !important;
  }
}

@media screen and (max-width: 480px) {
  .secondary-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secondary-card {
    width: 100%;
    height: 180px;
  }

  .secondary-card-text {
    font-size: 0.8em;
  }
}

.text-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 40px;
}

.text-image .text {
  flex: 1;
  font-size: 1.5em;
  color: #333;
  text-align: left;
}

.text-image .text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
  font-weight: 400;
}

.text-image .text h2 span {
  color: #be9063;
  font-weight: 500;
}

.text-image .benefits {
  margin-top: 20px;
}

.text-image .benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.text-image .benefit-item img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.text-image .benefit-item p {
  font-size: 1.2em;
  color: #333;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 0;
}

.text-image .video-container {
  flex: 1;
  text-align: right;
  position: relative;
}

.text-image .main-video {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #040c0e;
  color: #fff;
  padding: 40px 20px;
  overflow: hidden;
}

.footer-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.footer-content {
  position: relative;
  z-index: 3; /* Para que el contenido esté encima del video */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  max-width: 200px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-social img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.2);
}

.footer-right {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-title {
  font-weight: 700;
  color: #be9063;
  margin-bottom: 10px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-legal {
  position: relative;
  z-index: 3; /* Asegura que esté encima del video */
  margin-top: 20px;
  font-size: 0.8em;
  text-align: center;
  width: 100%;
}

.footer-legal a {
  color: #be9063;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-legal {
    margin-top: 20px;
  }
}


/* Media Queries */
@media screen and (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5em;
  }
  .hero-content p {
    font-size: 1em;
  }
  .grid-item.card {
    width: 200px;
    height: 200px;
  }
  .secondary-card {
    width: 180px;
    height: 180px;
  }
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-text {
    grid-column: 1 / -1; /* O alternativamente: grid-column: 1 / span 2; */
  }
  .grid-item.card {
    width: 200px;
    height: 200px;
  }
  .secondary-card-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
  .secondary-card {
    width: 150px;
    height: 150px;
  }
  .secondary-card img{  
    width: 50px;
    height: 50px;
  }
  .info-2 p{  
    font-size: 0.9em;
    font-weight: 600;
  }
  .text-image {
    flex-direction: column;
  }
  .text-image h2 {
    font-size: 1.5em;
    text-align: center;
  }
  .text-image .image {
    text-align: center;
    margin-top: 20px;
  }
}

@media screen and (max-width: 480px) {
  .info-grid {
    justify-items: center;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .grid-item.card {
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 150px;
    height: 150px;
  }

  .grid-item.card p {
    font-size: 0.8em;
    font-weight: 600;
  }

  .grid-item.card .icon {
    width: 20px;
    height: 20px;
  }
  .secondary-card {
    width: 150px;
    height: 150px;
  }
  .secondary-card img{  
    width: 50px;
    height: 50px;
  }
  .secondary-card p {
    font-size: 0.8em;
  }
  .text-image {
    padding: 20px;
  }
  .text-image .text h2 {
    font-size: 1.5em;
  }
}

.success-stories {
  text-align: center;
  padding: 40px 20px;
  background-color: #f3f3f3; /* Fondo claro */
}

.success-stories h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #333;
}

.card-content p {
  font-size: 0.9rem;
  color: #6b7280; /* Gris intermedio */
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-content p span {
  font-weight: 600;
  color: #333;
}

.card-content .details {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.card-content .details p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  background-color: #fef3e9;
  padding: 5px 10px;
  border-radius: 8px;
  text-align: center;
  margin: 5px;
  flex: 1;
  min-width: 100px;
  max-width: 100%; /* Evita que se expanda más de su contenedor */
  word-wrap: break-word; /* Asegura que las palabras largas se dividan si es necesario */
  overflow-wrap: break-word; /* Alternativa para mayor compatibilidad */
  white-space: normal; /* Permite que el texto haga saltos de línea si es necesario */
  display: inline-block; /* Asegura que respete los límites del contenedor */
}

.card-content .details p span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

/* ===== Historias de éxito: tarjetas con el estilo del área de clientes ===== */
.success-stories {
  --st-ink: #1f1d1b;
  --st-ink-2: #333333;
  --st-muted: #6b7280;
  --st-line: #e9e4de;
  --st-brand-600: #a9754e;
  --st-brand-800: #6b513a;
  --st-shadow: 0 1px 2px rgba(31, 29, 27, 0.04), 0 1px 3px rgba(31, 29, 27, 0.06);
  --st-shadow-pop: 0 10px 30px -10px rgba(31, 29, 27, 0.25), 0 4px 10px -4px rgba(31, 29, 27, 0.12);
  padding: 56px 0 64px;
}

.stories {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.stories-track {
  list-style: none;
  margin: 0;
  padding: 8px 24px 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.stories-track::-webkit-scrollbar { display: none; }
.stories-track:focus-visible { outline: 2px solid rgba(190, 144, 99, 0.6); outline-offset: -2px; border-radius: 16px; }

.story-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  box-shadow: var(--st-shadow);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}
.story-card:hover {
  transform: translateY(-2px);
  border-color: #ebe2d9;
  box-shadow: var(--st-shadow-pop);
}

.story-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1ece6;
}
.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}
.story-card:hover .story-media img { transform: scale(1.03); }
.story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 33%;
  background: linear-gradient(to top, rgba(31, 29, 27, 0.35), transparent);
  pointer-events: none;
}

.story-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(31, 29, 27, 0.08);
  color: #2f855a;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.story-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.story-type {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(31, 29, 27, 0.7);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
  font-family: "Montserrat", sans-serif;
}
.story-body h3 {
  margin: 0;
  color: var(--st-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-specs {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #555;
  font-size: 13px;
}
.story-specs li { display: flex; align-items: center; gap: 6px; }
.story-specs svg,
.stories-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.story-specs svg { color: var(--st-brand-600); }

.story-figures {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--st-line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.story-body p { margin: 0; }
.story-label {
  color: var(--st-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.story-body .story-price {
  margin-top: 2px;
  color: var(--st-ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.story-yield {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 12px;
  text-align: right;
  background: linear-gradient(135deg, #fbf7f2, #fef3e9);
  box-shadow: inset 0 0 0 1px #ebe2d9;
  color: var(--st-brand-800);
}
.story-yield p:first-child { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.story-yield p:last-child { font-size: 18px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }

.story-meta {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
}
.story-meta div:last-child { text-align: right; }
.story-meta dt { color: var(--st-muted); font-size: 12px; }
.story-meta dd { margin: 0; color: var(--st-ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }

.stories-btn {
  position: absolute;
  top: 34%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--st-line);
  border-radius: 50%;
  background: #fff;
  color: var(--st-ink-2);
  box-shadow: var(--st-shadow-pop);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.stories-btn:hover { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.stories-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(190, 144, 99, 0.45); }
.stories-btn[disabled] { opacity: 0; pointer-events: none; }
.stories-btn svg { width: 20px; height: 20px; }
.stories-prev { left: 4px; }
.stories-next { right: 4px; }

@media (max-width: 1024px) {
  .stories-track { grid-auto-columns: calc((100% - 20px) / 2.1); }
}
@media (max-width: 640px) {
  .success-stories { padding: 40px 0 48px; }
  .stories-track { grid-auto-columns: 84%; gap: 14px; padding: 8px 16px 16px; scroll-padding-inline: 16px; }
  .stories-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stories-track { scroll-behavior: auto; }
  .story-card, .story-media img { transition: none; }
  .story-card:hover, .story-card:hover .story-media img { transform: none; }
}

 /********************************************/
      /* SECCIÓN 1: "Nuestro objetivo..." + Stats */
      /********************************************/
      .hero-goal {
        background-color: #ffffff; /* Azul oscuro */
        padding: 60px 20px;
        text-align: center;
        color: #333;
      }

      .hero-goal-content {
        max-width: 1200px;
        margin: 0 auto;
      }

      .section-subtitle {
        font-size: 0.875rem; /* ~14px */
        font-weight: 400;
        letter-spacing: 1px;
        margin-bottom: 1rem;
        text-transform: uppercase;
        opacity: 0.7; /* Tono más claro */
      }

      .main-title {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 2rem;
      }

      .arrow-down {
        width: 0;
        height: 0;
        margin: 0 auto 2rem auto;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid #333;
        /* Flecha hacia abajo con CSS */
      }

      .numbers-subtitle {
        font-size: 1.25rem;
        font-weight: 500;
        margin-bottom: 2rem;
      }

      .stats-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px; /* Espacio entre cajas */
      }

      .stat-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 150px; /* Ajusta según prefieras */
      }

      .stat-number {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
      }

      .stat-label {
        font-size: 0.9rem;
        opacity: 0.8;
      }

      /* Responsivo Sección 1 */
      @media (max-width: 768px) {
        .main-title {
          font-size: 1.5rem;
        }
        .numbers-subtitle {
          font-size: 1rem;
        }
        .stat-number {
          font-size: 1.5rem;
        }
      }

      /********************************************/
      /* SECCIÓN 2: Valores (tarjetas azules)     */
      /********************************************/
      .values-section {
        background-color: #fff; /* Fondo blanco */
        padding: 60px 20px;
        text-align: center;
        color: #000; /* Texto oscuro */
      }

      .values-title {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 40px;
      }

      .values-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* 5 tarjetas */
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
      }

      .value-card {
        background-color: #be906317; /* Azul claro */
        border-radius: 8px;
        padding: 20px;
        text-align: left; /* Para alinear el texto dentro de la tarjeta */
        display: flex;
        flex-direction: column;
        justify-content: start;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }

      .value-card-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
      }

      .value-card-text {
        font-size: 0.9rem;
        line-height: 1.4;
      }

      .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #a77f57;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s ease-in-out;
        text-decoration: none;
        z-index: 999;
    }
    
    .floating-button img {
        width: 40px; /* Ajusta el tamaño de tu SVG según sea necesario */
        height: 40px;
    }
    
    .floating-button:hover {
        transform: scale(1.1);
    }
    
    /* Contenedor de la sección de costes */
.section-costes {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Columnas de costes */
.costes-col {
  flex: 1 1 300px;
  min-width: 300px;
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;

}

.costes-col h2 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #555;
}

/* Estilos para cada acordeón (desplegable) */
.accordion-item {
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: 5px;
}

/* Botón del acordeón */
.accordion-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  background: #f2f2f2;
}

/* Icono básico de +/-, se puede personalizar con ::after o un SVG */
.accordion-button::after {
  content: '+';
  font-size: 1.25rem;
  margin-left: 5px;
  transition: transform 0.3s;
}

/* Cuando el acordeón está activo, rotamos el icono */
.accordion-button.active::after {
  content: '-';
  transform: rotate(180deg);
}

/* Contenido del acordeón */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
}

.accordion-content p {
  margin: 10px 0;
  color: #666;
  font-size: 0.95rem;
}

/* Sección de ingresos mensuales */
.ingresos {
  background-color: #be906317;
  text-align: center;
  padding: 70px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.ingresos h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #555;
}

.ingresos p {
  font-size: 1.2rem;
  color: #666;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2. SECCIÓN PRINCIPAL */
.rentabilidad-section2 {
  /* Fondo con ligero degradado */
  background: linear-gradient(to bottom, #f8fcfd 0%, #ffffff 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden; /* Para manejar pseudo-elementos decorativos si se desea */
}

/* 2.1. CONTENEDOR INTERNO */
.container2 {
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. TITULOS */
.main-title2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #435c70;
  margin-bottom: 10px;
  text-align: left;
}

.subtitle2 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  text-align: left;
}

.column-title2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #435c70;
  margin-bottom: 20px;
}

/* 4. WRAPPER DE CONTENIDO (DOS COLUMNAS) */
.content-wrapper2 {
  display: flex;
  flex-wrap: wrap; /* Para que sea responsive */
  gap: 20px;
}

/* 4.1 COLUMNA IZQUIERDA */
.left-column2 {
  flex: 1 1 300px;
  min-width: 300px;
}

/* LISTA DE COSTES */
.cost-list2 {
  list-style: none;
}

.cost-item2 {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

/* ÍCONO IZQUIERDA */
.icon-container2 {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Ajustar el icono (SVG o PNG) */
.icon-container2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* TEXTO DERECHA */
.text-container2 {
  display: flex;
  flex-direction: column;
}

.label2 {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.amount {
  font-size: 1rem;
  font-weight: 700;
  color: #435c70;
}

/* 4.2 COLUMNA DERECHA (IMAGEN) */
.right-column2 {
  flex: 1 1 400px;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper2 {
  width: 100%;
  max-width: 500px;
  position: relative;
}

/* La imagen */
.image-wrapper2 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

      /* Responsivo Sección 2 */
      @media (max-width: 992px) {
        .values-container {
          grid-template-columns: repeat(2, 1fr);
          row-gap: 40px;
        }
      }

      @media (max-width: 480px) {
        .values-title {
          font-size: 1.2rem;
        }
        .values-container {
          grid-template-columns: 1fr;
        }
        .value-card-title {
          font-size: 1rem;
        }
        .value-card-text {
          font-size: 0.85rem;
        }
      }


      /* ======= SECCIÓN PROCESO (PIXEL PERFECT) ======= */
.process-section {
  background-color: #fff; /* Ajusta según necesites */
  padding: 60px 20px;
  text-align: center;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.process-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333; /* Azul oscuro, ajusta según tu paleta */
  margin-bottom: 0.5em;
}

.process-title .highlight {
  color: #be9063; /* Azul más vivo para "oportunidades" */
}

.process-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 2em;
}

/* Grid de pasos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Cada paso */
.step-item {
  background-color: #fff; /* O #f9f9f9 si quieres un ligero fondo */
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Opcional: Añade un sutil borde si deseas */
  /* border: 1px solid #e0e0e0; */
}

/* Hover (opcional) */
.step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

/* Número del paso */
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: #be9063; /* Azul vivo */
  margin-bottom: 0.25em;
}

/* Título del paso */
.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333; 
  margin-bottom: 0.5em;
}

/* Texto descriptivo del paso */
.step-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 30px;
    justify-items: center;
  }
}

@media (max-width: 600px) {
  .process-title {
    font-size: 1.5rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-item {
    width: 80%; /* Para centrar un poco el contenido */
    margin: 0 auto;
  }
}

/* Sharing Section */
.right-section {
  padding: 80px 50px;
  background-color: #be906310; /* Fondo claro */
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 50px;
}

.right-text {
  flex: 1;
  max-width: 50%;
}

.right-step {
  font-size: 48px;
  font-weight: 400;
  color: #be9063; /* Color del número */
  margin-bottom: 10px;
}

.right-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.right-description {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.right-image {
  flex: 1;
  max-width: 50%;
}

.right-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Strategic Location Section */
.left-section {
  padding: 80px 50px;
  background-color: #fff; /* Fondo claro */
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 50px;
}

.left-image {
  flex: 1;
  max-width: 50%;
}

.left-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.left-text {
  flex: 1;
  max-width: 50%;
}

.left-step {
  font-size: 48px;
  font-weight: 400;
  color: #be9063; /* Color del número */
  margin-bottom: 10px;
}

.left-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.left-description {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.help-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f3f3f3;
  padding: 7% 5%;
}

.container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.text-section {
  text-align: center;
  max-width: 600px;
}

.text-section .logo {
  width: 90px;
  margin-bottom: 20px;
}

.text-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  color: #333;
  margin-bottom: 10px;
}

.text-section p {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #333;
  margin-bottom: 20px;
}

.profile-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile img:hover {
  transform: scale(1.1);
}

.profile p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

.unique-investment-section {
  background-color: white;
  padding: 80px 20px;
  text-align: center;
}

.unique-investment-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.unique-investment-section h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin-bottom: 50px;
}

.unique-investment-section .highlight {
  color: #be9063;
}

.custom-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-card .card-image img {
  width: 100%;
  height: auto;
  background-color: white;
  border-radius: 16px 16px 0 0;
  border-bottom: white;
}

.custom-card .card-content {
  padding: 20px;
}

.custom-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.custom-card p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
}

.custom-cta-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #be9063;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-cta-button:hover {
  background-color: #8f6d4c;
  transform: scale(1.05);
}

.policy {
  /* Espaciado superior para no chocar con el header fijo */
  /* Ajusta según necesites */
  padding: 40px 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff; /* Opcional, si quieres que destaque sobre el fondo */
}

.policy h1,
.policy h2 {
  color: #333;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1em;
}

/* Ajusta el tamaño y grosor de los títulos a tu gusto */
.policy h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.policy h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2em; /* Separación extra entre secciones */
}

.policy p,
.policy li {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1em;
  font-family: "Quicksand", sans-serif;
}

/* Estilo para las listas dentro de la política de cookies */
.policy ul {
  list-style: inside;
  padding-left: 1em; /* Ajusta si prefieres distinto sangrado */
  margin-bottom: 1em;
}

.policy ul li {
  margin-bottom: 0.5em;
}

/* Enlaces dentro de la política de cookies */
.policy a {
  color: #be9063; 
  text-decoration: none;
}

.policy a:hover {
  text-decoration: underline;
}


@media screen and (max-width: 768px) {
  .custom-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .custom-card {
    width: 100%;
  }
  .right-section {
    padding: 50px 20px;
}

.right-container {
    flex-direction: column;
    gap: 30px;
}
  .right-text {
    max-width: 100%;
    text-align: center;
}

.right-step {
    font-size: 24px;
}

.right-title {
    font-size: 24px;
}

.right-description {
    font-size: 14px;
}

.right-image {
    max-width: 100%;
}
.left-section {
    padding: 50px 20px;
}

.left-container {
    flex-direction: column;
    gap: 30px;
}

.left-image {
    max-width: 100%;
}

.left-text {
    max-width: 100%;
    text-align: center;
}

.left-step {
    font-size: 24px;
}

.left-title {
    font-size: 24px;
}

.left-description {
    font-size: 14px;
}
}

/* ===== Calculadora incrustada (calcular-rentabilidad.html) ===== */
.calc-embed-section {
  padding: 64px 0 72px;
  background: #f7f5f2;
  scroll-margin-top: 80px;
}
.calc-embed-container {
  max-width: 1360px;
  margin: 0 auto;
  text-align: center;
}
.calc-embed-frame {
  position: relative;
  margin-top: 8px;
  height: min(920px, calc(100svh - 96px));
  min-height: 560px;
  overflow: hidden;
  text-align: left;
  background: #f7f5f2;
  border-top: 1px solid #e9e4de;
  border-bottom: 1px solid #e9e4de;
}
.calc-embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.calc-embed-frame.is-loaded iframe { opacity: 1; }
.calc-embed-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #6b7280;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  transition: opacity 0.3s ease;
}
.calc-embed-loading span {
  width: 32px;
  height: 32px;
  border: 3px solid #ebe2d9;
  border-top-color: #be9063;
  border-radius: 50%;
  animation: calc-spin 0.8s linear infinite;
}
.calc-embed-frame.is-loaded .calc-embed-loading { opacity: 0; pointer-events: none; }
@keyframes calc-spin { to { transform: rotate(360deg); } }
.calc-embed-note {
  max-width: 720px;
  margin: 16px auto 0;
  color: #6b7280;
  font-family: "Quicksand", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}
.calc-embed-container > h2,
.calc-embed-container > p { padding: 0 16px; }
@media (max-width: 640px) {
  .calc-embed-section { padding: 40px 0 48px; }
  .calc-embed-frame { height: calc(100svh - 72px); min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .calc-embed-loading span { animation-duration: 2.4s; }
}

/* ===== "Deseo invertir… pero": tarjetas fluidas (antes con ancho fijo se salían en tablet) ===== */
.info-grid .grid-item.card {
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
  height: auto;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}
@media screen and (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 32px 24px;
  }
  .info-grid .grid-text {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: center;
  }
  .info-grid .grid-item.card {
    aspect-ratio: auto;
    min-height: 200px;
    padding: 68px 20px 20px 24px;
    justify-content: flex-start;
  }
  .info-grid .grid-item.card p { font-size: 1rem; }
}
@media screen and (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 16px;
    gap: 12px;
  }
  .info-grid .grid-item.card {
    aspect-ratio: auto;
    min-height: 150px;
    padding: 48px 14px 16px 16px;
  }
}

/* ===== Aviso flotante de la calculadora (todas las páginas salvo la propia calculadora) ===== */
.calc-teaser {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: min(360px, calc(100vw - 32px));
  font-family: "Montserrat", sans-serif;
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.25);
}
.calc-teaser.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.calc-teaser.is-leaving { transition-duration: 0.25s; transform: translateY(16px) scale(0.96); }

.calc-teaser-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #2a2522 0%, #1f1d1b 55%, #3a2c20 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(31, 29, 27, 0.55), 0 6px 14px -8px rgba(31, 29, 27, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.calc-teaser-link:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(31, 29, 27, 0.6), 0 8px 18px -8px rgba(31, 29, 27, 0.35); }
.calc-teaser-link:focus-visible { outline: 3px solid rgba(190, 144, 99, 0.7); outline-offset: 3px; }
/* destello que cruza la tarjeta cada pocos segundos */
.calc-teaser-link::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg) translateX(0);
  animation: calc-teaser-glint 5.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}

.calc-teaser-icon {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding-bottom: 12px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(160deg, #cda67d, #be9063 55%, #a9754e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
/* anillo que "late" alrededor del icono */
.calc-teaser-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 17px;
  border: 2px solid rgba(190, 144, 99, 0.6);
  animation: calc-teaser-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.calc-teaser-bar {
  width: 6px;
  border-radius: 3px;
  background: #fff;
  transform-origin: bottom;
  animation: calc-teaser-bars 2.4s ease-in-out infinite;
}
.calc-teaser-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.calc-teaser-bar:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.calc-teaser-bar:nth-child(3) { height: 22px; animation-delay: 0.4s; }

.calc-teaser-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.calc-teaser-text strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.calc-teaser-text span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

.calc-teaser-cta {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}
.calc-teaser-link:hover .calc-teaser-cta { background: #be9063; transform: translateX(2px); }
.calc-teaser svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.calc-teaser-close {
  position: absolute;
  top: -10px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #333;
  background: #fff;
  border: 1px solid #e9e4de;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(31, 29, 27, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.calc-teaser-close:hover { transform: scale(1.08); background: #f7f5f2; }
.calc-teaser-close:focus-visible { outline: 3px solid rgba(190, 144, 99, 0.7); outline-offset: 2px; }
.calc-teaser-close svg { width: 14px; height: 14px; }

@keyframes calc-teaser-bars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.62); }
}
@keyframes calc-teaser-ping {
  0% { transform: scale(1); opacity: 0.9; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
@keyframes calc-teaser-glint {
  0%, 70% { transform: skewX(-18deg) translateX(0); }
  100% { transform: skewX(-18deg) translateX(520%); }
}

@media (max-width: 640px) {
  .calc-teaser {
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    transform-origin: bottom center;
  }
  .calc-teaser-link { padding: 12px 14px 12px 12px; gap: 12px; }
  .calc-teaser-icon { width: 42px; height: 42px; padding-bottom: 10px; }
  .calc-teaser-text strong { font-size: 14px; }
  .calc-teaser-text span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .calc-teaser { transition: opacity 0.2s ease; transform: none; }
  .calc-teaser-link::after, .calc-teaser-icon::before, .calc-teaser-bar { animation: none; }
}
