:root {
  --navy: #0c213f;
  --navy-light: #122a4a;
  --lime: #a9d53a;
  --lime-dark: #6d961d;
  --text-light: #ffffff;
  --text-muted: #cfd5e4;
  --bg-light: #f4f8e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    to right,
    #1d4b3a,
    #2e7c47,
    #5aa93c,
    #91c93b
  );
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

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

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo-block img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: #ffffff;
  color: #234163;
}

.nav-link.active {
  background: #ffffff;
  color: #234163;
}

/* GENERIC SECTION STYLES */

main {
  min-height: 70vh;
}

section {
  padding: 60px 0;
}

section:nth-of-type(odd) {
  background-color: var(--navy);
}

section:nth-of-type(even) {
  background-color: var(--navy-light);
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title span.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 26px;
}

.pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #234163;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--lime);
  color: #234163;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border: 2px solid var(--lime);
}

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

.card {
  background: #ffffff;
  color: #222;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card img {
  border-radius: 14px;
  margin-bottom: 14px;
}

.card-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.card .btn {
  font-size: 11px;
  padding: 8px 16px;
}

/* HOME SECTION */

#home .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

#home .gallery img {
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  background:#222;
}

#home .hero-copy {
  text-align: center;
  margin-bottom: 40px;
}

#home .hero-copy h1 {
  font-size: 28px;
  color: var(--lime);
  margin-bottom: 10px;
}

#home .hero-copy p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15px;
}

#home .plans {
  margin-bottom: 40px;
}

#home .plans .card {
  text-align: center;
  background: #ffffff;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4f8e9 60%,
    #d9e9a8 100%
  );
}

#home .plans .price {
  font-size: 20px;
  font-weight: 900;
  color: var(--lime-dark);
  margin-bottom: 4px;
}

#home .plans .note {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}

#home .testimonials {
  padding: 40px 0 10px;
  background: #ffffff;
  color: #222;
  border-radius: 40px 40px 0 0;
  margin-top: 30px;
}

#home .testimonial-cards .card {
  background: var(--bg-light);
  box-shadow: none;
  text-align: left;
}

#home .testimonial-name {
  font-weight: 700;
  margin-bottom: 4px;
}

#home .stars {
  margin-top: 8px;
  color: #f3b000;
  font-size: 14px;
}

#home .open-competitions {
  margin-top: 30px;
  text-align: center;
}

/* ABOUT SECTION */

#about .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 30px;
  align-items: center;
}

#about .about-layout img {
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background:#222;
}

#about .about-text h2 {
  color: var(--lime);
  margin-bottom: 16px;
}

#about .about-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#about .about-text p.highlight {
  color: #f7f7f7;
  font-weight: 600;
}

/* FUNERAL PLANS */

#funeral-plans .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

#funeral-plans .plan-header {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #fff;
}

#funeral-plans .plan-name {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--lime);
}

#funeral-plans .plan-price {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

#funeral-plans ul {
  padding-left: 18px;
  margin: 6px 0 8px;
  font-size: 13px;
  color: #e6ecff;
}

#funeral-plans .premium-packages .card {
  background: #203459;
  color: #f9f9f9;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ION BASE */

#ion-base-integration .section-title h2 {
  font-size: 32px;
  letter-spacing: 0.25em;
}

/* CONTACT */

#contact .contact-box {
  background: rgba(3, 6, 20, 0.6);
  border-radius: 30px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

#contact .contact-details h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

#contact .contact-details p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--text-muted);
}

#contact .help-24 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 900;
  color: var(--lime);
}

#contact .help-number {
  font-size: 22px;
  font-weight: 900;
}

/* FAQ */

#faq .faq-group-title {
  font-size: 16px;
  color: var(--lime);
  margin-top: 22px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#faq dl {
  margin: 0;
}

#faq dt {
  font-weight: 700;
  margin-top: 10px;
  font-size: 14px;
}

#faq dd {
  margin: 4px 0 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* PRIVACY */

#privacy .policy-inner {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
  background: rgba(5, 13, 32, 0.85);
  border-radius: 20px;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

#privacy h3 {
  font-size: 16px;
  color: var(--lime);
  margin-top: 16px;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* MEDIA */

#media .cards .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#media .card-title {
  color: #203459;
}

#media .card-footer-link {
  font-weight: 800;
  color: var(--lime-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* COMPETITIONS */

#competitions .promo-image {
  margin-bottom: 26px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  background:#000;
}

#competitions .how-to-enter {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
}

#competitions .how-to-enter h3 {
  color: var(--lime);
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0.04em;
}

#competitions ol {
  padding-left: 20px;
  margin-top: 4px;
}

/* FOOTER */

footer {
  background: #050a1a;
  padding: 24px 16px 18px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 6px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-social {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
}

.footer-social span.icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-brand-logos {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-disclaimer {
  margin-top: 10px;
  font-size: 10px;
  color: #8f98af;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  #about .about-layout,
  #contact .contact-box {
    grid-template-columns: 1fr;
  }
}
