/* Rio Services — marketing site styles */
:root {
  --ink: #0c1b2a;
  --ink-soft: #38505f;
  --muted: #6b7a85;
  --line: #e4eaed;
  --bg: #ffffff;
  --bg-alt: #f5f8f9;
  --bg-deep: #0c1b2a;
  --teal: #0e9c8f;
  --teal-dark: #0a7d72;
  --accent: #ff7a4d;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 10px 40px rgba(12, 27, 42, .08);
  --shadow-sm: 0 2px 14px rgba(12, 27, 42, .06);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: .95rem;
  padding: .8em 1.4em; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: .15s ease; text-decoration: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.3rem;
  letter-spacing: -.03em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); display: inline-block; }
.logo small { font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.main-nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.hero .eyebrow { color: var(--teal-dark); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; }
.stat-row { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.stat .n { font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.stat .l { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: #cdd9e1; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.logobar { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center;
  opacity: .7; }
.logobar span { font-weight: 800; color: var(--muted); font-size: 1.15rem; letter-spacing: -.02em; }

/* Grid of cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { width: 44px; height: 44px; border-radius: 11px; background: #e6f4f2; color: var(--teal-dark);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.card.deep { background: #11293c; border-color: #1d3c52; }
.card.deep p { color: #9fb3c0; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding-top: 14px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.split li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
.split li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal);
  font-weight: 800; }
.media-box { background: linear-gradient(135deg, #0e9c8f, #0a7d72); border-radius: var(--radius);
  min-height: 300px; display: grid; place-items: center; color: #d9fffb; padding: 30px;
  box-shadow: var(--shadow); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; }
.price-card.feature { border-color: var(--teal); box-shadow: var(--shadow); position: relative; }
.price-card.feature .badge { position: absolute; top: -13px; left: 30px; background: var(--teal);
  color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em; }
.price { font-size: 2.4rem; font-weight: 800; margin: 10px 0 2px; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.price-card li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--ink-soft);
  font-size: .95rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* testimonial / quote */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 800; }
.quote .who b { display: block; font-size: .92rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--bg-deep); color: #fff; border-radius: 22px; padding: 50px;
  text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #aebecb; max-width: 560px; margin: 0 auto 24px; }

/* page hero (subpages) */
.page-hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 64px 0 32px; }
.page-hero .eyebrow { color: var(--teal-dark); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .8rem; margin-bottom: 12px; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }

/* contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
  color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,156,143,.15); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #9fb3c0; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-footer a { color: #9fb3c0; font-size: .92rem; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 260px; margin-top: 14px; }
.footer-bottom { border-top: 1px solid #1d3c52; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .price-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 22px; box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .price-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
}
