@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --terracotta: #c0725a;
  --terracotta-dark: #a35d48;
  --ochre: #d4a54a;
  --ochre-light: #e8c87a;
  --warm-white: #fff8f0;
  --text-dark: #2c1e14;
  --text-body: #4a3628;
  --text-muted: #7a6558;
  --border: #e0d0c4;
  --card-bg: #ffffff;
  --shadow: rgba(44, 30, 20, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  background: var(--warm-white);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 12px var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo span {
  color: var(--ochre-light);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ochre-light);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--terracotta) 0%, #8b4a3a 60%, var(--text-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-badge {
  display: inline-block;
  background: var(--ochre);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--terracotta);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  flex: 1;
  width: 100%;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.section-intro h2 {
  color: var(--terracotta);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ===== RATING LIST ===== */
.rating-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.rating-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.rating-card:hover {
  box-shadow: 0 6px 20px rgba(44, 30, 20, 0.12);
  transform: translateY(-2px);
}

.rating-card.highlighted {
  border-color: var(--ochre);
  border-width: 2px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8f0 100%);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-position {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlighted .card-position {
  background: var(--ochre);
}

.card-title {
  flex: 1;
}

.card-title h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.card-title .card-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.card-rating {
  flex-shrink: 0;
  text-align: center;
}

.card-rating .stars {
  color: var(--ochre);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.card-rating .score {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.card-body p {
  margin-bottom: 0.75rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-tags span {
  background: rgba(192, 114, 90, 0.1);
  color: var(--terracotta);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-weight: 600;
}

.highlighted .card-tags span {
  background: rgba(212, 165, 74, 0.15);
  color: var(--terracotta-dark);
}

/* ===== CTA BUTTONS ===== */
.cta-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-btn-primary {
  background: var(--terracotta);
  color: #fff;
}

.cta-btn-primary:hover {
  background: var(--terracotta-dark);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.cta-btn-secondary:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
  max-width: 780px;
}

.article-content h2 {
  color: var(--terracotta);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.article-content h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content blockquote {
  border-left: 4px solid var(--ochre);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(212, 165, 74, 0.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dark);
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px var(--shadow);
}

.info-box h3 {
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-box li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--ochre);
  font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.site-footer a {
  color: var(--ochre-light);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 0.75rem;
}

.footer-links a {
  margin: 0 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .rating-card {
    padding: 1.25rem 1.25rem;
  }

  .card-header {
    flex-wrap: wrap;
  }

  .card-rating {
    width: 100%;
    text-align: left;
    margin-top: 0.25rem;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-nav {
    justify-content: center;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .card-title h3 {
    font-size: 1.1rem;
  }

  .rating-card {
    padding: 1rem;
  }
}
