:root {
  --bg: #f7fffd;
  --bg-soft: #e9fffa;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(19, 184, 166, 0.26);
  --text: #073b3a;
  --text-soft: #3b6f6c;
  --brand: #10b9aa;
  --brand-2: #2ed3bf;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(7, 93, 86, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, #c8fff5 0%, transparent 60%),
    radial-gradient(900px 380px at 90% -10%, #b2f2e8 0%, transparent 58%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.blob {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(48px);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  animation: floatBlob 14s ease-in-out infinite;
}

.blob-1 {
  background: rgba(46, 211, 191, 0.42);
  top: -80px;
  left: -70px;
}

.blob-2 {
  background: rgba(16, 185, 170, 0.28);
  bottom: -120px;
  right: -60px;
  animation-delay: -5s;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.hero {
  padding: 88px 0 48px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 170, 0.14);
  border: 1px solid rgba(16, 185, 170, 0.34);
  color: #0a6a63;
  font-size: 0.84rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.brand {
  background: linear-gradient(90deg, var(--brand) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.3vw, 1.12rem);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 185, 170, 0.26);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  box-shadow: 0 10px 24px rgba(16, 185, 170, 0.2);
}

.section {
  padding: 16px 0 28px;
}

.section-tight {
  padding-top: 4px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--surface) 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto -40% -62% 36%;
  height: 180px;
  background: radial-gradient(circle, rgba(46, 211, 191, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.section-title {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.section-text {
  color: var(--text-soft);
}

.list {
  padding-left: 18px;
  color: var(--text-soft);
}

.list li + li {
  margin-top: 8px;
}

.list strong {
  color: #0a6a63;
}

.section-heading {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 8px;
  text-align: center;
}

.section-subheading {
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 16px;
}

.media-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.media-layout-reverse {
  grid-template-columns: 1fr 1.1fr;
}

.media-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.media-figure {
  padding: 0;
  will-change: transform;
  transition: transform 0.15s linear;
}

.media-figure img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  background: #fff;
  will-change: transform;
  transition: transform 0.15s linear;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.parallax-layer {
  transform: translate3d(0, 0, 0);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mini-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--surface) 100%);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(7, 93, 86, 0.17);
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mini-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.portfolio {
  padding-bottom: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, var(--surface) 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transform: translateY(0);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  min-height: 100%;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 170, 0.56);
  box-shadow: 0 22px 44px rgba(7, 93, 86, 0.22);
  outline: none;
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.card:hover .card-image,
.card:focus-visible .card-image {
  transform: scale(1.04);
}

.card-body {
  padding: 14px 16px 16px;
}

.card-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.card-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.card-url {
  font-size: 0.88rem;
  color: var(--text-soft);
  word-break: break-word;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(46, 211, 191, 0.22) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(16, 185, 170, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 10px;
}

.cta-panel p {
  color: var(--text-soft);
  max-width: 760px;
  margin: 0 auto 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.05);
  }
}

.footer {
  border-top: 1px solid rgba(16, 185, 170, 0.18);
  color: #4e7f7b;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .parallax-layer,
  .media-figure,
  .gallery-item {
    transform: none !important;
  }
}

@media (max-width: 840px) {
  .media-layout,
  .media-layout-reverse {
    grid-template-columns: 1fr;
  }

  .media-figure img {
    min-height: 240px;
  }

  .parallax-layer,
  .media-figure,
  .gallery-item {
    transform: none !important;
  }
}
