/* RAMO homepage: calm dark canvas, soft red light, clear cards. */
body.home { background: #1d1f23; overflow-x: hidden; }
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.g1 { width: 520px; height: 520px; left: 50%; top: -220px; margin-left: -260px; background: rgba(224,70,75,.35); animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 380px; height: 380px; right: -140px; bottom: -120px; background: rgba(224,70,75,.18); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.home .page { position: relative; z-index: 1; }
.home .topbar { justify-content: space-between; max-width: 980px; width: 100%; margin: 0 auto; }
.brand-sm { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; font-size: .95rem; }
.mark.sm { width: 32px; height: 32px; border-radius: 9px; font-size: 15px; border-width: 1.5px; }
.home .btn.ghost { background: rgba(47,50,55,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.home main { max-width: 980px; gap: 56px; padding-block: 48px 64px; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mark.big { width: 76px; height: 76px; border-radius: 20px; font-size: 34px;
  box-shadow: 0 0 0 6px rgba(224,70,75,.08), 0 0 40px rgba(224,70,75,.35); background: rgba(224,70,75,.06); }
.home h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); letter-spacing: -.02em; }
.home .tagline { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 46ch; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
@media (min-width: 820px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.svc { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left;
  padding: 22px 20px 20px; border-radius: 18px; background: rgba(47,50,55,.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.svc::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,70,75,.25), transparent 70%); opacity: 0; transition: opacity .3s ease; }
.svc svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(.95rem, 1.6vw, 1.1rem); line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.svc h2 b { color: var(--accent); font-weight: 700; }
@media (hover: hover) { .svc:hover { border-color: rgba(224,70,75,.6); transform: translateY(-3px); background: rgba(56,59,65,.7); } .svc:hover::after { opacity: 1; } }

.home .sections { max-width: 680px; }
.cta { flex-direction: row; justify-content: space-between; gap: 20px; text-align: left; width: 100%;
  padding: 24px 28px; border-radius: 20px; border: 1px solid rgba(224,70,75,.35);
  background: linear-gradient(135deg, rgba(224,70,75,.14), rgba(47,50,55,.55) 60%); }
.cta-text { display: flex; flex-direction: column; gap: 4px; }
.cta .label { color: var(--accent); }
.cta .book-note { font-size: 1rem; color: var(--fg); max-width: 46ch; }
.home .book { border-radius: 12px; padding: 14px 26px; background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(224,70,75,.3); }
.home .book:hover { background: #ea5a5f; border-color: #ea5a5f; }
@media (max-width: 640px) { .cta { flex-direction: column; align-items: stretch; text-align: center; } .cta-text { align-items: center; } }

.home .socials { max-width: 560px; }
.home .socials a { border-radius: 14px; background: rgba(47,50,55,.6); }
.home footer { max-width: 980px; }

.rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise, .glow { animation: none; } .svc { transition: none; } }
@media (max-width: 420px) { .svc h2 { font-size: .88rem; } .svc { padding: 18px 16px; } }
