/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #059669; text-decoration: none; transition: color .15s; }
a:hover { color: #047857; }

/* === Layout === */
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.wide-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* === Header === */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.site-header .wide-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}
.site-logo span { color: #059669; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: #4b5563; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: #059669; }
.nav-cta {
  background: #F03222;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px !important;
}
.nav-cta:hover { background: #d42a1c; color: #fff !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #1a1a1a; margin: 5px 0; transition: .3s; }

/* === Hero === */
.hero {
  padding: 72px 0 56px;
  border-bottom: none;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 35%, #0f2027 65%, #203a43 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(5,150,105,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(240,50,34,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}
.hero .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,.6);
  max-width: 640px;
  line-height: 1.5;
}
.hero .hero-search {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; color: rgba(255,255,255,.45); font-size: 15px;
  cursor: default; transition: background .2s;
}
.hero .hero-search:hover { background: rgba(255,255,255,.11); }
.hero .hero-search .arrow { color: #059669; font-weight: 700; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.3); }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.last-updated {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.15);
  padding: 4px 12px;
  border-radius: 20px;
}

/* === Intro Section === */
.intro-section {
  padding: 48px 0 32px;
}
.intro-section p {
  font-size: 17px;
  color: #374151;
  margin-bottom: 18px;
}

/* === Comparison Table === */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0 48px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 700px;
}
.comparison-table thead { background: #f9fafb; }
.comparison-table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
}
.comparison-table tbody tr:hover { background: #f9fafb; }
.comparison-table .highlight-row {
  background: #f0fdf4;
  font-weight: 500;
}
.comparison-table .highlight-row:hover { background: #dcfce7; }
.comparison-table .studio-name { font-weight: 600; color: #111; }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
}
.badge-best { background: #059669; color: #fff; }
.badge-top { background: #eab308; color: #fff; }
.stars { color: #f59e0b; letter-spacing: 1px; }

/* === Studio Cards === */
.studio-card {
  padding: 0;
  margin: 40px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.studio-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.06); }
.studio-card:last-child { border-bottom: 1px solid #e5e7eb; }
.studio-card .card-color-bar { height: 5px; background: #d1d5db; }
.studio-card .card-body { padding: 36px 32px; }
.studio-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.studio-rank {
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.studio-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}
.studio-card h2 a { color: #111; }
.studio-card h2 a:hover { color: #059669; }
.studio-tagline {
  font-size: 15px;
  color: #059669;
  font-weight: 600;
  margin-bottom: 18px;
}
.studio-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}
.studio-meta .meta-icon { margin-right: 4px; }
.studio-meta strong { color: #374151; }
.studio-card p {
  color: #374151;
  margin-bottom: 16px;
}

/* === Featured Studio Card (TRC) === */
.studio-card.featured-studio {
  border-color: #F03222;
  border-width: 2px;
  border-left-width: 5px;
  background: #fef8f7;
}
.studio-card.featured-studio .card-color-bar { background: #F03222; height: 6px; }

/* === Large Rating Display === */
.rating-display {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.rating-display .rating-number {
  font-size: 32px; font-weight: 800; color: #111; line-height: 1;
}
.rating-display .rating-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.rating-display .rating-label { font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }

/* === Feature Tags === */
.feature-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0;
}
.feature-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; font-size: 13px; border-radius: 6px;
  background: #f3f4f6; color: #374151; font-weight: 500;
}
.feature-tag.tag-24-7 { background: #ecfdf5; color: #065f46; }
.feature-tag.tag-price-low { background: #ecfdf5; color: #065f46; }
.feature-tag.tag-price-mid { background: #fef3c7; color: #92400e; }
.feature-tag.tag-price-high { background: #fef2f2; color: #991b1b; }
.feature-tag.tag-price-premium { background: #fef2f2; color: #7f1d1d; }
.feature-tag.tag-location { background: #eff6ff; color: #1d4ed8; }
.feature-tag.tag-atmos { background: #ede9fe; color: #5b21b6; }

/* === Editors Choice Badge === */
.badge-editors-choice {
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 4px; font-weight: 700; margin-left: 8px;
}
.badge-featured {
  background: #F03222; color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 4px; font-weight: 700; margin-left: 8px;
}

/* === What's Included Grid (TRC) === */
.whats-included {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.whats-included .item {
  text-align: center; padding: 8px;
}
.whats-included .item-icon {
  font-size: 24px; margin-bottom: 4px;
}
.whats-included .item-label {
  font-size: 12px; color: #374151; font-weight: 600;
}

/* === CTA Button Large === */
.cta-primary-lg {
  display: inline-block; padding: 16px 40px;
  background: #F03222; color: #fff; border-radius: 10px;
  font-weight: 700; font-size: 18px; text-decoration: none;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 16px rgba(240,50,34,.25);
}
.cta-primary-lg:hover { background: #d42a1c; color: #fff; transform: translateY(-1px); }

/* === Photo Gallery Placeholders === */
.photo-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 24px 0;
}
.photo-placeholder {
  aspect-ratio: 4/3; border-radius: 10px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.photo-placeholder:nth-child(1) { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); }
.photo-placeholder:nth-child(2) { background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #4a1a6b 100%); }
.photo-placeholder:nth-child(3) { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%); }

/* === Check Icons === */
.check-yes { color: #059669; font-weight: 700; }
.check-no  { color: #dc2626; font-weight: 700; }
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.pros h4, .cons h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.pros h4 { color: #059669; }
.cons h4 { color: #dc2626; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li {
  padding: 4px 0;
  font-size: 15px;
  color: #4b5563;
  padding-left: 20px;
  position: relative;
}
.pros li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 700; }
.cons li::before { content: "✗"; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* === CTA Buttons === */
.cta-btn, .cta-primary, a[href*="trc-landing-pages.pages.dev"] {
  display: inline-block;
  background: #F03222;
  color: white !important;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(240, 50, 34, 0.3);
}
.cta-btn:hover, .cta-primary:hover, a[href*="trc-landing-pages.pages.dev"]:hover {
  background: #d42a1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 50, 34, 0.4);
  text-decoration: none;
  color: #fff;
}
.cta-secondary {
  display: inline-block;
  background: #059669;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}
.cta-secondary:hover { background: #047857; color: #fff; }
.cta-box {
  background: #fef2f2;
  border: 2px solid #F03222;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #111;
}
.cta-box p {
  color: #6b7280;
  margin-bottom: 20px;
}

/* === Studio Detail Pages === */
.studio-detail-hero {
  padding: 48px 0 36px;
  border-bottom: none;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
  position: relative;
}
.studio-detail-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(240,50,34,.06) 0%, transparent 55%);
  pointer-events: none;
}
.studio-detail-hero .container { position: relative; z-index: 1; }
.studio-detail-hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
}
.studio-detail-hero .rating {
  font-size: 20px;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
}
.studio-detail-hero .rating .stars { color: #f59e0b; }
.studio-detail-hero .breadcrumb, .studio-detail-hero .breadcrumb a { color: rgba(255,255,255,.3); }
.studio-detail-hero .breadcrumb a:hover { color: rgba(255,255,255,.7); }
.studio-detail-hero .last-updated { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.35); }
.detail-section {
  padding: 36px 0;
  border-bottom: 1px solid #f3f4f6;
}
.detail-section:last-of-type { border-bottom: none; }
.detail-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}
.detail-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #111;
}
.detail-section p {
  color: #374151;
  margin-bottom: 14px;
}
.detail-section ul, .detail-section ol {
  margin: 12px 0 18px 24px;
  color: #374151;
}
.detail-section li { margin-bottom: 6px; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.info-card {
  background: #f9fafb;
  border-radius: 8px;
  padding: 20px;
}
.info-card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-bottom: 4px;
}
.info-card .value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* === Blog === */
.blog-hero {
  padding: 56px 0 40px;
  border-bottom: none;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f2027 60%, #203a43 100%);
  position: relative;
}
.blog-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(5,150,105,.08) 0%, transparent 55%);
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #fff;
}
.blog-hero .breadcrumb, .blog-hero .breadcrumb a { color: rgba(255,255,255,.3); }
.blog-hero .breadcrumb a:hover { color: rgba(255,255,255,.7); }
.blog-meta {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
}
.blog-content {
  padding: 40px 0 60px;
}
.blog-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #111;
}
.blog-content h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: #111;
}
.blog-content p {
  color: #374151;
  margin-bottom: 16px;
}
.blog-content ul, .blog-content ol {
  margin: 12px 0 20px 24px;
  color: #374151;
}
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote {
  border-left: 4px solid #059669;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f0fdf4;
  border-radius: 0 8px 8px 0;
  color: #374151;
  font-style: italic;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.pricing-table th, .pricing-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.pricing-table thead { background: #f9fafb; }
.pricing-table th { font-weight: 600; color: #374151; }
.pricing-table td { color: #4b5563; }

/* === Footer === */
.site-footer {
  background: #111;
  color: #9ca3af;
  padding: 48px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 8px; }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #9ca3af; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* === About Page === */
.about-content { padding: 48px 0; }
.about-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 14px; color: #111; }
.about-content p { color: #374151; margin-bottom: 16px; }
.about-content ul { margin: 12px 0 20px 24px; color: #374151; }
.about-content li { margin-bottom: 6px; }

/* === Sidebar CTA (floating) === */
.sidebar-cta {
  background: linear-gradient(135deg, #111 0%, #1f2937 100%);
  border-radius: 12px;
  padding: 28px;
  color: #fff;
  margin: 36px 0;
}
.sidebar-cta h3 { font-size: 20px; margin-bottom: 8px; }
.sidebar-cta p { color: #d1d5db; font-size: 15px; margin-bottom: 16px; }

/* === Gallery Images === */
.photo-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* === Hero Pill Link === */
.hero .hero-search {
  text-decoration: none;
}
.hero a.hero-search:hover {
  text-decoration: none;
  background: rgba(255,255,255,.15);
}

/* === Responsive === */
@media (max-width: 768px) {
  table { font-size: 0.85rem; }
  th, td { padding: 8px 6px; }
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: 17px; }
  .hero { padding: 48px 0 40px; }
  .blog-hero h1 { font-size: 28px; }
  .studio-detail-hero h1 { font-size: 28px; }
  .studio-card h2 { font-size: 22px; }
  .studio-card .card-body { padding: 20px; }
  .whats-included { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: 1fr; }
  .feature-tags { gap: 6px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: block; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 24px 16px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 26px; }
  .container, .wide-container { padding: 0 16px; }
  .info-grid { grid-template-columns: 1fr; }
}
