/* Rouis Group LLC — site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --accent: #0f9d8a;
  --accent-dark: #0b7d6e;
  --text: #1f2937;
  --muted: #5b6577;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --border: #e3e7ee;
  --radius: 14px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero .eyebrow { color: #5fd3c2; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-size: .9rem; font-weight: 800; letter-spacing: .02em;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.nav-cta { padding: 8px 18px; border-radius: 999px; background: var(--accent); color: #fff !important; }
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border: 0; border-radius: 8px;
  background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: "";
  position: absolute; right: -160px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,157,138,.35) 0%, rgba(15,157,138,0) 70%);
  pointer-events: none;
}
.hero .container { position: relative; max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { margin-bottom: 0; color: var(--muted); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(15,157,138,.12); color: var(--accent-dark);
}
.card-icon svg { width: 22px; height: 22px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-list li { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-list a { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.contact-list address { font-style: normal; font-size: 1.02rem; color: var(--navy); font-weight: 600; line-height: 1.5; }

/* Legal pages */
.legal h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--text); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 32px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: #fff; }

/* Responsive */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 80px; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 0 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 20px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 20px 0; text-align: center; border-radius: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
