/* Creative Marketing Honduras — Agency Theme Tokens. All rules are strictly tenant-scoped to :root[data-theme="creativemarketing"] */
:root[data-theme="creativemarketing"] {
  --primary: #0056A7;
  --primary-hover: #003F7D;
  --theme-primary: #0056A7;
  --theme-primary-hover: #003F7D;
  --theme-accent: #C0509C;
  --theme-green: #60B625;
  --theme-lime: #C9DB63;
  --theme-surface: #ffffff;
  --theme-surface-muted: #f5f8fc;
  --theme-text: #1e293b;
  --theme-heading: #0b2545;
  --theme-text-muted: #4b5563;
  --theme-border: #dce6f2;
  --theme-radius: 16px;
  --theme-font-body: "Inter", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --theme-font-heading: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
  --public-font-family: var(--theme-font-body);
  --site-container-width: 1200px;
  --theme-content-width: 1200px;
}

:root[data-theme="creativemarketing"],
:root[data-theme="creativemarketing"] body {
  background: var(--theme-surface);
  color: var(--theme-text);
  font-family: var(--theme-font-body);
  overflow-x: clip;
}

:root[data-theme="creativemarketing"] .public-header {
  background: rgba(7, 29, 64, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

:root[data-theme="creativemarketing"] .public-header a,
:root[data-theme="creativemarketing"] .public-header .brand-name {
  color: #ffffff;
}

:root[data-theme="creativemarketing"] .public-header .nav-link:hover,
:root[data-theme="creativemarketing"] .public-header .nav-link.router-link-active {
  color: #C9DB63;
}

:root[data-theme="creativemarketing"] .public-main {
  padding-top: 0 !important;
  max-width: 100% !important;
}

:root[data-theme="creativemarketing"] .cm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

:root[data-theme="creativemarketing"] .cm-section {
  padding: 72px 0;
  width: 100%;
  box-sizing: border-box;
}

:root[data-theme="creativemarketing"] .cm-section-muted {
  background: var(--theme-surface-muted);
}

:root[data-theme="creativemarketing"] .cm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 86, 167, 0.1);
  color: var(--theme-primary);
  margin-bottom: 14px;
}

:root[data-theme="creativemarketing"] .cm-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(6, 26, 64, 0.92) 0%, rgba(0, 86, 167, 0.86) 55%, rgba(131, 60, 133, 0.85) 100%),
    url("/api/public/themes/creativemarketing/assets/fondo-azul.webp") center/cover no-repeat;
  color: #ffffff;
  padding: 84px 0 80px;
}

:root[data-theme="creativemarketing"] .cm-hero .cm-eyebrow {
  background: rgba(201, 219, 99, 0.18);
  color: #C9DB63;
  border: 1px solid rgba(201, 219, 99, 0.35);
}

:root[data-theme="creativemarketing"] .cm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

:root[data-theme="creativemarketing"] .cm-hero h1 {
  font-family: var(--theme-font-heading);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px;
}

:root[data-theme="creativemarketing"] .cm-hero h1 span {
  color: #C9DB63;
}

:root[data-theme="creativemarketing"] .cm-hero p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
  max-width: 560px;
}

:root[data-theme="creativemarketing"] .cm-hero-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

:root[data-theme="creativemarketing"] .cm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

:root[data-theme="creativemarketing"] .cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  box-sizing: border-box;
}

:root[data-theme="creativemarketing"] .cm-btn:hover {
  transform: translateY(-2px);
}

:root[data-theme="creativemarketing"] .cm-btn-primary {
  background: #60B625;
  color: #ffffff;
}

:root[data-theme="creativemarketing"] .cm-btn-primary:hover {
  background: #4e9a1c;
}

:root[data-theme="creativemarketing"] .cm-btn-accent {
  background: #C0509C;
  color: #ffffff;
}

:root[data-theme="creativemarketing"] .cm-btn-accent:hover {
  background: #9f3c80;
}

:root[data-theme="creativemarketing"] .cm-btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

:root[data-theme="creativemarketing"] .cm-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

:root[data-theme="creativemarketing"] .cm-btn-outline {
  background: transparent;
  color: var(--theme-primary);
  border-color: var(--theme-primary);
}

:root[data-theme="creativemarketing"] .cm-btn-outline:hover {
  background: var(--theme-primary);
  color: #ffffff;
}

:root[data-theme="creativemarketing"] .cm-section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

:root[data-theme="creativemarketing"] .cm-section-head h2 {
  font-family: var(--theme-font-heading);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--theme-heading);
  margin: 0 0 12px;
  line-height: 1.2;
}

:root[data-theme="creativemarketing"] .cm-section-head p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--theme-text-muted);
  margin: 0;
}

:root[data-theme="creativemarketing"] .cm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

:root[data-theme="creativemarketing"] .cm-service-card {
  background: #ffffff;
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

:root[data-theme="creativemarketing"] .cm-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-primary);
}

:root[data-theme="creativemarketing"] .cm-service-media {
  background: #f8fafd;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
}

:root[data-theme="creativemarketing"] .cm-service-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

:root[data-theme="creativemarketing"] .cm-service-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

:root[data-theme="creativemarketing"] .cm-service-body h3 {
  font-family: var(--theme-font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--theme-heading);
  margin: 0 0 8px;
}

:root[data-theme="creativemarketing"] .cm-service-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--theme-text-muted);
  margin: 0;
}

:root[data-theme="creativemarketing"] .cm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

:root[data-theme="creativemarketing"] .cm-split img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
}

:root[data-theme="creativemarketing"] .cm-split h2 {
  font-family: var(--theme-font-heading);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--theme-heading);
  margin: 0 0 16px;
  line-height: 1.2;
}

:root[data-theme="creativemarketing"] .cm-split p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--theme-text-muted);
  margin: 0 0 22px;
}

:root[data-theme="creativemarketing"] .cm-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}

:root[data-theme="creativemarketing"] .cm-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-heading);
}

:root[data-theme="creativemarketing"] .cm-check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(96, 182, 37, 0.16);
  color: #4e9a1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

:root[data-theme="creativemarketing"] .cm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

:root[data-theme="creativemarketing"] .cm-plan-card {
  background: #ffffff;
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

:root[data-theme="creativemarketing"] .cm-plan-card.cm-plan-featured {
  border: 2px solid #C0509C;
  background: linear-gradient(180deg, #fff9fd 0%, #ffffff 45%);
}

:root[data-theme="creativemarketing"] .cm-plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #C0509C;
  color: #ffffff;
  margin-bottom: 10px;
}

:root[data-theme="creativemarketing"] .cm-plan-card h3 {
  font-family: var(--theme-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--theme-heading);
  margin: 0 0 6px;
}

:root[data-theme="creativemarketing"] .cm-plan-sub {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin: 0 0 18px;
}

:root[data-theme="creativemarketing"] .cm-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}

:root[data-theme="creativemarketing"] .cm-plan-features li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--theme-text);
  padding-left: 20px;
  position: relative;
}

:root[data-theme="creativemarketing"] .cm-plan-features li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--theme-primary);
  font-weight: 900;
}

:root[data-theme="creativemarketing"] .cm-extra-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

:root[data-theme="creativemarketing"] .cm-extra-card {
  background: #ffffff;
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

:root[data-theme="creativemarketing"] .cm-extra-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}

:root[data-theme="creativemarketing"] .cm-extra-card h4 {
  font-family: var(--theme-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-heading);
  margin: 0 0 6px;
}

:root[data-theme="creativemarketing"] .cm-extra-card p {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin: 0;
  line-height: 1.45;
}

:root[data-theme="creativemarketing"] .cm-cta-band {
  background: linear-gradient(135deg, #071d40 0%, #0056A7 60%, #833C85 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 52px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

:root[data-theme="creativemarketing"] .cm-cta-band h2 {
  font-family: var(--theme-font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}

:root[data-theme="creativemarketing"] .cm-cta-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

:root[data-theme="creativemarketing"] .cm-contact-card {
  background: #ffffff;
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

:root[data-theme="creativemarketing"] .cm-form {
  display: grid;
  gap: 14px;
}

:root[data-theme="creativemarketing"] .cm-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-heading);
  margin-bottom: 6px;
}

:root[data-theme="creativemarketing"] .cm-form input,
:root[data-theme="creativemarketing"] .cm-form select,
:root[data-theme="creativemarketing"] .cm-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  :root[data-theme="creativemarketing"] .cm-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root[data-theme="creativemarketing"] .cm-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root[data-theme="creativemarketing"] .cm-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root[data-theme="creativemarketing"] .cm-container {
    padding: 0 16px;
  }
  :root[data-theme="creativemarketing"] .cm-section {
    padding: 48px 0;
  }
  :root[data-theme="creativemarketing"] .cm-hero {
    padding: 52px 0 48px;
  }
  :root[data-theme="creativemarketing"] .cm-hero-grid,
  :root[data-theme="creativemarketing"] .cm-split,
  :root[data-theme="creativemarketing"] .cm-services-grid,
  :root[data-theme="creativemarketing"] .cm-pricing-grid,
  :root[data-theme="creativemarketing"] .cm-extra-grid,
  :root[data-theme="creativemarketing"] .cm-cta-band,
  :root[data-theme="creativemarketing"] .cm-contact-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  :root[data-theme="creativemarketing"] .cm-cta-band {
    padding: 32px 22px;
  }
  :root[data-theme="creativemarketing"] .cm-contact-card {
    padding: 22px 18px;
  }
  :root[data-theme="creativemarketing"] .cm-actions {
    flex-direction: column;
    align-items: stretch;
  }
  :root[data-theme="creativemarketing"] .cm-btn {
    width: 100%;
    text-align: center;
  }
}
