/*
Theme Name: Rayyan International Corporate Theme
Theme URI: https://rayyaninternational.net
Author: Rayyan International
Author URI: https://rayyaninternational.net
Description: Clean, high-performance corporate multi-page theme for Rayyan International — ERP (Microsoft Business Central) support, Web Solutions, Data Management and Social Media Design. Pre-built templates for Home, About, Services and Contact with brand royal-blue & orange styling.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rayyan-international
Tags: business, corporate, one-column, custom-menu, custom-logo
*/

/* ============ Brand tokens ============ */
:root {
  --ri-blue: #0052CC;
  --ri-blue-dark: #0B3A9E;
  --ri-orange: #FF6B00;
  --ri-coral: #FF4500;
  --ri-navy: #0B1528;
  --ri-navy-card: #132238;
  --ri-navy-border: #1E3A5F;
  --ri-surface: #F8FAFC;
  --ri-border: #E2E8F0;
  --ri-ink: #0F172A;
  --ri-slate: #475569;
  --ri-radius: 16px;
  --ri-gradient: linear-gradient(92deg, #FF6B00 0%, #FF4500 100%);
  --ri-shadow: 0 10px 30px rgba(11, 21, 40, 0.08);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  background: var(--ri-surface);
  color: var(--ri-ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Outfit', system-ui, sans-serif; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ri-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ri-orange); }
img { max-width: 100%; height: auto; }
ul { padding-left: 1.2em; }
code { background: #EEF2F7; border-radius: 6px; padding: .1em .4em; font-size: .9em; }

.ri-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ri-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============ Buttons ============ */
.ri-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  min-height: 44px; font-family: 'Outfit', sans-serif;
}
.ri-btn-gradient { background: var(--ri-gradient); color: #fff !important; box-shadow: 0 8px 22px rgba(255, 107, 0, .28); }
.ri-btn-gradient:hover { transform: translateY(-2px) scale(1.02); color: #fff; }
.ri-btn-blue { background: var(--ri-blue); color: #fff !important; }
.ri-btn-blue:hover { background: var(--ri-blue-dark); transform: translateY(-2px); color: #fff; }
.ri-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff !important; background: rgba(255,255,255,.08); }
.ri-btn-ghost:hover { background: #fff; color: #C2410C !important; }
.ri-btn-outline { border-color: var(--ri-border); color: var(--ri-ink) !important; background: #fff; }
.ri-btn-outline:hover { border-color: var(--ri-blue); color: var(--ri-blue) !important; }

/* ============ Top bar ============ */
.ri-topbar { background: var(--ri-navy); color: #fff; font-size: 12.5px; }
.ri-topbar .ri-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.ri-topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.ri-topbar a:hover { color: var(--ri-orange); }
.ri-topbar-links { display: flex; gap: 20px; }
.ri-topbar .ri-hide-sm { display: none; }
@media (min-width: 768px) { .ri-topbar .ri-hide-sm { display: inline-flex; } }

/* ============ Header / nav ============ */
.ri-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ri-border); }
.ri-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
/* Logo sizing is defensive: it also covers the markup the_custom_logo() emits
   (its own <a class="custom-logo-link"><img class="custom-logo">), and caps by
   both height and width so an oversized upload can never blow up the header. */
.ri-logo { display: flex; align-items: center; flex: 0 0 auto; max-width: 240px; }
.ri-logo img,
.ri-logo .custom-logo,
.ri-logo .custom-logo-link img,
.custom-logo-link img.custom-logo,
img.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 210px !important;
  max-height: 44px !important;
  display: block;
  object-fit: contain;
}
.ri-logo .custom-logo-link,
.ri-header .custom-logo-link { display: flex; align-items: center; }
@media (max-width: 480px) {
  .ri-logo, .ri-logo img, .ri-logo .custom-logo, img.custom-logo { max-width: 150px !important; }
  .ri-logo img, .ri-logo .custom-logo, img.custom-logo { height: 36px !important; max-height: 36px !important; }
}
.ri-nav { display: flex; align-items: center; gap: 26px; }
.ri-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ri-menu a { color: var(--ri-slate); font-weight: 600; font-size: 14.5px; padding: 6px 0; position: relative; }
.ri-menu a:hover, .ri-menu .current-menu-item > a, .ri-menu .current_page_item > a { color: var(--ri-blue); }
.ri-menu a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--ri-gradient); opacity: 0; transition: opacity .2s ease; }
.ri-menu a:hover::after, .ri-menu .current-menu-item > a::after, .ri-menu .current_page_item > a::after { opacity: 1; }
.ri-menu-toggle { display: none; background: #fff; border: 1px solid var(--ri-border); border-radius: 10px; font-size: 22px; line-height: 1; padding: 8px 14px; cursor: pointer; min-height: 44px; min-width: 44px; }
@media (max-width: 860px) {
  .ri-menu-toggle { display: block; }
  .ri-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ri-border); box-shadow: var(--ri-shadow); flex-direction: column; align-items: stretch; padding: 18px 20px; gap: 12px; }
  body.ri-nav-open .ri-nav { display: flex; }
  .ri-menu { flex-direction: column; gap: 4px; }
  .ri-menu a { display: block; padding: 10px 8px; font-size: 16px; }
}

/* ============ Page hero (navy mesh) ============ */
.ri-page-hero, .ri-hero { background-color: var(--ri-navy); background-image: radial-gradient(60% 90% at 85% 5%, rgba(0, 82, 204, .38), transparent 62%), radial-gradient(55% 70% at 8% 95%, rgba(255, 107, 0, .22), transparent 58%); color: #fff; }
.ri-hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 72px 0 64px; align-items: center; }
@media (min-width: 960px) { .ri-hero-inner { grid-template-columns: 1.1fr 1fr; padding: 96px 0 88px; } }
.ri-eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ri-navy-border); background: var(--ri-navy-card); color: #38BDF8; border-radius: 999px; padding: 7px 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ri-hero h1 { margin-top: 22px; }
.ri-hero-sub { color: #CBD5E1; font-size: 17px; max-width: 560px; }
.ri-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ri-hero-note { color: #94A3B8; font-size: 13.5px; margin-top: 22px; }
.ri-hero-media { position: relative; }
.ri-hero-media img { border-radius: 24px; border: 1px solid var(--ri-navy-border); box-shadow: 0 30px 60px rgba(0,0,0,.45); display: block; }
.ri-float-chip { position: absolute; background: rgba(19, 34, 56, .96); border: 1px solid var(--ri-navy-border); border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.4); animation: ri-float 6s ease-in-out infinite; }
.ri-float-chip strong { display: block; font-size: 11px; letter-spacing: .18em; }
.ri-float-chip span { font-size: 13.5px; font-weight: 600; }
@media (max-width: 960px) { .ri-float-chip { display: none; } }
@keyframes ri-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ri-crumb { color: #94A3B8; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.ri-crumb a { color: #94A3B8; } .ri-crumb a:hover { color: var(--ri-orange); }
.ri-crumb .ri-crumb-here { color: var(--ri-orange); }
.ri-page-hero .ri-container { padding-top: 64px; padding-bottom: 72px; }
.ri-page-hero .ri-eyebrow { margin-top: 24px; }
.ri-page-hero p.ri-page-desc { color: #CBD5E1; max-width: 640px; font-size: 17px; }

/* ============ Sections ============ */
.ri-section { padding: 72px 0; }
.ri-section-white { background: #fff; }
.ri-section-title { max-width: 640px; }
.ri-overline { color: var(--ri-blue); font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 12px; }
.ri-lead { color: var(--ri-slate); font-size: 16.5px; }

/* ============ Stats ============ */
.ri-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 960px) { .ri-stats { grid-template-columns: repeat(4, 1fr); } .ri-stat:nth-child(even) { margin-top: 24px; } }
.ri-stat { background: #fff; border: 1px solid var(--ri-border); border-radius: 20px; padding: 26px 20px; text-align: center; box-shadow: var(--ri-shadow); transition: transform .25s ease; }
.ri-stat:hover { transform: translateY(-4px); }
.ri-stat b { font-family: 'Outfit', sans-serif; font-size: 42px; font-weight: 800; color: var(--ri-blue); display: block; }
.ri-stat:nth-child(2) b { background: var(--ri-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ri-stat span { color: var(--ri-slate); font-size: 13.5px; font-weight: 500; }

/* ============ Service pillar cards + ribbons ============ */
.ri-ribbon { display: inline-block; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); padding: 10px 32px 10px 24px; font-family: 'Outfit', sans-serif; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-size: 15px; }
.ri-pillars { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 640px) { .ri-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ri-pillars { grid-template-columns: repeat(4, 1fr); } }
.ri-card { background: #fff; border: 1px solid var(--ri-border); border-radius: 18px; overflow: hidden; box-shadow: var(--ri-shadow); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; height: 100%; }
.ri-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(11, 21, 40, .14); }
.ri-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ri-card-body h3 { margin: 12px 0 2px; }
.ri-card-sub { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.ri-card ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.ri-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ri-slate); padding: 5px 0; }
.ri-card li::before { content: "✓"; flex: 0 0 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 11px; font-weight: 700; margin-top: 3px; }
.ri-card-more { font-weight: 700; font-size: 14px; margin-top: auto; }

/* ============ Why us ============ */
.ri-why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .ri-why { grid-template-columns: 1fr 1.1fr; } }
.ri-why img { border-radius: 24px; box-shadow: 0 24px 50px rgba(11, 21, 40, .18); }
.ri-why-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 640px) { .ri-why-grid { grid-template-columns: repeat(2, 1fr); } }
.ri-why-item { display: flex; gap: 14px; }
.ri-why-item .ri-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; background: #E9F1FE; color: var(--ri-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ri-why-item h3 { font-size: 16px; margin-bottom: 4px; }
.ri-why-item p { font-size: 13.5px; color: var(--ri-slate); margin: 0; }
.ri-why-badge { position: relative; margin-top: -28px; margin-left: 28px; display: inline-block; background: var(--ri-gradient); color: #fff; border-radius: 18px; padding: 18px 24px; box-shadow: 0 18px 40px rgba(255, 107, 0, .35); }
.ri-why-badge b { font-family: 'Outfit', sans-serif; font-size: 28px; display: block; }
.ri-why-badge span { font-size: 13px; }

/* ============ Values / standards / models ============ */
.ri-grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 640px) { .ri-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ri-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.ri-tile { border-radius: 18px; padding: 26px; height: 100%; }
.ri-tile-light { background: #fff; border: 1px solid var(--ri-border); box-shadow: var(--ri-shadow); }
.ri-tile-light:hover { transform: translateY(-4px); }
.ri-tile-navy { background: var(--ri-navy); color: #fff; border: 1px solid var(--ri-navy-border); transition: transform .25s ease; }
.ri-tile-navy:hover { transform: translateY(-4px); }
.ri-tile-navy p { color: #CBD5E1; font-size: 14px; }
.ri-tile .ri-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.ri-tile-light .ri-ico { background: #E9F1FE; color: var(--ri-blue); }
.ri-tile-navy .ri-ico { background: var(--ri-navy-card); color: var(--ri-orange); }
.ri-tile .ri-kicker { color: var(--ri-orange); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* ============ Service detail sections ============ */
.ri-service-detail { padding: 64px 0; }
.ri-service-detail:nth-of-type(even) { background: #fff; }
.ri-service-detail-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .ri-service-detail-inner { grid-template-columns: 1fr 1fr; } .ri-service-detail-inner.ri-flip .ri-media { order: -1; } }
.ri-service-detail img.ri-media-img { border-radius: 24px; box-shadow: 0 20px 45px rgba(11, 21, 40, .16); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ri-service-detail ul.ri-checks { list-style: none; padding: 0; margin: 18px 0; }
.ri-service-detail ul.ri-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 15px; color: #334155; }
.ri-service-detail ul.ri-checks li::before { content: "✓"; flex: 0 0 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 3px; }
.ri-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.ri-pill { border: 1px solid var(--ri-border); background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 600; color: var(--ri-slate); }

/* ============ CTA banners ============ */
.ri-cta { background: var(--ri-gradient); color: #fff; border-radius: 26px; padding: 44px 32px; text-align: center; box-shadow: 0 24px 55px rgba(255, 107, 0, .30); }
.ri-cta h2 { margin-bottom: 8px; }
.ri-cta p { color: #FFF3E0; }
.ri-cta .ri-hero-ctas { justify-content: center; }
.ri-cta-navy { background-color: var(--ri-navy); background-image: radial-gradient(60% 90% at 85% 5%, rgba(0, 82, 204, .38), transparent 62%), radial-gradient(55% 70% at 8% 95%, rgba(255, 107, 0, .22), transparent 58%); color: #fff; border-radius: 26px; padding: 44px 32px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ri-cta-navy p { color: #CBD5E1; margin: 0; }

/* ============ Theme download card (live-site variant) ============ */
.ri-dl-card { position: relative; overflow: hidden; background: var(--ri-navy); border: 1px solid var(--ri-navy-border); border-radius: 26px; color: #fff; padding: 44px 32px; }
.ri-dl-card .ri-dl-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.ri-dl-card p { color: #CBD5E1; max-width: 560px; }
.ri-dl-kicker { color: var(--ri-orange); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ri-dl-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }

/* ============ Contact ============ */
.ri-contact-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .ri-contact-cards { grid-template-columns: repeat(3, 1fr); } }
.ri-contact-card { background: #fff; border: 1px solid var(--ri-border); border-radius: 18px; padding: 28px; box-shadow: var(--ri-shadow); display: block; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.ri-contact-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(11, 21, 40, .14); color: inherit; }
.ri-contact-card .ri-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--ri-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.ri-contact-card b { font-family: 'Outfit', sans-serif; font-size: 19px; display: block; color: var(--ri-ink); }
.ri-contact-card .ri-detail { color: var(--ri-blue); font-weight: 700; word-break: break-all; }
.ri-contact-card .ri-hint { color: var(--ri-slate); font-size: 13.5px; }
.ri-contact-split { display: grid; gap: 36px; margin-top: 40px; }
@media (min-width: 960px) { .ri-contact-split { grid-template-columns: 3fr 2fr; } }
.ri-form-card { background: #fff; border: 1px solid var(--ri-border); border-radius: 20px; padding: 30px; box-shadow: var(--ri-shadow); }
.ri-form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .ri-form-row { grid-template-columns: 1fr 1fr; } .ri-form-row .ri-span-2 { grid-column: span 2; } }
.ri-field { margin-bottom: 18px; }
.ri-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.ri-field input, .ri-field select, .ri-field textarea {
  width: 100%; border: 1px solid var(--ri-border); border-radius: 12px; background: #fff; color: var(--ri-ink);
  font: inherit; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; min-height: 46px;
}
.ri-field textarea { min-height: 120px; resize: vertical; }
.ri-field input:focus, .ri-field select:focus, .ri-field textarea:focus { outline: none; border-color: var(--ri-blue); box-shadow: 0 0 0 3px rgba(0, 82, 204, .15); }
.ri-form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ri-info-panel { background-color: var(--ri-navy); background-image: radial-gradient(60% 90% at 85% 5%, rgba(0, 82, 204, .38), transparent 62%), radial-gradient(55% 70% at 8% 95%, rgba(255, 107, 0, .22), transparent 58%); color: #fff; border-radius: 20px; padding: 32px; }
.ri-info-panel dt { color: #38BDF8; font-weight: 700; margin-top: 18px; }
.ri-info-panel dd { color: #CBD5E1; margin: 4px 0 0; font-size: 14px; }
.ri-note-card { border: 1px solid var(--ri-navy-border); background: var(--ri-navy-card); border-radius: 14px; padding: 18px; margin-top: 24px; font-size: 14px; color: #CBD5E1; }
.ri-note-card a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--ri-orange); text-underline-offset: 4px; }

/* ============ FAQ ============ */
.ri-faq { max-width: 760px; margin: 40px auto 0; }
.ri-faq details { background: #fff; border: 1px solid var(--ri-border); border-radius: 16px; padding: 22px 26px; margin-bottom: 14px; transition: box-shadow .2s ease; }
.ri-faq details[open] { box-shadow: var(--ri-shadow); }
.ri-faq summary { cursor: pointer; list-style: none; font-family: 'Outfit', sans-serif; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ri-faq summary::-webkit-details-marker { display: none; }
.ri-faq summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #E9F1FE; color: var(--ri-blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .25s ease; }
.ri-faq details[open] summary::after { transform: rotate(45deg); }
.ri-faq .ri-faq-a { color: var(--ri-slate); font-size: 14.5px; margin-top: 14px; }

/* ============ Anchor pill bar ============ */
.ri-anchor-bar { position: sticky; top: 104px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ri-border); padding: 12px 0; }
.ri-anchor-bar .ri-container { display: flex; gap: 10px; overflow-x: auto; }
.ri-anchor-pill { flex: 0 0 auto; border: 1px solid var(--ri-border); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ri-slate); background: #fff; transition: all .2s ease; }
.ri-anchor-pill:hover { background: var(--ri-blue); border-color: var(--ri-blue); color: #fff; }

/* ============ Footer ============ */
.ri-footer { background: var(--ri-navy); color: #CBD5E1; }
.ri-footer-cols { display: grid; gap: 40px; padding: 64px 0 48px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ri-footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ri-footer-cols { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.ri-footer h3 { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ri-footer ul { list-style: none; margin: 0; padding: 0; }
.ri-footer li { margin-bottom: 11px; font-size: 14px; }
.ri-footer a { color: #CBD5E1; } .ri-footer a:hover { color: var(--ri-orange); }
.ri-footer-brand img { background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px; height: 44px !important; width: auto !important; max-width: 210px !important; max-height: 44px !important; box-sizing: content-box; }
.ri-footer-brand p { font-size: 14px; color: #94A3B8; max-width: 300px; }
.ri-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ri-navy-card); color: #fff !important; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 14px; transition: background .2s ease; }
.ri-wa-btn:hover { background: var(--ri-navy-border); }
.ri-footer-strip { background: var(--ri-gradient); color: #fff; }
.ri-footer-strip .ri-container { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: center; padding-top: 16px; padding-bottom: 16px; text-align: center; }
@media (min-width: 768px) { .ri-footer-strip .ri-container { justify-content: space-between; text-align: left; } }
.ri-footer-strip a { color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.ri-footer-strip a:hover { color: var(--ri-navy); }
.ri-footer-bottom { background: #080F1D; font-size: 12.5px; color: #64748B; }
.ri-footer-bottom .ri-container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }

/* ============ Content pages (page.php / index.php) ============ */
.ri-content-page { padding: 64px 0; }
.ri-entry-content { max-width: 760px; }
.ri-entry-content h2 { margin-top: 1.6em; }
.ri-entry-content blockquote { border-left: 4px solid var(--ri-orange); margin: 1.4em 0; padding: .4em 1.2em; background: #fff; border-radius: 0 12px 12px 0; }
.ri-entry-content img { border-radius: 16px; }

/* ============ Motion & a11y ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ri-float-chip { animation: none; }
  * { transition: none !important; }
}
