/* Mandala Roma site stylesheet */

:root {
  --bg: #F6F6F6;
  --surface: #FFFFFF;
  --surface-alt: #FDEEF3;
  --ink: #424242;
  --ink-soft: #6B6B6B;
  --dark: #424242;
  --dark-2: #056C5C;
  --primary: #056C5C;
  --primary-light: #E1EFED;
  --gold: #BA1650;
  --gold-light: #FF98BB;
  --cta: #BA1650;
  --cta-hover: #8F0F3D;
  --border: #CCCCCC;
  --on-dark-soft: #D6D6D6;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(66, 66, 66, 0.28);
  --shadow-sm: 0 4px 14px -6px rgba(66, 66, 66, 0.2);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.6em; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.45em; }
img { max-width: 100%; display: block; border-radius: 12px; }
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.section { padding: 2.6rem 0; }
.section-narrow { max-width: 820px; margin: 0 auto; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.hidden-anchor { position: relative; top: -84px; visibility: hidden; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* Top strip */
.top-strip {
  background: var(--dark);
  color: var(--on-dark-soft);
  font-size: 0.8rem;
  text-align: center;
  padding: 7px 12px;
}
.top-strip strong { color: var(--gold-light); }

/* Header */
header.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 42px; height: 42px; flex-shrink: 0; }
.brand-logo, .footer-brand img { border-radius: 10px; flex-shrink: 0; display: block; }
.brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-tag { display: block; font-size: 0.68rem; font-weight: 400; color: var(--gold-light); letter-spacing: 0.04em; text-transform: uppercase; }
nav.main-nav { display: flex; gap: 22px; }
nav.main-nav a {
  color: #ECECEC; text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 8px 2px; border-bottom: 2px solid transparent; transition: border-color .15s;
}
nav.main-nav a:hover { border-color: var(--gold-light); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(186,22,80,0.18), transparent 55%), var(--dark);
  color: #fff;
  padding: 3.2rem 0 2.6rem;
}
.hero .container { max-width: 780px; }
.hero-text { text-align: center; margin: 0 auto; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-soft); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 1.2rem 0 1.4rem; }
.hero-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--gold-light); font-size: 0.82rem; padding: 6px 12px; border-radius: 999px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 600; font-family: "Sora", sans-serif;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; font-size: 0.95rem;
  transition: transform .12s, box-shadow .12s; border: none; cursor: pointer;
}
.btn-cta {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover)); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(186,22,80,0.55);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(186,22,80,0.65); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* Toplist section */
.toplist-section {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.8rem;
  margin-top: -2.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.toplist-section h2 { margin-top: 0; text-align: center; }
.toplist-caption { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: -0.4em; }

/* Author / EEAT box */
.author-box {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px; margin: 1.6rem 0 2rem;
  font-size: 0.9rem;
}
.author-avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.author-box strong { color: var(--dark); }
.author-meta { color: var(--ink-soft); }

/* Cards grid (bonus types) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 1.6rem 0; }
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.info-card .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-family: "Sora"; font-weight: 700; margin-bottom: 10px;
}
.info-card h3 { margin-top: 0; font-size: 1.05rem; }

/* Responsive stacked tables */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
table.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
table.data-table th, table.data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
table.data-table thead th { background: var(--dark); color: #fff; font-family: "Sora"; font-weight: 600; }
table.data-table tbody tr:nth-child(even) { background: var(--primary-light); }
table.data-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  table.stack-table thead { display: none; }
  table.stack-table, table.stack-table tbody, table.stack-table tr, table.stack-table td { display: block; width: 100%; }
  table.stack-table tr {
    margin-bottom: 12px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
    background: var(--surface);
  }
  table.stack-table td {
    display: flex; justify-content: space-between; gap: 12px; text-align: right;
    border-bottom: 1px solid var(--border);
  }
  table.stack-table td:last-child { border-bottom: none; }
  table.stack-table td::before {
    content: attr(data-label); font-weight: 600; color: var(--dark); text-align: left; font-family: "Sora";
  }
}

/* Brand deep-dive cards */
.brand-cards { display: flex; flex-direction: column; gap: 22px; margin: 1.6rem 0; }
.brand-card {
  display: grid; grid-template-columns: 190px 1fr; gap: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.brand-visual { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.brand-rank {
  width: 40px; height: 40px; border-radius: 50%; background: var(--dark); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-family: "Sora"; font-weight: 700;
}
.brand-icon { width: 96px; height: 96px; }
.brand-logo-frame {
  width: 96px; height: 96px; background: #fff; border-radius: 16px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: var(--shadow-sm);
}
.brand-logo-frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; }
.brand-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand-header h3 { margin: 0; }
.bonus-pill {
  display: inline-block; background: var(--primary-light); color: var(--primary); font-weight: 600;
  font-size: 0.85rem; padding: 5px 12px; border-radius: 999px; margin: 6px 0 10px;
}
.brand-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0; }
.pros-cons h4 { margin: 0 0 6px; font-size: 0.9rem; font-family: "Sora"; }
.pros-cons ul { margin: 0; padding-left: 1.1em; font-size: 0.88rem; }
.pros h4 { color: var(--primary); }
.cons h4 { color: var(--cta-hover); }

/* Steps / flow */
.steps { list-style: none; padding: 0; counter-reset: step; margin: 1.6rem 0; }
.steps li {
  counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 1.1rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px;
  background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: "Sora"; font-weight: 700;
}
.steps li strong { color: var(--dark); }

/* Pro/con final section */
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.6rem 0; }
.verdict-col { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--border); }
.verdict-col.pro { border-top: 4px solid var(--primary); }
.verdict-col.con { border-top: 4px solid var(--cta); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item summary {
  cursor: pointer; font-family: "Sora"; font-weight: 600; color: var(--dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 10px; color: var(--ink-soft); }

/* Callout / disclaimer */
.callout {
  background: var(--surface-alt); border-left: 4px solid var(--gold); border-radius: 10px;
  padding: 1rem 1.2rem; font-size: 0.92rem; margin: 1.6rem 0; color: var(--ink-soft);
}
.responsible {
  background: var(--dark); color: var(--on-dark-soft); border-radius: var(--radius); padding: 1.6rem; margin: 2rem 0 0;
}
.responsible a { color: var(--gold-light); }

/* Trust page hero (simple) */
.page-hero { background: var(--dark); color: #fff; padding: 2.6rem 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--on-dark-soft); }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 6px; }
.breadcrumb a { color: var(--ink-soft); }

/* Footer */
footer.site-footer { background: var(--dark); color: #C9C9C9; padding: 2.6rem 0 1.4rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-family: "Sora"; font-size: 0.95rem; margin-bottom: 0.8em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: #C9C9C9; text-decoration: none; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand svg { width: 36px; height: 36px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.2rem;
  font-size: 0.78rem; color: #9A9A9A; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-visual { flex-direction: row; justify-content: center; }
  .pros-cons { grid-template-columns: 1fr; }
  .verdict-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
}
