/* ---------------------------------------------------------
   SISU Data — Global Stylesheet
   Palette: Deep Navy, Nordic Blue, Ice Gray, Charcoal, White
--------------------------------------------------------- */

:root {
  --navy: #0A1A2F;
  --blue: #2F6FA3;
  --ice: #F5F7FA;
  --charcoal: #333333;
  --white: #FFFFFF;

  --radius: 12px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--ice);
  color: var(--charcoal);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

/* ---------------------------------------------------------
   Header + Logo
--------------------------------------------------------- */

header {
  background-color: var(--navy);
  color: var(--white);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--white);
}

nav a:hover {
  text-decoration: underline;
}

/* Stacked Logo */
.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1; /* keeps SISU and DATA tight */
}

.logo-sisu {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo-data {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
}

/* FIXED † alignment */
.cross {
  font-weight: 700;
  color: var(--blue);
  font-size: 1.15em;      /* slightly larger */
  position: relative;
  top: 0.08em;            /* nudges † downward so it aligns with both A's */
}

/* ---------------------------------------------------------
   Main Layout
--------------------------------------------------------- */

.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.section {
  margin-bottom: 2.8rem;
}

.section h2,
.section h3,
.section h4 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.section p {
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------
   Hero Section
--------------------------------------------------------- */

.hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--ice));
  opacity: 0.15;
  transform: rotate(12deg);
}

.hero-logo {
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1; /* FIX: tighten SISU / DATA in hero */
}

.hero-sisu {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
}

.hero-data {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
}

/* ---------------------------------------------------------
   Cards + Grids
--------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card,
.academy-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

/* FIX: tighten SISU / DATA inside cards */
.card .logo-stack,
.academy-card .logo-stack {
  line-height: 1;
}

.card h3,
.academy-card h4 {
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.card ul,
.academy-card ul {
  list-style: none;
  margin-top: 0.5rem;
}

.card ul li,
.academy-card ul li {
  margin-bottom: 0.35rem;
}

/* ---------------------------------------------------------
   Services Page Enhancements
--------------------------------------------------------- */

.service-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
}

.service-intro {
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-section {
  margin-bottom: 1.2rem;
}

.service-section h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--blue);
}

.service-section ul {
  margin-left: 1rem;
  line-height: 1.4;
}

/* ---------------------------------------------------------
   Founder Section
--------------------------------------------------------- */

.founder-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.founder-photo img {
  width: 240px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid var(--ice);
}

.founder-text {
  flex: 1 1 600px;
  max-width: 700px;
  line-height: 1.7;
}

.founder-text p {
  margin-bottom: 1rem;
}

.personal-note {
  background-color: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.7;
}

.linkedin-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.linkedin-btn img {
  width: 28px;
  height: 28px;
}

.linkedin-text {
  font-weight: 500;
  color: var(--blue);
}

/* ---------------------------------------------------------
   Contact Form
--------------------------------------------------------- */

form {
  background-color: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

form .field {
  margin-bottom: 1rem;
}

form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccd3dd;
  font-size: 0.95rem;
}

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

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 1.5rem 2rem;
  font-size: 0.85rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
  flex: 1;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero {
    padding: 2.2rem 1.5rem;
  }

  .founder-section {
    flex-direction: column;
  }

  .audience-list {
    columns: 1;
  }
}
