/* Estilos compartidos de las páginas de producto y servicio (<main class="producto">).
   Cada página elige su paleta con tres variables, normalmente en un <style> corto del <head>:

     .producto {
       --accent: #4285f4;       color de acento (barra, viñetas, bordes)
       --accent-text: #1a5fd0;  versión oscura para texto sobre blanco (contraste >= 4,5:1)
       --accent-grad: linear-gradient(135deg, #4285f4, #9b59b6);  opcional; por defecto, color liso
       --hero-logo-w: 200px;    opcional; ancho del logo del hero
     }

   Los fondos tenues y los bordes se derivan de --accent. Todo va dentro de .producto para no
   afectar a las demás páginas ni a las reglas de .card de style.css. */

.producto {
  --accent: var(--celeste);
  --accent-text: var(--celeste-texto);
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent));
  --accent-tint: color-mix(in srgb, var(--accent) 4%, transparent);
  --accent-tint-soft: color-mix(in srgb, var(--accent) 3%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 20%, transparent);
  --accent-line-soft: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ── Hero ── */
.producto .product-hero {
  padding: 160px 10% 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.producto .product-color-bar {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: var(--accent-grad);
}

.producto .hero-product-logo {
  width: var(--hero-logo-w, 220px);
  margin-bottom: 2rem;
  opacity: 0.92;
}

.producto .product-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.2;
}

.producto .product-hero .hero-tagline,
.producto .product-hero .product-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.producto .product-hero .hero-tagline {
  margin-bottom: 0.8rem;
}

.producto .product-hero .product-subtitle {
  margin-bottom: 2.5rem;
}

.producto .hero-disclaimer {
  display: inline-block;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid var(--accent-line);
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-size: 0.95rem;
  color: var(--accent-text);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

/* ── Franja de cifras (solo con datos que tengan fuente y fecha) ── */
.producto .stats-strip {
  background: var(--accent-tint);
  border-top: 1px solid var(--accent-line-soft);
  border-bottom: 1px solid var(--accent-line-soft);
  padding: 2.5rem 10%;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.producto .stat-item {
  text-align: center;
}

.producto .stat-number,
.producto .urgency-number {
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.producto .stat-number {
  font-size: 2.8rem;
  margin-bottom: 0.4rem;
}

.producto .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}

/* ── Secciones: etiqueta, título y bajada; los fondos se alternan con .alt-bg ── */
.producto .content-section {
  padding: 70px 10%;
}

.producto .content-section.alt-bg {
  background: var(--accent-tint-soft);
}

.producto .section-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.producto .section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.6rem;
}

.producto .section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.producto .section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 3rem;
}

/* ── Tarjetas ── */
.producto .cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.producto .cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.producto .card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.producto .card:hover {
  border-color: var(--accent-line);
}

.producto .card-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  color: var(--accent-text);
  /* Misma altura (3,2rem = 2rem x line-height 1,6) para íconos de fuente e imágenes:
     los títulos quedan alineados entre tarjetas */
  min-height: 3.2rem;
  display: flow-root; /* los márgenes de la imagen no se escapan del contenedor */
}

/* Ícono que es una imagen (p. ej. los íconos de Google Workspace) */
.producto .card-icon img {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0.5rem 0;
  object-fit: contain;
}

/* Algunos SVG traen mucho margen interno (Meet): se agrandan sin mover el título */
.producto .card-icon img.icon-lg {
  width: 3.9rem;
  height: 3.9rem;
  margin: -0.35rem -0.85rem;
}

.producto .card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
  white-space: normal;
}

.producto .card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.producto .card p.card-adv {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--accent-text);
}

.producto .card.full-col {
  grid-column: 1 / -1;
}

/* ── Diferenciadores (borde de acento a la izquierda) ── */
.producto .diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.producto .diff-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.producto .diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.producto .diff-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Cifras destacadas ── */
.producto .urgency-section {
  padding: 70px 10%;
  background: var(--accent-tint);
}

.producto .urgency-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.producto .urgency-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

.producto .urgency-number {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

.producto .urgency-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Pilares numerados ── */
.producto .pillar-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.producto .pillar-number,
.producto .step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.producto .pillar-number {
  font-size: 1.2rem;
}

.producto .pillar-header h2 {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.producto .pillar-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── Método en pasos (línea de tiempo) ── */
.producto .method-section {
  padding: 70px 10%;
  background: var(--accent-tint);
}

.producto .method-inner {
  max-width: 860px;
  margin: 0 auto;
}

.producto .method-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.producto .method-steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.producto .method-steps::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--accent-grad);
  opacity: 0.2;
}

.producto .method-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.4rem 0;
}

.producto .step-dot {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.producto .step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.producto .step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Por qué GooIng y llamado final ── */
.producto .why-section {
  padding: 70px 10%;
}

.producto .why-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.producto .product-cta {
  text-align: center;
  padding: 70px 10% 90px;
  background: var(--accent-tint);
}

.producto .product-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.producto .product-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .producto .cards-grid-3,
  .producto .urgency-cards,
  .producto .diff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .producto .product-hero h1 { font-size: 2.2rem; }
  .producto .cards-grid { grid-template-columns: 1fr; }
  .producto .stats-strip { gap: 2rem; }
  .producto .method-steps::before { display: none; }
}

/* ── Sección en dos columnas: texto e imagen ── */
.producto .section-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.producto .section-split .section-lead {
  margin-bottom: 2rem;
}

.producto .section-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.producto .section-media img {
  max-width: 85%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.05));
}

@media (max-width: 900px) {
  .producto .section-split { grid-template-columns: 1fr; gap: 2rem; }
}
