/* TPage Consulting — dark blue primary palette */
:root {
  --blue-dark: #0a3d62;
  --blue-mid: #1565a0;
  --blue-light: #8dd0ea;
  --blue-pale: #c5e4f5;
  --white: #ffffff;
  --text: #e8f4fc;
  --text-muted: #a8cce0;
  --surface: #114a72;
  --surface-raised: #1565a0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--blue-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  color: var(--blue-pale);
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 61, 98, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--surface-raised);
}

.logo-link {
  display: inline-flex;
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.nav a:not(.nav-cta) {
  color: var(--blue-pale);
}

.nav a:not(.nav-cta):hover {
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}

.logo {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-cta {
  background: var(--blue-light);
  color: var(--blue-dark) !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--blue-pale);
  color: var(--blue-dark) !important;
}

/* Hero — curved frame motif from business card */
.hero {
  padding: 3rem 0 4rem;
}

.hero-frame {
  position: relative;
  background: var(--surface);
  margin-inline: auto;
  width: min(1100px, 92vw);
  padding: 3.5rem 2.5rem;
  border: 6px solid var(--blue-light);
  border-radius: 0 48px 0 48px;
  box-shadow: var(--shadow);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 6px solid var(--blue-mid);
  pointer-events: none;
}

.hero-frame::before {
  top: -6px;
  left: -6px;
  border-right: none;
  border-bottom: none;
  border-radius: 0 0 48px 0;
}

.hero-frame::after {
  bottom: -6px;
  right: -6px;
  border-left: none;
  border-top: none;
  border-radius: 48px 0 0 0;
}

.hero-inner {
  width: 100%;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-light);
  border-color: var(--blue-light);
}

.btn-secondary:hover {
  background: rgba(141, 208, 234, 0.12);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-head h2,
.split-copy h2,
.pricing-card h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface-raised);
  border: 2px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.975rem;
  color: var(--text-muted);
}

/* Industries split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-copy p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.industry-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.industry-list li {
  position: relative;
  padding-left: 1.25rem;
  font-weight: 500;
  color: var(--blue-pale);
}

.industry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
}

.split-panel blockquote {
  background: var(--blue-dark);
  border-left: 4px solid var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
}

.split-panel blockquote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

.split-panel footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
}

/* Pricing */
.pricing-block {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--surface);
  border: 6px solid var(--blue-light);
  border-radius: 48px 0 48px 0;
  padding: 2.5rem 3rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.rate {
  margin: 1rem 0 1.25rem;
  line-height: 1;
}

.rate-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--blue-light);
}

.rate-unit {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-detail {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  display: grid;
  gap: 0.5rem;
}

.pricing-features li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  font-size: 0.975rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}

/* Contact */
.section-contact {
  background: var(--surface-raised);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: var(--blue-pale);
}

.contact-card {
  background: var(--blue-dark);
  border: 2px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-email {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.contact-email:hover {
  color: var(--blue-pale);
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  border-top: 2px solid var(--surface-raised);
  padding: 2rem 0;
}

.site-footer a {
  color: var(--blue-light);
}

.site-footer a:hover {
  color: var(--blue-pale);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-logo {
  height: 36px;
  width: auto;
  background: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-frame {
    padding: 2.5rem 1.5rem;
    border-radius: 0 32px 0 32px;
  }

  .split,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
