:root {
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --navy: #1B3764;
  --navy-light: #234578;
  --amber: #FFAC19;
  --charcoal: #2C3243;
  --text: #3A3F4B;
  --text-quiet: #6B7280;
  --text-on-navy: #E8E4DD;
  --text-heading-on-navy: #F5F3EF;
  --border: rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-img { height: 28px; width: auto; }
nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}
nav a:hover { color: var(--navy); }
nav a.nav-active { color: var(--navy); }
.nav-contact {
  color: var(--navy) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}
.nav-lang {
  font-size: 0.78rem;
  color: var(--text-quiet) !important;
  border-left: 1px solid var(--border);
  padding-left: 1.8rem;
}
.nav-lang:hover { color: var(--navy) !important; }

/* Nav right group: lang toggle + hamburger, always visible */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== HERO ===== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 6vw 4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.8rem;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-text p {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 540px;
  line-height: 1.8;
}
.hero-meta {
  font-size: 0.82rem;
  color: var(--text-quiet);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
}
.cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.cta:hover { background: var(--navy-light); transform: translateY(-1px); }
.hero-belief {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-quiet);
  margin-top: 2rem;
  max-width: 400px;
}
.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 8px 30px rgba(27,55,100,0.12);
}

/* ===== SHARED SECTION STYLES ===== */
.section-light { background: var(--cream); padding: 5rem 6vw; }
.section-navy { background: var(--navy); padding: 5rem 6vw; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.sh {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.sh-navy { color: var(--text-heading-on-navy); }
.sh-rule {
  width: 40px;
  height: 3px;
  background: var(--amber);
  border: none;
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

/* ===== PROBLEMS ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
.problem-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.problem-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.problem-card p:last-child { margin-bottom: 0; }

/* ===== SERVICES (navy) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-item h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--text-heading-on-navy);
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.service-item h3 {
  margin-top: 0.5rem;
}
.service-item p {
  font-size: 0.95rem;
  color: var(--text-on-navy);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.service-item p:last-child { margin-bottom: 0; }
.service-cta {
  margin-top: 2.5rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-on-navy);
  opacity: 0.85;
}

/* ===== RESULTS ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.results-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
.results-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}
.results-card ul { list-style: none; padding: 0; }
.results-card li {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}
.results-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.results-card li:last-child { margin-bottom: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
  flex: 1;
  margin-bottom: 1rem;
}
.testimonial-card cite {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-quiet);
  font-weight: 500;
}
.testimonials-footer {
  text-align: center;
  margin-top: 2rem;
}
.testimonials-footer a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}
.testimonials-footer a:hover { color: var(--navy-light); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}
.about-text p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.about-photo {
  align-self: stretch;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(27,55,100,0.1);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--navy);
  padding: 5rem 6vw;
  border-top: 3px solid var(--amber);
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  color: var(--text-heading-on-navy);
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.contact > .contact-inner > p {
  color: var(--text-on-navy);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--text-heading-on-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(232,228,221,0.4);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.cta-light {
  display: inline-block;
  background: var(--amber);
  color: var(--charcoal);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  align-self: flex-start;
}
.cta-light:hover { background: #FFB833; transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 2rem 6vw;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer span, footer a {
  color: rgba(232,228,221,0.4);
  font-size: 0.78rem;
  text-decoration: none;
}
footer a:hover { color: rgba(232,228,221,0.7); }
.footer-links { display: flex; gap: 1.2rem; align-items: center; }
.footer-links .footer-email {
  color: rgba(232,228,221,0.6);
}

/* LinkedIn icon — sits next to Contact, before the lang toggle */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}
.linkedin-link svg {
  width: 16px;
  height: 16px;
  fill: #0A66C2;
  transition: opacity 0.2s;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.linkedin-link:hover svg { opacity: 0.7; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.78rem;
  line-height: 1;
}
.lang-toggle a {
  color: var(--text-quiet) !important;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
}
.lang-toggle a.active {
  background: var(--navy);
  color: var(--white) !important;
}
.lang-toggle a:not(.active):hover {
  color: var(--navy) !important;
}
.lang-toggle span {
  color: var(--border);
  font-size: 0.7rem;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}
.hamburger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-open ul { display: flex !important; }

/* ===== DIVIDERS ===== */
hr.thin {
  border: none;
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 6vw 5rem;
}
.legal-content h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.legal-content .updated {
  font-size: 0.85rem;
  color: var(--text-quiet);
  margin-bottom: 2.5rem;
}
.legal-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}
.legal-content p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet / fold screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 3rem 6vw 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-text p { max-width: 100%; }
  .hero-belief { margin-left: auto; margin-right: auto; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 200px; height: 200px; }
  .problem-grid, .service-grid, .results-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* About: photo as circular headshot on mobile, centered above text */
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo {
    align-self: auto;
    max-width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
  }
  .about-photo img {
    height: 100%;
    object-fit: cover;
    object-position: 70% top;
    border-radius: 50%;
  }
  .about-text { text-align: left; }

  /* Footer: stack vertically */
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* Fold / narrow tablet: collapse nav to hamburger */
@media (max-width: 768px) {
  .hamburger { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 6vw;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  nav ul li { width: 100%; }
  nav ul a { display: block; padding: 0.5rem 0; }
}

/* Phone */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-photo img { width: 160px; height: 160px; }
  .section-light, .section-navy, .contact { padding: 3rem 5vw; }
  .sh { font-size: 1.5rem; }
  .about-photo { max-width: 160px; height: 160px; }
}
