﻿:root {
  --green: #39B397;
  --gray: #1E1E1E;
  --black: #0B0B0B;
  --white: #FFFFFF;
  --text-muted: #B8B8B8;
  --glass: rgba(16, 16, 16, 0.7);
  --line: rgba(255, 255, 255, 0.06);
  --max-width: 1200px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(57, 179, 151, 0.12), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(57, 179, 151, 0.08), transparent 55%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 120px
  );
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.section-header > div {
  display: grid;
  gap: 6px;
}

.section-header .accent-bar {
  width: 5px;
  height: 44px;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(57, 179, 151, 0.6);
  margin-top: 6px;
}

.section-title {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 700;
}

#services .section-title {
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  padding: 12px 0;
  pointer-events: none;
}

.header-shell {
  background: rgba(11, 11, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 6px;
  align-items: center;
}

.brand-mark span {
  width: 6px;
  height: 28px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(57, 179, 151, 0.65);
}

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

.nav-pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.9);
}

.nav a {
  font-size: 0.98rem;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.9);
  cursor: pointer;
  position: relative;
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle .bar + .bar {
  margin-top: 4px;
}

.site-header.nav-open .nav-toggle .bar:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle .bar:nth-child(3) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle .bar:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #39B397, #68dcc3);
  color: var(--black);
  box-shadow: 0 18px 40px rgba(57, 179, 151, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(57, 179, 151, 0.45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('../images/banner-topo-home.jpg') center/cover no-repeat;
  padding-top: 140px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.92), rgba(11, 11, 11, 0.82)),
    url('../images/banner-topo-home.jpg') top center/cover no-repeat;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.78) 55%, rgba(11, 11, 11, 0.88) 100%),
    linear-gradient(95deg, rgba(11, 11, 11, 0.64) 0%, rgba(11, 11, 11, 0.26) 58%, rgba(11, 11, 11, 0.7) 100%),
    radial-gradient(circle at top left, rgba(57, 179, 151, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-wordmark {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(3.4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero-bg-bars span {
  position: absolute;
  width: 6px;
  height: 170px;
  background: rgba(57, 179, 151, 0.35);
  border-radius: 999px;
  animation: floatUp 12s ease-in-out infinite;
}

.hero-bg-bars span:nth-child(1) { left: 6%; top: 22%; animation-delay: 0s; }
.hero-bg-bars span:nth-child(2) { left: 16%; top: 60%; height: 230px; animation-delay: 2s; }
.hero-bg-bars span:nth-child(3) { right: 18%; top: 18%; height: 210px; animation-delay: 1s; }
.hero-bg-bars span:nth-child(4) { right: 8%; top: 58%; height: 250px; animation-delay: 3s; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left,
.hero-right {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-left {
  max-width: 720px;
  position: relative;
  z-index: 4;
}

body.js .hero-left,
body.js .hero-right {
  opacity: 0;
  transform: translateY(24px);
}

body.js.loaded .hero-left,
body.js.loaded .hero-right {
  opacity: 1;
  transform: translateY(0);
}

body.js.loaded .hero-right {
  transition-delay: 0.15s;
}

.hero-title {
  font-size: clamp(2.05rem, 3.3vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.hero-title span {
  color: var(--green);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin-bottom: 28px;
  max-width: 540px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

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

.hero-right {
  position: relative;
  display: none;
}

.floating-hero {
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(200px, 26vw, 380px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.4s ease, transform 0.7s ease;
  transform-origin: center center;
}

.floating-hero .astro {
  width: 100%;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
  transition: opacity 0.3s ease;
  animation: floatBob 4.8s ease-in-out infinite;
}


.floating-hero.is-hidden {
  opacity: 0;
  transform: translateY(40px);
}

.floating-hero.front {
  z-index: 6;
}

.hero-float {
  position: absolute;
  padding: 14px 18px;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(57, 179, 151, 0.3);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
}

.hero-float small {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-float strong {
  font-size: 1rem;
}

.hero-float-one {
  top: 14%;
  right: -22px;
}

.hero-float-two {
  bottom: 12%;
  left: -12px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  z-index: 1;
}

.scroll-indicator:hover {
  color: var(--white);
}

.scroll-indicator span {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  position: absolute;
  top: 8px;
  animation: scrollDot 2s ease-in-out infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.service-card {
  background: rgba(18, 18, 18, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 30px;
  width: 4px;
  height: 30px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(57, 179, 151, 0.6);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 179, 151, 0.4);
  box-shadow: var(--shadow-soft);
}

.service-index {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  margin: 26px 0 12px 0;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.portfolio-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16 / 10;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(57, 179, 151, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(11, 11, 11, 0.9));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-tag {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.portfolio-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.portfolio-more {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

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

.blog-card {
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 179, 151, 0.4);
  box-shadow: var(--shadow-soft);
}

.blog-body {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.blog-body small {
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.blog-body h3 {
  font-size: 1.2rem;
}

.blog-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.blog-actions {
  margin-top: 28px;
}

.case-page {
  position: relative;
  z-index: 2;
  padding: 150px 0 100px;
}

.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  margin-bottom: 22px;
  transition: color 0.25s ease;
}

.case-breadcrumb:hover {
  color: var(--green);
}

.case-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.case-hero-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(130deg, rgba(57, 179, 151, 0.12), rgba(11, 11, 11, 0.9) 55%),
    rgba(16, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.case-hero-card h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.case-hero-card p {
  color: var(--text-muted);
  max-width: 760px;
  font-size: 1.05rem;
}

.case-hero-card .hero-actions {
  margin-bottom: 0;
  margin-top: 24px;
}

.case-meta-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-meta-item {
  padding: 12px;
  border-radius: 12px;
  background: rgba(11, 11, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
}

.case-meta-item small {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.case-meta-item strong {
  color: var(--white);
  font-size: 0.96rem;
}

.case-hero-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.95);
  box-shadow: var(--shadow-soft);
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.3vw, 16px);
}

.case-hero-preview img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.case-showcase-stack {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.case-showcase-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.95);
  box-shadow: var(--shadow-soft);
}

.case-showcase-item img {
  width: 100%;
  height: auto;
  display: block;
}

.case-details {
  margin-top: 24px;
}

.case-description-html {
  color: var(--text-muted);
  display: grid;
  gap: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.case-description-html h1,
.case-description-html h2,
.case-description-html h3 {
  color: var(--white);
  line-height: 1.2;
}

.case-description-html a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-description-html ul,
.case-description-html ol {
  padding-left: 20px;
}

.case-related {
  margin-top: 42px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.about-panel {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.about-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 179, 151, 0.4);
  box-shadow: var(--shadow-soft);
}

.about-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.about-panel p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.diff-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.diff-list span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(57, 179, 151, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 700;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 18, 18, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.testimonial-slider:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 179, 151, 0.4);
  box-shadow: var(--shadow-soft);
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial {
  min-width: 100%;
  padding: 28px;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 5rem;
  color: rgba(57, 179, 151, 0.12);
  line-height: 1;
}

.testimonial p {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 720px;
}

.stars {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.star {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.2);
}

.star.filled {
  color: var(--green);
}

.testimonial strong {
  display: block;
  font-size: 1.05rem;
}

.testimonial span {
  color: var(--green);
  font-size: 0.95rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 10px 0;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dots button.active {
  background: var(--green);
  transform: scale(1.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 179, 151, 0.4);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin-bottom: 12px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--text-muted);
}

.contact-list strong {
  color: var(--white);
}

form {
  display: grid;
  gap: 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  background: #0F0F0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--white);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 179, 151, 0.2);
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  min-height: 18px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-status.success {
  color: var(--green);
}

.whatsapp-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(57, 179, 151, 0.5);
  background: rgba(57, 179, 151, 0.08);
  color: var(--green);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 11, 11, 0.75);
  border: 1px solid rgba(57, 179, 151, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  z-index: 220;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55);
}

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(11, 11, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  z-index: 230;
  display: grid;
  gap: 12px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.cookie-banner p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}

.cookie-banner a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-banner.is-gone {
  display: none;
}

.cookie-accepted .cookie-banner {
  bottom: calc(22px + 72px + 12px);
}

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

.cookie-fab {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 11, 11, 0.85);
  border: 1px solid rgba(57, 179, 151, 0.5);
  color: var(--green);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  z-index: 231;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-fab svg {
  width: 22px;
  height: 22px;
}

.cookie-fab[hidden] {
  display: none !important;
}

.cookie-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.55);
}

.footer {
  padding: 36px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

body.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

body.js .reveal-left {
  transform: translateX(-30px);
}

body.js .reveal-right {
  transform: translateX(30px);
}

body.js .reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.parallax {
  position: absolute;
  border-radius: 999px;
  background: rgba(57, 179, 151, 0.08);
  filter: blur(0px);
  pointer-events: none;
  z-index: 0;
}

.parallax.one {
  width: 130px;
  height: 130px;
  top: 14%;
  right: 12%;
}

.parallax.two {
  width: 180px;
  height: 180px;
  bottom: 8%;
  left: 6%;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-18px); opacity: 1; }
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(10px); opacity: 1; }
}

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

  .portfolio-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-right {
    order: -1;
  }

  .hero-float-one,
  .hero-float-two {
    position: static;
    margin-top: 16px;
  }

  .floating-hero {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    background: rgba(11, 11, 11, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }

  .site-header.nav-open .nav-menu {
    display: flex;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-pill {
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav a {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .case-page {
    padding: 130px 0 80px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 11, 11, 0.98) 0%, rgba(11, 11, 11, 0.9) 55%, rgba(11, 11, 11, 0.95) 100%),
      radial-gradient(circle at top left, rgba(57, 179, 151, 0.12), transparent 55%),
      radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 55%);
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-left {
    padding-top: 16px;
  }

  .kicker {
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.2vw, 2.8rem);
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  .whatsapp-float {
    width: 62px;
    height: 62px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float img {
    width: 34px;
    height: 34px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }

  .cookie-fab {
    left: 16px;
    bottom: 16px;
  }

  .cookie-accepted .cookie-banner {
    bottom: calc(16px + 62px + 10px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section {
    padding: 70px 0;
  }

  .case-page {
    padding: 120px 0 72px;
  }

  .case-meta-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 12px;
  }

  .section-header .accent-bar {
    height: 34px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .hero-wordmark {
    font-size: clamp(2.2rem, 14vw, 6rem);
    letter-spacing: 8px;
    opacity: 0.4;
  }

  .hero-bg-bars {
    opacity: 0.4;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .services-grid {
    gap: 18px;
  }

  .service-card {
    padding: 22px;
  }

  .service-card h3 {
    font-size: 1.12rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .portfolio-grid {
    gap: 18px;
  }

  .portfolio-grid-home {
    grid-template-columns: 1fr;
  }

  .portfolio-overlay {
    padding: 18px;
  }

  .blog-grid {
    gap: 18px;
  }

  .blog-card img {
    height: 160px;
  }

  .blog-body {
    padding: 16px;
  }

  .about-grid,
  .contact-grid {
    gap: 28px;
  }

  .about-panel,
  .contact-card {
    padding: 22px;
  }

  .testimonial {
    padding: 22px;
  }

  .testimonial p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}





.floating-hero.is-hidden .astro {
  animation-play-state: paused;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
