/* ============ Tekan-Service LLC — flat modern styles ============ */
:root {
  --navy: #10233f;
  --navy-dark: #0b1a30;
  --accent: #e8792b;
  --accent-dark: #c9621b;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --text: #1c2733;
  --text-muted: #5b6b7c;
  --border: #e2e8f0;
  --radius: 10px;
  --container: 1140px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 68px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.logo-mark {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

/* The PNG carries its own whitespace margin, so scale up to fill the tile.
   object-fit keeps the logo from stretching. */
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.35);
}

.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 1.05rem; letter-spacing: 0.02em; }
.logo-text span { font-size: 0.7rem; color: #9fb1c7; text-transform: uppercase; letter-spacing: 0.12em; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  order: 3;
}

.main-nav { order: 2; margin-left: auto; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: #cdd8e5;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: var(--accent); color: #fff; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #cdd8e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: #fff; background: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Hero / Carousel ---------- */
.hero {
  background: var(--navy-dark);
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero p.lead {
  color: #b8c6d8;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}

.carousel-track { display: flex; transition: transform 0.5s ease; }

.slide {
  flex: 0 0 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  gap: 1rem;
}

.slide .slide-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.slide .slide-icon svg { width: 38px; height: 38px; stroke: #fff; }

.slide h3 { font-size: 1.35rem; }
.slide p { color: #b8c6d8; font-size: 0.95rem; max-width: 26rem; }

.slide:nth-child(2) { background: #16304f; }
.slide:nth-child(3) { background: #1a3a5f; }
.slide:nth-child(4) { background: #16304f; }

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button.active { background: var(--accent); transform: scale(1.25); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--bg-soft); }

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.title-bar {
  width: 56px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 2.5rem;
  border-radius: 2px;
}

/* Trusted banner */
.trusted {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 2.75rem 1.25rem;
}

.trusted h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.01em; }
.trusted p { opacity: 0.9; margin-top: 0.35rem; }

/* Why choose us cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16, 35, 63, 0.1); }

.card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.card .card-icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Lead form ---------- */
.lead-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-success {
  display: none;
  background: #e6f6ec;
  border: 1px solid #9fd8b4;
  color: #1c6b3c;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 1.25rem;
  font-weight: 500;
}

.form-success.visible { display: block; }

/* ---------- Partners ---------- */
.partners {
  background: var(--navy);
  padding: 3rem 0;
}

.partners h2 {
  text-align: center;
  color: #9fb1c7;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
}

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

.partner-tile {
  background: #fff;
  border-radius: 8px;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 1rem 1.25rem;
  text-align: center;
}

.partner-tile img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.partner-tile span {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #9fb1c7;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-inner a { color: #cdd8e5; text-decoration: none; }
.footer-inner a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-dark);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.page-hero p { color: #b8c6d8; margin-top: 0.5rem; max-width: 40rem; margin-inline: auto; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.about-grid p { color: var(--text-muted); margin-bottom: 1rem; }

.fact-list { list-style: none; }

.fact-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.fact-list li:last-child { border-bottom: none; }
.fact-list strong { min-width: 140px; color: var(--text); }
.fact-list span { color: var(--text-muted); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
}

.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.35rem; }

.highlight-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
}

.highlight-box h3 { color: var(--accent); font-size: 1.25rem; margin-bottom: 0.75rem; }
.highlight-box p { color: #c6d2e0; margin-bottom: 0.75rem; }
.highlight-box p:last-child { margin-bottom: 0; }

.partner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Tiles sit on the light section here, so they need a visible edge */
.partner-list .partner-tile {
  border: 1px solid var(--border);
}

/* ---------- Services page ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16, 35, 63, 0.1); }

.service .service-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
}

.service .service-icon svg { width: 40px; height: 40px; stroke: var(--accent); }
.service h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Contacts page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-list { list-style: none; }

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-info-list .ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
}

.contact-info-list .ci-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.contact-info-list strong { display: block; font-size: 0.95rem; }
.contact-info-list a, .contact-info-list span { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.contact-info-list a:hover { color: var(--accent); }

.map-wrap {
  margin-top: 3.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.25rem;
}

.cta-strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.cta-strip p { color: #b8c6d8; margin-bottom: 1.5rem; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .cards, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.open { display: block; }

  .main-nav { margin-left: 0; }

  .main-nav ul { flex-direction: column; padding: 0.75rem 1.25rem 1.25rem; }
  .main-nav a { padding: 0.85rem 0.9rem; }

  .cards, .services-grid, .stat-row { grid-template-columns: 1fr; }

  .section { padding: 3rem 0; }
  .slide { min-height: 280px; }
  .lead-form-wrap { padding: 1.8rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }

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