/* rovelocloud.com - shared stylesheet (Rovelo Cloud Inc.)
   Layout: advertorial label, logo bar, sticky top offer bar, article column + sticky
   product sidebar, gold CTA buttons, fixed mobile bottom bar, navy disclosure footer.
   Palette sampled from images/logo.png: navy #020B38, amber gold #D68748, blush #FAD0D0. */

:root {
  --ink: #262626;
  --ink-soft: #3d4460;
  --muted: #6e7591;
  --link: #9a4f18;
  --navy: #020b38;
  --navy-2: #0d1b52;
  --gold: #d68748;
  --gold-light: #e8a468;
  --gold-dark: #a5612b;
  --gold-soft: #fdf5ee;
  --bar: var(--navy);
  --line: #e8e9f0;
  --bg: #ffffff;
  --footer: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; color: var(--navy); }

/* ---------- Top label + logo bar ---------- */
.advertisement {
  margin: 0;
  padding: 6px 10px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
  color: #5f6683;
  background: #f4f5f9;
  font-weight: 500;
}
.logo-bar { border-bottom: 3px solid var(--gold); }
.logo-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 15px;
  display: flex;
  align-items: center;
}
.logo-bar-inner img { width: 200px; max-width: 60vw; height: auto; }

/* ---------- Sticky top offer bar (appears on scroll) ---------- */
.sticky-top {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 10px rgba(2,11,56,.14);
  transform: translateY(-110%);
  transition: transform .3s ease;
}
.sticky-top.is-visible { transform: translateY(0); }
.sticky-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-top-inner img { width: 180px; max-width: 42vw; height: auto; }
.fixed-btn {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  padding: 16px 12px;
  border-radius: 40px;
  background: linear-gradient(var(--gold-light), var(--gold));
  box-shadow: 0 3px 0 0 var(--gold-dark);
  color: var(--navy);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  transition: filter .3s ease;
}
.fixed-btn:hover { filter: brightness(1.08); text-decoration: none; }

/* ---------- Main two-column layout ---------- */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}
.page-left {
  flex: 1 1 0%;
  max-width: 840px;
  margin: 0 auto;
  padding: 10px;
  min-width: 0;
}
.page-right {
  flex: 1 1 0%;
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
  align-self: stretch;
}

.article h1 {
  font-size: 30px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 14px;
}
.article h2 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--navy);
  margin: 34px 0 16px;
}
.article p {
  margin: 0 0 25px;
  font-size: 18px;
  line-height: 2;
  color: var(--ink);
}
.article .dek { font-style: italic; color: #444; }
.article .step { margin-bottom: 25px; }
.article .step b { display: block; }

.author {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
}
.author img {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}
.author-meta {
  border-left: 2px solid var(--ink-soft);
  padding-left: 20px;
}
.author-name { display: block; font-size: 16px; font-weight: 700; color: var(--ink-soft); }
.author-date { display: block; font-size: 12px; color: var(--muted); }

.article-img {
  display: block;
  margin: 0 0 25px;
}
.article-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article-img.tall img { aspect-ratio: 4 / 3; object-position: center 40%; }
.photo-note { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* In-article CTA */
.click-button {
  display: block;
  width: 90%;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 0 3px 0 0 var(--gold-dark);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.click-button:hover { background: var(--gold-light); color: var(--navy); text-decoration: none; }

/* ---------- Sidebar ---------- */
.right-main {
  position: sticky;
  top: 120px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
  border-top-color: transparent;
  border-radius: 0 0 10px 10px;
  margin-top: 18px;
}
.right-product-text {
  margin: 0;
  padding: 10px 20px;
  background: var(--bar);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  border-radius: 10px 10px 0 0;
}
.right-product-text a { color: #fff; }
.right-product-text a:hover { color: var(--gold-light); }
.right-content { padding: 15px; }
.right-content img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.right-price { text-align: center; margin: 12px 0 0; font-size: 15px; color: var(--ink); }
.right-price s { color: var(--muted); margin-left: 6px; }
.right-price strong { color: var(--link); font-size: 20px; }
.right-button {
  display: block;
  margin-top: 16px;
  padding: 15px;
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 0 3px 0 0 var(--gold-dark);
  color: var(--navy);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}
.right-button:hover { background: var(--gold-light); color: var(--navy); text-decoration: none; }

/* ---------- Mobile bottom bar ---------- */
.button-bottom {
  display: none;
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  z-index: 40;
  padding: 12px 15px 15px;
  background: rgba(2,11,56,.9);
  text-align: center;
  transition: opacity .25s ease;
}
.button-bottom.is-hidden { opacity: 0; pointer-events: none; }
.button-bottom .right-button { margin: 0; font-size: 16px; }

/* ---------- Footer ---------- */
.page-footer {
  background: var(--footer);
  border-top: 4px solid var(--gold);
  color: #fff;
  padding: 24px 15px;
  margin-top: 25px;
}
.footer-main { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-main p { color: #fff; font-size: 14px; line-height: 1.7; margin: 8px 0; }
.footer-main a { color: #fff; font-size: 15px; font-weight: 600; }
.footer-main a:hover { color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 16px 0 10px; }
.footer-company { opacity: .85; }
.footer-logo { width: 150px; margin: 0 auto 10px; background: #fff; border-radius: 6px; padding: 6px 10px; }

/* ---------- Inner pages (about / contact / legal) ---------- */
.inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 20px 15px 10px;
}
.inner h1 { font-size: 30px; line-height: 1.4; margin: 16px 0 10px; color: var(--navy); }
.inner h2 { font-size: 22px; line-height: 1.4; margin: 30px 0 12px; color: var(--navy); }
.inner p, .inner li { font-size: 17px; line-height: 1.85; color: var(--ink); }
.inner ul { padding-left: 22px; }
.inner .updated { color: var(--muted); font-size: 14px; }
.info-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  margin: 20px 0;
}
.info-card p { margin: 4px 0; }
.back-link { display: inline-block; margin-top: 20px; }
.contact-form label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 15px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}
.contact-form button {
  margin-top: 16px;
  border: 0;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 0 3px 0 0 var(--gold-dark);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
}
.contact-form button:hover { background: var(--gold-light); }
.form-status { margin-top: 12px; font-weight: 600; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .page-main { padding: 0 5px; }
}
@media (max-width: 768px) {
  .page-main { flex-direction: column; }
  .page-right { max-width: 100%; width: 100%; }
  .right-main { position: static; max-width: 420px; margin: 10px auto 0; }
  .button-bottom { display: block; }
  .article h1 { font-size: 26px; line-height: 1.4; }
  .article h2 { font-size: 22px; }
  .article p { line-height: 1.8; color: #333; }
  .author-name { font-size: 14px; }
  .fixed-btn { width: auto; padding: 12px 18px; font-size: 14px; }
  .page-footer { padding-bottom: 90px; }
  .logo-bar-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .article h1 { font-size: 23px; }
  .article p { font-size: 17px; }
  .click-button { width: 100%; font-size: 18px; }
  .sticky-top-inner img { width: 130px; }
  .fixed-btn { font-size: 13px; padding: 11px 14px; }
  .inner h1 { font-size: 25px; }
}
