/* ================================
   HORIZONTAL HOSTING STORIES
================================ */

.service-stories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.service-stories h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #0f172a;
}

/* Card layout */
.story-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient accent */
.story-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #6366f1, #4f46e5);
}

/* Hover */
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Left column (brand) */
.story-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* Brand subtitle */
.story-card h3::after {
  content: "Trusted Hosting Provider";
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6366f1;
  margin-top: 0.4rem;
}

/* Text content */
.story-card p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 0.9rem;
}

/* Emphasized price paragraph */
.story-card p:last-of-type {
  font-weight: 600;
  color: #0f172a;
}

/* Fade animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeHorizontal 0.8s ease forwards;
}

@keyframes fadeHorizontal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger */
.story-card:nth-of-type(1) {
  animation-delay: 0.1s;
}
.story-card:nth-of-type(2) {
  animation-delay: 0.25s;
}
.story-card:nth-of-type(3) {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
  .story-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .story-card h3::after {
    margin-bottom: 1rem;
  }
}
/* ===== BENEFITS & TIPS BOX ===== */
.benefits-box,
.tips-box {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border-radius: 16px;
  padding: 40px;
  margin: 60px auto;
  max-width: 1100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.benefits-box h2,
.tips-box h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.benefits-box p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 20px;
}

.benefits-box ul,
.tips-box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}

.benefits-box li,
.tips-box li {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #334155;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefits-box li:hover,
.tips-box li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* ===== FAQ ===== */
.faq {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq h2 {
  font-size: 1.9rem;
  margin-bottom: 30px;
  text-align: center;
  color: #0f172a;
}

.faq h4 {
  font-size: 1.1rem;
  margin-top: 24px;
  color: #1e293b;
}

.faq p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-top: 6px;
  padding-left: 12px;
  border-left: 3px solid #3b82f6;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  text-align: center;
  padding: 70px 30px;
  border-radius: 24px;
  margin: 100px auto 60px;
  max-width: 1100px;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.final-cta .btn-primary {
  background: #ffffff;
  color: #1e40af;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.final-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

/* ===== FADE IN EFFECT ===== */
.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

/* Dark overlay for readability */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85),
    rgba(30, 41, 59, 0.75)
  );
  z-index: 1;
}

/* Hero content */
.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
  color: #f8fafc;
}

.hero-overlay h1 {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-overlay p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  color: #e2e8f0;
}

/* ===== INTRO TEXT ===== */
.intro-text {
  max-width: 900px;
  margin: -60px auto 80px;
  background: #ffffff;
  padding: 42px 48px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 3;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* Accent line */
.intro-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 999px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-hero {
    min-height: 60vh;
    border-radius: 0 0 28px 28px;
  }

  .intro-text {
    margin: -40px 16px 60px;
    padding: 32px;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}
/*BOTON DE HOSTING AND RESUME */
/* Estilo Base del Botón */
.btn-offer-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%); /* Amarillo vibrante */
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: 3px solid #fff;
  box-shadow: 0 10px 25px rgba(255, 183, 0, 0.4);
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* Badge de Descuento (el globito rojo) */
.badge-discount {
  position: absolute;
  top: -15px;
  right: -10px;
  background: #ff0000;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: float 2s infinite ease-in-out;
}

/* Efecto de Brillo (Shimmer) */
.btn-offer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: all 0.6s;
  animation: shine 3s infinite;
}

/* Hover Effects */
.btn-offer-premium:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 183, 0, 0.6);
  background: linear-gradient(135deg, #ffea00 0%, #ffd700 100%);
}

.btn-offer-premium:active {
  transform: scale(0.98);
}

/* Animaciones */

/* 1. Brillo que cruza el botón */
@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* 2. El badge flotando */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* 3. Pulso de sombra (opcional para llamar más la atención) */
.btn-offer-premium {
  animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
  0% { box-shadow: 0 0 0 0 rgba(255, 183, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 183, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 183, 0, 0); }
}
/* Estilos Anuncios */
.ad-container-horizontal {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.ad-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}


.ad-card-style {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff !important;
    border: 1px dashed #cbd5e1 !important; 
    padding: 30px !important;
}


@media (max-width: 768px) {
    .ad-container-horizontal {
        margin: 30px 15px;
        padding: 10px;
    }
}