:root {
  --primary: #1d6e6e;
  --secondary: #f5b82e;
  --background: #f6f8f9;
  --surface: #ffffff;
  --text: #0b1f24;
  --accent: #e04f2f;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
  --footer-bg: #0b1f24;
  --footer-text: #ffffff;
  --footer-border: #1f2e34;
}

* {
  box-sizing: border-box;
}

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

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 36, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.cta-button {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(11, 31, 36, 0.1);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 80vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #0b1f24;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 58px);
  margin: 0 0 16px 0;
}

.hero-content p {
  max-width: 560px;
  font-size: 18px;
  margin: 0 0 24px 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--secondary);
  color: #0b1f24;
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
}

.hero-dots button.active {
  background: var(--secondary);
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 40px);
  margin: 0;
}

.section-heading p {
  margin: 0;
  max-width: 620px;
  color: rgba(11, 31, 36, 0.7);
}

.solutions-grid,
.portfolio-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solution-card,
.portfolio-card,
.testimonial-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 36, 0.08);
  box-shadow: 0 12px 24px rgba(11, 31, 36, 0.06);
  display: grid;
  gap: 12px;
}

.solution-card img {
  border-radius: 14px;
  height: 140px;
  object-fit: cover;
}

.solution-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(29, 110, 110, 0.15);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary);
}

.solution-card h3,
.portfolio-card h3,
.testimonial-card h3 {
  margin: 0;
  font-size: 18px;
  font-family: var(--font-heading);
}

.portfolio-card {
  padding: 0;
  overflow: hidden;
}

.portfolio-card img {
  height: 200px;
  object-fit: cover;
}

.portfolio-body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 8px;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.portfolio-filters button {
  border: 1px solid rgba(11, 31, 36, 0.12);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.portfolio-filters button.active {
  background: var(--primary);
  color: #ffffff;
}

.testimonial-card {
  gap: 16px;
}

.testimonial-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testimonial-header img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.faq-list details {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(11, 31, 36, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(11, 31, 36, 0.08);
}

.contact-card h3 {
  margin-top: 0;
  font-family: var(--font-heading);
}

.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 31, 36, 0.16);
  font-family: inherit;
}

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

.form-feedback {
  font-weight: 600;
  margin-top: 10px;
}

.footer {
  padding: 50px 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer h4 {
  margin: 0 0 12px 0;
  font-family: var(--font-heading);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer a {
  color: inherit;
}

.footer-bottom {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 36, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
}

.modal-body {
  padding: 20px;
}

.modal-close {
  border: none;
  background: var(--primary);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.social-links svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 70px;
    right: 20px;
    background: var(--surface);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 20px 40px rgba(11, 31, 36, 0.15);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-slide {
    min-height: 70vh;
    padding-top: 110px;
  }

  .hero-slider {
    min-height: 70vh;
  }
}
