/* ==========================================================================
   Florian Amstutz Consulting — Static Site Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'GothamNarrow';
  src: url('fonts/GothamNarrow-Light.woff') format('woff'),
       url('fonts/GothamNarrow-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamNarrow';
  src: url('fonts/GothamNarrow-Medium.woff') format('woff'),
       url('fonts/GothamNarrow-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Thin.woff') format('woff'),
       url('fonts/Gotham-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'GothamNarrow', sans-serif;
  font-weight: 300;
  color: #293047;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }

/* Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  padding: 21px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 107px;
  width: auto;
}

.header-nav {
  position: absolute;
  right: 40px;
  top: 12px;
  display: flex;
  gap: 20px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #293047;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-nav a:hover,
.header-nav a.active { opacity: 0.5; }

/* Section nav dots (right side)
   ========================================================================== */
.section-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-nav a {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(41,48,71,0.25);
  transition: background 0.2s;
}

.section-nav a.active,
.section-nav a:hover {
  background: #293047;
}

/* Main layout
   ========================================================================== */
main { padding-top: 149px; }

/* Sections
   ========================================================================== */
.section {
  padding: 100px 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.section--light { background: #f4f9fb; }
.section--white { background: #fff; }

.section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  font-family: 'Gotham', sans-serif;
  font-weight: 100;
  font-size: 54px;
  line-height: 1.25;
  letter-spacing: normal;
}

.section--white .section-label { color: #2a2968; }
.section--light .section-label { color: #1a1f2d; }

.section-content { }

.section-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: #1b154e;
  letter-spacing: 0.04em;
  margin-top: 58px;
  margin-bottom: 20px;
}

.section-content p {
  font-size: 18px;
  font-weight: 300;
  color: #293047;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-content p:last-of-type { margin-bottom: 0; }

.section-content a {
  color: #3c2d82;
  text-decoration: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgba(60, 45, 130, 0.3);
}

/* Intro Section
   ========================================================================== */
.section--intro {
  min-height: calc(100vh - 149px);
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  position: relative;
}

.intro-tagline {
  max-width: 900px;
  font-size: 54px;
  font-family: 'Gotham', sans-serif;
  font-weight: 100;
  color: #2a2968;
  line-height: 1.25;
  letter-spacing: normal;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aab0c0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: #aab0c0;
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; }
}

/* Full-width image section
   ========================================================================== */
.section--image {
  padding: 0;
  min-height: 50vh;
  max-height: 600px;
  overflow: hidden;
  display: block;
}

.section--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  max-height: 600px;
}

/* Services bullet list
   ========================================================================== */
.services-list {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.services-list li {
  font-size: 24px;
  font-weight: 500;
  color: #1b154e;
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.services-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1b154e;
}

/* CTA Button
   ========================================================================== */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 18px 45px;
  background: #2a2968;
  color: #fff !important;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover { background: #3d3c9e; opacity: 1; }

/* Expertise Grid (Our People)
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 28px;
}

.expertise-category h3 {
  font-weight: 500;
  color: #1b154e;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.expertise-category p {
  font-weight: 300;
  color: #293047;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Client Logos
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin-top: 28px;
  align-items: center;
}

.clients-grid img {
  width: 100%;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.2s;
}

.clients-grid img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Approach diagram
   ========================================================================== */
.approach-diagram {
  margin-bottom: 28px;
}

.approach-diagram img {
  width: 100%;
}

/* Contact Form
   ========================================================================== */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.form-legend {
  font-size: 18px;
  font-weight: 400;
  color: #293047;
  margin-bottom: 6px;
  padding: 0;
  letter-spacing: normal;
}

.contact-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.contact-form .form-row,
.contact-form .form-field {
  width: 100%;
  align-self: stretch;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-field label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #293047;
}

.form-field label .required {
  font-size: 10px;
  color: #8a8fa8;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.form-field input,
.form-field textarea {
  background: #f7f8fa;
  border: none;
  border-bottom: 1px solid #d0d3de;
  padding: 10px 12px;
  font-family: 'GothamNarrow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #293047;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #1b154e;
  background: #f0f1f6;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 16px;
  background: #f4f9fb;
  color: #293047;
  font-size: 14px;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: #2a2968;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 40px;
}

.footer-business {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-business-name {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}

.footer-address {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}

.footer-social a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: rgba(255,255,255,0.9);
  opacity: 1;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .section { padding: 70px 40px; }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-label { font-size: 36px; }

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

  .section-nav { display: none; }
}

@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  .header-nav { right: 20px; gap: 14px; }
  .header-logo img { height: 42px; }

  .section { padding: 60px 24px; }

  .intro-tagline { font-size: 32px; }

  .form-row { grid-template-columns: 1fr; }

  .expertise-grid { grid-template-columns: 1fr; gap: 20px; }

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

  .footer-business { flex-direction: column; gap: 4px; }
}
