@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #f0f3f8;
  --text: #0f1b2b;
  --muted: #5a6a80;
  --accent: #00abd3;
  --accent-strong: #0083a3;
  --border: #e3e9f0;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(15, 27, 43, 0.08);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 0;
  gap: 10px;
}

.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: center; color: inherit; text-decoration: none; }
.logo-img { width: clamp(190px, 28vw, 300px); max-width: 100%; height: auto; display: block; }
.brand-name { font-weight: 700; letter-spacing: -0.01em; }
.brand-tagline { color: var(--muted); font-size: 0.95rem; }
.nav { display: flex; gap: 14px; font-size: 0.95rem; justify-content: center; }
.nav a { color: var(--text); padding: 8px 12px; border-radius: 10px; transition: background 0.2s ease, color 0.2s ease; }
.nav a:hover { background: var(--surface-muted); color: var(--accent-strong); text-decoration: none; }

main { padding: 48px 0 96px; }

.hero {
  background: linear-gradient(120deg, rgba(0, 171, 211, 0.08), rgba(255, 255, 255, 0.85));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.3);
  padding: 48px;
  box-shadow: var(--shadow);
}

.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.eyebrow { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; color: var(--muted); }
.hero h1 { margin: 12px 0 10px; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
.lede { max-width: 720px; color: #1c2b3d; font-size: 1.05rem; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.hero-stat { display: grid; gap: 2px; }
.stat-number { font-weight: 700; color: var(--text); }
.stat-label { color: var(--muted); font-size: 0.95rem; }

.cta-row { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 12px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #ffffff; box-shadow: 0 12px 28px rgba(0, 171, 211, 0.35); }
.btn.ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.btn.full { width: 100%; justify-content: center; }

.panel { margin-top: 56px; padding: 10px 0; }
.panel.muted { background: var(--surface-muted); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--border); }
#services.panel { background: var(--surface); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--border); }
.section-heading h2 { margin: 0; font-size: 1.9rem; }
.section-heading p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

#services .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.outline { box-shadow: none; background: #ffffff; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.card-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.simple-gallery .gallery-item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.05);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.simple-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.lightbox-trigger { display: block; }
.lightbox-trigger:hover img { filter: brightness(0.94); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.lightbox:target { display: flex; }

.lightbox img {
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #0f1b2b;
  transform-origin: center;
}

.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #0f1b2b;
  border-right: 2px solid #0f1b2b;
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-nav.prev::before { transform: translate(-50%, -50%) rotate(225deg); }

.muted { color: var(--muted); }

.process-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 16px;
}
.process-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.process-list span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0, 171, 211, 0.15);
  color: var(--accent-strong);
  font-weight: 700;
}
.process-list p { margin: 4px 0 0; color: var(--muted); }

.panel.cta { margin-top: 64px; }
.cta-card {
  display: grid;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.1);
  padding: 28px;
  box-shadow: var(--shadow);
}
.cta-card .cta-row { margin-top: 14px; }

.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: var(--text); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: #f9fbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(0, 171, 211, 0.15);
}

.form-status { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 42px;
  background: #ffffff;
}
.footer-grid { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-heading { font-size: 1.1rem; font-weight: 700; }
.footer-meta { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 38px 30px; }
  #services .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-grid { flex-direction: column; align-items: center; text-align: center; }
  .logo-img { width: clamp(220px, 60vw, 280px); }
  .nav { width: 100%; flex-wrap: wrap; justify-content: center; }
  main { padding: 36px 0 72px; }
  .cta-card { padding: 22px; }
  #services .card-grid { grid-template-columns: 1fr; }
  .card-grid.three-col { grid-template-columns: 1fr; }
}
