:root {
  --primary: #088997;
  --primary-light: #0BB0C1;
  --primary-dark: #066879;
  --primary-soft: #E7F8FA;
  --teal-50: #f0fdfa;
  --dark: #0B1220;
  --slate-900: #111827;
  --slate-800: #1f2937;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-300: #d1d5db;
  --slate-100: #f3f4f6;
  --bg: #F8FAFC;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(8,137,151,0.08);
  --shadow-lg: 0 20px 50px rgba(8,137,151,0.15);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --container: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-800);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.section {
  padding: 6rem 0;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--dark);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.section-header p {
  color: var(--slate-500);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; }

p { color: var(--slate-600); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-soft);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
}

.site-header.scrolled .logo { color: var(--dark); }

.logo-mark {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.site-header.scrolled .logo-mark {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-header.scrolled .main-nav { color: var(--slate-600); }

.main-nav a:hover { color: var(--white); }
.site-header.scrolled .main-nav a:hover { color: var(--primary); }

.main-nav .nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.site-header.scrolled .menu-toggle { color: var(--dark); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B1220 0%, #0d3b42 60%, var(--primary) 100%);
  opacity: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.blob-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -10%; right: -5%;
  animation: float 10s ease-in-out infinite;
}

.blob-2 {
  width: 300px; height: 300px;
  background: #14b8a6;
  bottom: 10%; left: -5%;
  animation: float 12s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(90deg, #5eead4, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 2.25rem;
  color: var(--white);
  font-weight: 800;
}

.stat span {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.hero-logo {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 100px;
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

.floating-badge i { color: var(--primary); width: 18px; height: 18px; }

.badge-1 { top: 30px; right: -30px; animation: float 7s ease-in-out infinite; }
.badge-2 { bottom: 40px; left: -30px; animation: float 8s ease-in-out infinite reverse; }

.stats-band {
  padding: 3.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}

.stats-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
}

.stat-item strong {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item span {
  color: var(--slate-500);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.service-card p { color: var(--slate-500); font-size: 0.95rem; }

.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-image-stack img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-counter {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.counter-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.counter-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.5rem 0 1.25rem;
}

.about-content > p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
}

.feature-list i { color: var(--primary); width: 22px; height: 22px; }

.work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-image {
  height: 240px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-image img { transform: scale(1.08); }

.work-body { padding: 1.75rem; }

.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.work-body h3 { margin-bottom: 0.5rem; }

.work-body p { color: var(--slate-500); font-size: 0.95rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  position: relative;
  transition: all var(--transition);
}

.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 0.5rem;
}

.step h3 { margin-bottom: 0.5rem; }

.step p { color: var(--slate-500); font-size: 0.95rem; }

.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--slate-100);
}

.quote-icon {
  color: var(--primary);
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 1.05rem;
  color: var(--slate-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
}

.testimonial footer span:not(.avatar) {
  color: var(--slate-500);
  font-size: 0.85rem;
}

.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

.contact { background: var(--bg); }

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info {
  max-width: 650px;
  text-align: center;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.5rem 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 2rem 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--slate-600);
  font-weight: 500;
}

.contact-list i { color: var(--primary); width: 20px; height: 20px; }

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--white);
  transition: all var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,137,151,0.12);
}

.form-field textarea { resize: vertical; }

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-mark {
  width: 50px;
  filter: brightness(0) invert(1);
}

.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; }

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: color var(--transition);
}

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

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.delay { transition-delay: 0.15s; }

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .work-grid,
  .testimonials-grid,
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .about-grid,
  .contact-grid,
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .visual-card { width: 300px; height: 300px; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--slate-700);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav a { color: var(--slate-700); }
  .main-nav .nav-cta { color: var(--white); }
  .main-nav .nav-cta:hover { color: var(--white); }
  .main-nav .nav-cta {
    width: 100%;
    margin: 0.5rem 0 0;
    padding: 0.85rem 1.5rem;
    justify-content: center;
    font-size: 0.95rem;
  }
  .menu-toggle { display: block; }
  .hero-stats { gap: 1.5rem; justify-content: center; }
  .hero-text { text-align: center; }
  .hero-buttons { justify-content: center; }
  .about-counter { right: 0; bottom: -1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .work-grid,
  .testimonials-grid,
  .process-steps,
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .logo { font-size: 1.25rem; }
  .logo-mark { width: 34px; height: 34px; }
  .header-actions .btn { padding: 0.6rem 1rem; font-size: 0.8rem; }
  .hero { padding-top: 5rem; }
  .hero-desc { font-size: 1rem; }
  .hero-buttons { gap: 0.75rem; }
  .hero-stats { gap: 1rem; }
  .visual-card { width: 260px; max-width: 90vw; height: 260px; max-height: 90vw; }
  .hero-logo { width: 120px; }
  .floating-badge { display: none; }
  .about-image-stack img { height: 360px; }
  .about-counter { padding: 1rem 1.5rem; }
  .counter-value { font-size: 2rem; }
  .work-image { height: 200px; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
}
