/* ─────────────────────────────────────────────────────────────
   LeDu Consulting — styles.css
   Colors extracted from logo:
     Blue  #39AAEE  |  Amber  #FBBC45  |  Dark  #2B2D2F
───────────────────────────────────────────────────────────── */

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

/* ── Custom properties ─────────────────────────────────────── */
:root {
  --blue:        #39AAEE;
  --blue-dark:   #1f8ed4;
  --blue-soft:   rgba(57, 170, 238, 0.12);
  --amber:       #FBBC45;
  --dark:        #2B2D2F;
  --gray-text:   #6b7280;
  --gray-border: #e5e7eb;
  --gray-bg:     #f7f8fa;
  --white:       #ffffff;

  --font:        'Inter', system-ui, sans-serif;
  --max-w:       1100px;
  --nav-h:       72px;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Shared helpers ─────────────────────────────────────────── */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-text);
  margin-top: 0.625rem;
  line-height: 1.7;
}

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

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.875rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.15s var(--ease),
              box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(57, 170, 238, 0.35);
}
.btn--primary:active { transform: translateY(0); }

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

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.nav--scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  height: 150px;
  width: auto;
  display: block;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 5rem;
}

.hero__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero__text {
  flex: 1 1 0;
  min-width: 0;
}

.hero__text .eyebrow { margin-bottom: 1.5rem; }

.hero__headline {
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

/* ── Hero decorative grid ────────────────────────────────────── */
.hero__deco {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  opacity: 0.18;
  transform: rotate(6deg);
}

.deco__sq {
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 14px;
}

.deco__sq--blue  { background: var(--blue); }
.deco__sq--amber { background: var(--amber); }

/* ── Contact ────────────────────────────────────────────────── */
.contact {
  background: var(--gray-bg);
  padding: 7rem 2rem;
}

.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact__header {
  margin-bottom: 3rem;
}

/* ── Form ───────────────────────────────────────────────────── */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
}

.form__input,
.form__textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder { color: #b0b7c3; }

.form__input:focus,
.form__textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
  margin-bottom: 1.5rem;
}

.contact__form .btn { width: 100%; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 2rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__email {
  font-size: 0.875rem;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__email:hover { opacity: 0.8; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 800px) {
  .hero__deco { display: none; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .nav__inner { padding: 0 1.25rem; }

  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .contact { padding: 5rem 1.25rem; }

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

  .footer__inner { flex-direction: column; text-align: center; }
}
