/*
Theme Name: Creador IA Base
Theme URI: https://constructor.hostingroup.com
Author: Hosting Group
Description: Theme base para webs de servicios generadas por IA.
Version: 0.1.0
Text Domain: creador-ia-base
*/

:root {
  --theme-bg: #f5f7fb;
  --theme-text: #0f172a;
  --theme-muted: #475569;
  --theme-accent: #2563eb;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--theme-text);
  background: var(--theme-bg);
}

.site-header,
.site-footer {
  padding: 20px 28px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer {
  border-top: 1px solid #e2e8f0;
  border-bottom: 0;
}

.site-brand a {
  color: var(--theme-accent);
  text-decoration: none;
  font-weight: 700;
}

.site-nav .site-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.site-nav .site-menu a {
  color: var(--theme-text);
  text-decoration: none;
  font-weight: 600;
}

.site-nav .site-menu a:hover {
  color: var(--theme-accent);
}

.site-main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.site-article,
.hero,
.home-content {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.hero {
  margin-bottom: 24px;
}

.site-article + .site-article {
  margin-top: 24px;
}

.site-content {
  color: var(--theme-muted);
  line-height: 1.7;
}

.cwcia-page {
  display: grid;
  gap: 24px;
}

.cwcia-hero,
.cwcia-section,
.cwcia-cta {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.cwcia-hero {
  background: linear-gradient(135deg, #eff6ff, #ffffff 65%);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.cwcia-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-accent);
  font-weight: 700;
}

.cwcia-lead {
  max-width: 68ch;
  color: var(--theme-muted);
  font-size: 1.08rem;
}

.cwcia-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cwcia-pills span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--theme-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.cwcia-hero-grid,
.cwcia-grid,
.cwcia-faq {
  display: grid;
  gap: 16px;
}

.cwcia-hero-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: stretch;
}

.cwcia-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cwcia-faq {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cwcia-card,
.cwcia-quote {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
}

.cwcia-card--accent {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  border-color: rgba(37, 99, 235, 0.16);
}

.cwcia-card--dark {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.cwcia-quote {
  margin: 0;
  color: var(--theme-text);
  font-style: italic;
}

.cwcia-quote span {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--theme-muted);
  font-weight: 700;
}

.cwcia-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), #ffffff);
}

.cwcia-image-box {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.site-article h1,
.hero h1,
.home-content h1,
.cwcia-hero h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.site-article h2,
.home-content h2,
.cwcia-section h2,
.cwcia-cta h2 {
  margin-top: 2rem;
}

.cwcia-section--hero-copy h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .cwcia-hero-grid,
  .cwcia-grid,
  .cwcia-faq,
  .cwcia-cta {
    grid-template-columns: 1fr;
  }
}
