/* Sobeos Advisory static website

Asset handling:
- Logo: /assets/sobeos-logo.png
- Hero image: /assets/hero.jpg

To change either later, replace the file in /assets with the same filename.
No HTML/CSS edit is required.
*/

:root {
  --navy: #061d41;
  --navy-2: #082b5d;
  --text: #17233c;
  --muted: #5b6578;
  --line: #d9dde5;
  --soft: #f6f7f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 29, 65, 0.10);
  --radius: 7px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-logo {
  width: clamp(190px, 23vw, 285px);
  height: auto;
  display: block;
}

.brand-subline {
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  margin-left: clamp(92px, 11vw, 135px);
  margin-top: -8px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 25px;
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
}

.main-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--navy);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 32px;
}

.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
  min-height: 440px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 750;
}

.hero p {
  margin: 22px 0 28px;
  max-width: 520px;
  color: #4c566b;
  font-size: clamp(17px, 1.6vw, 20px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(6, 29, 65, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--navy-2);
  box-shadow: 0 18px 36px rgba(6, 29, 65, 0.28);
}

.hero-image {
  margin: 0;
  min-height: 300px;
  height: clamp(300px, 31vw, 390px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(6,29,65,0.14));
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2,
.why h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar {
  text-align: center;
  padding: 8px clamp(24px, 4vw, 56px) 0;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 35% 25%, #173a72, var(--navy));
  box-shadow: 0 12px 24px rgba(6, 29, 65, 0.20);
}

.pillar-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.pillar p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 340px;
  font-size: 16px;
}

.why {
  margin-top: 34px;
  padding: 42px 32px 34px;
  text-align: center;
  background: var(--soft);
}

.why p {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer nav span {
  display: block;
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.5);
}

.site-footer a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}

.legal-page h2 {
  color: var(--navy);
  margin-top: 32px;
}

.legal-page a {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    height: 280px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 36px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .main-nav {
    padding-top: 8px;
    gap: 22px;
  }

  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .brand-logo {
    width: 220px;
  }

  .brand-subline {
    margin-left: 105px;
  }

  .hero-image {
    height: 230px;
  }
}
