/* ---------- Base styles & variables ---------- */
:root {
  --color-bg: #001E24;
  --color-bg-alt: #021F27;
  --color-elevated: #031F26;
  --color-accent: #1390AD;
  --color-accent-soft: #1E545F;
  --color-cta: #00C4D7;
  --color-text: #E4EDF2;
  --color-muted: #A7ADB0;
  --color-border-subtle: rgba(228, 237, 242, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #022B35 0, #00141A 45%, #00090D 75%);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 0.75rem;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.8rem, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.3rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-title {
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--color-muted);
  max-width: 42rem;
}

.section-header p {
  color: var(--color-muted);
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(19,144,173,0.4) 0, rgba(0,21,27,0.94) 35%, rgba(0,9,13,0.98) 70%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 650;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-list a {
  padding: 0.3rem 0;
  position: relative;
  color: var(--color-muted);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transition: width 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.3rem;
  border-radius: 999px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, border-color 0.13s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--color-cta), var(--color-accent));
  color: #00151A;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75);
}

.btn-outline {
  border-color: rgba(255,255,255,0.14);
  color: var(--color-text);
  background: rgba(3,29,36,0.8);
}

.btn-outline:hover {
  border-color: var(--color-cta);
  background: rgba(5,40,49,0.95);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7); /* slate-400 */
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
  background: transparent;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(45, 212, 191, 0.8); /* teal-400-ish */
  color: #e0f2fe;
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

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

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-copy {
  max-width: 32rem;
}

.hero-subtitle {
  color: var(--color-muted);
  font-size: 0.99rem;
  margin-bottom: 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pill {
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(227,239,244,0.18);
  font-size: 0.78rem;
  color: var(--color-muted);
  background: radial-gradient(circle at top left, rgba(19,144,173,0.3) 0, rgba(3,26,33,0.9) 60%);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(0,196,215,0.25) 0, transparent 50%),
    radial-gradient(circle at bottom left, rgba(19,144,173,0.4) 0, transparent 55%),
    linear-gradient(135deg, rgba(3,33,41,0.98), rgba(0,11,16,1));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-card-top h2 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.hero-card-sub {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1.3rem;
}

.hero-metrics {
  margin: 0;
}

.hero-metrics .metric {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 0.3rem 0.75rem;
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  background: rgba(2, 22, 28, 0.85);
  font-size: 0.82rem;
}

.hero-metrics dt {
  font-weight: 500;
  color: var(--color-muted);
}

.hero-metrics dd {
  margin: 0;
}

.metric-value {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.metric-note {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.hero-card-foot {
  margin-top: 0.95rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-card-foot span {
  color: var(--color-cta);
  font-weight: 500;
}

/* ---------- Services ---------- */

.services {
  padding-top: 4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem;
  background: linear-gradient(145deg, rgba(3, 25, 32, 0.98), rgba(0, 8, 12, 0.98));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  font-size: 0.9rem;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text);
  font-size: 0.85rem;
}

.pricing-note {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* ---------- Process ---------- */

.process {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  font-size: 0.9rem;
}

.steps li {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(0, 19, 25, 0.95), rgba(2, 30, 38, 0.98));
  border: 1px solid rgba(255,255,255,0.04);
}

.steps h3 {
  margin-bottom: 0.35rem;
}

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

/* ---------- Benefits ---------- */

.benefits-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.benefit-grid .card {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.benefit-grid p {
  color: var(--color-muted);
}

/* --- Shared gallery styles --- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.gallery-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85); /* slate-900-ish */
  border: 1px solid rgba(30, 64, 175, 0.3); /* teal/blue border */
  display: flex;
  flex-direction: column;
}

.gallery-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #020617; /* fallback bg */
}

.gallery-media video,
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* <— squishes nicely into the box */
  display: block;
}

.gallery-caption {
  padding: 0.9rem 1.2rem 1.2rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.9); /* slate-200-ish */
}

/* ---------- About ---------- */

.about {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr);
}

.about-text p {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.about-text p + p {
  margin-top: 0.75rem;
}

/* ---------- Testimonials ---------- */

.testimonials .section-sub {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonial {
  position: relative;
  padding-top: 1.8rem;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-size: 2.3rem;
  color: rgba(0,196,215,0.45);
}

.testimonial .quote {
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.testimonial .author {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  font-size: 0.9rem;
}

.faq-item {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,19,25,0.96), rgba(0,10,14,0.99));
  border: 1px solid rgba(255,255,255,0.06);
}

.faq-item h3 {
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.faq-item p {
  color: var(--color-muted);
}

/* ---------- Contact ---------- */

.contact {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-text p {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-details li + li {
  margin-top: 0.4rem;
}

.contact-details a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: rgba(0,196,215,0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-form {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(2,27,34,0.98), rgba(3,36,45,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(189,207,215,0.45);
  background: rgba(0,11,16,0.9);
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(167,173,175,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-cta);
  box-shadow: 0 0 0 1px rgba(0,196,215,0.55);
  background: rgba(1,17,23,1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .full-width {
  margin: 0.2rem 0 0.8rem;
}

.form-footnote {
  margin-top: 0.55rem;
  font-size: 0.76rem;
  color: var(--color-muted);
}

.contact-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 0 0.75rem;
  background: radial-gradient(circle at top, #021C23 0, #00080C 55%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.86rem;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-copy {
  color: var(--color-muted);
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-muted);
}

.footer-right a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,196,215,0.7);
}

.footer-bottom {
  padding-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
}

/* ---------- Floating call button ---------- */

.floating-call {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-cta), var(--color-accent));
  color: #00151A;
  font-size: 0.86rem;
  font-weight: 650;
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
}

.floating-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}

/* --- Reviews section --- */

.reviews-section {
  padding: 6rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.6); /* subtle top border */
}

.reviews-container {
  max-width: 72rem; /* ~1152px */
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #e5e7eb; /* slate-200-ish */
}

.reviews-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2dd4bf; /* teal-ish */
  margin-bottom: 0.75rem;
}

.reviews-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #f9fafb;
}

.reviews-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0 0 1rem;
}

.reviews-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.reviews-rating a {
  color: #2dd4bf;
  text-decoration: underline;
}

.reviews-rating a:hover {
  color: #5eead4;
}

.reviews-stars {
  color: #fbbf24; /* amber-300 */
  font-size: 1.1rem;
}

/* Cards grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(15, 23, 42, 0.88); /* dark slate */
  border-radius: 1.5rem;
  border: 1px solid rgba(30, 64, 175, 0.35); /* blue-ish border */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.review-card-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.review-card-stars {
  color: #fbbf24;
}

.review-card-source {
  color: #9ca3af;
}

.review-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.review-card-author {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr);
  }

  .hero-card {
    margin-top: 2rem;
    max-width: 420px;
  }

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

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

  .benefits-inner {
    grid-template-columns: minmax(0, 1.2fr);
  }

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

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

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 3.1rem 0 auto 0;
    background: rgba(0, 12, 17, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.75rem 1.5rem 0.9rem;
    display: none;
    flex-direction: column;
    gap: 0.85rem;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    padding-top: 4.25rem;
  }

  .hero-inner {
    gap: 2rem;
  }

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

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

  .benefits-inner {
    gap: 2rem;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-inline: 1.1rem;
  }

  .container {
    padding-inline: 1.1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-card {
    margin-inline: auto;
  }

  .floating-call {
    right: 0.9rem;
    left: 0.9rem;
    text-align: center;
    justify-content: center;
  }
}

/* Hero with video background */
.hero {
  position: relative;
  min-height: 100vh;          /* full-screen hero */
  overflow: hidden;
  background: transparent;
}

/* Video fills the hero and sits above the page background */
.hero-video {
  position: absolute;
  inset: 0;                   /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* All existing hero content sits above the video */
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Safety: remove any hero pseudo overlays */
.hero::before,
.hero::after {
  display: none !important;
}

/* Glassy hero panel over video */
/* Layout the hero so the panel hugs the top-left */
.hero-inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  padding: clamp(4rem, 10vh, 6rem) clamp(1.5rem, 6vw, 4rem);
}

/* Glassy hero panel over the video */
.hero-panel {
  background: radial-gradient(circle at top left,
              rgba(7, 46, 73, 0.70),
              rgba(2, 15, 23, 0.82));
  border-radius: 24px;
  padding: 2.25rem 2.75rem;
  max-width: 560px;              /* a bit narrower so more video shows */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-left: 0;
  margin-top: 0;
}

/* Nudge it a tiny bit away from the edges on big screens */
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 5rem;
    padding-left: 5vw;
  }

  .hero-panel {
    margin-top: 1.5rem;
  }
}

/* Mobile: keep it full-width-ish and comfy */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-panel {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
}

/* Tuck hero panel tighter into top-left on large screens */
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 3rem;   /* was higher – smaller = closer to top */
    padding-left: 0rem;     /* hug the left edge */
  }

  .hero-panel {
    margin-top: 0.5rem;     /* tiny offset so it doesn't touch the nav */
    margin-left: -7rem;     /* push further left */
  }
}
