/* ===== ESTILOS PARA PÁGINA DE SERVICIOS ===== */

/* Variables específicas de servicios */
:root {
  --service-active: #E74C3C;     /* Rojo para servicios disponibles */
  --service-coming: #95a5a6;     /* Gris para servicios próximamente */
  --service-shadow: 0 8px 24px rgba(0,0,0,.08);
  --service-accent: #f39c12;     /* Ámbar de marca */
}

/* ===== INTRO SEO (reutilizable) ===== */
.seo-intro {
  background: linear-gradient(135deg, #fffcfc, #fff);
  border: 1px solid rgba(231, 76, 60, .2);
  border-left: 4px solid var(--service-active);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.seo-intro p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
  font-size: 1rem;
}

.seo-intro strong {
  color: var(--service-active);
  font-weight: 700;
}

/* ===== GRID DE SERVICIOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD DE SERVICIO ===== */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all .25s ease;
  text-decoration: none;
  color: var(--text);
  min-height: 480px;
}

/* Card disponible (clicable) */
.service-card--available {
  border-color: rgba(231, 76, 60, .3);
  cursor: pointer;
}

.service-card--available:hover {
  transform: translateY(-4px);
  box-shadow: var(--service-shadow);
  border-color: var(--service-active);
}

/* Card próximamente (no clicable) */
.service-card--coming {
  cursor: default;
  opacity: .75;
}

/* ===== HEADER DE LA CARD ===== */
.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(231, 76, 60, .1), rgba(231, 76, 60, .05));
  border: 1px solid rgba(231, 76, 60, .2);
  font-size: 1.8rem;
  color: var(--service-active);
}

.service-card__icon--dim {
  background: linear-gradient(135deg, rgba(149, 165, 166, .1), rgba(149, 165, 166, .05));
  border-color: rgba(149, 165, 166, .2);
  color: var(--service-coming);
}

/* ===== BADGES ===== */
.service-badge {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.service-badge--active {
  background: rgba(39, 174, 96, .15);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, .3);
}

.service-badge--soon {
  background: rgba(149, 165, 166, .15);
  color: var(--service-coming);
  border: 1px solid rgba(149, 165, 166, .3);
}

/* ===== CONTENIDO DE LA CARD ===== */
.service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}

.service-card__desc {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ===== FEATURES LIST ===== */
.service-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text);
}

.service-card__features i {
  color: var(--service-active);
  font-size: .8rem;
}

.service-card__features--dim li {
  opacity: .6;
}

.service-card__features--dim i {
  color: var(--service-coming);
}

/* ===== FOOTER DE LA CARD ===== */
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-card__price {
  font-weight: 700;
  color: var(--service-active);
  font-size: 1rem;
}

.service-card--coming .service-card__price {
  color: var(--service-coming);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--service-active), var(--service-accent));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.service-card--available:hover .service-card__cta {
  background: linear-gradient(45deg, #c0392b, var(--service-active));
}

.service-card__cta--disabled {
  background: rgba(149, 165, 166, .2);
  color: var(--service-coming);
  border: 1px solid rgba(149, 165, 166, .3);
  cursor: default;
}

/* ===== GRID DE AUDIENCIAS ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD DE AUDIENCIA ===== */
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--service-shadow);
}

.audience-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(231, 76, 60, .1), rgba(231, 76, 60, .05));
  color: var(--service-active);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.audience-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}

.audience-card__text {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.audience-card__service {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(231, 76, 60, .1);
  color: var(--service-active);
  font-size: .85rem;
  font-weight: 700;
}

.audience-card__service i {
  font-size: .8rem;
  opacity: .9;
}

.audience-card__service em {
  opacity: .7;
  font-style: normal;
  font-size: .8em;
}

/* ===== GRID DE DIFERENCIADORES ===== */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .differentiators-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD DE DIFERENCIADOR ===== */
.diff-card {
  position: relative;
  background: linear-gradient(135deg, #fff, #fffcfc);
  border: 1px solid rgba(231, 76, 60, .15);
  border-radius: 12px;
  padding: 1.5rem;
  padding-top: 2.5rem;
}

.diff-card__number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--service-active), var(--service-accent));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 12px rgba(231, 76, 60, .3);
}

.diff-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}

.diff-card__text {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

.form-group label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--service-active);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--service-active), var(--service-accent));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-submit:hover {
  background: linear-gradient(45deg, #c0392b, var(--service-active));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, .3);
}

.form-legal {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

.form-legal a {
  color: var(--service-active);
  text-decoration: underline;
}

.form-feedback {
  margin-top: 1rem;
  padding: .75rem;
  border-radius: 8px;
  font-size: .9rem;
  text-align: center;
}

.form-feedback.ok {
  background: rgba(39, 174, 96, .1);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, .3);
}

.form-feedback.err {
  background: rgba(231, 76, 60, .1);
  color: var(--service-active);
  border: 1px solid rgba(231, 76, 60, .3);
}

/* ===== INFO DE CONTACTO ASIDE ===== */
.contact-info-aside {
  background: linear-gradient(135deg, #fffcfc, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-info-aside h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}

.contact-info-aside p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.contact-methods i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(231, 76, 60, .1);
  color: var(--service-active);
  font-size: .9rem;
}

.contact-methods a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-methods a:hover {
  color: var(--service-active);
  text-decoration: underline;
}