:root {
  --primary: #1c8aa6;
  --primary-dark: #125c70;
  --primary-light: #e4f4f7;
  --accent: #8dc63f;
  --dark: #1f2937;
  --muted: #64748b;
  --bg-soft: #f6faf9;
  --border: #e6ebe9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 158, 143, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

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

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.main-nav a:hover { color: var(--primary); }

.main-nav .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
}

.main-nav .nav-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 80px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: block;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 560px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  background: var(--primary-light);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
}

.hero-logo {
  position: relative;
  width: 260px;
  max-width: 70%;
  height: auto;
}

/* ---------- Services ---------- */

.services {
  padding: 90px 0;
}

.services h2, .about h2, .contact h2 {
  font-size: 2rem;
  max-width: 520px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.service-card p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }

.service-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.service-card:hover .service-link { text-decoration: underline; }

.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--primary-dark); }

.breadcrumb span[aria-current] { color: var(--dark); font-weight: 600; }

/* ---------- Page hero (service pages) ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 48px 0 56px;
}

.page-hero h1 {
  font-size: 2.3rem;
  max-width: 640px;
}

.page-hero .hero-lead { max-width: 640px; }

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.page-hero-inner .hero-lead { max-width: none; }

.page-hero-photo {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.page-hero-photo.is-portrait {
  max-width: 420px;
}

.page-hero-inner .page-hero-photo {
  margin-top: 0;
  max-width: none;
}

@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-inner .page-hero-photo { max-width: 320px; margin: 0 auto; }
}

.page-hero-photo.is-portrait img {
  aspect-ratio: 3 / 4;
}

.service-gallery {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.16);
}

/* ---------- Lightbox ---------- */

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

.lightbox.is-open { display: flex; }

.lightbox-img {
  max-width: min(90vw, 960px);
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .service-gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-close { width: 36px; height: 36px; font-size: 1.4rem; top: 12px; right: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Service detail page ---------- */

.service-detail {
  padding: 70px 0 90px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.service-main h2 {
  font-size: 1.5rem;
  margin-top: 40px;
}

.service-main h2:first-child { margin-top: 0; }

.service-main p { color: var(--dark); }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq { display: flex; flex-direction: column; gap: 20px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }

.faq-item p { color: var(--muted); margin: 0; }

.service-aside { position: sticky; top: 96px; }

.aside-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-card h3 { font-size: 1.15rem; margin-bottom: 0; }

.aside-card p { color: var(--muted); margin: 0; font-size: 0.9rem; }

.aside-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

/* ---------- Related services ---------- */

.related-services {
  background: var(--bg-soft);
  padding: 80px 0;
}

/* ---------- About ---------- */

.about {
  background: var(--bg-soft);
  padding: 90px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--dark);
  font-weight: 600;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Contact ---------- */

.contact {
  padding: 90px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-item a:hover { color: var(--primary-dark); }

.contact-btn { align-self: flex-start; margin-top: 8px; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 0.9rem;
}

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

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-ids {
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-inner a:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-inner { text-align: left; }
  .hero-visual { order: -1; min-height: 220px; }
  .about-photo { max-width: 360px; }

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

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .services-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }

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

  .nav-toggle { display: flex; }

  .hero h1 { font-size: 2.1rem; }

  .services-grid, .services-grid-2 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
}
