:root {
  --blue: #17629f;
  --blue-dark: #0f4776;
  --green: #5d9b48;
  --ink: #1f2430;
  --muted: #5f6b7a;
  --line: #dde5ec;
  --soft: #f5f8fb;
  --white: #ffffff;
  --footer: #071a2b;
  --shadow: 0 18px 50px rgba(18, 31, 43, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 72px 0 48px; }
.section-pad-sm { padding: 58px 0 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header { background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 28px; }
.rcg-logo { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: #111827; }
.rcg-logo__icon { width: 62px; flex: 0 0 auto; }
.rcg-logo__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.rcg-logo__name { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.3vw, 2.15rem); font-weight: 400; letter-spacing: 0.01em; color: #111; white-space: nowrap; }
.rcg-logo__tagline { margin: 6px auto auto auto; font-size: clamp(0.68rem, 0.85vw, 0.9rem); font-weight: 300; letter-spacing: 0.08em; color: #777; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.site-nav a { color: #26313c; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav .active { color: var(--blue); border-color: var(--blue); }
.login-link { border: 1px solid #aeb9c4 !important; border-radius: 10px; padding: 9px 15px !important; }
.login-link:hover { background: var(--soft); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { overflow: hidden; background: radial-gradient(circle at 80% 20%, #eef5fa 0 22%, transparent 40%), linear-gradient(180deg, #fff 0%, #fbfdff 100%); }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.86rem; margin: 0 0 18px; }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; max-width: 690px; }
h1 span { color: var(--green); }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #465363; max-width: 570px; margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 9px; min-height: 54px; padding: 0 28px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23,98,159,.18); }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-secondary { color: var(--green); background: #fff; border: 1px solid rgba(93,155,72,.45); }
.btn-light { background: #fff; color: var(--green); min-width: 190px; }
.hero-visual { min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: min(620px, 100%); filter: drop-shadow(0 24px 36px rgba(7,20,33,.12)); }

.services, .why, .extras, .cta, .site-footer { content-visibility: auto; contain-intrinsic-size: 1px 500px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 28px; text-align: center; box-shadow: 0 10px 30px rgba(18,31,43,.04); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 2rem; }
.icon-blue { color: var(--blue); background: #eef5fb; }
.icon-green { color: var(--green); background: #eff7ec; }
.service-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.service-card p { color: #526071; margin: 0 0 20px; }
.service-card a { color: var(--blue); font-weight: 800; }
.section-title { text-align: center; margin: 0 0 34px; font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -0.04em; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-item { padding: 10px 24px; border-right: 1px solid var(--line); display: grid; grid-template-columns: 50px 1fr; column-gap: 12px; align-items: start; }
.why-item:last-child { border-right: 0; }
.why-icon { color: var(--blue); font-size: 2rem; line-height: 1; }
.why-icon.green { color: var(--green); }
.why-item h3 { margin: 0 0 8px; line-height: 1.25; font-size: 1rem; }
.why-item p { grid-column: 2; margin: 0; color: #546171; font-size: .94rem; }
.extras { padding: 18px 0 26px; }
.extras-panel { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: center; padding: 32px 42px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg,#f8fbfe,#edf5fa); }
.extras-icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 2.5rem; }
.extras h2 { margin: 0 0 12px; font-size: 1.45rem; }
.extras ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 28px; color: #445160; }
.extras li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 9px; }
.cta { padding: 0 0 44px; }
.cta-panel { display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 22px; padding: 36px 46px; color: #fff; border-radius: 16px; background: linear-gradient(100deg, var(--blue) 0%, #2b7b8f 55%, var(--green) 100%); }
.cta-icon { width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.cta h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.cta p { margin: 0; opacity: .92; }

.site-footer { background: var(--footer); color: #fff; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.16); }
.rcg-logo--footer .rcg-logo__icon { width: 56px; }
.rcg-logo--footer .rcg-logo__name { font-size: 2.2rem; color: #fff; }
.rcg-logo--footer .rcg-logo__tagline { margin: 6px auto auto auto; font-size: 1rem; letter-spacing: 0.08em; color: rgba(255,255,255,.72); }
.footer-contact { margin: 0; font-style: normal; display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { color: rgba(255,255,255,.86); }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-copy { margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; max-width: 32ch; }
.footer-bottom { margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 82px; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .cards-grid, .why-grid { grid-template-columns: repeat(2,1fr); }
  .why-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .rcg-logo--footer .rcg-logo__icon { width: 46px; }
  .rcg-logo--footer .rcg-logo__name { font-size: 1.75rem; }
  .rcg-logo--footer .rcg-logo__tagline { font-size: .85rem; letter-spacing: .04em; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 72px; }
  .rcg-logo__icon { width: 48px; }
  .rcg-logo__name { font-size: 1.45rem; }
  .rcg-logo__tagline { display: none; }
  .section-pad { padding: 48px 0 34px; }
  .hero-actions, .btn { width: 100%; }
  .hero-visual { display: none; }
  .cards-grid, .why-grid { grid-template-columns: 1fr; }
  .extras-panel, .cta-panel { grid-template-columns: 1fr; padding: 28px; }
  .cta-panel .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
