/* ==========================================================================
   RYVEL — shared stylesheet
   Placeholder brand styling. Colors live in :root so they're easy to swap
   once the real logo / brand palette arrives.
   ========================================================================== */

:root {
  /* Brand palette (placeholder — update when the logo lands) */
  --brand:        #1f6f54;   /* primary green */
  --brand-dark:   #164c3a;
  --brand-light:  #e7f2ec;
  --accent:       #e0a43b;   /* warm accent */

  /* Neutrals */
  --ink:          #1a2420;   /* near-black text */
  --body:         #41504a;   /* body text */
  --muted:        #6b7a74;
  --line:         #e2e8e4;
  --surface:      #ffffff;
  --surface-alt:  #f4f7f5;

  /* Layout */
  --maxw: 1120px;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(22, 76, 58, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--brand); 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 20px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--surface-alt); }
.section__intro { max-width: 680px; margin-bottom: 40px; }
.section__intro.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.15rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #f3f3f3; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.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(--brand);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}
.brand__word { color: var(--ink); }
.brand__word b { color: var(--brand); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--body);
  font-weight: 600;
  font-size: 0.97rem;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--brand); text-decoration: none; }

.nav__cta { margin-left: 6px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(224,164,59,0.12), transparent 60%),
    linear-gradient(160deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 92px 0;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.2rem; max-width: 560px; }
.hero__inner { max-width: 640px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 22px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Feature / value row ---------- */
.values { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value h3 { display: flex; align-items: center; gap: 10px; }
.value .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Service detail list ---------- */
.service-block { border-top: 1px solid var(--line); padding: 36px 0; }
.service-block:first-of-type { border-top: 0; }
.service-block h3 { color: var(--brand-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.tags li {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 18px;
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-info .info-item { margin-bottom: 22px; }
.contact-info .info-item strong { display: block; color: var(--ink); margin-bottom: 2px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,111,84,0.12);
}
.form textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form__status { margin-top: 14px; font-weight: 600; }
.form__status.ok { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7d2cc;
  padding: 54px 0 28px;
  margin-top: 0;
}
.site-footer a { color: #e7f2ec; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; margin-bottom: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand__word { color: #fff; }
.footer-brand p { color: #9fb0a8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b9c7c0; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8fa196;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { padding: 6px 0; }
  .nav__cta { margin: 10px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
}
