/*
 * Sections shared by both website themes. Each theme maps its own colours onto
 * --c1 (main), --c1-dark, --c2 (accent), --ink (headings), and also sets --radius and --shadow.
 */

/* Section headings */
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head .section-title { margin-bottom: 14px; }
.sec-head .section-title::after { left: 50%; transform: translateX(-50%); }
.sec-head p { color: var(--muted); font-size: 1.06em; margin: 0; }
.sec-kicker { display: block; color: var(--c2); font-weight: 700; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }

/* Icon cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.icon-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.icon-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-card:hover::before { transform: scaleX(1); }
.icon-card h3 { font-size: 1.2em; margin: 0 0 8px; }
.icon-card p { color: var(--muted); margin: 0; font-size: .97em; }
.icon-badge { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c1-dark)); margin-bottom: 18px; box-shadow: 0 10px 20px rgba(0, 0, 0, .12); }
.icon-card:nth-child(even) .icon-badge { background: linear-gradient(135deg, var(--c2), var(--c1)); }

/* Photo cards */
.image-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.image-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.image-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.image-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.image-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.image-card:hover .image-card-media img { transform: scale(1.07); }
.image-card-body { padding: 20px 24px 26px; }
.image-card-body h3 { font-size: 1.2em; margin: 0 0 8px; }
.image-card-body p { color: var(--muted); margin: 0; font-size: .97em; }
.note-small { text-align: center; color: var(--muted); font-size: 13.5px; margin: 20px 0 0; }

/* Text beside a photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 3px solid var(--c2); border-radius: var(--radius); opacity: .55; }
.split-media img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.float-badge { position: absolute; left: -14px; bottom: 26px; background: linear-gradient(135deg, var(--c1), var(--c1-dark)); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 1.05em; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 44px 22px 24px; text-align: center; margin-top: 26px; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font: 700 21px var(--heading); background: linear-gradient(135deg, var(--c1), var(--c2)); border: 4px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.step h3 { font-size: 1.1em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95em; }

/* Full-width photo band */
.photo-band { position: relative; background-size: cover; background-position: center; color: #fff; padding: 100px 0; text-align: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8, 16, 34, .82), rgba(8, 16, 34, .55)); }
.photo-band .container { position: relative; max-width: 860px; }
.photo-band h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); margin-bottom: 12px; }
.photo-band p { color: rgba(255, 255, 255, .9); font-size: 1.12em; margin: 0 0 8px; }
.photo-band .hero-actions { justify-content: center; }
@media (min-width: 1000px) and (hover: hover) { .photo-band { background-attachment: fixed; } }

/* FAQ accordion */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; line-height: 24px; text-align: center; border-radius: 50%; background: var(--c1); color: #fff; font-size: 18px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; background: var(--c2); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Floating buttons */
.float-btns { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .2s; }
.fab:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fab-whatsapp { background: #128c4b; }
.fab-top { width: 42px; height: 42px; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .25s, transform .2s; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* Share links under a post */
.share-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.share-links a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; font-weight: 600; text-decoration: none; }
.share-links a:hover { background: var(--c1); border-color: var(--c1); color: #fff; }

/* Blocks available inside page content */
.content .check-list { list-style: none; padding: 0; }
.content .check-list li { position: relative; padding: 4px 0 4px 32px; }
.content .check-list li::before { content: "\2713"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; color: #fff; font-size: 13px; background: var(--c1); }
.content .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.4em 0; }
.content .info-card { background: var(--bg-alt); border-radius: 12px; padding: 20px 22px; border-left: 4px solid var(--c1); }
.content .info-card h3 { margin: 0 0 6px; font-size: 1.08em; }
.content .info-card p { margin: 0; font-size: .96em; color: var(--muted); }
.content .page-photo { margin: 1.4em 0; }
.content .page-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 0; box-shadow: var(--shadow); }
.content .page-photo figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.content .callout { background: linear-gradient(120deg, var(--c1), var(--c1-dark)); color: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 1.6em 0; }
.content .callout a { color: #fff; font-weight: 700; }
.content .callout p:last-child { margin-bottom: 0; }

/* Scroll-in animation (only when JavaScript is running) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .14); }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-media::before { inset: 14px -8px -10px 14px; }
    .float-badge { left: 8px; bottom: 14px; }
    .photo-band { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
