/* =========================================================
   Orivelle prelander — clean responsive redesign
   ========================================================= */
@import url('fonts.css');

:root {
  --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --green:      #2f9e44;
  --green-dark: #248238;
  --green-soft: #ebfbee;
  --red:        #e03131;
  --amber:      #f59f00;
  --amber-soft: #fff9db;
  --blue:       #1c7ed6;
  --blue-soft:  #e7f5ff;

  --ink:     #212529;
  --ink-2:   #495057;
  --muted:   #868e96;
  --line:    #e9ecef;
  --bg:      #f5f6f8;
  --card:    #ffffff;

  --radius:  16px;
  --radius-sm: 10px;
  --shadow:  0 10px 30px rgba(20, 30, 50, .08);
  --shadow-sm: 0 4px 14px rgba(20, 30, 50, .06);
  --maxw:    920px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 21px;        /* larger base for easy reading (senior-friendly) */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }

/* ---------- Layout shell ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

.article {
  background: var(--card);
  margin: 18px auto 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-inner { padding: 28px 26px 34px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 12px 16px 14px;
}
.advertorial-tag {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.site-header .logo { height: 34px; margin: 0 auto; }

/* ---------- Typography ---------- */
h1.headline {
  font-size: 33px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 4px 0 14px;
}
.subhead {
  font-size: 22px;
  font-style: italic;
  color: var(--ink-2);
  margin: 0 0 22px;
}
h2.section-title {
  font-size: 27px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 36px 0 14px;
}
.article-inner p { margin: 0 0 16px; }
.hl-red { color: var(--red); }
.hl { color: var(--green-dark); }
strong { font-weight: 700; }

/* ---------- Media blocks ---------- */
.media { margin: 20px 0 24px; text-align: center;display: flex;justify-content: center;}
.media img, .media video { width: 100%; border-radius: var(--radius-sm); }
.media video { background: #000;     max-height: 500px;width: auto;}
.media figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.media.contain img { object-fit: contain; }
.media.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 24px 0;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.callout p { margin: 0; }
.callout--info  { background: var(--green-soft); border: 1px solid #b2f2bb; color: var(--green-dark); }
.callout--warn  { background: var(--amber-soft); border: 1px solid #ffe066; color: #a5720b; text-align: left; }
.callout--warn .callout-head { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 6px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 4px 0 20px; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 34px;
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; line-height: 24px;
  text-align: center;
  color: #fff; background: var(--green);
  border-radius: 50%; font-size: 14px; font-weight: 700;
}

/* ---------- Numbered steps ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 6px 0 20px; }
.steps li {
  position: relative; padding: 4px 0 14px 46px; margin: 0;
}
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; line-height: 32px; text-align: center;
  background: var(--green); color: #fff; border-radius: 50%; font-weight: 800;
}

/* ---------- Reviews ---------- */
.review {
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 18px 18px 20px;
  margin: 20px 0;
}
.review .name { font-weight: 800; margin: 0 0 2px; }
.review .verified {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-dark); font-weight: 600; font-size: 16px; margin: 0 0 10px;
}
.review .verified img { height: 16px; }
.review .body { font-style: italic; color: var(--ink-2); margin: 0; }
.review .body p { margin: 0 0 10px; }
.review img.shot { width: 100%; max-width: 340px; margin: 14px auto 6px; border-radius: 8px; }
.review .cap { font-size: 14px; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Quote ---------- */
.quote {
  background: #f8f9fa;
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--ink-2);
}
.quote cite { display: block; margin-top: 10px; font-weight: 700; font-style: normal; color: var(--ink); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 20px; }
.stat {
  background: var(--green-soft);
  border: 1px solid #b2f2bb;
  border-radius: var(--radius-sm);
  text-align: center; padding: 16px 10px;
}
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--green-dark); line-height: 1; }
.stat span { font-size: 16px; color: var(--ink-2); }

/* ---------- CTA buttons ---------- */
.cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%;
  background: linear-gradient(180deg, #40c057, var(--green-dark));
  color: #fff !important;
  font-weight: 800; font-size: 22px;
  text-decoration: none;
  padding: 20px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(47, 158, 68, .35);
  margin: 22px 0;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 158, 68, .42); color: #fff; }
.cta:active { transform: translateY(0); }
.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 8px 20px rgba(47,158,68,.35), 0 0 0 0 rgba(47,158,68,.45); }
  70%  { box-shadow: 0 8px 20px rgba(47,158,68,.35), 0 0 0 14px rgba(47,158,68,0); }
  100% { box-shadow: 0 8px 20px rgba(47,158,68,.35), 0 0 0 0 rgba(47,158,68,0); }
}

/* ---------- Price / offer box ---------- */
.offer {
  border: 2px dashed var(--green);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--green-soft));
  padding: 22px 20px;
  text-align: center;
  margin: 22px 0;
}
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 6px 0 4px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 22px; }
.price-new { color: var(--red); font-size: 44px; font-weight: 800; line-height: 1; }
.price-note { color: var(--ink-2); font-size: 17px; margin: 0 0 4px; }
.bundle { list-style: none; padding: 0; margin: 8px 0 0; text-align: left; display: inline-block; }
.bundle li { padding: 4px 0; }
.tag-best { color: var(--green-dark); font-weight: 800; }

/* ---------- Age cards ---------- */
.age-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 16px 0 8px; }
.age-card { border: 2px dashed; border-radius: var(--radius-sm); text-align: center; overflow: hidden; }
.age-card h3 { margin: 16px 0 12px; font-size: 20px; font-weight: 800; }
.age-card a.age-btn {
  display: block; padding: 18px 10px; color: #fff !important;
  font-weight: 800; text-decoration: none; line-height: 1.25;
}
.age-card.g { border-color: var(--green); } .age-card.g h3 { color: var(--green-dark); } .age-card.g .age-btn { background: var(--green); }
.age-card.b { border-color: var(--blue); }  .age-card.b h3 { color: var(--blue); }  .age-card.b .age-btn { background: var(--blue); }
.age-card.c { border-color: #15aabf; }       .age-card.c h3 { color: #0c8599; }       .age-card.c .age-btn { background: #15aabf; }

/* ---------- Comments ---------- */
.comments { background: #f1f3f5; border-radius: var(--radius-sm); padding: 16px; margin: 16px 0 8px; }
.comment { background: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.comment:last-child { margin-bottom: 0; }
.comment .c-name { font-weight: 800; margin: 0; }
.comment .c-time { color: var(--muted); font-size: 15px; font-style: italic; margin: 0 0 8px; }
.comment .c-text { margin: 0; }
.comment .c-reply { margin: 10px 0 0; padding: 10px 12px; background: var(--blue-soft); border-radius: 8px; font-size: 17px; }

/* ---------- Spin wheel ---------- */
.spin {
  border: 3px solid var(--red);
  border-radius: var(--radius);
  text-align: center;
  padding: 20px 16px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.spin .lead { font-weight: 600; margin: 0 0 16px; }
.wheel-box { position: relative; max-width: 320px; margin: 0 auto; }
.wheel-svg { width: 100%; transition: transform 6s cubic-bezier(.17,.67,.24,1); }
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, #e9ecef);
  box-shadow: 0 2px 8px rgba(0,0,0,.35), inset 0 2px 0 #fff;
  border: none; cursor: pointer; font-weight: 800; color: var(--ink); font-size: 15px;
}
.wheel-hub::after {
  content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-top: 22px solid var(--red);
}
.spin-form { display: none; margin-top: 18px; }
.spin-form.show { display: block; }
.spin-form .prod { max-width: 150px; margin: 0 auto 12px; }
.spin-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.spin-badge { background: #ffec99; padding: 8px 10px; border-radius: 8px; font-weight: 700; margin: 10px 0 0; }
.spin-badge u { color: var(--red); }

/* modal */
.modal-mask {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.6); align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-card {
  background: #fff; border-radius: var(--radius); max-width: 380px; width: 100%;
  padding: 56px 24px 26px; text-align: center; position: relative;
  animation: pop .4s ease;
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-card::before {
  content: "✓"; position: absolute; top: -36px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 72px; line-height: 72px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 38px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(47,158,68,.4);
}
.modal-card h3 { font-size: 26px; margin: 0 0 10px; }
.modal-card p { margin: 0 0 18px; }
.modal-close {
  display: inline-block; background: var(--green); color: #fff !important; text-decoration: none;
  padding: 12px 40px; border-radius: 10px; font-weight: 800; cursor: pointer; border: 0; font-size: 17px;
}

/* ---------- Footer ---------- */
.site-footer { background: #1a1d21; color: #ced4da; padding: 44px 0 26px; }
.site-footer h2 { color: #fff; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 26px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #ced4da; text-decoration: none; font-size: 17px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-service .phone i, .footer-service .mail i { color: var(--red); margin-right: 6px; }
.footer-bottom { text-align: center; border-top: 1px solid #2b2f34; margin-top: 30px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.footer-bottom img { height: 24px; margin: 10px auto 0; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  h1.headline { font-size: 38px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .age-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 19px; }        /* keep phones readable for seniors */
  .article-inner { padding: 20px 16px 26px; }
  h1.headline { font-size: 29px; }
  h2.section-title { font-size: 23px; }
  .price-new { font-size: 40px; }
}
