/* Oxys Peru - Dark Burgundy/Wine + Rose Gold Theme */
:root {
  --bg-primary: #1a0a14;
  --bg-secondary: #241020;
  --bg-card: #2e1830;
  --bg-card-hover: #3a2040;
  --accent-rose: #e8a0bf;
  --accent-rose-dark: #d47a9e;
  --accent-gold: #d4a574;
  --accent-gold-dark: #c4905e;
  --text-primary: #f3e8f0;
  --text-secondary: #c4a0b8;
  --text-muted: #8a6078;
  --border-color: #3d2045;
  --cta-bg: #d4a574;
  --cta-text: #1a0a14;
  --cta-hover: #e0b88a;
  --shadow-card: 0 4px 20px rgba(232, 160, 191, 0.08);
  --shadow-cta: 0 4px 15px rgba(212, 165, 116, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--accent-rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-gold); }
img { max-width: 100%; height: auto; border-radius: var(--radius); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-rose);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent-gold); }
.header-cta {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: var(--shadow-cta);
}
.header-cta:hover {
  background: var(--cta-hover);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* Navigation */
.nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-list a:hover {
  color: var(--accent-rose);
  background: rgba(232, 160, 191, 0.08);
}

/* Hero */
.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #200e1a 100%);
}
.hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero h1 em { font-style: normal; color: var(--accent-rose); }
.hero h1 strong { color: var(--accent-gold); }
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero-img {
  margin: 30px auto;
  max-width: 700px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 40px rgba(232, 160, 191, 0.06);
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 17px;
  transition: all 0.3s;
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.cta-btn:hover {
  background: var(--cta-hover);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 165, 116, 0.4);
}
.cta-block { text-align: center; padding: 40px 0; }

/* Section */
.section { padding: 50px 0; }
.section-alt { background: var(--bg-secondary); }
.section h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; color: var(--text-primary); }
.section h2 em { font-style: normal; color: var(--accent-rose); }
.section h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; color: var(--text-primary); }
.section p { color: var(--text-secondary); margin-bottom: 16px; font-size: 16px; }

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent-rose); }
.card p { font-size: 15px; color: var(--text-secondary); }

/* Feature list */
.feature-list { list-style: none; margin: 20px 0; }
.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(61, 32, 69, 0.3);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 18px;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.benefit-item:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.08);
}
.benefit-icon { font-size: 36px; margin-bottom: 12px; }
.benefit-item h3 { font-size: 18px; color: var(--accent-gold); margin-bottom: 8px; }
.benefit-item p { font-size: 14px; color: var(--text-muted); }

/* Two columns */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
/* FAQ Accordion */
.faq-item details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-rose);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s;
  user-select: none;
}
.faq-item summary:hover { background: rgba(232, 160, 191, 0.06); }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item details[open] summary::after {
  content: '\2212';
  transform: rotate(0deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item details[open] summary {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}
.faq-item .faq-answer {
  padding: 16px 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-item .faq-answer p { margin-bottom: 8px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* Cities list */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.city-link {
  display: block;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s;
}
.city-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-rose);
  color: var(--accent-rose);
}

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-rose); }
.breadcrumb span { margin: 0 6px; }

/* Advertiser Footnotes (REQUIRED on every page) */
.advertiser-footnote {
  background: rgba(212, 165, 116, 0.06);
  border: 1px solid rgba(212, 165, 116, 0.15);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 30px 0;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.advertiser-footnote em {
  font-style: italic;
  color: var(--text-secondary);
}

/* FTC Disclosure */
.ftc-disclosure {
  background: rgba(232, 160, 191, 0.05);
  border: 1px solid rgba(232, 160, 191, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h4 { font-size: 16px; color: var(--accent-rose); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; color: var(--text-muted); }
.footer ul a:hover { color: var(--accent-gold); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

/* Content image */
.content-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow-card);
}

/* Inline CTA */
.inline-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, #3a2040 100%);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin: 30px 0;
}
.inline-cta h3 { color: var(--accent-gold); margin-bottom: 12px; }
.inline-cta p { color: var(--text-secondary); margin-bottom: 20px; }

/* Table styles */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.styled-table th {
  background: var(--bg-card);
  color: var(--accent-rose);
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
}
.styled-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.styled-table tr:nth-child(even) td {
  background: rgba(46, 24, 48, 0.3);
}

/* Badge */
.badge {
  display: inline-block;
  background: rgba(232, 160, 191, 0.12);
  color: var(--accent-rose);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.badge-gold {
  background: rgba(212, 165, 116, 0.12);
  color: var(--accent-gold);
}

/* Table of Contents */
.toc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-list li {
  padding: 6px 0 6px 18px;
  border-left: 2px solid var(--border-color);
  margin-bottom: 4px;
}
.toc-list li:hover { border-left-color: var(--accent-rose); }
.toc-list a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.toc-list a:hover { color: var(--accent-rose); }
.toc-list .toc-h3 {
  padding-left: 36px;
  border-left-color: transparent;
}
.toc-list .toc-h3 a { font-size: 13px; color: var(--text-muted); }

/* Responsive breakpoints (v4.3: 900px, 600px) */
@media (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .section h2 { font-size: 24px; }
  .two-cols { gap: 24px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .inline-cta { padding: 24px; }
}

@media (max-width: 600px) {
  .hero { padding: 36px 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .section { padding: 32px 0; }
  .section h2 { font-size: 22px; }
  .section h3 { font-size: 18px; }
  .two-cols { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .nav-list { gap: 6px; }
  .nav-list a { font-size: 12px; padding: 4px 6px; }
  .header-cta { padding: 8px 16px; font-size: 13px; }
  .cta-btn { padding: 14px 28px; font-size: 15px; }
  .inline-cta { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc-container { padding: 18px 20px; }
  .styled-table { font-size: 13px; }
  .styled-table th, .styled-table td { padding: 8px 10px; }
}

/* Print CSS (v4.3 MANDATORY) */
@media print {
  @page { margin: 2cm; }

  body {
    background: #fff !important;
    color: #222 !important;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.6;
  }

  /* Hide non-content elements */
  .header, .nav, .footer, .inline-cta, .cta-block,
  .advertiser-footnote, .ftc-disclosure, .breadcrumb,
  .header-cta, .cta-btn, .toc-container { display: none !important; }

  a { color: #333 !important; text-decoration: underline; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 10pt; color: #666; }

  .section, .section-alt {
    padding: 12pt 0 !important;
    background: none !important;
    page-break-inside: avoid;
  }

  h1 { font-size: 20pt !important; color: #1a0a14 !important; page-break-after: avoid; }
  h2 { font-size: 16pt !important; color: #3a2040 !important; page-break-after: avoid; border-bottom: 1px solid #ccc; padding-bottom: 6pt; }
  h2 em { color: #b06080 !important; }
  h3 { font-size: 13pt !important; color: #444 !important; page-break-after: avoid; }
  p { font-size: 12pt !important; color: #333 !important; }

  .faq-item details { border: 1px solid #ccc !important; margin-bottom: 8pt; }
  .faq-item summary { color: #1a0a14 !important; font-size: 12pt !important; padding: 8pt !important; }
  .faq-item summary::after { display: none; }
  .faq-item .faq-answer { color: #333 !important; font-size: 11pt !important; }
  .faq-item details[open] summary { border-bottom: 1px solid #ccc; }

  .card, .benefit-item {
    border: 1px solid #ccc !important;
    background: #f9f9f9 !important;
    page-break-inside: avoid;
    margin-bottom: 8pt;
  }
  .card h3, .benefit-item h3 { color: #b06080 !important; }
  .card p, .benefit-item p { color: #444 !important; }

  .feature-list li { border-bottom: 1px solid #ddd; color: #333 !important; }
  .feature-list li::before { color: #b06080 !important; }

  .styled-table { border: 1px solid #999; }
  .styled-table th { background: #f0f0f0 !important; color: #333 !important; }
  .styled-table td { color: #444 !important; border-color: #ddd !important; }

  img { max-width: 100% !important; page-break-inside: avoid; }

  .two-cols { display: block !important; }

  /* Brand accent in print */
  .badge { background: #f5e8ee !important; color: #b06080 !important; }
  .badge-gold { background: #f5efe6 !important; color: #8a6838 !important; }
}
