/* ===== CSS Variables ===== */
:root {
  --rose: #f4a7b9;
  --rose-light: #fce4ec;
  --rose-dark: #c2185b;
  --gold: #d4a843;
  --gold-light: #fff8e1;
  --cream: #fdf6f0;
  --charcoal: #2c2c2c;
  --text: #3a3a3a;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --border: #e8d5d5;
  --shadow: 0 4px 24px rgba(196, 100, 130, 0.10);
  --shadow-lg: 0 12px 48px rgba(196, 100, 130, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--charcoal); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin: 2.5rem 0 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; margin: 2rem 0 0.75rem; }
h4 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--rose-dark); }
p { margin-bottom: 1.1rem; }

/* ===== Layout ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== Header / Nav ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem; max-width: 1100px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--charcoal);
}
.logo svg { width: 32px; height: 32px; }
.logo span { color: var(--rose-dark); }
header nav { display: flex; gap: 1.5rem; align-items: center; }
header nav a { font-size: 0.92rem; font-weight: 500; color: var(--text); padding: 0.35rem 0; border-bottom: 2px solid transparent; transition: all var(--transition); }
header nav a:hover, header nav a.active { color: var(--rose-dark); border-bottom-color: var(--rose-dark); }
.nav-cta {
  background: var(--rose-dark); color: var(--white) !important;
  padding: 0.45rem 1.1rem !important; border-radius: 50px !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--charcoal) !important; color: var(--white) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; border-radius: 2px; transition: all var(--transition); }
@media (max-width: 700px) {
  .hamburger { display: block; }
  header nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.5rem; }
  header nav.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #fff0f5 0%, #fdf6f0 50%, #fff8e1 100%);
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--rose-light); color: var(--rose-dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1.2rem;
}
.hero h1 { max-width: 820px; margin: 0 auto 1.2rem; }
.hero h1 em { font-style: normal; color: var(--rose-dark); }
.hero-sub { font-size: 1.08rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.7rem 1.6rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--rose-dark); color: var(--white); }
.btn-primary:hover { background: var(--charcoal); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(194,24,91,0.25); }
.btn-outline { background: transparent; color: var(--rose-dark); border-color: var(--rose-dark); }
.btn-outline:hover { background: var(--rose-dark); color: var(--white); }

/* ===== TOC ===== */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rose-dark);
  border-radius: var(--radius);
  margin: 2rem 0;
  padding: 1.3rem 1.6rem 1.5rem;
}
.toc-title {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: block;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc > ol > li {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.toc > ol > li::before {
  content: "›";
  position: absolute; left: 0;
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
.toc > ol > li > a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rose-dark);
  text-decoration: none;
  line-height: 1.5;
}
.toc > ol > li > a:hover { color: var(--gold); text-decoration: underline; }
.toc ol ol {
  list-style: none;
  margin: 0.3rem 0 0.2rem 0.6rem;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid var(--border);
}
.toc ol ol li {
  margin: 0.2rem 0;
  padding: 0;
}
.toc ol ol a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
}
.toc ol ol a:hover { color: var(--rose-dark); text-decoration: underline; }
@media (max-width: 700px) {
  .toc { padding: 1rem 1.1rem 1.2rem; }
  .toc-title { font-size: 0.88rem; }
  .toc > ol > li { margin: 0.35rem 0; }
  .toc > ol > li > a { font-size: 0.88rem; }
  .toc ol ol a { font-size: 0.82rem; }
}

/* ===== Section ===== */
.section { padding: 3rem 1.25rem; }
.section-alt { background: var(--white); }
.section-inner { max-width: 1100px; margin: 0 auto; }

/* ===== Ring Size Table ===== */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.ring-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem; background: var(--white);
  min-width: 700px;
}
.ring-table thead tr {
  background: linear-gradient(90deg, var(--rose-dark) 0%, #e91e8c 100%);
  color: var(--white);
}
.ring-table th {
  padding: 0.9rem 0.85rem; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; text-align: center;
}
.ring-table td { padding: 0.7rem 0.85rem; text-align: center; border-bottom: 1px solid #fce4ec; }
.ring-table tbody tr:nth-child(even) { background: #fff8fb; }
.ring-table tbody tr:hover { background: var(--rose-light); transition: background 0.15s; }
.ring-table .size-us { font-weight: 700; color: var(--rose-dark); }
.ring-table .size-eu { font-weight: 600; color: #5c3d8f; }

/* ===== Card ===== */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.6rem;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.2rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  counter-increment: step;
  content: counter(step);
  min-width: 38px; height: 38px;
  background: var(--rose-dark); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.step-body h4 { margin: 0 0 0.3rem; font-size: 1rem; }
.step-body p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 1.3rem; font-family: var(--font-body); font-size: 0.98rem;
  font-weight: 600; color: var(--charcoal); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--rose-light); }
.faq-q .arrow { font-size: 0.75rem; transition: transform var(--transition); color: var(--rose-dark); }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.3rem 1.1rem; font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; border-top: 1px solid var(--border); }
.faq-a.open { display: block; }

/* ===== Infographic ===== */
.infographic {
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  border-radius: var(--radius); padding: 2rem;
  text-align: center; margin: 2rem 0;
}
.ring-visual { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.ring-diagram { position: relative; width: 140px; height: 140px; }
.ring-diagram svg { width: 140px; height: 140px; }
.ring-labels { text-align: left; }
.ring-label { display: flex; align-items: center; gap: 0.6rem; margin: 0.5rem 0; font-size: 0.9rem; }
.ring-label .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ===== Highlight Boxes ===== */
.tip-box {
  background: var(--gold-light); border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1rem 1.3rem; margin: 1.2rem 0;
  font-size: 0.93rem;
}
.tip-box strong { color: #b8860b; }
.warning-box {
  background: #fff3f3; border-left: 4px solid #e57373;
  border-radius: var(--radius-sm); padding: 1rem 1.3rem; margin: 1.2rem 0;
  font-size: 0.93rem;
}
.warning-box strong { color: #c62828; }

/* ===== Footer ===== */
footer {
  background: var(--charcoal); color: #ccc;
  padding: 3rem 1.25rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand .logo { color: var(--white); margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.88rem; color: #999; line-height: 1.6; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.8rem; font-family: var(--font-body); font-weight: 600; }
footer ul { list-style: none; }
footer ul li { margin: 0.4rem 0; }
footer ul a { color: #aaa; font-size: 0.88rem; }
footer ul a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid #444; padding-top: 1.2rem; text-align: center; font-size: 0.82rem; color: #777; }
.footer-bottom a { color: #999; }

/* ===== Page Hero (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, #fff0f5, #fdf6f0); padding: 3rem 1.25rem 2rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.7rem; }
.page-hero p { color: var(--text-muted); max-width: 640px; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--rose-dark); }

/* ===== Calculator ===== */
.calc-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--charcoal); }
.input-group input, .input-group select {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body);
  background: var(--cream); transition: border-color var(--transition);
  color: var(--charcoal);
}
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--rose-dark); }
.calc-result { margin-top: 1.5rem; }
.result-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.result-table th { background: var(--rose-light); color: var(--rose-dark); padding: 0.6rem 0.8rem; text-align: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.result-table td { padding: 0.6rem 0.8rem; text-align: center; border-bottom: 1px solid var(--border); }
.result-table .highlight { background: var(--gold-light); font-weight: 700; color: var(--charcoal); }
.no-result { text-align: center; color: var(--text-muted); font-size: 0.92rem; padding: 1.5rem; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 160px; background: linear-gradient(135deg, var(--rose-light), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 1.3rem; }
.blog-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rose-dark); margin-bottom: 0.4rem; }
.blog-body h3 { font-size: 1.05rem; margin: 0 0 0.5rem; line-height: 1.35; }
.blog-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 1rem; }
.blog-meta { font-size: 0.8rem; color: #bbb; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
ul.checklist { list-style: none; padding: 0; }
ul.checklist li { padding: 0.3rem 0 0.3rem 1.6rem; position: relative; font-size: 0.93rem; }
ul.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--rose-dark); font-weight: 700; }
.schema-none { display: none; }

/* ===== Scroll indicator ===== */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--rose-dark); color: var(--white);
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 16px rgba(194,24,91,0.35);
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  cursor: pointer; border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }

/* ===== Section label ===== */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rose-dark);
  display: block; margin-bottom: 0.5rem;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ===== Print ===== */
@media print { header, footer, .scroll-top, .hero-actions { display: none; } }
