.codma-content-page { max-width: 680px; margin: 0 auto; padding: 0 16px 48px; line-height: 1.8; }
.codma-content-page h1 { font-size: 1.5rem; margin-bottom: 20px; }
.codma-content-page h3 { margin-top: 24px; margin-bottom: 6px; }
.codma-content-page p, .codma-content-page ul { color: #444; }
.codma-content-page ul { padding-inline-start: 20px; }

/* ---- Reveal-on-scroll — mirrors landing.css's .codma-reveal, scoped here
   so it works on content pages independently of landing.js/landing.css,
   which aren't loaded on these templates. ---- */
.codma-content-page .codma-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.codma-content-page .codma-reveal.is-visible { opacity: 1; transform: none; }

/* ---- Hero header band — true full-bleed (breaks out of the centered
   680px content column at ANY screen width, not just mobile where the
   column happens to fill the viewport). Site's actual established purple/
   gold palette (see landing.css .codma-title-purple / hero gradient),
   not the unrelated green in style.css's unused root variables. */
.codma-content-hero {
	position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw;
	text-align: center; padding: 48px 16px 40px; margin-top: 0; margin-bottom: 32px;
	background: #5d3fd3;
	color: #fff;
	overflow: hidden;
}

/* Floating bubbles — injected by content.js (one wrapper per hero, so the
   markup only needs to exist once, in JS, not repeated across 5 template
   files). Straight-edged, simple hero + a bit of subtle motion instead of
   a wave/gradient/fade at the edges. */
.codma-hero-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.codma-hero-bubble {
	position: absolute; bottom: -40px; border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	animation: codma-bubble-float linear infinite;
}
.codma-hero-bubble:nth-child(1)  { left: 5%;  width: 14px; height: 14px; animation-duration: 4.5s; animation-delay: 0s; }
.codma-hero-bubble:nth-child(2)  { left: 15%; width: 22px; height: 22px; animation-duration: 6s;   animation-delay: .8s; }
.codma-hero-bubble:nth-child(3)  { left: 27%; width: 10px; height: 10px; animation-duration: 4s;   animation-delay: 1.6s; }
.codma-hero-bubble:nth-child(4)  { left: 38%; width: 18px; height: 18px; animation-duration: 5.5s; animation-delay: .3s; }
.codma-hero-bubble:nth-child(5)  { left: 49%; width: 12px; height: 12px; animation-duration: 5s;   animation-delay: 2.2s; }
.codma-hero-bubble:nth-child(6)  { left: 60%; width: 16px; height: 16px; animation-duration: 6.5s; animation-delay: 1.1s; }
.codma-hero-bubble:nth-child(7)  { left: 70%; width: 13px; height: 13px; animation-duration: 4.2s; animation-delay: 2.8s; }
.codma-hero-bubble:nth-child(8)  { left: 79%; width: 20px; height: 20px; animation-duration: 6.2s; animation-delay: .5s; }
.codma-hero-bubble:nth-child(9)  { left: 88%; width: 11px; height: 11px; animation-duration: 4.8s; animation-delay: 1.9s; }
.codma-hero-bubble:nth-child(10) { left: 95%; width: 17px; height: 17px; animation-duration: 5.3s; animation-delay: 3.2s; }
.codma-hero-bubble:nth-child(11) { left: 33%; width: 9px;  height: 9px;  animation-duration: 3.8s; animation-delay: 3.6s; }
.codma-hero-bubble:nth-child(12) { left: 66%; width: 15px; height: 15px; animation-duration: 5.7s; animation-delay: 2.5s; }
@keyframes codma-bubble-float {
	0%   { transform: translateY(0) scale(1); opacity: 0; }
	10%  { opacity: .6; }
	90%  { opacity: .35; }
	100% { transform: translateY(-260px) scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.codma-hero-bubble { animation: none; opacity: .25; }
}
.codma-content-hero-icon {
	position: relative; z-index: 1;
	width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .18);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px;
}
.codma-content-hero h1 { position: relative; z-index: 1; color: #fff; margin: 0; }
.codma-content-hero p { position: relative; z-index: 1; color: rgba(255, 255, 255, .92); margin: 8px 0 0; font-size: .95rem; }

/* ---- Section cards (plain shadow/radius — no colored border accents) ---- */
.codma-content-card {
	background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 20px 24px; margin: 16px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px -16px rgba(0, 0, 0, .1);
}
.codma-content-card h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; }
.codma-content-card h3 i { color: #5d3fd3; font-size: .85em; }
.codma-content-card p:last-child, .codma-content-card ul:last-child { margin-bottom: 0; }

/* ---- Numbered policy list (Privacy Policy's 10 sections) — one wrapping
   card instead of 10 separate ones, still a clear visual upgrade over
   plain h3/p, without "card fatigue" on a long legal document. ---- */
.codma-policy-list { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 8px 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.codma-policy-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.codma-policy-item:last-child { border-bottom: 0; }
.codma-policy-num {
	flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #5d3fd3;
	color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
}
.codma-policy-item h3 { margin: 0 0 6px; }
.codma-policy-item p { margin: 0; }
.codma-policy-item ul { margin: 6px 0 0; }

/* ---- Checkmark list (e.g. Return Policy conditions) ---- */
.codma-content-page ul.codma-check-list { list-style: none; padding-inline-start: 0; }
.codma-content-page ul.codma-check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.codma-content-page ul.codma-check-list li i { color: #5d3fd3; margin-top: 3px; flex-shrink: 0; }

/* ---- FAQ accordion ---- */
.codma-content-faq-list { display: flex; flex-direction: column; gap: 10px; }
.codma-content-faq-item { background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden; }
.codma-content-faq-item summary {
	cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; align-items: center;
	justify-content: space-between; gap: 12px; list-style: none;
}
.codma-content-faq-item summary::-webkit-details-marker { display: none; }
.codma-content-faq-item summary i { color: #5d3fd3; transition: transform .2s ease; flex-shrink: 0; }
.codma-content-faq-item[open] summary i { transform: rotate(45deg); }
.codma-content-faq-item p { padding: 0 20px 18px; margin: 0; }

/* ---- Home feature grid ---- */
.codma-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 28px 0; }
.codma-feature-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 20px 12px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.codma-feature-card i { font-size: 22px; color: #5d3fd3; margin-bottom: 10px; display: block; }
.codma-feature-card p { margin: 0; font-size: .9rem; color: #444; }

/* ---- Contact links row ---- */
.codma-contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.codma-contact-link {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	background: #f4f5f7; color: var(--codma-color-text); text-decoration: none; font-weight: 600; font-size: .9rem;
	transition: background .15s ease;
}
.codma-contact-link:hover { background: #e9eaed; }

/* WhatsApp's own brand color for the whole button, not just the icon —
   makes it read as the primary/preferred contact channel. */
.codma-contact-link.codma-contact-whatsapp { background: #25D366; color: #fff; }
.codma-contact-link.codma-contact-whatsapp:hover { background: #1ebe57; }

/* ---- Desktop: content stays a readable column, hero/cards get more breathing room ---- */
@media (min-width: 782px) {
	.codma-content-page { padding-top: 8px; }
	.codma-content-hero { padding: 56px 16px 44px; }
	.codma-content-hero h1 { font-size: 2rem; }
	.codma-feature-grid { grid-template-columns: repeat(4, 1fr); }
}
