/* =========================
   Base Reset & Variables
========================= */

:root {
  --primary: #1f3a5f;     /* deep professional blue */
  --accent: #6bb0a6;      /* soft lake-inspired teal */
  --light-bg: #f6f8fb;
  --midnight: #0f2747;
  --soft-blue: #d7e2f2;
  --warm: #f47c2c;

  --text: #1a1a1a;
  --muted: #555;
  --border: #e3e6ea;

  --max-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
  background-color: #f5f7fb;
}

/* =========================
   Layout Helpers
========================= */

main {
  margin: 0 auto;
}

main > section:not(.page-hero):not(.home-hero) {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

section + section {
  margin-top: 3.5rem;
}

/* =========================
   Header & Navigation (Enhanced)
========================= */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 16px rgba(31, 58, 95, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  height: 38px;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.nav-dropdown {
  display: none;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  background-color: #ffffff;
}

.nav-dropdown summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown[open] {
  box-shadow: 0 10px 20px rgba(31, 58, 95, 0.12);
}

.nav-dropdown-links {
  list-style: none;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-dropdown-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.nav-dropdown-links a:hover,
.nav-dropdown-links a:focus {
  color: var(--accent);
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* CTA Button */

.nav-cta .button-primary {
  background-color: var(--warm); /* matches the orange in your screenshot */
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta .button-primary:hover {
  opacity: 0.9;
}

/* =========================
   Mobile Header
========================= */

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
     display: none;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-cta {
    margin-top: 0.75rem;
  }
   
   .nav-cta .button-primary {
    display: block;
    text-align: center;
  }
}

/* =========================
   Page Hero
========================= */

.page-hero {
  background: linear-gradient(
    135deg,
    var(--primary),
    #2b4d7a
  );
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* =========================
   About - Partners
========================= */

.about-hero {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 80%);
  text-align: center;
  padding: 4.5rem 1.5rem 3rem;
}

.about-hero .eyebrow {
  display: inline-block;
  color: #f47c2c;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.about-hero h1 {
  color: var(--primary);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #55657a;
  font-size: 1.05rem;
}

.partners {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(15, 34, 60, 0.08);
}

.partner-photo {
  background: #f3f6fb;
  border-radius: 20px;
  padding: 1.5rem;
}

.partner-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.partner-details h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.partner-details p {
  color: #526173;
  margin-bottom: 1rem;
}

.partner-role {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f47c2c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.partner-role-icon {
  font-size: 1rem;
}

.partner-specialties {
  margin-top: 1.5rem;
}

.specialties-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip-list li {
  background: #eef3f9;
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* =========================
   Home Hero
========================= */

.home-hero {
  min-height: 100vh;
  background:
    linear-gradient(
      rgba(15, 32, 60, 0.75),
      rgba(15, 32, 60, 0.85)
    ),
    url("../images/hero-lake.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--warm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.home-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.home-hero p {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.button-outline:hover {
  border-color: #ffffff;
}

/* =========================
   Services Grid
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 10px;
  border-top: 4px solid var(--accent);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card h2 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* =========================
   Pricing
========================= */

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  background-color: #ffffff;
}

.pricing-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 600;
  margin: 1rem 0;
  color: var(--accent);
}

.pricing-card ul {
  list-style: none;
  margin-top: 1rem;
}

.pricing-card li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

/* =========================
   Pricing Page Layout
========================= */

.pricing-page {
  background-color: #f5f7fb;
}

.pricing-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.pricing-hero-content {
  color: var(--midnight);
}

.pricing-hero .eyebrow,
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--midnight);
}

.pricing-hero p {
  font-size: 1.05rem;
  color: #4b5b71;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-outline-dark {
  background: transparent;
  border: 1px solid rgba(15, 39, 71, 0.25);
  color: var(--midnight);
}

.button-outline-dark:hover {
  border-color: rgba(15, 39, 71, 0.5);
}

.pricing-hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 32, 60, 0.12);
  border: 1px solid rgba(15, 39, 71, 0.08);
}

.pricing-hero-card h2 {
  font-size: 1.35rem;
  color: var(--midnight);
  margin-bottom: 1rem;
}

.pricing-hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: #425067;
}

.pricing-hero-card li {
  padding-left: 1.6rem;
  position: relative;
}

.pricing-hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--warm);
  font-weight: 600;
}

.pricing-section {
  margin-top: 2.5rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--midnight);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: #55657a;
  font-size: 1.05rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pricing-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(15, 39, 71, 0.08);
  box-shadow: 0 10px 30px rgba(15, 32, 60, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-panel h3 {
  color: var(--midnight);
  font-size: 1.3rem;
}

.pricing-panel ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: #4f5f74;
}

.pricing-panel li {
  padding-left: 1.4rem;
  position: relative;
}

.pricing-panel li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--warm);
  font-weight: 700;
}

.pricing-panel-accent {
  background: linear-gradient(135deg, #fef4ee, #ffffff 65%);
  border: 1px solid rgba(244, 124, 44, 0.2);
}

.pricing-panel-featured {
  border: 2px solid rgba(244, 124, 44, 0.35);
  position: relative;
  background: #ffffff;
}

.pricing-tag {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  background: rgba(244, 124, 44, 0.15);
  color: var(--warm);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  border-radius: 999px;
}

.pricing-subtitle {
  color: #6b7b90;
}

/* =========================
   Buttons & Links
========================= */

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid transparent;
}

.button:hover {
  opacity: 0.9;
}

/* =========================
   Client Portal CTA
========================= */

.portal-cta {
  margin-top: 4rem;
  padding: 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary),
    #2b4d7a
  );
  color: #ffffff;
  border-radius: 14px;
}

.portal-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portal-cta p {
  max-width: 600px;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.portal-cta .button-primary {
  background-color: var(--warm);
  padding: 0.75rem 1.75rem;
  font-size: 1.05rem;
}

/* =========================
   Secure Portal Button
========================= */

.portal-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lock-icon {
  font-size: 1.1rem;
}

.portal-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* =========================
   Footer
========================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
  .nav {
    gap: 0.75rem;
  }

  .pricing-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .pricing-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .partner-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .partner-photo {
    padding: 1rem;
  }
}
