@charset "UTF-8";
/* Tekoalypaja site styles */
/* ─── Base & reset ─────────────────────────── */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2d3d;
  background: white;
  line-height: 1.65;
  background-image: url("../images/bodybg.webp");
  background-size: contain;
  background-position: top center;
}
@media (max-width: 768px) {
  body {
    background-size: 200vw;
  }
}

/* ─── Typography ───────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #152c4f;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #06478e;
  text-decoration: none;
}
a:hover {
  color: rgb(4.3459459459, 51.427027027, 102.8540540541);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Layout ───────────────────────────────── */
.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.main-content {
  min-height: 60vh;
}

.section {
  padding: 3rem 0;
}
.section-title {
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #06478e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.section-title::before, .section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(6, 71, 142, 0.18);
}

/* ─── Buttons ─────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: #33cc66;
  color: #ffffff;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #24a852;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ─── Header ──────────────────────────────── */
.header {
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.header-content {
  width: min(1220px, 100% - 3rem);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  padding: 2rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo img {
  width: auto;
  height: 48px;
}

.logo-text {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #06478e;
  text-transform: uppercase;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: #06478e;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-link:hover {
  color: #06478e;
  outline: 1px solid #def7ff;
}
.nav-link.active {
  color: #06478e;
  background-color: #def7ff;
}
.nav-link.active:hover {
  outline: none;
}

.nav-close {
  display: none;
}

.nav-link-cta {
  background: #33cc66;
  color: #ffffff !important;
  padding: 0.4rem 1.1rem;
}
.nav-link-cta:hover {
  background: #24a852 !important;
  color: #ffffff !important;
  transform: none;
}
.nav-link-cta.active {
  background: #24a852 !important;
  color: #ffffff !important;
  transform: none;
}

.menu-toggle {
  border: 0;
  background: transparent;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06478e;
}
.menu-toggle .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ─── Hero ────────────────────────────────── */
.hero-section {
  padding: 4rem 0 5rem;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  color: #152c4f;
}

.hero-title {
  color: #06478e;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.hero-title-accent {
  position: relative;
  inline-size: -moz-fit-content;
  inline-size: fit-content;
}

.hero-title-accent-text {
  color: #33cc66;
  position: relative;
  z-index: 1;
}

.hero-title-underline {
  position: absolute;
  bottom: -0.45rem;
  left: 0%;
  width: 100%;
  height: 16px;
  pointer-events: none;
}

.hero-description {
  color: #363d4a;
  font-size: 1.2rem;
  margin-bottom: 2.2rem;
}

.hero-image {
  position: relative;
  width: 100%;
  min-height: 400px;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Services / Features ─────────────────── */
.services-section {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}
.features-grid .feature-item {
  display: block;
  text-align: center;
  background: #def7ff;
  border-radius: 20px;
  border: 1px solid white;
  padding: 2.2rem 2.1rem 2.4rem;
  margin-top: 2rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.features-grid .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(6, 71, 142, 0.18);
}
.features-grid .feature-icon {
  margin-top: -5rem;
}
.features-grid .feature-icon img {
  width: 110px;
  height: 110px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-inline: auto;
}
.features-grid .feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #06478e;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.features-grid .feature-title-text {
  flex: 1;
  text-align: left;
}
.features-grid .feature-arrow {
  flex-shrink: 0;
  font-family: "Material Symbols Outlined";
  font-size: 1.1rem;
  line-height: 1;
  color: #06478e;
}
.features-grid .feature-text {
  color: #152c4f;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* ─── About ───────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 1rem;
}

.about-col p {
  color: #363d4a;
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ─── CTA ─────────────────────────────────── */
.cta-section {
  padding: 0;
}

.cta-container {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 3rem 3.2rem;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #d8e2f0;
  box-shadow: 0 18px 40px rgba(6, 71, 142, 0.12);
}
@media (max-width: 768px) {
  .cta-container {
    padding: 2rem 2rem;
  }
}

.cta-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #06478e;
  margin-bottom: 1.2rem;
}

.cta-description {
  color: #363d4a;
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

/* ─── Team ────────────────────────────────── */
.team-section {
  padding-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .team-grid {
    gap: 0.7rem;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-radius: 20px;
  padding: 2rem 1.5rem 2.2rem;
  box-shadow: 0 8px 24px rgba(6, 71, 142, 0.08);
}
@media (max-width: 768px) {
  .team-card {
    margin: 0.5rem 2rem;
  }
}

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 6px 20px rgba(4, 55, 109, 0.75);
}
.team-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
  color: #06478e;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.team-name a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
}
.team-name .material-symbols-outlined {
  font-size: 1.1rem;
  line-height: 1.2;
  color: inherit;
}

.team-link-icon {
  font-family: "Material Symbols Outlined";
  font-size: 1rem;
  line-height: 1;
  color: inherit;
}

.team-title {
  display: none;
  font-size: 0.8rem;
  color: #0cbba0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.team-description {
  font-size: 0.88rem;
  color: #363d4a;
  margin: 0;
}

.team-list {
  margin-right: 2rem;
}
.team-list .team-card {
  max-width: 260px;
  margin-bottom: 1rem;
  text-align: center;
}

/* ─── Subpages ────────────────────────────── */
.subpage-container {
  max-width: 860px;
}

.content-section {
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  padding: 2rem;
}
.content-section h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-placeholder {
  margin-top: 1.75rem;
  padding: 1.2rem 1.3rem;
  border-radius: 12px;
  background: #eef4fd;
  border: 1px solid #cfe0f8;
}

.contact-link {
  font-weight: 500;
}

/* Shared subpage title layout (used by all subpages) */
.subpage-header {
  margin-bottom: 2.5rem;
}

.subpage-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.subpage-title-main {
  color: #06478e;
  font-size: clamp(2.1rem, 3vw, 4rem);
  font-weight: 700;
}

.subpage-title-sub {
  color: #33cc66;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  font-weight: 600;
}

/* Two-column subpage layout */
.subpage-two-column {
  max-width: 1120px;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .subpage-grid {
    grid-template-columns: 1fr;
  }
}

.subpage-main p {
  color: #363d4a;
  font-size: 1.1rem;
  line-height: 1.75;
}
.subpage-main .lead {
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 600;
}
.subpage-main h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  color: #06478e;
}
.subpage-main li {
  font-size: 1.1rem;
  color: #363d4a;
}
.subpage-main {
  /* Styled ordered list for "Tyypillisen asiakasprojektin kulku" */
}
.subpage-main .project-steps {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  counter-reset: project-step;
}
.subpage-main .project-steps li {
  position: relative;
  padding-left: 3.4rem;
  margin-bottom: 1rem;
  counter-increment: project-step;
}
.subpage-main .project-steps li::before {
  content: counter(project-step);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #33cc66;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(6, 71, 142, 0.25);
}
.subpage-main blockquote {
  margin: 2rem 0 3rem 0;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #363d4a;
  padding-left: 2rem;
  border-left: 4px solid #def7ff;
}

.subpage-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-self: flex-end;
}

.subpage-sidebar {
  padding: 1.8rem 3rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(6, 71, 142, 0.06);
  text-align: center;
}
.subpage-sidebar h2 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 1.25rem;
  color: #06478e;
}
.subpage-sidebar p {
  color: #363d4a;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}
.subpage-sidebar strong {
  color: #06478e;
}
.subpage-sidebar .list-item-with-image {
  margin-bottom: 0.9rem;
  text-align: center;
}
.subpage-sidebar .list-item-with-image img {
  margin: 0 auto;
  width: 80px;
  height: 80px;
}
.subpage-sidebar .list-item-with-image > div {
  color: #363d4a;
  font-size: 0.98rem;
  line-height: 1.7;
  font-size: 0.9rem;
}
.subpage-sidebar .subpage-sidebar-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
  margin-bottom: 1.2rem;
}
.subpage-sidebar .custom {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.subpage-sidebar .custom li {
  font-style: italic;
  border-top: 1px dashed #d2d9e0;
  padding: 1rem 0;
}

/* ─── Footer ──────────────────────────────── */
.footer {
  margin-top: 4rem;
  background: #152c4f;
  color: #c8daf2;
}

.footer-content {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  max-width: 300px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-brand .footer-logo img {
  height: 48px;
}
.footer-brand .footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}
.footer-brand .footer-logo-text {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}
.footer-brand .footer-brand-desc {
  color: #8aaccd;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.footer-contact h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.footer-contact p {
  color: #8aaccd;
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0;
}
.footer-contact a {
  color: #a8c8e8;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #ffffff;
}

.footer-nav h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 0.4rem;
}
.footer-nav a {
  color: #8aaccd;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #ffffff;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-image {
    min-height: 0;
    order: -1;
  }
  .hero-description {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100px;
    bottom: 0;
    width: min(320px, 80vw);
    background: #ffffff;
    box-shadow: -24px 0 60px rgba(6, 71, 142, 0.28);
    padding: 5rem 1.75rem 2rem;
    z-index: 80;
    transform: translateX(100%);
    transition: transform 0.18s ease-out;
    pointer-events: none;
  }
  .nav.active {
    transform: translateX(0);
    pointer-events: auto;
    right: 0;
  }
  .nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #06478e;
    cursor: pointer;
    border-radius: 999px;
    padding: 0;
  }
  .nav-close .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
  }
  .nav-close:hover {
    background: #def7ff;
  }
  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .nav-link {
    display: block;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    font-size: 1.1rem;
  }
}
@media (max-width: 640px) {
  .container,
  .header-content,
  .footer-content {
    width: min(1120px, 100% - 1.8rem);
  }
  .section {
    padding: 0;
  }
  .hero-section {
    padding: 2.5rem 0 3.5rem;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.4;
  }
  .cta-section {
    padding: 1.5rem 0;
    margin: 2rem 1rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    padding: 2.5rem 0 4rem 1rem;
    gap: 1.5rem;
  }
  .content-section {
    padding: 1.35rem;
  }
  .about-section {
    padding-top: 3rem;
    text-align: left;
  }
}
.contact-form-container {
  background: #ffffff;
  border: 1px solid #d2d9e0;
  border-radius: 16px;
  padding: 2rem;
}
.contact-form-container .form-control {
  max-width: 300px;
}
.contact-form-container textarea.form-control {
  max-width: 100%;
}/*# sourceMappingURL=main.css.map */