/* Dvavinsena Solution — Modern corporate site */
:root {
  --red: #ed1c24;
  --teal: #00a99d;
  --teal-dark: #008f85;
  --navy: #0b1f33;
  --navy-light: #132d4a;
  --slate: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 51, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 31, 51, 0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--navy);
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-light);
  transition: color var(--transition);
}

.nav-desktop a:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 169, 157, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 169, 157, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(237, 28, 36, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px -10px -10px 0;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  z-index: 10002;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop — elemen dibuat via JS */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(11, 31, 51, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* Drawer menu mobile */
.nav-mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  padding: 5.25rem 1.25rem 2rem;
  gap: 0.35rem;
  z-index: 9999;
  background: var(--white);
  box-shadow: -12px 0 48px rgba(11, 31, 51, 0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
}

.nav-mobile a {
  padding: 0.9rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  border-radius: var(--radius);
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  background: var(--bg);
  color: var(--teal);
}

.nav-mobile .btn-primary {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  color: var(--white) !important;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .wa-float {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile,
  .nav-backdrop,
  .nav-toggle span {
    transition: none;
  }
}

/* Hero — elegant */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 3rem;
  overflow: hidden;
  color: var(--white);
  background: #060f1a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: hero-float 14s ease-in-out infinite;
}

.hero-orb--teal {
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  top: -12%;
  right: 8%;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.45), transparent 70%);
}

.hero-orb--red {
  width: min(380px, 40vw);
  height: min(380px, 40vw);
  bottom: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.28), transparent 70%);
  animation-delay: -5s;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 26, 0.3) 0%, rgba(6, 15, 26, 0.85) 100%),
    linear-gradient(135deg, #0b1f33 0%, #0a2a35 50%, #061820 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 100%);
}

.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto auto;
  gap: 2.5rem 3rem;
  align-items: center;
  padding: 2rem 0 1rem;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
}

.hero-showcase {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 420px;
}

.hero-metrics {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title-gradient {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(120deg, #ffffff 0%, #7ee8df 45%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-lead strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-platforms span {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-hero-primary {
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0, 169, 157, 0.4);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Showcase composition */
.hero-showcase-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}

.hero-showcase-ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(0, 169, 157, 0.2);
  border-radius: 50%;
}

@keyframes spin-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-glass {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-glass--logo {
  top: 8%;
  right: 5%;
  padding: 1.75rem 2rem;
  border-radius: 24px;
  z-index: 2;
  animation: hero-card-float 6s ease-in-out infinite;
}

.hero-glass--logo img {
  width: min(240px, 38vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.hero-glass--photo {
  bottom: 0;
  left: 0;
  width: min(340px, 90%);
  border-radius: 20px;
  overflow: hidden;
  z-index: 3;
  animation: hero-card-float 6s ease-in-out infinite;
  animation-delay: -2s;
}

.hero-glass--photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-glass-caption {
  padding: 1rem 1.15rem;
  background: rgba(11, 31, 51, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glass-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.hero-glass-caption span:last-child {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 4;
  animation: hero-chip-float 5s ease-in-out infinite;
}

.hero-chip strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-chip small {
  font-size: 0.68rem;
  color: var(--slate);
  font-weight: 500;
}

.hero-chip-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.hero-chip--1 {
  top: 42%;
  left: -2%;
  animation-delay: 0s;
}

.hero-chip--2 {
  top: 12%;
  left: 28%;
  animation-delay: -1.5s;
}

.hero-chip--3 {
  bottom: 28%;
  right: -2%;
  animation-delay: -3s;
}

@keyframes hero-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hero-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-metric {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.hero-metric:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 169, 157, 0.35);
  transform: translateY(-2px);
}

.hero-metric-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero-metric-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-header p {
  color: var(--slate);
  font-size: 1.05rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
}

/* Services */
.services {
  background: var(--white);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0, 169, 157, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-icon.teal {
  background: rgba(0, 169, 157, 0.12);
}

.service-icon.red {
  background: rgba(237, 28, 36, 0.1);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--slate);
  flex: 1;
  margin-bottom: 1rem;
}

.product-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-link:hover {
  color: var(--teal-dark);
}

/* Clients */
.clients {
  background: var(--navy);
  color: var(--white);
}

.clients .section-header h2,
.clients .section-header p {
  color: var(--white);
}

.clients .section-header p {
  opacity: 0.75;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.client-item {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.client-item:hover {
  background: rgba(0, 169, 157, 0.15);
  border-color: rgba(0, 169, 157, 0.3);
}

.highlight-banner {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 169, 157, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--teal);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: #e2e8f0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer */
.site-footer {
  background: #061220;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
}

/* ——— Product detail (modern) ——— */
body.detail-page {
  background: var(--bg);
}

body.detail-page section.detail-body {
  padding-top: 0;
  padding-bottom: 4rem;
}

body.detail-page section.detail-cta {
  padding: 0 0 4rem;
}

.detail-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4rem;
  color: var(--white);
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 31, 51, 0.94) 0%, rgba(11, 31, 51, 0.75) 45%, rgba(0, 143, 133, 0.35) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 28%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.detail-breadcrumb a:hover {
  color: #7ee8df;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.detail-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.detail-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.detail-hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.detail-hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.detail-chip {
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.detail-body {
  padding: 0 0 4rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.detail-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.detail-intro-main {
  padding: 2rem 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 31, 51, 0.06);
}

.detail-intro-main h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.detail-intro-main p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
}

.detail-intro-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-stat {
  flex: 1;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.detail-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.detail-stat span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.detail-stat--accent {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.detail-section-title {
  margin-bottom: 1.75rem;
}

.detail-section-title .section-label {
  margin-bottom: 0.5rem;
}

.detail-section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.detail-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.detail-card {
  grid-column: span 4;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #e8eef4;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 169, 157, 0.25);
}

.detail-card--wide {
  grid-column: span 8;
}

.detail-card--full {
  grid-column: span 12;
}

.detail-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0, 169, 157, 0.15), rgba(0, 169, 157, 0.05));
}

.detail-card-icon.red {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.12), rgba(237, 28, 36, 0.04));
}

.detail-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

.detail-card ul {
  margin-top: 0.5rem;
}

.detail-card li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}

.detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
}

.detail-modules {
  margin-bottom: 3rem;
}

.detail-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.detail-module {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #e8eef4;
  position: relative;
  overflow: hidden;
}

.detail-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--red));
}

.detail-module-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.detail-module h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}

.detail-module ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
}

.detail-module ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--teal);
}

.detail-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.detail-showcase img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.detail-showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem 1.25rem;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.85), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-cta {
  margin: 0 0 0;
  padding: 0 0 4rem;
}

.detail-cta-box {
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #e8eef4;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.detail-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.12), transparent 70%);
  pointer-events: none;
}

.detail-cta-box h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--navy);
  position: relative;
}

.detail-cta-box p {
  color: var(--slate);
  font-size: 0.95rem;
  position: relative;
}

.detail-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
  position: relative;
}

.detail-footer-mini {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  border-top: 1px solid #e2e8f0;
  background: var(--white);
}

.detail-footer-mini a {
  color: var(--teal);
  font-weight: 600;
}

.detail-footer-mini a:hover {
  text-decoration: underline;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-showcase {
    grid-column: 1;
    grid-row: 2;
    min-height: 380px;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-metrics {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-chip--1 { left: 0; }
  .hero-chip--3 { right: 0; }

  .about-grid,
  .contact-grid,
  .footer-grid,
  .detail-intro,
  .detail-cta-box {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .detail-bento .detail-card,
  .detail-bento .detail-card--wide,
  .detail-bento .detail-card--full {
    grid-column: span 12;
  }

  .detail-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
    z-index: 10001;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 5.5rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 340px;
  }

  .hero-glass--logo {
    left: 50%;
    right: auto;
    margin-left: -120px;
    padding: 1.25rem 1.5rem;
  }

  .hero-glass--logo img {
    width: 180px;
  }

  .hero-chip--2 {
    left: auto;
    right: 0;
  }

  section {
    padding: 3.5rem 0;
  }
}
