:root {
  --bg: #f4f8f8;
  --surface: #ffffff;
  --surface-2: #eef6f6;
  --ink: #17303c;
  --muted: #45616d;
  --line: #c8d9dc;
  --brand: #0fa6a0;
  --brand-dark: #0a6f75;
  --accent: #f27a54;
  --shadow: 0 18px 40px rgba(12, 51, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 0%, rgba(15, 166, 160, 0.12), transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(242, 122, 84, 0.12), transparent 28%),
    var(--bg);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 248, 0.9);
  border-bottom: 1px solid rgba(199, 217, 220, 0.8);
}

.topbar-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(15, 166, 160, 0.1);
}

main,
.contact-footer {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

main {
  padding: 1.3rem 0 2.4rem;
}

.hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.45rem, 3.1vw, 2.2rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

p {
  margin: 0;
  line-height: 1.65;
}

.hero-text {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.legal-name {
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-card {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: min(240px, calc(100% - 1.7rem));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
}

.logo-card h2 {
  margin: 0;
  font-size: 0.95rem;
}

.logo-preview-wrap {
  margin-top: 0.55rem;
  aspect-ratio: 1 / 1;
  border: 1px dashed #92abb2;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.logo-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  background: #fff;
}

.logo-preview.visible {
  display: block;
}

.logo-fallback {
  color: #607983;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.logo-fallback code {
  display: inline-block;
  margin-top: 0.35rem;
  background: #e6f0f2;
  color: #244654;
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
}

.logo-fallback.hidden {
  display: none;
}

.logo-note {
  margin-top: 0.6rem;
  color: #5b747e;
  font-size: 0.83rem;
  line-height: 1.4;
}

.quick-info {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-info article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.quick-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.quick-info p,
.quick-info a {
  color: var(--muted);
  text-decoration: none;
}

.about,
.services,
.carousel-section,
.differentials {
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 1.7rem);
}

.section-head {
  max-width: 70ch;
}

.about-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid article {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 1rem;
}

.about-grid p,
.about-grid li {
  color: var(--muted);
}

.about-grid h3 {
  margin-top: 0.9rem;
}

.about-grid ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.service-cards {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(145deg, #ffffff, #f7fcfc);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.18rem 0.52rem;
}

.service-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.carousel {
  margin-top: 1rem;
  display: grid;
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 0.7rem;
}

.slides {
  min-height: clamp(290px, 40vw, 460px);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 24, 37, 0.88) 73%);
}

.slide-overlay p {
  margin-top: 0.4rem;
  color: #dfebee;
  max-width: 60ch;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
}

.carousel-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #c4d4d8;
}

.dot.active {
  background: var(--accent);
}

.differential-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.differential-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.differential-grid p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.contact-footer {
  margin-bottom: 1.2rem;
  background: linear-gradient(120deg, var(--brand-dark), #144455);
  border-radius: 20px;
  color: #fff;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
}

.contact-footer .eyebrow {
  color: #8ee1dc;
}

.contact-copy p {
  margin-top: 0.6rem;
  color: #d8ecef;
}

.contact-data {
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

.contact-data a {
  text-decoration: none;
  color: #fff;
  font-size: clamp(1.05rem, 2.7vw, 1.4rem);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .differential-grid,
  .about-grid,
  .quick-info,
  .contact-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
