@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --primary:       #00ABA0;
  --primary-dark:  #008f85;
  --primary-light: #e0f7f6;
  --secondary:     #00318F;
  --secondary-dark:#002270;
  --tertiary:      #D9F7FF;
  --neutral:       #717977;
  --surface:       #F8FFFE;
  --on-surface:    #1C2B2A;
  --white:         #ffffff;
  --border:        #d8eeec;
  --muted:         #717977;
  --shadow-sm:     0 1px 4px rgba(0,96,100,0.07);
  --shadow-md:     0 4px 20px rgba(0,96,100,0.10);
  --shadow-lg:     0 8px 40px rgba(0,96,100,0.13);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-pill:   999px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.navbar-brand {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border: 2px solid var(--secondary);
  border-radius: 50%;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: var(--neutral);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar-links a.btn-primary,
.navbar-links a.btn-primary:hover {
  color: var(--white);
}

.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: var(--on-surface);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem 2rem;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--on-surface);
  font-weight: 500;
  font-size: 1rem;
  display: block;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu .btn-primary {
  margin-top: 1rem;
  display: block;
  text-align: center;
}

main { padding-top: 68px; }

/* ── Buttons ── */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,171,160,0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,171,160,0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,171,160,0.3);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-light:hover {
  background: var(--tertiary);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── Layout ── */
.section {
  padding: 5.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 620px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Badge ── */
.badge {
  background: var(--tertiary);
  color: var(--secondary);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 7.5rem 2rem 6.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: 'Caveat', cursive;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  opacity: 0.88;
  line-height: 1.75;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* ── Grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

/* ── Section variants ── */
.section-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 5.5rem 2rem;
  text-align: center;
}

.section-accent .section-title { color: var(--white); }
.section-accent .section-subtitle { color: rgba(255,255,255,0.82); }

.section-tinted {
  background: var(--tertiary);
  padding: 5.5rem 2rem;
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 2.5rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.footer-brand {
  font-family: 'Caveat', cursive;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-tagline {
  opacity: 0.65;
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer-nav h4 {
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.5;
  font-weight: 600;
}

.footer-nav ul { list-style: none; }

.footer-nav li { margin-bottom: 0.65rem; }

.footer-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Accordion (FAQs) ── */
.accordion-group { margin-bottom: 3rem; }

.accordion-group-title {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.accordion-group-title:hover { color: var(--secondary); }

.accordion-group-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 49, 143, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.25s, background 0.2s;
  font-family: 'Inter', sans-serif;
}

.accordion-group.group-open .accordion-group-icon {
  transform: rotate(45deg);
  background: var(--secondary);
  color: var(--white);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--on-surface);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.accordion-btn:hover { color: var(--primary); }

.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.25s, background 0.2s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.accordion-body {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.accordion-item.open .accordion-body { display: block; }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.comparison-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  font-weight: 600;
}

.comparison-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  text-align: center;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:nth-child(even) td { background: var(--tertiary); }

.check { color: var(--primary); font-weight: 700; }
.cross { color: #c0c9c7; }

/* ── Service tier cards ── */
.tier-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.tier-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-md);
}

.tier-card.featured:hover {
  box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tier-card h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.55rem;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.tier-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.tier-desc {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.tier-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.tier-features li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  display: flex;
  gap: 0.6rem;
  color: var(--on-surface);
  border-bottom: 1px solid var(--border);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Resource cards ── */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.resource-card-top {
  background: var(--primary);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.resource-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card-body h3 {
  font-family: 'Caveat', cursive;
  color: var(--on-surface);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.resource-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* ── Contact form ── */
.contact-form .form-group { margin-bottom: 1.5rem; }

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--on-surface);
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--on-surface);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-detail-text span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ── Philosophy block ── */
.philosophy-block {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 1.75rem 2.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--on-surface);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 2fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 650px) {
  .navbar-brand img { height: 38px; width: 38px; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }

  .hero { padding: 6rem 1.5rem 5rem; }
  .hero h1 { font-size: 2.2rem; }

  .section-title { font-size: 1.9rem; }

  .section { padding: 4rem 1.25rem; }

  .navbar-links { display: none; }
  .hamburger { display: flex; }

  .comparison-table { font-size: 0.83rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.65rem 0.75rem; }
}
