/* ─────────────────────────────────────
   RDGroup Co. — Light Theme Stylesheet
   Font: Plus Jakarta Sans
───────────────────────────────────── */

:root {
  --white:      #ffffff;
  --bg:         #f8f7f4;
  --bg-alt:     #f0ede8;
  --navy:       #1A1A2E;
  --navy-light: #2d2d4a;
  --amber:      #F59E0B;
  --amber-light:#FEF3C7;
  --amber-mid:  #FDE68A;
  --text:       #1e1e2e;
  --text-mid:   #4a4a6a;
  --text-light: #8888a8;
  --border:     #e2e0da;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.1);
  --trans:      0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Accent ── */
.accent { color: var(--amber); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: var(--trans);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,0.2);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: var(--trans);
}
.btn-outline:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section Label ── */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ── Section Heading ── */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}
.section-head p {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Sections ── */
.section {
  padding: 96px 0;
  background: var(--white);
}
.section-alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0;
  transition: var(--trans);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.logo-rd   { color: var(--amber); }
.logo-rest { color: var(--navy); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: var(--trans);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-link:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  padding: 160px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat strong {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
}
.stat p {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ── SERVICE CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--amber-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
  transition: var(--trans);
}
.card:hover .card-icon {
  background: var(--navy);
  color: var(--white);
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-left h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.about-left p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--amber-light);
  border: 1px solid var(--amber-mid);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23F59E0B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--trans);
}
.value-box:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow);
}
.value-box-accent {
  background: var(--navy);
  border-color: var(--navy);
}
.value-box-accent h4,
.value-box-accent p { color: var(--white) !important; }
.value-box-accent .value-num { color: rgba(245,158,11,0.7) !important; }
.value-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 8px;
}
.value-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.value-box p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.contact-left p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}
.info-row svg { color: var(--amber); flex-shrink: 0; }

/* ── FORM ── */
.form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: var(--trans);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 14px;
}
.form-success.show { display: flex; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo-rd   { color: var(--amber); }
.footer .logo-rest { color: var(--white); }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--amber); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.26s; }
.reveal-d4 { transition-delay: 0.34s; }
.reveal-d5 { transition-delay: 0.42s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }
::selection { background: var(--amber-light); color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 24px 28px; gap: 28px; }
  .stat-sep { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; justify-content: center; }
  .form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .section { padding: 72px 0; }
}
