/*
  RALIESCORP Onepage Landing Page
  Sectioned for cPanel/CLI editing. Main brand colors are defined below.
*/
:root {
  --ralie-navy: #293654;
  --ralie-navy-dark: #172033;
  --ralie-blue: #334467;
  --ralie-orange: #f47a20;
  --ralie-orange-soft: #ff9a4b;
  --ralie-ink: #172033;
  --ralie-muted: #667085;
  --ralie-border: #e7e9ef;
  --ralie-soft: #f5f7fb;
  --ralie-white: #ffffff;
  --ralie-shadow: 0 22px 70px rgba(23, 32, 51, 0.12);
  --ralie-radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ralie-ink);
  background: var(--ralie-white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--ralie-orange); text-decoration: none; }
a:hover { color: var(--ralie-navy); }
.section-pad { padding: 110px 0; position: relative; overflow: hidden; }
.bg-soft { background: var(--ralie-soft); }
.dark-section { background: var(--ralie-navy-dark); color: rgba(255,255,255,.78); }
.section-title { color: var(--ralie-navy-dark); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; margin-bottom: 1rem; }
.dark-section .section-title { color: #fff; }
.section-subtitle { color: var(--ralie-muted); font-size: 1.1rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--ralie-orange-soft); margin-bottom: 1rem; }
.eyebrow.dark { color: var(--ralie-orange); }
.eyebrow span { width: 35px; height: 2px; border-radius: 2px; background: currentColor; display: inline-block; }
.btn { border-radius: 999px; font-weight: 800; padding: .85rem 1.35rem; }
.btn-lg { padding: 1rem 1.65rem; }
.btn-ralie { background: linear-gradient(135deg, var(--ralie-orange), var(--ralie-orange-soft)); color: #fff; border: 0; box-shadow: 0 12px 30px rgba(244,122,32,.32); }
.btn-ralie:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 35px rgba(244,122,32,.38); }
.btn-outline-ralie { border: 1px solid rgba(41,54,84,.22); color: var(--ralie-navy); background: #fff; }
.btn-outline-ralie:hover { background: var(--ralie-navy); border-color: var(--ralie-navy); color: #fff; }

/* SECTION 01: menu/header/navigation */
.site-header { transition: background .25s ease, box-shadow .25s ease, padding .25s ease; }
.site-header .navbar { padding: 18px 0; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(231,233,239,.78); }
.site-header.is-scrolled .navbar { padding: 10px 0; box-shadow: 0 10px 35px rgba(23,32,51,.08); }
.brand-logo { width: 218px; height: auto; display: block; }
.navbar-nav .nav-link { color: var(--ralie-navy); font-weight: 800; font-size: .94rem; padding: .6rem .7rem !important; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--ralie-orange); }
.navbar-toggler { border: 0; box-shadow: none !important; }

/* SECTION 02: hero */
.hero-section { min-height: 100vh; padding-top: 72px; background: radial-gradient(circle at 20% 20%, rgba(244,122,32,.22), transparent 34%), linear-gradient(135deg, var(--ralie-navy-dark), var(--ralie-navy)); }
.hero-title { color: #fff; letter-spacing: -.055em; line-height: .98; }
.hero-lead { color: rgba(255,255,255,.82); max-width: 640px; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(3px); opacity: .8; }
.hero-glow-a { width: 420px; height: 420px; right: -140px; top: 20%; background: rgba(244,122,32,.14); }
.hero-glow-b { width: 300px; height: 300px; left: -100px; bottom: 12%; background: rgba(255,255,255,.06); }
.hero-proof > div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 18px; }
.hero-proof strong { display: block; color: #fff; font-size: 2rem; line-height: 1; }
.hero-proof span { display: block; color: rgba(255,255,255,.65); font-size: .85rem; line-height: 1.35; margin-top: .45rem; }
.hero-card-wrap { position: relative; padding: 18px; }
.hero-card-wrap::before { content: ""; position: absolute; inset: 0 0 50px 42px; border-radius: 36px; background: var(--ralie-orange); transform: rotate(-4deg); }
.hero-card-image { position: relative; border-radius: 36px; overflow: hidden; box-shadow: var(--ralie-shadow); min-height: 540px; }
.hero-card-image img { width: 100%; height: 540px; object-fit: cover; filter: saturate(.95) contrast(1.05); }
.hero-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,51,0), rgba(23,32,51,.35)); }
.hero-floating-card { position: absolute; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.96); border-radius: 18px; padding: 16px 18px; box-shadow: 0 18px 60px rgba(23,32,51,.18); max-width: 330px; }
.hero-floating-card i { width: 44px; height: 44px; border-radius: 14px; background: rgba(244,122,32,.12); color: var(--ralie-orange); display: grid; place-items: center; font-size: 1.4rem; }
.hero-floating-card span { display: block; color: var(--ralie-muted); font-size: .8rem; font-weight: 700; }
.hero-floating-card strong { color: var(--ralie-navy); font-size: .94rem; line-height: 1.25; display: block; }
.card-one { left: -2px; bottom: 88px; }
.card-two { right: -12px; bottom: 18px; }

/* SECTION 03: fancy CTA */
.quick-cta { margin-top: -62px; position: relative; z-index: 5; }
.quick-cta-card { border-radius: var(--ralie-radius); background: linear-gradient(135deg, var(--ralie-orange), #ff9540); color: #fff; padding: 42px; box-shadow: 0 24px 70px rgba(244,122,32,.28); }
.quick-cta-card h2 { font-weight: 800; letter-spacing: -.035em; margin-bottom: .65rem; }
.quick-cta-card p { margin: 0; color: rgba(255,255,255,.84); }
.cta-label { display: inline-block; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .72rem; margin-bottom: .85rem; color: rgba(255,255,255,.78); }

/* SECTION 04: company introduction */
.about-section p { color: var(--ralie-muted); }
.image-stack { position: relative; padding: 0 0 70px 35px; }
.image-stack img { border-radius: 34px; box-shadow: var(--ralie-shadow); height: 570px; object-fit: cover; width: 100%; }
.image-stack::before { content: ""; position: absolute; left: 0; top: 35px; width: 62%; height: 70%; border-radius: 34px; border: 2px solid rgba(244,122,32,.35); z-index: -1; }
.image-stack-note { position: absolute; left: 0; bottom: 12px; width: min(420px, 90%); padding: 22px; background: #fff; border-radius: 24px; box-shadow: var(--ralie-shadow); display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--ralie-navy); }
.image-stack-note i { color: var(--ralie-orange); font-size: 1.8rem; }
.mini-card { height: 100%; padding: 22px; border: 1px solid var(--ralie-border); border-radius: 22px; background: #fff; }
.mini-card i { color: var(--ralie-orange); font-size: 1.7rem; }
.mini-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--ralie-navy); margin: .8rem 0 .35rem; }
.mini-card p { font-size: .92rem; margin: 0; }

/* SECTION 05: services */
.service-card { background: #fff; border: 1px solid var(--ralie-border); border-radius: 28px; padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(244,122,32,.35); box-shadow: var(--ralie-shadow); }
.service-card i { width: 58px; height: 58px; display: grid; place-items: center; color: var(--ralie-orange); background: rgba(244,122,32,.1); border-radius: 18px; font-size: 1.65rem; margin-bottom: 1.3rem; }
.service-card h3 { font-size: 1.2rem; color: var(--ralie-navy-dark); font-weight: 800; }
.service-card p { color: var(--ralie-muted); margin: 0; }

/* SECTION 06: software */
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-list div { display: flex; align-items: flex-start; gap: 14px; color: var(--ralie-navy); font-weight: 700; }
.feature-list i { color: var(--ralie-orange); font-size: 1.35rem; }
.software-panel { position: relative; border-radius: 34px; min-height: 540px; padding: 18px; background: linear-gradient(135deg, rgba(41,54,84,.08), rgba(244,122,32,.13)); }
.software-panel img { width: 100%; height: 504px; object-fit: cover; border-radius: 28px; box-shadow: var(--ralie-shadow); }
.software-metric { position: absolute; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--ralie-shadow); max-width: 260px; }
.software-metric strong { display: block; color: var(--ralie-navy); font-size: 1.25rem; }
.software-metric span { color: var(--ralie-muted); font-size: .9rem; line-height: 1.35; display: block; }
.metric-a { left: -8px; bottom: 82px; }
.metric-b { right: -8px; bottom: 18px; }

/* SECTION 07: methodology */
.timeline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.timeline-step { background: #fff; border: 1px solid var(--ralie-border); border-radius: 26px; padding: 28px; position: relative; overflow: hidden; min-height: 220px; }
.timeline-step::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; top: -70px; border-radius: 999px; background: rgba(244,122,32,.08); }
.timeline-step span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ralie-navy); color: #fff; font-weight: 900; margin-bottom: 1rem; }
.timeline-step h3 { font-size: 1.15rem; font-weight: 800; color: var(--ralie-navy); }
.timeline-step p { color: var(--ralie-muted); margin: 0; }

/* SECTION 08: support */
.support-section { background: linear-gradient(135deg, rgba(23,32,51,.96), rgba(41,54,84,.92)), url('../img/site/stats-office.jpg') center/cover; }
.support-section p { color: rgba(255,255,255,.72); }
.support-card { height: 100%; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.support-card strong { display: block; color: #fff; font-size: 1.65rem; font-weight: 900; margin-bottom: .5rem; }
.support-card span { color: rgba(255,255,255,.75); }
.coverage-strip { margin-top: 46px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); padding: 16px 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: rgba(255,255,255,.75); }
.coverage-strip strong { background: rgba(244,122,32,.95); color: #fff; padding: 7px 14px; border-radius: 999px; }

/* SECTION 09: standards */
.standards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.standards-grid div { border: 1px solid var(--ralie-border); background: #fff; border-radius: 24px; padding: 24px; display: grid; gap: 8px; }
.standards-grid i { font-size: 1.7rem; color: var(--ralie-orange); }
.standards-grid strong { color: var(--ralie-navy); font-weight: 900; }
.standards-grid span { color: var(--ralie-muted); font-size: .94rem; }

/* SECTION 10: client experience */
.client-card { background: #fff; border: 1px solid var(--ralie-border); border-radius: 26px; padding: 30px; }
.client-card i { color: var(--ralie-orange); font-size: 2rem; }
.client-card h3 { margin: 1rem 0 .5rem; font-size: 1.18rem; font-weight: 850; color: var(--ralie-navy); }
.client-card p { color: var(--ralie-muted); margin: 0; }
.value-band { margin-top: 28px; padding: 28px; border-radius: 26px; background: linear-gradient(135deg, var(--ralie-navy), var(--ralie-navy-dark)); color: rgba(255,255,255,.78); }
.value-band strong { color: #fff; }

/* SECTION 11: contact */
.contact-section { background: linear-gradient(180deg, #fff, #f8f9fc); }
.contact-shell { border-radius: 36px; padding: 52px; background: #fff; border: 1px solid var(--ralie-border); box-shadow: var(--ralie-shadow); position: relative; overflow: hidden; }
.contact-shell::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; top: -100px; border-radius: 999px; background: rgba(244,122,32,.08); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact-card { height: 100%; border: 1px solid var(--ralie-border); border-radius: 22px; padding: 22px; background: var(--ralie-soft); position: relative; z-index: 2; }
.contact-card i { color: var(--ralie-orange); font-size: 1.55rem; }
.contact-card span { display: block; margin-top: .6rem; font-weight: 850; color: var(--ralie-navy); }
.contact-card a, .contact-card p { display: block; color: var(--ralie-muted); font-weight: 700; margin: .2rem 0 0; word-break: break-word; }
.contact-card a:hover { color: var(--ralie-orange); }

/* SECTION 12: footer */
.footer-section { background: var(--ralie-navy-dark); color: rgba(255,255,255,.68); padding: 60px 0 22px; }
.footer-logo { width: 230px; background: #fff; border-radius: 16px; padding: 10px 14px; }
.footer-section h3 { color: #fff; font-size: 1rem; font-weight: 900; margin-bottom: .95rem; }
.footer-section a { display: block; color: rgba(255,255,255,.68); margin-bottom: .45rem; }
.footer-section a:hover { color: var(--ralie-orange-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .9rem; }
.scroll-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--ralie-orange); color: #fff; z-index: 1000; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; box-shadow: 0 15px 35px rgba(244,122,32,.3); }
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top i { font-size: 1.8rem; line-height: 1; }

/* Scroll animation helpers */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1199.98px) {
  .brand-logo { width: 190px; }
  .hero-card-image, .hero-card-image img { min-height: 460px; height: 460px; }
  .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .section-pad { padding: 82px 0; }
  .hero-section { padding-top: 92px; }
  .quick-cta { margin-top: 0; padding-top: 28px; }
  .hero-floating-card { position: relative; left: auto; right: auto; bottom: auto; margin-top: 14px; max-width: none; }
  .hero-card-wrap::before { inset: 20px 20px 70px 20px; }
  .navbar-collapse { background: #fff; border: 1px solid var(--ralie-border); border-radius: 22px; padding: 16px; margin-top: 12px; box-shadow: var(--ralie-shadow); }
}
@media (max-width: 767.98px) {
  html { scroll-padding-top: 78px; }
  .section-pad { padding: 68px 0; }
  .brand-logo { width: 170px; }
  .hero-title { font-size: 2.7rem; }
  .hero-card-image, .hero-card-image img { min-height: 360px; height: 360px; }
  .quick-cta-card, .contact-shell { padding: 28px; border-radius: 24px; }
  .image-stack { padding: 0 0 80px 0; }
  .image-stack img { height: 390px; }
  .timeline-grid, .standards-grid { grid-template-columns: 1fr; }
  .software-panel, .software-panel img { min-height: 360px; height: auto; }
  .software-panel img { height: 360px; }
  .software-metric { position: static; margin-top: 12px; max-width: none; }
  .coverage-strip { border-radius: 24px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 2rem; }
  .hero-proof strong { font-size: 1.55rem; }
  .hero-proof > div { padding-left: 12px; }
  .btn-lg { width: 100%; }
  .contact-actions .btn { width: 100%; }
}
