:root {
  --midnight: #0f1f3d;
  --navy: #14284c;
  --teal: #2bb0c7;
  --sand: #f7f3ec;
  --gold: #f5a623;
  --text: #2b2f3a;
  --muted: #6b7280;
  --border: #d9dde8;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 31, 61, 0.08);
}

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

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

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 92vw);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--midnight);
}

.logo span {
  color: var(--teal);
}

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

.site-nav a {
  color: var(--midnight);
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--teal);
}

.btn-primary,
.btn-outline,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--midnight);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  border: 1px solid rgba(20, 40, 76, 0.2);
  color: var(--midnight);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-link {
  padding: 0;
  color: var(--midnight);
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(20, 40, 76, 0.95), rgba(15, 31, 61, 0.85)), url('https://images.unsplash.com/photo-1508385082359-f38ae991e8f2?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__content span {
  color: var(--gold);
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero__stats {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.hero__stats strong {
  font-size: 2rem;
  display: block;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.hero__image {
  height: 100%;
  border-radius: 26px;
  background: url('https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
}

.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 31, 61, 0.86);
  padding: 1rem 1.4rem;
  border-radius: 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__badge span {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}

section {
  padding: 4rem 0;
}

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

.trust__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.trust__items article {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.purpose {
  background: var(--white);
}

.purpose__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--midnight);
}

.social-list a::after {
  content: '↗';
  font-size: 0.8rem;
  color: var(--teal);
}

.services {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.services__grid article {
  padding: 1.8rem;
  background: var(--sand);
  border-radius: 18px;
  border: 1px solid rgba(15, 31, 61, 0.06);
}

.tag {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.featured {
  background: linear-gradient(135deg, #101d37, #14284c);
  color: var(--white);
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.featured__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-preview__grid article {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cta {
  background: var(--midnight);
  color: var(--white);
  text-align: center;
}

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  background: #0a152b;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.footer__copy {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.inner-page .page-hero {
  padding-top: 6rem;
  text-align: center;
}

.about-detail__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.about-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline {
  list-style: none;
  padding: 0;
}

.timeline li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.credentials__grid article {
  background: var(--white);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 31, 61, 0.08);
}

.service-list .service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.process {
  background: var(--sand);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.process__grid article {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.process__grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(43, 176, 199, 0.15);
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.blog-list article {
  background: var(--white);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.blog-list__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.post {
  padding-top: 6rem;
}

.post__meta {
  color: var(--muted);
}

.post__cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--sand);
  border-radius: 16px;
  border: 1px solid rgba(20, 40, 76, 0.08);
  text-align: center;
}

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

.contact__info {
  list-style: none;
  padding: 0;
}

.contact__info li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--sand);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(43, 176, 199, 0.4);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--midnight);
  display: block;
}

@media (max-width: 900px) {
  .about-detail__grid,
  .service-list .service-card {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    flex-direction: column;
    padding: 4rem 2rem;
    background: rgba(247, 243, 236, 0.98);
    width: 70%;
    transition: right 250ms ease;
  }

  .site-nav.is-open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__grid {
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

