/* Per-template layout variants for AI-generated business sites */

/* ── T02 Split Hero ── */
.tpl-t02 .cs-hero-split { background: #f8f9fa; padding: 60px 0; }
.tpl-t02 .cs-hero-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tpl-t02 .cs-hero-split-text h2 { font-size: 36px; color: #222; margin-bottom: 16px; }
.tpl-t02 .cs-hero-split-text p { color: #555; margin-bottom: 24px; }
.tpl-t02 .cs-hero-label { display: inline-block; background: var(--brand-light); color: var(--brand); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.tpl-t02 .cs-hero-split-img img { width: 100%; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.tpl-t02 .cs-about-reverse { flex-direction: row-reverse; }
.tpl-t02 .cs-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── T03 Center Minimal ── */
.tpl-t03 .cs-header { background: #fff; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.tpl-t03 .cs-logo { color: #333; }
.tpl-t03 .cs-nav a { color: #555; }
.tpl-t03 .cs-hero-center { background: #fff; padding: 80px 0 60px; text-align: center; }
.tpl-t03 .cs-hero-center-inner { max-width: 640px; margin: 0 auto; }
.tpl-t03 .cs-hero-center h2 { font-size: 42px; font-weight: 300; color: #222; margin-bottom: 20px; letter-spacing: -0.5px; }
.tpl-t03 .cs-hero-lead { font-size: 16px; color: #666; margin-bottom: 32px; }
.tpl-t03 .cs-about-stack { flex-direction: column; }
.tpl-t03 .cs-about-img-wide img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 4px; }
.tpl-t03 .cs-about-text-center { text-align: center; max-width: 720px; margin: 32px auto 0; }
.tpl-t03 .cs-stats-inline { display: flex; justify-content: center; gap: 48px; background: transparent; }
.tpl-t03 .cs-section-title-center { text-align: center; }
.tpl-t03 .cs-products-minimal .cs-product { border: none; box-shadow: none; border-bottom: 1px solid #eee; border-radius: 0; }
.tpl-t03 .cs-contact-center { text-align: center; }
.tpl-t03 .cs-contact-center .cs-contact-info { justify-content: center; }

/* ── T04 Services First ── */
.tpl-t04 .cs-hero-compact { padding: 50px 0; min-height: 220px; }
.tpl-t04 .cs-products-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tpl-t04 .cs-products-cards .cs-product { flex-direction: column; text-align: center; padding: 28px 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.tpl-t04 .cs-products-cards .cs-product-img { margin: 0 auto 16px; }
.tpl-t04 .cs-stats-band { background: var(--brand); }
.tpl-t04 .cs-stats-band .cs-stat strong { color: #fff; }
.tpl-t04 .cs-stats-band .cs-stat span { color: rgba(255,255,255,.8); }

/* ── T05 Dark Premium ── */
.tpl-t05 { background: #1a1a2e; color: #e0e0e0; }
.tpl-t05 .cs-header-dark { background: #0f0f1a; border-bottom: 1px solid rgba(255,255,255,.08); }
.tpl-t05 .cs-hero-dark { position: relative; padding: 80px 0; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.tpl-t05 .cs-hero-dark .container { position: relative; z-index: 2; }
.tpl-t05 .cs-hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: #c9a84c; margin-bottom: 16px; }
.tpl-t05 .cs-hero-dark h2 { font-family: 'Playfair Display', serif; font-size: 44px; color: #fff; margin-bottom: 16px; }
.tpl-t05 .cs-hero-dark p { color: rgba(255,255,255,.75); max-width: 560px; }
.tpl-t05 .cs-hero-dark-img { position: absolute; inset: 0; opacity: .35; }
.tpl-t05 .cs-hero-dark-img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-t05 .cs-btn-gold { background: #c9a84c; color: #1a1a2e; font-weight: 700; padding: 14px 32px; border-radius: 4px; display: inline-block; text-decoration: none; }
.tpl-t05 .cs-btn-gold:hover { background: #dbb95c; text-decoration: none; }
.tpl-t05 .cs-stats-dark { background: #16213e; }
.tpl-t05 .cs-stats-dark .cs-stat strong { color: #c9a84c; }
.tpl-t05 .cs-section-dark { background: #0f0f1a; }
.tpl-t05 .cs-section-dark h2 { color: #fff; }
.tpl-t05 .cs-section { background: #1a1a2e; }
.tpl-t05 .cs-section-alt { background: #16213e; }
.tpl-t05 .cs-section-title h2 { color: #fff; }
.tpl-t05 .cs-product { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tpl-t05 .cs-product h3 { color: #fff; }
.tpl-t05 .cs-feature { background: rgba(255,255,255,.05); }
.tpl-t05 .cs-feature h3 { color: #fff; }
.tpl-t05 .cs-footer { background: #0f0f1a; border-top: 1px solid rgba(255,255,255,.08); }
.tpl-t05 .cs-footer-bottom { color: rgba(255,255,255,.5); }

/* ── T06 Warm Friendly ── */
.tpl-t06 .cs-header { background: #fff; color: #333; border-bottom: 3px solid var(--brand); }
.tpl-t06 .cs-logo { color: var(--brand-dark); }
.tpl-t06 .cs-nav a { color: #555; }
.tpl-t06 .cs-hero-warm { background: linear-gradient(135deg, #fff8f0, #ffe8d0); padding: 60px 0; }
.tpl-t06 .cs-hero-warm-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tpl-t06 .cs-hero-warm h2 { font-size: 34px; color: var(--brand-dark); margin-bottom: 16px; }
.tpl-t06 .cs-hero-warm-img img { border-radius: 50% 20px 50% 20px; width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.tpl-t06 .cs-section-warm { background: #fff8f0; }
.tpl-t06 .cs-stats-warm { background: transparent; }
.tpl-t06 .cs-stats-warm .cs-stat { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.tpl-t06 .cs-about-warm .cs-about-img img { border-radius: 16px; }
.tpl-t06 .cs-features-warm .cs-feature { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.tpl-t06 .cs-contact-warm { text-align: center; }
.tpl-t06 .cs-contact-warm h2 { color: var(--brand-dark); margin-bottom: 24px; }

/* ── T07 Bold Impact ── */
.tpl-t07 .cs-hero-bold { min-height: 520px; display: flex; align-items: center; }
.tpl-t07 .cs-hero-xl { font-size: 52px !important; font-weight: 800 !important; line-height: 1.1; text-transform: uppercase; letter-spacing: -1px; }
.tpl-t07 .cs-stats-hero { background: transparent; padding: 32px 0 24px; justify-content: flex-start; gap: 48px; }
.tpl-t07 .cs-stats-hero .cs-stat strong { font-size: 36px; color: #fff; }
.tpl-t07 .cs-stats-hero .cs-stat span { color: rgba(255,255,255,.85); }
.tpl-t07 .cs-btn-lg { padding: 16px 40px; font-size: 16px; }
.tpl-t07 .cs-products-bold { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tpl-t07 .cs-products-bold .cs-product { border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0; }
.tpl-t07 .cs-features-bold { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tpl-t07 .cs-features-bold .cs-feature { background: var(--brand); color: #fff; padding: 32px 24px; text-align: center; }
.tpl-t07 .cs-features-bold .cs-feature i { color: rgba(255,255,255,.8); font-size: 28px; }
.tpl-t07 .cs-features-bold .cs-feature h3 { color: #fff; }

/* ── T08 Magazine ── */
.tpl-t08 .cs-hero-magazine { background: #fafafa; padding: 48px 0; border-bottom: 1px solid #eee; }
.tpl-t08 .cs-magazine-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.tpl-t08 .cs-magazine-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--brand); font-weight: 700; }
.tpl-t08 .cs-magazine-head h2 { font-family: 'Playfair Display', serif; font-size: 40px; margin: 12px 0 16px; line-height: 1.2; }
.tpl-t08 .cs-magazine-cover img { width: 100%; height: 360px; object-fit: cover; }
.tpl-t08 .cs-magazine-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.tpl-t08 .cs-magazine-body h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 20px; }
.tpl-t08 .cs-magazine-inline-img { width: 100%; margin-bottom: 24px; }
.tpl-t08 .cs-stats-magazine { flex-direction: column; align-items: flex-start; gap: 12px; background: transparent; padding: 24px 0 0; }
.tpl-t08 .cs-stats-magazine .cs-stat { text-align: left; }
.tpl-t08 .cs-features-stack .cs-feature { border-bottom: 1px solid #eee; padding: 16px 0; background: transparent; }
.tpl-t08 .cs-products-magazine { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tpl-t08 .cs-contact-magazine { border-top: 3px solid var(--brand); padding-top: 32px; }

/* ── T09 Gradient Wave ── */
.tpl-t09 .cs-hero-gradient {
  position: relative;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.tpl-t09 .cs-hero-gradient h2 { font-size: 40px; margin-bottom: 16px; }
.tpl-t09 .cs-hero-gradient p { opacity: .9; max-width: 560px; margin-bottom: 28px; }
.tpl-t09 .cs-hero-gradient-img { position: absolute; right: -5%; top: 50%; transform: translateY(-50%); width: 45%; opacity: .2; border-radius: 50%; overflow: hidden; }
.tpl-t09 .cs-hero-gradient-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tpl-t09 .cs-btn-white { background: #fff; color: var(--brand); padding: 12px 28px; border-radius: 6px; font-weight: 700; display: inline-block; text-decoration: none; margin-right: 12px; }
.tpl-t09 .cs-btn-outline-white { border: 2px solid #fff; color: #fff; padding: 10px 26px; border-radius: 6px; font-weight: 700; display: inline-block; text-decoration: none; }
.tpl-t09 .cs-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 720,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* ── T10 Compact ── */
.tpl-t10 .cs-header-compact { background: #fff; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 0; }
.tpl-t10 .cs-logo-sm h1 { font-size: 16px; }
.tpl-t10 .cs-logo { color: #333; }
.tpl-t10 .cs-nav-compact a { color: #555; font-size: 13px; }
.tpl-t10 .cs-btn-sm { padding: 8px 16px; font-size: 12px; }
.tpl-t10 .cs-hero-compact-bar { background: var(--brand); color: #fff; padding: 32px 0; min-height: auto; }
.tpl-t10 .cs-hero-compact-bar h2 { font-size: 24px; margin-bottom: 8px; }
.tpl-t10 .cs-hero-compact-bar p { font-size: 14px; opacity: .9; }
.tpl-t10 .cs-section-compact { padding: 32px 0; }
.tpl-t10 .cs-compact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.tpl-t10 .cs-compact-aside img { width: 100%; border-radius: 8px; margin-bottom: 16px; }
.tpl-t10 .cs-stats-compact { flex-direction: column; gap: 8px; background: transparent; padding: 0; }
.tpl-t10 .cs-stats-compact .cs-stat { text-align: left; padding: 8px 0; border-bottom: 1px solid #eee; }
.tpl-t10 .cs-products-compact .cs-product { padding: 12px 0; box-shadow: none; border-bottom: 1px solid #eee; border-radius: 0; }
.tpl-t10 .cs-about-compact { gap: 24px; }
.tpl-t10 .cs-features-compact { display: flex; gap: 16px; flex-wrap: wrap; }
.tpl-t10 .cs-features-compact .cs-feature { flex: 1; min-width: 200px; padding: 16px; font-size: 13px; }

/* Shared extras */
.cs-btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand);
  background: transparent;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  margin-left: 8px;
}
.cs-btn-outline:hover { background: var(--brand); color: #fff; text-decoration: none; }

@media (max-width: 768px) {
  .tpl-t02 .cs-hero-split-inner,
  .tpl-t06 .cs-hero-warm-inner,
  .tpl-t08 .cs-magazine-hero,
  .tpl-t08 .cs-magazine-body,
  .tpl-t10 .cs-compact-grid { grid-template-columns: 1fr; }
  .tpl-t04 .cs-products-cards,
  .tpl-t07 .cs-products-bold,
  .tpl-t07 .cs-features-bold { grid-template-columns: 1fr; }
  .tpl-t07 .cs-hero-xl { font-size: 32px !important; }
  .tpl-t03 .cs-stats-inline { flex-direction: column; gap: 16px; }
}
