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

:root {
  --blue-primary: #003399;
  --blue-dark: #002266;
  --red-accent: #cc0000;
  --light-blue-bg: #c8dff0;
  --dark-bg: #1a1a2e;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-text: #333333;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-text);
  line-height: 1.6;
}

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

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

/* Header / Navigation */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gray-text);
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
  position: relative;
  transition: color 0.2s;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--red-accent);
}

.header__nav .dropdown {
  position: relative;
}

.header__nav .dropdown-toggle {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.header__nav .dropdown-toggle:hover {
  color: var(--red-accent);
}

.header__nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}

.header__nav .dropdown:hover .dropdown-menu {
  display: block;
}

.header__nav .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
}

.header__nav .dropdown-menu a:hover {
  background: var(--gray-light);
  color: var(--blue-primary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--blue-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
}

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

/* Hero Section */
.hero {
  background: var(--light-blue-bg);
  padding: 80px 60px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__title .highlight {
  color: var(--blue-primary);
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero .btn {
  align-self: flex-start;
}

/* Services Section (homepage split) */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.services-split__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.services-split__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.services-split__content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-split__image {
  overflow: hidden;
}

.services-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item {
  margin-bottom: 28px;
}

.service-item .btn {
  margin-top: 8px;
}

/* Quote / CTA Banner */
.quote-banner {
  background: #8fa8c8;
  padding: 80px 60px;
  text-align: left;
}

.quote-banner__text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gray-text);
  max-width: 900px;
  margin-bottom: 24px;
}

.quote-banner__text .highlight {
  color: var(--red-accent);
}

/* Trusted By Section */
.trusted {
  padding: 80px 60px;
  text-align: center;
}

.trusted__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 48px;
}

.trusted__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.trusted__logos img {
  max-height: 80px;
  width: auto;
  filter: grayscale(0);
  transition: transform 0.2s;
}

.trusted__logos img:hover {
  transform: scale(1.05);
}

/* Product Feature Section */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--light-blue-bg);
}

.product-feature__image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-feature__image img {
  max-height: 500px;
  width: auto;
}

.product-feature__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-feature__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-feature__content h2 .highlight {
  color: var(--red-accent);
}

.product-feature__content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  border-top: 2px solid #ddd;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__address p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__address a {
  color: var(--blue-primary);
}

.footer__address a:hover {
  text-decoration: underline;
}

.footer__nav h3,
.footer__billing h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a:hover {
  color: var(--blue-primary);
}

.footer__billing p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__bottom {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Sub-page Hero */
.page-hero {
  background: var(--light-blue-bg);
  padding: 80px 60px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.page-hero__content {
  max-width: 500px;
}

.page-hero__content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero__content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.page-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-hero--split .page-hero__image {
  overflow: hidden;
  border-radius: 4px;
}

.page-hero--split .page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solutions numbered sections */
.solution-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.solution-section:nth-child(even) {
  direction: rtl;
}

.solution-section:nth-child(even) > * {
  direction: ltr;
}

.solution-section__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-section__number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1;
  margin-bottom: -20px;
}

.solution-section__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-section__content p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution-section__content .download-link {
  color: var(--blue-primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.solution-section__content .download-link:hover {
  text-decoration: underline;
}

.solution-section__image {
  overflow: hidden;
}

.solution-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section label badge */
.section-label {
  display: inline-block;
  background: var(--blue-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 8px 24px;
  margin-bottom: 24px;
}

/* Materials gallery */
.materials {
  padding: 60px;
}

.materials h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.materials__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.materials__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
}

.materials__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.materials__item:hover img {
  transform: scale(1.05);
}

.materials__item .materials__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Laser features section */
.laser-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--gray-light);
}

.laser-features__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.laser-features__content .feature-icon {
  color: var(--red-accent);
  font-size: 2rem;
  margin-bottom: 4px;
}

.laser-features__content p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.laser-features__image {
  overflow: hidden;
}

.laser-features__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Page */
.about-hero {
  text-align: center;
  padding: 60px;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.about-section__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e8e8e8;
}

.about-section__content .label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-section__content .label span {
  font-size: 2.5rem;
}

.about-section__content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-section__image {
  overflow: hidden;
}

.about-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Quote cards */
.quote-cards {
  background: var(--dark-bg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 4px;
}

.quote-card__text {
  font-style: italic;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-card__author {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

/* Contact Page */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.contact-form {
  padding: 60px;
}

.contact-form h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 8px;
}

.contact-form > p {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: var(--light-blue-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 0;
}

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

.contact-info {
  padding: 60px;
  background: var(--gray-light);
}

.contact-info h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 2;
}

.contact-info a {
  color: var(--blue-primary);
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Sairaalat contact form */
.hospital-contact {
  background: var(--gray-light);
  padding: 60px;
  text-align: center;
}

.hospital-contact h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
}

.hospital-contact > p {
  margin-bottom: 32px;
}

.hospital-contact form {
  max-width: 500px;
  margin: 0 auto;
}

/* Pakkaus hero with image */
.pakkaus-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.pakkaus-feature__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pakkaus-feature__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pakkaus-feature__content h2 .highlight {
  color: var(--red-accent);
}

.pakkaus-feature__content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.pakkaus-feature__image {
  overflow: hidden;
}

.pakkaus-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Volume section */
.volume-section {
  background: var(--light-blue-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.volume-section__content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.volume-section__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .header__nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .services-split,
  .product-feature,
  .solution-section,
  .about-section,
  .contact-section,
  .laser-features,
  .pakkaus-feature,
  .volume-section,
  .page-hero--split,
  .quote-cards {
    grid-template-columns: 1fr;
  }

  .solution-section:nth-child(even) {
    direction: ltr;
  }

  .trusted__logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .page-hero,
  .trusted,
  .quote-banner,
  .materials,
  .about-hero {
    padding: 40px 20px;
  }

  .page-hero__content h1 {
    font-size: 2rem;
  }
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .header__nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
  }

  .header__nav.open {
    display: flex;
  }
}
