:root {
  --bg-dark: #0d121b;
  --bg-deep: #090d14;
  --surface: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #bcc6d7;
  --text-dark: #0b1728;
  --card: #ffffff;
  --card-muted: #56657a;
  --primary: #ff7a18;
  --accent: #5b70da;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1320px, calc(100% - 40px));
  --container-wide: min(1640px, calc(100% - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.12), transparent 24%),
    linear-gradient(180deg, #090d14 0%, #121927 36%, #eef3fb 36.1%, #eef3fb 100%);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.product-hero .container,
.testimonials-section .container,
.about-section .container,
.cta-section .container,
.footer .container {
  width: var(--container-wide);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(9, 13, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.intro-hero h1,
.product-copy h2,
.about-copy h2,
.cta-box h2,
.footer h3,
.footer h4 {
  font-family: "Sora", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.nav a {
  color: #edf1f8;
  font-size: 0.94rem;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ghost-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ghost-button {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--primary), #ff9851);
  box-shadow: 0 16px 34px rgba(255, 122, 24, 0.24);
}

.secondary-button {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary-button.dark {
  color: var(--text-dark);
  background: white;
  border-color: rgba(16, 32, 51, 0.1);
}

#obs .primary-button {
  background: linear-gradient(135deg, #4b78ff, #6c92ff);
  box-shadow: 0 16px 34px rgba(75, 120, 255, 0.24);
}

#obs .secondary-button {
  background: rgba(91, 112, 218, 0.14);
  border-color: rgba(108, 146, 255, 0.22);
}

#drone-rtmp .primary-button {
  background: linear-gradient(135deg, #ff7a18, #ffab52);
  box-shadow: 0 16px 34px rgba(255, 122, 24, 0.26);
}

#drone-rtmp .secondary-button {
  background: rgba(255, 170, 82, 0.1);
  border-color: rgba(255, 170, 82, 0.2);
}

#sites .primary-button {
  background: linear-gradient(135deg, #ff9b2f, #ffc15e);
  box-shadow: 0 16px 34px rgba(255, 155, 47, 0.2);
}

#sites .secondary-button.dark {
  color: #8a4600;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 155, 47, 0.24);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8a4600;
  background: rgba(255, 122, 24, 0.14);
  border-color: rgba(255, 122, 24, 0.14);
}

.intro-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 88px);
  padding: 36px 0 42px;
}

.intro-hero-inner {
  width: min(1560px, calc(100% - 56px));
  margin: 0 auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-hero h1 {
  margin: 16px 0 12px;
  max-width: 18ch;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.intro-hero p,
.product-copy p,
.about-copy p,
.cta-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.rotating-text-wrap {
  display: block;
  width: min(24ch, 100%);
  margin: 0.08em auto 0;
  min-height: 2.35em;
  vertical-align: baseline;
  overflow: visible;
}

.rotating-text {
  display: inline;
  white-space: normal;
  color: #ffbe72;
  transition: opacity 280ms ease, transform 280ms ease;
}

.rotating-text.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.rotating-text.is-entering {
  opacity: 1;
  transform: translateY(0);
}

.intro-seo-line {
  margin-top: 10px;
  color: rgba(220, 230, 245, 0.9);
  font-size: 0.98rem;
}

.intro-hero p {
  max-width: 76ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.product-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 72px 0;
}

.product-hero-dark {
  color: white;
  background:
    radial-gradient(circle at top right, rgba(91, 112, 218, 0.14), transparent 26%),
    linear-gradient(180deg, #101725 0%, #0d121b 100%);
}

#obs.product-hero {
  background:
    radial-gradient(circle at top right, rgba(76, 120, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #0b1320 0%, #0b111a 100%);
}

#drone-rtmp.product-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 24, 0.18), transparent 28%),
    linear-gradient(180deg, #1b130f 0%, #0d121b 100%);
}

#sites.product-hero {
  background:
    radial-gradient(circle at top left, rgba(255, 183, 77, 0.18), transparent 26%),
    linear-gradient(180deg, #fff4e8 0%, #eef3fb 100%);
}

.product-hero-light,
.about-section,
.testimonials-section {
  background: #eef3fb;
}

.section-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.24;
  pointer-events: none;
}

.product-hero-light .section-video {
  opacity: 0.12;
}

#obs .section-video {
  opacity: 0.2;
}

#drone-rtmp .section-video {
  opacity: 0.26;
}

#sites .section-video {
  opacity: 0.09;
}

.section-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 20, 0.58), rgba(9, 13, 20, 0.78));
}

.product-hero-light .section-video::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(238, 243, 251, 0.92));
}

#obs .section-video::after {
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.6), rgba(11, 17, 26, 0.82));
}

#drone-rtmp .section-video::after {
  background:
    linear-gradient(180deg, rgba(13, 18, 27, 0.46), rgba(13, 18, 27, 0.76));
}

#sites .section-video::after {
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.8), rgba(238, 243, 251, 0.94));
}

.section-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-grid,
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 48px;
  align-items: center;
}

.product-hero-grid.reverse {
  direction: rtl;
}

.product-hero-grid.reverse > * {
  direction: ltr;
}

.product-hero-grid.single-column {
  grid-template-columns: minmax(0, 880px);
  justify-content: start;
}

.product-hero-grid.split-features {
  grid-template-columns: minmax(0, 760px) minmax(320px, 460px);
  align-items: start;
  justify-content: center;
}

.product-hero-grid.sites-layout {
  grid-template-columns: minmax(0, 620px) minmax(360px, 760px);
  align-items: center;
  justify-content: center;
}

.product-hero-grid.centered-copy {
  justify-content: center;
}

.product-hero-grid.centered-copy .product-copy {
  margin: 0 auto;
  text-align: center;
}

.product-hero-grid.centered-copy .product-list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.product-hero-grid.centered-copy .hero-actions {
  justify-content: center;
}

.feature-column {
  align-self: center;
  gap: 16px;
}

.feature-column li {
  min-height: 88px;
  display: flex;
  align-items: center;
}

.product-copy h2,
.about-copy h2,
.cta-box h2 {
  margin: 16px 0 12px;
  max-width: 16ch;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-copy p {
  max-width: 70ch;
}

.product-copy {
  max-width: 920px;
}

.product-hero-dark .product-copy p {
  color: #d2dcef;
}

.product-hero-light .product-copy h2,
.about-copy h2 {
  color: var(--text-dark);
}

.product-hero-light .product-copy p,
.about-copy p {
  color: var(--card-muted);
}

.product-list,
.about-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-list li,
.about-list div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
}

.product-list li {
  font-weight: 700;
}

.product-hero-dark .product-list li {
  color: #edf2fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-hero-light .product-list li {
  color: var(--text-dark);
  background: white;
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.06);
}

.product-media,
.about-photo,
.footer-grid,
.cta-box,
.portfolio-showcase {
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.portfolio-showcase {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 51, 0.08);
  padding: 26px;
  width: 100%;
}

.portfolio-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.portfolio-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8a4600;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-header h3 {
  margin: 0;
  color: var(--text-dark);
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.portfolio-controls {
  display: flex;
  gap: 10px;
}

.portfolio-control {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 999px;
  background: white;
  color: var(--text-dark);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

.portfolio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

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

.portfolio-card {
  scroll-snap-align: start;
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 246, 252, 1));
  border: 1px solid rgba(16, 32, 51, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 24, 0.28);
  box-shadow: 0 18px 34px rgba(16, 32, 51, 0.09);
}

.portfolio-type,
.portfolio-card strong,
.portfolio-card p {
  display: block;
}

.portfolio-type {
  margin-bottom: 14px;
  color: #8a4600;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card strong {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.portfolio-card p {
  margin: 0;
  color: var(--card-muted);
  line-height: 1.7;
}

.product-media.light-frame {
  background: white;
  border-color: rgba(16, 32, 51, 0.08);
}

.product-media img,
.about-photo img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.product-media img {
  min-height: 540px;
}

.product-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9, 13, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-badge strong,
.product-badge span,
.about-list strong,
.about-list span {
  display: block;
}

.product-badge strong,
.about-list strong {
  margin-bottom: 6px;
}

.product-badge span {
  color: #d2dcef;
}

.about-section {
  padding: 72px 0;
}

.testimonials-section {
  padding: 72px 0;
}

.section-heading {
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading.compact h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 26px;
  background: white;
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 16px 34px rgba(16, 32, 51, 0.07);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--text-dark);
  line-height: 1.75;
}

.testimonial-card .testimonial-stars {
  margin: -4px 0 10px;
  color: #f6b73c;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-bottom: 6px;
  color: var(--text-dark);
}

.testimonial-card span {
  color: var(--card-muted);
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.about-photo img {
  min-height: 440px;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #151c28 0%, #0d121b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f7fb;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(9, 13, 20, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.skill-badge:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #1b2332 0%, #111827 100%);
  border-color: rgba(255, 122, 24, 0.3);
  box-shadow: 0 18px 34px rgba(9, 13, 20, 0.22);
}

.cta-section {
  padding: 8px 0 84px;
  background: #eef3fb;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #0e1522 0%, #151d2d 55%, #25395d 100%);
}

.cta-box p {
  max-width: 70ch;
  color: #dbe4f1;
}

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

.footer {
  padding: 0 0 84px;
  background: #eef3fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 30px;
  border-radius: 26px;
  background: white;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
  color: var(--text-dark);
}

.footer p,
.footer a {
  margin: 0;
  display: block;
  color: #4f617a;
  line-height: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (max-width: 1080px) {
  .product-hero-grid,
  .about-grid,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-grid.reverse {
    direction: ltr;
  }

  .cta-box {
    align-items: start;
  }

  .product-hero,
  .intro-hero {
    min-height: auto;
  }

  .product-media img,
  .about-photo img {
    min-height: 400px;
  }

  .portfolio-showcase {
    padding: 22px;
  }

  .product-hero-grid.split-features,
  .product-hero-grid.sites-layout {
    gap: 28px;
  }

  .feature-column {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .product-hero-grid.split-features,
  .product-hero-grid.sites-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-hero-grid.split-features .product-copy,
  .product-hero-grid.sites-layout .product-copy,
  .product-hero-grid.split-features .portfolio-showcase,
  .product-hero-grid.sites-layout .portfolio-showcase {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .product-hero-grid.split-features .feature-column {
    max-width: 760px;
    margin: 0 auto;
  }

  .product-hero-grid.split-features .hero-actions,
  .product-hero-grid.sites-layout .hero-actions {
    justify-content: flex-start;
  }

  .portfolio-track {
    grid-auto-columns: minmax(280px, 82%);
  }
}

@media (max-width: 840px) {
  .topbar-inner {
    gap: 10px;
    padding: 12px 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(9, 13, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .ghost-button {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand span {
    font-size: 0.74rem;
  }

  .topbar-actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 680px) {
  .product-hero .container,
  .testimonials-section .container,
  .about-section .container,
  .cta-section .container,
  .footer .container,
  .intro-hero-inner {
    width: calc(100% - 24px);
  }

  .intro-hero h1 {
    max-width: none;
    font-size: 2.15rem;
  }

  .rotating-text-wrap {
    width: min(18ch, 100%);
    min-height: 2.75em;
  }

  .product-copy h2,
  .about-copy h2,
  .cta-box h2,
  .section-heading.compact h2 {
    max-width: none;
    font-size: 2rem;
  }

  .brand span {
    display: none;
  }

  .topbar-inner {
    gap: 12px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .product-hero,
  .about-section {
    padding: 44px 0;
  }

  .intro-hero {
    padding: 26px 0 36px;
  }

  .intro-hero p,
  .product-copy p,
  .about-copy p,
  .cta-box p,
  .portfolio-card p,
  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .cta-actions .primary-button,
  .cta-actions .secondary-button {
    width: 100%;
  }

  .product-copy,
  .about-copy {
    max-width: none;
  }

  .product-copy h2,
  .product-copy p,
  .about-copy,
  .cta-box,
  .footer-grid,
  .section-heading {
    text-align: center;
  }

  .product-copy .eyebrow,
  .about-copy .eyebrow,
  .section-heading .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .product-list li,
  .feature-column li {
    min-height: auto;
    padding: 14px 16px;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .portfolio-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .portfolio-track {
    grid-auto-columns: 88%;
  }

  .product-hero-grid.split-features .product-copy,
  .product-hero-grid.sites-layout .product-copy,
  .product-hero-grid.split-features .feature-column,
  .product-hero-grid.sites-layout .portfolio-showcase {
    text-align: left;
  }

  .product-hero-grid.split-features .product-copy .eyebrow,
  .product-hero-grid.sites-layout .product-copy .eyebrow {
    margin-left: 0;
    margin-right: 0;
  }

  .product-hero-grid.split-features .hero-actions,
  .product-hero-grid.sites-layout .hero-actions {
    justify-content: stretch;
  }

  .cta-section,
  .footer {
    padding-bottom: 72px;
  }

  .product-media,
  .cta-box,
  .footer-grid,
  .portfolio-showcase {
    padding: 22px;
  }

  .product-media img,
  .about-photo img {
    min-height: 300px;
  }

  .about-photo img {
    object-position: center top;
  }

  .skills-cloud {
    justify-content: center;
    gap: 10px;
  }

  .skill-badge {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

.footer-grid {
  gap: 18px;
  }
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(76, 120, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #0b1320 0%, #0b111a 100%);
}

.detail-hero-obs .section-video {
  opacity: 0.2;
}

.detail-hero-obs .section-video::after {
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.6), rgba(11, 17, 26, 0.84));
}

.detail-grid,
.detail-columns {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.detail-grid {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

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

.detail-gallery,
.detail-card {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-gallery {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-gallery-heading {
  margin-bottom: 16px;
}

.detail-gallery-heading h2 {
  margin: 8px 0 0;
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.detail-gallery-grid img {
  width: 100%;
  object-fit: cover;
}

.detail-gallery-grid {
  display: grid;
  gap: 14px;
}

.detail-gallery-grid .detail-gallery-featured {
  border-radius: 22px;
  min-height: 360px;
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.detail-thumb {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.detail-thumb img {
  min-height: 88px;
}

.detail-thumb:hover,
.detail-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, 0.34);
  box-shadow: 0 14px 24px rgba(9, 13, 20, 0.2);
}

.detail-copy h1,
.detail-card h2 {
  margin: 14px 0 12px;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.detail-copy h1 {
  max-width: 14ch;
  font-size: clamp(1.7rem, 2.9vw, 2.8rem);
  line-height: 1.12;
}

.detail-specialist {
  margin: 0;
  color: #ff9e54;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-lead,
.detail-card p {
  margin: 0;
  line-height: 1.75;
}

.detail-lead {
  max-width: 60ch;
  color: #d2dcef;
}

.detail-highlight {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.detail-highlight strong,
.detail-highlight span,
.detail-kicker {
  display: block;
}

.detail-highlight span {
  color: #d2dcef;
}

.detail-price {
  flex: 0 0 auto;
  text-align: right;
}

.detail-price small,
.detail-price strong {
  display: block;
}

.detail-price small {
  color: #9ca8bd;
  font-size: 0.88rem;
  text-decoration: line-through;
}

.detail-price strong {
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.detail-actions.compact {
  margin-top: 20px;
}

.detail-points,
.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-points li,
.detail-list li {
  padding: 16px 18px;
  border-radius: 20px;
  font-weight: 700;
}

.detail-points li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-section {
  padding: 72px 0;
}

.detail-section-light {
  background: #eef3fb;
}

.detail-section-dark {
  background:
    radial-gradient(circle at top left, rgba(76, 120, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0d121b 0%, #121927 100%);
  color: white;
}

.detail-card {
  padding: 28px;
  background: white;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.detail-card.dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.detail-card h2 {
  color: var(--text-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.detail-card.dark h2,
.detail-card.dark p {
  color: white;
}

.detail-card p {
  color: var(--card-muted);
}

.detail-kicker {
  color: #8a4600;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-card.dark .detail-kicker {
  color: #ffb86e;
}

.detail-list li {
  color: var(--text-dark);
  background: #f7f9fd;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

/* RTMP page visual tuning: dark cards + cleaner image framing + stronger reveal */
.obs-detail-page .detail-section-light .detail-card {
  background: linear-gradient(180deg, #101724 0%, #131d2d 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eef3ff;
  box-shadow: 0 20px 44px rgba(7, 12, 22, 0.38);
}

.obs-detail-page .detail-section-light {
  background:
    radial-gradient(circle at top right, rgba(76, 120, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #0f1623 0%, #121b2b 100%);
  color: #eef3ff;
}

.obs-detail-page .detail-section-light .detail-card h2,
.obs-detail-page .detail-section-light .detail-card p {
  color: #eef3ff;
}

.obs-detail-page .detail-section-light .detail-card .detail-kicker {
  color: #ffb86e;
}

.obs-detail-page .detail-section-light .detail-list li {
  color: #eef3ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.obs-detail-page .detail-card img,
.obs-detail-page .detail-gallery img {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f1624;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.obs-detail-page .detail-card.reveal {
  transform: translateY(26px) scale(0.985);
  filter: blur(1px);
  transition: opacity 640ms ease, transform 640ms ease, filter 640ms ease;
}

.obs-detail-page .detail-card.reveal.visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.obs-detail-page .detail-columns .detail-card:nth-child(2) {
  transition-delay: 120ms;
}

.rtmp-page .detail-hero .detail-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.rtmp-page .detail-hero .detail-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.rtmp-page .detail-hero .detail-copy .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.rtmp-page .detail-hero .detail-copy h1,
.rtmp-page .detail-hero .detail-copy .detail-lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.rtmp-page .detail-hero .detail-actions {
  justify-content: center;
}

/* hard-center only the initial hero copy (RTMP page) */
.rtmp-page #inicio .detail-copy {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.rtmp-page #inicio .container.detail-grid {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.rtmp-page #inicio .detail-copy .eyebrow,
.rtmp-page #inicio .detail-copy h1,
.rtmp-page #inicio .detail-copy .detail-lead {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.rtmp-page #inicio .detail-copy h1 {
  max-width: 30ch !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
}

.rtmp-page #inicio .detail-copy .detail-lead {
  max-width: 68ch !important;
  line-height: 1.65 !important;
  margin-top: 24px !important;
}

.rtmp-page #inicio .detail-actions {
  justify-content: center !important;
  margin-top: 34px !important;
}

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

.reviews-page .detail-card {
  min-height: 100%;
}

.reviews-page .review-meta {
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.95rem;
}

.reviews-page .review-stars {
  margin: 14px 0 10px;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #ffd166;
}

@media (max-width: 1080px) {
  .detail-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .reviews-page .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .detail-hero,
  .detail-section {
    padding: 44px 0;
  }

  .detail-copy h1,
  .detail-card h2 {
    max-width: none;
    font-size: 2.1rem;
  }

  .detail-actions .primary-button,
  .detail-actions .secondary-button {
    width: 100%;
  }

  .detail-gallery,
  .detail-card {
    padding: 20px;
  }

  .detail-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-price {
    text-align: left;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery-grid .detail-gallery-featured {
    min-height: 220px;
  }

  .detail-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-thumb img {
    min-height: 72px;
  }
}
