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

:root {
  --blue: #224B8D;
  --blue-dark: #1a3a6e;
  --blue-light: #2d5fa8;
  --dark: #1A1A1A;
  --gray-dark: #2E2E2E;
  --gray: #666;
  --gray-light: #eeeeee;
  --gray-lighter: #f7f7f8;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 40px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* ===== Container ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue);
}

.logo span { font-weight: 400; color: var(--gray); }
.logo:hover { color: var(--blue-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

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

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

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

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-full { width: 100%; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--gray-lighter) 0%, var(--white) 50%, var(--gray-lighter) 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 800px;
  margin: 0 auto 24px;
  color: var(--dark);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

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

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-lighter);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-dark {
  background: var(--blue);
  color: var(--white);
}

.cta-dark p {
  color: rgba(255,255,255,0.8);
}

/* ===== Testimonials ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.testimonial p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testimonial footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial footer strong {
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial footer span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== About ===== */
#about h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--blue);
}

#about p {
  color: var(--gray-dark);
  margin-bottom: 12px;
}

/* ===== Contact ===== */
#contact address {
  font-style: normal;
  margin-top: 24px;
  color: var(--gray);
  line-height: 1.8;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

#contact > .container > div:first-child p {
  color: var(--gray-dark);
  font-size: 1.05rem;
}

/* ===== Form ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.req { color: var(--blue); }

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 500;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s;
}

.form-success.show {
  opacity: 1;
  max-height: 40px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section {
    padding: 64px 0;
  }

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