/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 0.75rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #e5f3ff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  font-size: 1.8rem;
  color: #020617;
}

.section-header p {
  max-width: 640px;
  margin: 0.5rem auto 0;
  color: #475569;
}

/* Colors & theme (random palette: teal + amber) */
:root {
  --primary: #0f766e;
  --primary-soft: #14b8a6;
  --primary-muted: #0f766e15;
  --accent: #f97316;
  --accent-soft: #fed7aa;
  --bg-dark: #020617;
  --bg-soft: #f8fafc;
  --border-subtle: #cbd5f5;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent), var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font-size: 0.95rem;
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: #0f172a;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--primary);
  border-color: var(--primary-soft);
}

.nav-links a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-link {
  border-radius: 999px;
  border: 1px solid var(--primary-soft);
  padding: 0.4rem 0.95rem;
  background: #ecfeff;
}

.btn-link.active {
  background: var(--primary);
  color: #f9fafb;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f8fafc;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Hero */
.hero-section {
  padding: 4rem 0 4.5rem;
  background: radial-gradient(circle at top left, #e0f2fe, #f8fafc);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.hero-section h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  color: #020617;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #475569;
  max-width: 40rem;
}

.hero-actions {
  margin: 1.6rem 0 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    color 0.16s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #ecfeff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.27);
}

.btn.ghost {
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #0f172a;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.18);
}

.btn.ghost:hover {
  background: #e5f2ff;
  box-shadow: none;
}

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
  padding: 0;
  color: #334155;
  font-size: 0.86rem;
}

.hero-tags li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(255, 255, 255, 0.9);
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
  transform: translateY(4px);
}

.hero-card {
  position: absolute;
  left: 10%;
  bottom: -14%;
  max-width: 260px;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.55);
}

.hero-card h2 {
  font-size: 1.05rem;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.hero-card p {
  font-size: 0.88rem;
  color: #cbd5f5;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.card {
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--primary-soft);
}

.card h3 {
  font-size: 1.1rem;
  color: #020617;
}

.card p {
  color: #4b5563;
  font-size: 0.96rem;
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  color: #4b5563;
  font-size: 0.92rem;
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 2.7rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0.8rem;
}

.pill-list span {
  font-size: 0.83rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-muted);
  color: #0f172a;
}

.seo-tail {
  font-size: 0.92rem;
  color: #64748b;
}

.solutions-media {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.news-item {
  background: #0b1120;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.26), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.news-item h3 {
  position: relative;
  z-index: 1;
  font-size: 1.02rem;
}

.news-item p {
  position: relative;
  z-index: 1;
  font-size: 0.91rem;
  color: #cbd5f5;
}

.news-link {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--accent-soft);
  text-decoration: underline;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #0f172a, #0f766e);
  color: #f9fafb;
  padding: 3.4rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  font-size: 1.6rem;
}

.cta-inner p {
  color: #e5e7eb;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2.4rem 0 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 2fr;
  gap: 2rem;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.footer-text {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-links a:hover {
  color: var(--primary-soft);
}

.footer-meta {
  text-align: right;
  font-size: 0.82rem;
}

.footer-small {
  color: #6b7280;
  margin-top: 0.2rem;
}

/* Page heroes */
.page-hero {
  padding: 3.4rem 0 2.6rem;
  background: radial-gradient(circle at top right, #e0f2fe, #f8fafc);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  color: #020617;
  margin-bottom: 0.6rem;
}

.page-hero .hero-subtitle {
  max-width: 38rem;
}

.about-hero-grid,
.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.4rem;
  align-items: center;
}

.about-hero-media,
.contact-hero-media {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.34);
}

/* About page */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
}

.about-block {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.about-block h2 {
  font-size: 1.25rem;
  color: #020617;
  margin-bottom: 0.6rem;
}

.about-block p {
  color: #4b5563;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.team-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.team-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.02rem;
  margin: 0.9rem 1rem 0.1rem;
}

.team-role {
  font-size: 0.86rem;
  margin: 0 1rem 0.5rem;
  color: #6b7280;
}

.team-bio {
  font-size: 0.9rem;
  margin: 0 1rem 1rem;
  color: #4b5563;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.3rem 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.8);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #9a3412;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

.step h3 {
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.88rem;
  color: #4b5563;
}

/* Products page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.filter-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #f9fafb;
  font-size: 0.86rem;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary-soft);
  color: #ecfeff;
}

.products-grid {
  margin-bottom: 2.5rem;
}

.product-card {
  position: relative;
}

.product-location {
  font-size: 0.86rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.product-text {
  font-size: 0.92rem;
}

.product-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.8rem 0 0.9rem;
  padding: 0;
}

.product-tags li {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.product-link {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.seo-section {
  border-radius: 1.1rem;
  background: #0b1120;
  color: #e5e7eb;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.seo-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.seo-section p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.13);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-form-wrapper h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  gap: 0.9rem;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.86rem;
  color: #4b5563;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 1px var(--primary-muted);
}

.form-note {
  font-size: 0.82rem;
  color: #64748b;
}

.form-success {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--primary);
  min-height: 1rem;
}

.contact-info {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
}

.contact-info h2 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.2rem;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-label {
  display: inline-block;
  width: 4.3rem;
  color: #9ca3af;
}

.contact-list a {
  color: #e5e7eb;
  text-decoration: underline;
}

.contact-map img {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

/* Utility */
.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .solutions-grid,
  .about-hero-grid,
  .contact-hero-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero-card {
    position: static;
    margin-top: 0.9rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
  }

  .cards-grid,
  .news-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.8fr 1.1fr;
  }

  .footer-meta {
    text-align: left;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: calc(100% + 0.65rem);
    background: #f8fafc;
    border-radius: 0.9rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.26);
    flex-direction: column;
    padding: 0.6rem 0.9rem;
    min-width: 190px;
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .btn-link {
    display: block;
    width: 100%;
    text-align: left;
  }

  .hero-section {
    padding-top: 3.1rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .cards-grid,
  .news-grid,
  .team-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


