:root {
  --ink: #121215;
  --paper: #f7f4ef;
  --accent: #0f8a7b;
  --accent-2: #f2a93b;
  --muted: #5d5a55;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(18, 18, 21, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 10% 10%, #fef6df 0%, #f7f4ef 35%, #f3efe8 100%);
  overflow-x: hidden;
}

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

.page {
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(15, 138, 123, 0.25), rgba(15, 138, 123, 0));
  z-index: 0;
  pointer-events: none;
}

.page::before {
  top: -140px;
  right: -120px;
}

.page::after {
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 169, 59, 0.25), rgba(242, 169, 59, 0));
}

header {
  position: relative;
  z-index: 1;
  padding: 36px 6vw 0;
}

.nav {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.brand {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-weight: 500;
  color: var(--muted);
}

.cta {
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(18, 18, 21, 0.2);
}

main {
  position: relative;
  z-index: 1;
  padding: 70px 6vw 90px;
  display: grid;
  gap: 88px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 28px;
}

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

.ghost {
  border: 1px solid rgba(18, 18, 21, 0.2);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  animation: rise 0.9s ease both;
}

.hero-card span {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-card strong {
  font-size: 1.2rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.metric {
  background: #f8f8f6;
  border-radius: 16px;
  padding: 16px;
}

.metric h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.section {
  display: grid;
  gap: 24px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.section h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0;
}

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

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

.card {
  background: var(--card);
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 138, 123, 0.12);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.cta-band {
  background: linear-gradient(120deg, #0f8a7b, #1a5d57);
  color: white;
  padding: 32px;
  border-radius: 26px;
  display: grid;
  gap: 18px;
  align-items: center;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .cta {
  background: white;
  color: #0f5a52;
}

footer {
  position: relative;
  z-index: 1;
  padding: 24px 6vw 40px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.logo-block {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.logo-block img {
  width: min(200px, 60vw);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(18, 18, 21, 0.16));
}

.carousel {
  display: grid;
  gap: 18px;
  position: relative;
  width: min(50vw, 640px);
  margin: 0 auto;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}


.app-card {
  scroll-snap-align: center;
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  min-height: 220px;
  justify-items: center;
  text-align: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 169, 59, 0.18);
  color: #b66f0b;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  width: fit-content;
}

.app-card img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(18, 18, 21, 0.18);
  background: #ffffff;
}

.app-placeholder {
  width: 100%;
  max-width: 240px;
  height: 140px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(15, 138, 123, 0.12), rgba(242, 169, 59, 0.18));
  box-shadow: 0 10px 20px rgba(18, 18, 21, 0.08);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-button {
  border: 1px solid rgba(18, 18, 21, 0.2);
  background: white;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(18, 18, 21, 0.15);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(18, 18, 21, 0.2);
  background: white;
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(18, 18, 21, 0.12);
}

.carousel-arrow-left {
  left: 0;
}

.carousel-arrow-right {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(18, 18, 21, 0.2);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--ink);
}

.footer-spacer {
  height: 60px;
}

.contact-grid {
  display: grid;
  gap: 16px;
}

.location {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel {
    width: 100%;
  }
}
