/* Palette */
:root {
  --bg-page: #e5e0da;
  --blue-soft: #d2e3f5;
  --blue-light: #7195cf;
  --blue-mid: #3650a4;
  --blue-dark: #1f265a;
  --text-main: #111;
  --text-muted: #4b4b4b;
  --border-soft: #d2c7bd;
  --white: #fff;
  --radius-pill: 999px;
}

/* GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

/* HEADER */
.site-header {
  background: rgba(229,224,218,0.96);
  border-bottom: 1px solid #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-img {
  height: 42px;
}

/* NAV */
.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--blue-mid);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--blue-mid);
}

.main-nav a:hover::after {
  width: 100%;
}

/* BUTTONS */
.btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue-mid);
  background: var(--blue-mid);
  color: var(--white);
  text-decoration: none;
  display: inline-block;
}

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

/* HEADING COLORS */
.hero-text h1,
.why-header h2,
.goal-text-main h2,
.services-header h2,
.local-support h2,
.packages-header h2 {
  color: var(--blue-light);
}

h1,
h2 {
  text-transform: uppercase;
}

h3 {
  color: var(--blue-dark);
}

/* HERO */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-subtitle {
  max-width: 420px;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

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

/* WHY */
.why {
  padding: 2rem 0 4rem;
}

.why-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}

.why-item:hover {
  background: rgba(210,227,245,0.5);
}

/* GOAL */
.goal {
  padding-bottom: 4rem;
}

.goal-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.goal-image img {
  max-width: 340px;
  border-radius: 30px;
}

.goal-text-main p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.goal-text-list ul {
  margin-bottom: 2.5rem;
  padding-left: 1.2rem;
}

/* SERVICES */
.services {
  padding-bottom: 4rem;
}

.services-illustrations {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.services-illustrations img {
  height: 95px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  height: 4cm;
  background: rgba(210,227,245,0.5);
  border-top: 1px solid var(--border-soft);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.service-body-scroll {
  overflow-y: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-subtitle {
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

/* LOCAL SUPPORT */
.local-support {
  padding-bottom: 4rem;
}

.local-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.local-image img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
}

/* PACKAGES */
.packages {
  padding-bottom: 4rem;
}

.packages-header {
  text-align: left;
  margin-bottom: 2rem;
}

.packages-header .packages-subtitle {
  margin-top: 0.4rem;
}

.packages-table-wrapper {
  overflow-x: auto;
  background: rgba(210,227,245,0.5);
  border-radius: 0;
  padding: 1.5rem 1.25rem;
  border: none;
}

.packages-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.packages-table th,
.packages-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}

/* Increase first row height so headings align from the top */
.packages-table thead tr:first-child th {
  padding-top: 1.75rem !important;
  padding-bottom: 1.2rem !important;
}

.packages-table thead th {
  background: rgba(210,227,245,0.9);
  color: var(--blue-dark);
  font-weight: 600;
}

.packages-table thead th span {
  display: block;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Center row-heading H3s */
.packages-table tbody td:first-child,
.packages-table thead th:first-child {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.packages-table tbody td:first-child h3,
.packages-table thead th:first-child h3 {
  margin: 0;
}

/* Zebra rows */
.packages-table tbody tr:nth-child(even) {
  background: rgba(229,224,218,0.35);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2rem 0;
  text-align: center;
}
