/* Basic reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  line-height: 1.5;
  background-color: #ffffff;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* HEADER */
.site-header {
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffffcc;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
  font-size: 0.95rem;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.2;
}

.brand-with-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-with-logo:hover,
.brand-with-logo:focus {
  text-decoration: none;
  color: inherit;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-toggle {
  background: none;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: none;
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #1e293b;
  padding: 0.5rem 0.25rem;
  font-weight: 500;
}

.main-nav a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* HERO */
.hero {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-text h1 {
  font-size: clamp(1.4rem, 1vw + 1rem, 2rem);
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: #475569;
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #0f172a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.2;
}

.cta-button:hover {
  background-color: #1e293b;
}

.hero-image img {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  border: 1px solid #cbd5e1;
  background-color: #fff;
}

/* SECTIONS */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #fff;
}

.section.alt {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-inner > h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

/* SERVICES cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background-color: #fff;
  padding: 1.25rem 1rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.75rem;
}

.list {
  font-size: 0.85rem;
  color: #1e293b;
  padding-left: 1.25rem;
  line-height: 1.5;
}
.list li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

/* WHY US */
.why-grid {
  display: grid;
  gap: 1.5rem;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.9rem;
  color: #475569;
}

/* CLIENTS */
.clients-flex {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.client-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.client-block p {
  font-size: 0.9rem;
  color: #475569;
  max-width: 60ch;
}

.clients-image img {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  border: 1px solid #cbd5e1;
  background-color: #fff;
}

/* CONTACT */
.contact-wrapper {
  display: grid;
  gap: 2rem;
}

.contact-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.contact-text p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1rem;
}

.contact-callout {
  font-weight: 500;
  color: #0f172a;
  background-color: #fff;
  border-left: 4px solid #0f172a;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-list {
  font-size: 0.9rem;
  color: #1e293b;
  line-height: 1.5;
}
.contact-list li + li {
  margin-top: 0.5rem;
}
.contact-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background-color: #fff;
  padding: 1.25rem 1rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.08);
  font-size: 0.9rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #0f172a;
  background-color: #fff;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #0f172a;
  outline-offset: 0;
}

.contact-form button {
  width: 100%;
  cursor: not-allowed;
  border: 0;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  background-color: #94a3b8;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #e2e8f0;
  background-color: #fff;
  font-size: 0.8rem;
  color: #475569;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.footer-brand .brand-name.small {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.footer-brand .brand-tagline.small {
  font-size: 0.7rem;
  color: #475569;
}

/* RESPONSIVE 768px+ */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-flex {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex !important;
  }
}

/* RESPONSIVE 1024px+ */
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* MOBILE NAV STATES */
@media (max-width: 767px) {
  .header-inner {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    margin-top: 0.75rem;
    display: none;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem;
  }

  .main-nav a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
}

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

.portfolio-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background-color: #fff;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.portfolio-logo img {
  max-width: 180px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  background-color: transparent;
  display: block;
}

.portfolio-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.portfolio-body p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  max-width: 60ch;
}

.portfolio-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #0f172a;
}

/* responsive tweak */
@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .portfolio-logo img {
    max-width: 160px;
    max-height: 50px;
  }
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  border-left: 4px solid #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background-color: #fff;
  padding: 1rem 1rem 1rem 1rem;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.06);
}

.testimonial-card .quote {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #0f172a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.testimonial-card .attrib {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #475569;
  font-weight: 400;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== ABOUT PAGE ===== */

.about-hero {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem 0 2.5rem;
}

.about-hero-inner {
  display: grid;
  gap: 2rem;
}

.about-hero-text h1 {
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-lead {
  font-size: 1rem;
  line-height: 1.5;
  color: #475569;
  max-width: 60ch;
}

.about-hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.15);
  background-color: #fff;
}

@media (min-width: 768px) {
  .about-hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .about-hero-text h1 {
    font-size: 1.75rem;
  }
  .about-lead {
    font-size: 1.05rem;
  }
}

/* Shared section spacing */
.about-section {
  padding: 2rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.about-section.alt {
  background-color: #f8fafc;
}

.about-section-inner h2 {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-section-inner p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 70ch;
  margin-bottom: 1rem;
}

/* two-column layout for Leadership section */
.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

.about-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.about-list li {
  margin-bottom: 0.5rem;
}

/* testimonial callout card on About page */
.about-callout-card {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.08);
}

.about-quote {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-quote-attrib {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #475569;
  margin-bottom: 1rem;
}

/* How we work pill grid */
.about-pill-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .about-pill-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (min-width: 1024px) {
  .about-pill-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

.about-pill {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.07);
}

.about-pill h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-pill p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* CTA section */
.about-cta {
  background-color: #0f172a;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.about-cta-inner h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #fff;
}

.about-cta-inner p {
  max-width: 60ch;
  margin: 0 auto 1.5rem auto;
  font-size: 1rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.about-cta-inner .cta-button {
  background-color: #fff;
  color: #0f172a;
  border: 1px solid #fff;
}

.about-cta-inner .cta-button:hover {
  background-color: #e2e8f0;
  border-color: #e2e8f0;
  color: #0f172a;
}

/* active nav link styling */
.active-nav {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
