/* ============================================
   WallNav — Stealth Landing v2
   Google clarity + Claude warmth + FOCOLTONE palette
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600&family=DM+Serif+Display&display=swap');

:root {
  /* FOCOLTONE brand */
  --wn-w: #6f8e9b;
  --wn-a1: #a49d9a;
  --wn-l1: #f39a7e;
  --wn-l2: #f8bba5;
  --wn-n: #a6bcaa;
  --wn-a2: #86a3bd;
  --wn-v: #d4a48e;

  /* Surfaces — warm light (Claude-inspired) */
  --bg: #FAF8F5;
  --bg-hero: #F5F2EE;
  --bg-card: #FFFFFF;
  --bg-footer: #a6bcaa;

  /* Text */
  --text-dark: #1A1A1A;
  --text-body: #3D3D3D;
  --text-secondary: #6B6B6B;
  --text-muted: #9A9A9A;
  --text-light: #BCBCBC;
  --text-on-dark: #F0EEEB;

  /* Borders */
  --border: #E5E2DD;
  --border-hover: #CCC9C3;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;

  --max-width: 1080px;
  --radius: 12px;
  --radius-sm: 8px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--wn-w); text-decoration: none; transition: color 0.2s; }
a:hover { color: #567078; }
main { flex: 1; }

/* ===== FOCOLTONE SIGNATURE BAR ===== */
.brand-bar {
  display: flex;
  height: 4px;
  width: 100%;
}
.brand-bar span { flex: 1; }
.brand-bar .b1 { background: var(--wn-w); }
.brand-bar .b2 { background: var(--wn-a1); }
.brand-bar .b3 { background: var(--wn-l1); }
.brand-bar .b4 { background: var(--wn-l2); }
.brand-bar .b5 { background: var(--wn-n); }
.brand-bar .b6 { background: var(--wn-a2); }
.brand-bar .b7 { background: var(--wn-v); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 2rem;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: 20px; width: auto; }
/* Invert logo for light background - the logo is white/color on black */
.logo-img-light {
  height: 32px;
  width: auto;
  filter: none;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text-dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff !important;
  background: linear-gradient(135deg, var(--wn-w), var(--wn-a2), var(--wn-l1));
  background-size: 200% 200%;
  padding: 0.5em 1.3em;
  border-radius: 100px;
  transition: background-position 0.4s, transform 0.1s, box-shadow 0.2s;
}
.nav-cta:hover {
  background-position: 100% 100%;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(111,142,155,0.3);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-hero);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle warm gradient backdrop */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(243, 154, 126, 0.08) 0%,
    rgba(166, 188, 170, 0.06) 35%,
    rgba(134, 163, 189, 0.04) 60%,
    transparent 80%
  );
  pointer-events: none;
}

.hero__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.hero__logo {
  height: 110px;
  width: auto;
  margin: 0 auto 2.5rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero__sector {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4em 1em;
}
.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.badge__dot--green { background: var(--wn-n); }
.badge__dot--coral { background: var(--wn-l1); }
.badge__dot--blue  { background: var(--wn-a2); }

/* ===== COLOR STRIP (decorative separator) ===== */
.color-strip {
  display: flex;
  height: 3px;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 3px;
  overflow: hidden;
}
.color-strip span { flex: 1; }

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 4rem 2rem;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.about-section .color-strip {
  margin-bottom: 2.5rem;
}

.about-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-body);
  letter-spacing: -0.005em;
}

.about-signature {
  margin-top: 2rem;
  text-align: left;
}

.about-signature__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-body);
}

.about-signature__role {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 5rem 2rem 6rem;
  max-width: 560px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--wn-w), var(--wn-a2), var(--wn-l1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.contact-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.03);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}
.form-row > .form-group { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65em 0.85em;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--wn-w);
  box-shadow: 0 0 0 3px rgba(111,142,155,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }

.btn-submit {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--wn-w), var(--wn-a2), var(--wn-l1));
  background-size: 200% 200%;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75em 2em;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.1s, box-shadow 0.2s;
  margin-top: 0.3rem;
}
.btn-submit:hover {
  background-position: 100% 100%;
  box-shadow: 0 2px 10px rgba(111,142,155,0.3);
  transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.visible { display: block; }
.form-success p { color: var(--text-dark); font-size: 1rem; font-weight: 500; }
.form-success .sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.4rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  padding: 2.5rem 2rem;
  margin-top: auto;
}

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

.footer-logo { height: 22px; width: auto; opacity: 0.7; }

.footer-copy { font-size: 0.75rem; color: #4a5d4e; }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.75rem; color: #4a5d4e; }
.footer-links a:hover { color: #2a3a2e; }

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 3rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.legal-page .last-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-page p,
.legal-page li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.legal-page ul { padding-left: 1.3em; margin-bottom: 0.6rem; }
.legal-page a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav { padding: 0.7rem 1.2rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .logo-img, .logo-img-light { height: 24px; }

  .hero { padding: 4rem 1.2rem 3.5rem; }
  .hero__logo { height: 72px; margin-bottom: 2rem; }
  .hero__tagline { font-size: 1.5rem; }
  .hero__sector { font-size: 0.95rem; }

  .form-row { flex-direction: column; gap: 1.1rem; }
  .form-card { padding: 1.5rem; }
  .contact-section { padding: 3rem 1.2rem 4rem; }

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