/* A.S. Radin & Associates / WebPros99 - Revamped Site CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --primary: #0a2342;
  --accent: #c8972a;
  --accent-light: #f5d680;
  --text: #1e1e1e;
  --text-light: #555;
  --bg: #f8f6f1;
  --bg-dark: #0a2342;
  --white: #ffffff;
  --border: #e0d8c8;
  --shadow: 0 4px 24px rgba(10,35,66,0.10);
  --radius: 6px;
  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ─────────────────────────────────── */
header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--accent);
  color: var(--primary);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--accent-light) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }
.mobile-nav { display: none; background: var(--primary); padding: 1rem 1.5rem 1.5rem; }
.mobile-nav a { display: block; color: rgba(255,255,255,0.9); text-decoration: none; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; font-weight: 600; }
.mobile-nav a:last-child { border: none; }

/* ── HERO ──────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16396a 55%, #1a4a80 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,151,42,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 480px; margin-bottom: 2rem; font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: #16396a; }

.hero-stats {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 900; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

/* ── SECTION ──────────────────────────── */
.section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background: #fff; }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.section-dark h3 { color: var(--accent); }
.lead { font-size: 1.05rem; color: var(--text-light); max-width: 620px; }

/* ── CARDS ──────────────────────────── */
.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,35,66,0.14); }
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), #2a5aaa);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}
.section-dark .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.section-dark .card h3 { color: var(--accent); }
.section-dark .card:hover { background: rgba(255,255,255,0.1); }

/* ── HIGHLIGHT BOX ──────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4a80 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  margin: 2.5rem 0;
}
.highlight-box h3 { color: var(--accent); font-size: 1.35rem; margin-bottom: 0.75rem; }
.highlight-box p { color: rgba(255,255,255,0.82); }

/* ── TWO-COL ──────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.two-col-reverse { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 2rem; } }

/* ── TABLE ──────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.9rem; }
.data-table th { background: var(--primary); color: #fff; padding: 0.75rem 1rem; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: #f5f2eb; }
.data-table tr:hover td { background: #ede8db; }

/* ── LIST ──────────────────────────── */
.check-list { list-style: none; margin-top: 1rem; }
.check-list li { padding: 0.45rem 0 0.45rem 1.8rem; position: relative; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.check-list li:last-child { border: none; }

/* ── FORM ──────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; }
.form-field input, .form-field textarea, .form-field select {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border 0.18s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-full { grid-column: 1 / -1; }
.form-submit { grid-column: 1 / -1; }

/* ── BACKLINK SECTION ──────────────── */
.backlinks-section { background: #fff; border-top: 1px solid var(--border); padding: 1.5rem; text-align: center; font-size: 0.88rem; color: var(--text-light); }
.backlinks-section a { color: var(--primary); text-decoration: none; font-weight: 600; }
.backlinks-section a:hover { color: var(--accent); }

/* ── FOOTER ──────────────────────────── */
footer {
  background: #060f1c;
  color: rgba(255,255,255,0.65);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: 0.75rem; }
.footer-logo span { color: var(--accent); }
footer p { font-size: 0.88rem; line-height: 1.65; }
footer h4 { color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 0.85rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.45rem; }
footer ul a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.15s; }
footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ── PAGE HERO (inner pages) ──────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16396a 100%);
  color: #fff;
  padding: 3rem 1.5rem 2.5rem;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── MISC ──────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.tag { display: inline-block; background: var(--accent); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.note { background: #fffbef; border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; margin: 1.25rem 0; }
.info-row { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.95rem; }
.info-row strong { min-width: 120px; color: var(--primary); font-weight: 700; }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 3rem 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; }
}
