/* ==========================================================================
   Lumiret Studio — shared stylesheet
   Lumiret identity:
   deep-space navy ground, the electric blue → teal gradient of the brand pieces, the astronaut
   mascot, rounded friendly shapes and Outfit (a geometric sans close to the wordmark).
   ========================================================================== */

:root {
  --paper: #f4f7fc;
  --ink: #0b1528;
  --muted: #a3b3cb;          /* 8.9:1 on --night-deep */
  --muted-on-paper: #56657c;
  --line: rgba(190, 215, 255, .12);
  --line-strong: rgba(190, 215, 255, .26);
  --line-on-paper: rgba(11, 21, 40, .14);
  --accent: #1662f0;         /* brand electric blue — white text on it is 5.2:1 */
  --accent-text: #8cc2ff;    /* blue for small text on navy: 10:1 */
  --focus: #9fd0ff;
  --accent-dim: #0b2f78;
  --aqua: #5fe3cf;           /* the teal of the brand gradient, for highlights */
  --helmet: #9cd4f2;         /* the astronaut's visor */
  --olive: #bcd0ea;
  --sand: #cfe2ff;
  --blue: #9cd4f2;
  --night: #081427;
  --night-deep: #050d1c;
  --night-raised: #0c1d38;
  --night-card: #0f2444;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;

  --font: "Outfit", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --shell: min(1320px, calc(100% - 56px));
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Anchor targets (Services / Studio / Contact / etc.) land below the fixed
   header instead of half-hidden underneath it. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--night-deep);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  padding: 10px 14px; border-radius: 4px;
  background: var(--white); color: var(--night-deep);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

.draft-notice {
  margin: 0 0 18px; padding: 10px 14px;
  border: 1px solid #c9a94d; color: #f3d88a;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}

.shell { width: var(--shell); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(5, 13, 28, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand-link { display: inline-flex; align-items: center; }
.brand-logo { width: 150px; height: auto; display: block; }

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

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.main-nav .nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color .2s ease;
}

.main-nav .nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a:focus-visible,
.main-nav .nav-links a[aria-current="page"] {
  color: var(--white);
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a:focus-visible::after,
.main-nav .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, gap .2s ease;
}

.btn-primary { background: var(--accent); color: var(--on-accent, var(--white)); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--white); color: var(--night-deep); gap: 14px; box-shadow: 0 10px 30px rgba(22, 98, 240, .35); }

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--white);
}
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--accent); color: var(--accent-text); }

.btn-ghost {
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
  padding: 4px 0;
  gap: 8px;
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--accent); color: var(--accent-text); gap: 12px; }

.nav-drawer { display: none; }

/* -------------------------------------------------------------------------
   Language toggle
   ------------------------------------------------------------------------- */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button {
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}
.lang-toggle button:hover { color: var(--white); }
.lang-toggle button[aria-current="true"] {
  background: var(--accent);
  color: var(--white);
}
.lang-toggle button[aria-current="true"]:hover { color: var(--white); }
.nav-drawer .lang-toggle { margin-top: 34px; }
.nav-drawer .lang-toggle button { padding: 10px 16px; font-size: 12px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 30px; height: 22px;
}
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* -------------------------------------------------------------------------
   Breadcrumb / page intro (collection + detail pages)
   ------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); transition: color .2s ease; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--accent-text); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }
.breadcrumb .current { color: var(--white); }

.page-intro { padding: 22px 0 56px; border-bottom: 1px solid var(--line); }
.page-intro h1 {
  margin: 10px 0 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .96;
}
.page-intro p { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.kicker {
  display: block;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .98;
  max-width: 620px;
}

.section-head p {
  max-width: 300px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.section-foot.is-centered { justify-content: center; }

/* -------------------------------------------------------------------------
   Carousel (Film, Photography, Testimonials)
   ------------------------------------------------------------------------- */
.carousel { position: relative; }

.carousel-viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-viewport > * { scroll-snap-align: start; min-width: 0; }

.carousel[data-per="3"] .carousel-viewport { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
.carousel[data-per="2"] .carousel-viewport { grid-auto-columns: calc((100% - 1 * 24px) / 2); gap: 24px; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--white); }
.carousel-arrow[disabled] { opacity: .3; pointer-events: none; }
.carousel-arrow svg { width: 16px; height: 16px; }

/* Project card */
.project-card { display: block; }

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-raised);
}

.project-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-card-media img,
.project-card:focus-visible .project-card-media img { transform: scale(1.06); }

.project-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: rgba(5,13,28,.78);
  color: var(--sand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.project-card-play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(251,250,245,.14);
  border: 1px solid rgba(251,250,245,.4);
  backdrop-filter: blur(3px);
}
.project-card-play svg { width: 14px; height: 14px; margin-left: 2px; }

.project-card-copy {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.project-card-copy h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.project-card-copy span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Testimonial card */
.testimonial-card {
  padding: 30px;
  background: var(--night-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.01em;
  font-style: italic;
}
.testimonial-card footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.testimonial-card footer strong { display: block; color: var(--white); font-size: 12px; margin-bottom: 3px; }

/* -------------------------------------------------------------------------
   Client-logo marquee
   ------------------------------------------------------------------------- */
.marquee-section { padding: 64px 0; border-top: 1px solid var(--line); }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 64px;
  animation: marquee-scroll 34s linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-slot-logo {
  height: 44px;
  padding: 0;
  border: none;
}
.marquee-slot-logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: .75;
  transition: opacity .2s ease, filter .2s ease;
}
.marquee-slot-logo:hover img { opacity: 1; filter: none; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* -------------------------------------------------------------------------
   Request a Project (contact)
   ------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background: var(--night-raised);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-grid h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .96;
}

.contact-grid > div:first-child p {
  max-width: 400px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-note {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row { display: grid; gap: 8px; }
.form-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
}

.form-row select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3b3cb' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; }
.form-row select option { color: #111; }

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(220,232,255,.38); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--accent); }

.form-status {
  min-height: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-text);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-mark { width: 26px; height: 26px; object-fit: contain; }
.footer-brand span, .site-footer nav { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--white); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover, .footer-social a:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.footer-social svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------------------
   Work collection grid
   ------------------------------------------------------------------------- */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 30px 0 10px;
}
.filter-pill {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filter-pill[aria-current="true"],
.filter-pill:hover,
.filter-pill:focus-visible { color: var(--white); background: var(--accent); border-color: var(--accent); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 24px;
  padding: 30px 0 100px;
}

.work-grid .project-card-media { aspect-ratio: 4 / 5; }

.work-empty {
  padding: 60px 0 100px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   Project detail
   ------------------------------------------------------------------------- */
.project-hero { padding: 30px 0 50px; border-bottom: 1px solid var(--line); }
.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-hero-meta strong { color: var(--white); }
.project-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .94;
  max-width: 900px;
}
.project-hero-desc { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-tag {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0;
}
.gallery-grid figure { margin: 0; }
.gallery-grid .media-frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--night-raised);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.film-media { padding: 56px 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--night-raised);
  overflow: hidden;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-pending-badge {
  position: absolute;
  left: 18px; bottom: 52px;
  padding: 8px 12px;
  background: rgba(5,13,28,.8);
  color: var(--sand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.editorial-media { display: grid; gap: 24px; padding: 56px 0; }
.editorial-media .media-frame { position: relative; overflow: hidden; background: var(--night-raised); border-radius: var(--radius-sm); }
.editorial-media .media-frame.is-image { aspect-ratio: 4 / 3; }
.editorial-media .media-frame.is-video { aspect-ratio: 16 / 9; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-media video { width: 100%; height: 100%; object-fit: cover; background: #000; }

.credits {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.credits ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.credits li strong { color: var(--white); margin-right: 8px; }

.project-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.project-pagination a {
  padding: 30px 4px;
  display: block;
}
.project-pagination a:first-child { border-right: 1px solid var(--line); }
.project-pagination a:last-child { text-align: right; }
.project-pagination .dir { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-pagination .ptitle { display: block; margin-top: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; transition: color .2s ease; }
.project-pagination a:hover .ptitle, .project-pagination a:focus-visible .ptitle { color: var(--accent-text); }

/* -------------------------------------------------------------------------
   Viewport reveal
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * , *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .carousel-viewport { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .main-nav .nav-links { display: none; }
  .nav-toggle { display: block; }
  .main-nav .btn-primary { display: none; }

  .nav-drawer {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 490;
    background: var(--night-deep);
    padding: 30px 28px;
    display: none;
  }
  .nav-drawer.is-open { display: block; }
  .nav-drawer .nav-links {
    display: flex; flex-direction: column; gap: 26px;
    font-size: 22px; color: var(--white);
  }
  .nav-drawer .btn-primary { margin-top: 30px; display: inline-flex; }

  .carousel-viewport { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
  .carousel[data-per="3"] .carousel-viewport,
  .carousel[data-per="2"] .carousel-viewport { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row-pair { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .gallery-grid { gap: 16px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .work-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-viewport { grid-auto-columns: 82%; }
  .project-pagination { grid-template-columns: 1fr; }
  .project-pagination a:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .project-pagination a:last-child { text-align: left; }
}

/* -------------------------------------------------------------------------
   Unified client-led Projects presentation
   ------------------------------------------------------------------------- */
.projects-hero {
  position: relative;
  min-height: min(78vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}
.projects-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}
.projects-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(15,17,15,.96), rgba(15,17,15,.22) 68%, rgba(15,17,15,.55));
}
.projects-hero-placeholder {
  position: absolute;
  top: 28px;
  right: max(28px, calc((100% - 1360px) / 2));
  z-index: 1;
  padding: 8px 11px;
  border: 1px dashed rgba(251,250,245,.42);
  color: var(--sand);
  background: rgba(15,17,15,.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.projects-hero-content { padding: 0 0 72px; }
.projects-hero-content h1 {
  max-width: 850px;
  margin: 16px 0 0;
  font-size: clamp(52px, 8.5vw, 126px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .86;
}
.projects-hero-content h1 em { color: var(--accent-display, var(--accent)); font-style: normal; }
.projects-hero-content p { max-width: 510px; margin: 24px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.projects-showcase { padding-top: 88px; }
.project-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 30px; }
.project-filter {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.project-filter:hover, .project-filter:focus-visible, .project-filter[aria-pressed="true"] { color: var(--white); background: var(--accent); border-color: var(--accent); }
.projects-showcase .project-card-media { aspect-ratio: 4 / 3; }

/* ---- Selected Projects: moves on its own like the client-logo marquee, pauses on hover/focus ---- */
.projects-marquee {
  position: relative;
  overflow: hidden;
  margin: 40px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.projects-marquee-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: 24px;
  animation: projects-marquee-scroll 72s linear infinite;
}
.projects-marquee:hover .projects-marquee-track,
.projects-marquee:focus-within .projects-marquee-track { animation-play-state: paused; }
.projects-marquee-set { display: flex; gap: 24px; }
.projects-marquee .project-card { width: 320px; flex: none; }
@keyframes projects-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 860px) {
  .projects-marquee .project-card { width: 260px; }
}
@media (max-width: 560px) {
  .projects-marquee { margin-top: 28px; }
  .projects-marquee .project-card { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-marquee-track { animation: none; }
  .projects-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
.project-card-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.project-card-tags span {
  padding: 6px 9px;
  background: rgba(5,13,28,.82);
  color: var(--sand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-card-client { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.3; }
.project-card-year { align-self: flex-start; }
.project-service-strip { margin-top: 72px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.project-service-strip p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.project-brief { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.project-brief strong { color: var(--white); margin-right: 8px; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.unified-project-media { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.unified-project-media .media-frame { margin: 0; }
.unified-project-media .media-frame.is-video { grid-column: span 2; }
.unified-project-media .media-frame.is-image { aspect-ratio: 1 / 1; }
.unified-project-media figcaption { padding: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.unified-project-media .media-frame.is-video figcaption { padding-bottom: 3px; }

@media (max-width: 860px) {
  .projects-hero { min-height: 68vh; }
  .projects-hero-content { padding-bottom: 48px; }
  .projects-showcase { padding-top: 68px; }
}

@media (max-width: 560px) {
  .projects-hero { min-height: 72vh; }
  .projects-hero-placeholder { top: 18px; right: 16px; max-width: calc(100% - 32px); font-size: 8px; }
  .projects-hero-content h1 { font-size: clamp(48px, 16vw, 82px); }
  .projects-hero-content p { font-size: 14px; }
  .project-filter-row { margin-bottom: 22px; }
  .project-service-strip { margin-top: 52px; }
  .unified-project-media { grid-template-columns: 1fr; gap: 18px; }
  .unified-project-media .media-frame.is-video { grid-column: auto; }
}

/* ---- No-JS note + honeypot ------------------------------------------- */
.noscript-note {
  width: var(--shell); margin: 24px auto 0; padding: 14px 18px;
  border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 13px; line-height: 1.55;
}
.noscript-note p { margin: 0 0 8px; }
.noscript-note p:last-child { margin: 0; }
.noscript-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.form-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Section headers stack on phones/tablets so long copy never squeezes into a sliver beside the title. */
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head p { max-width: none; margin: 0; text-align: left; }
  .section-head h2 { overflow-wrap: anywhere; hyphens: auto; }
}


/* ---- Admin-controlled site settings ---- */
[data-section][hidden], a[hidden], .footer-social[hidden], [data-contact-direct][hidden] { display: none !important; }
[data-empty-text] { display: none !important; }
main.no-hero { padding-top: var(--header-h); }

/* Content stays hidden for a moment while the admin's copy loads, so nothing flashes its default text. */
main, .site-footer { transition: opacity .25s ease; }
.pending-overrides main, .pending-overrides .site-footer { opacity: 0; }
@media (prefers-reduced-motion: reduce) { main, .site-footer { transition: none; } }

.contact-direct { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; }
.contact-direct a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-direct a:hover, .contact-direct a:focus-visible { color: var(--white); }

/* ---- YouTube / Vimeo facade: nothing third-party loads until play is pressed ---- */
.editorial-media .media-frame.is-video.is-embed { aspect-ratio: auto; background: var(--night-deep); }
.embed-play { position: relative; display: block; width: 100%; background: #000 center / cover; color: var(--white); overflow: hidden; }
.embed-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s ease, transform .5s ease; }
.embed-play:hover img, .embed-play:focus-visible img { opacity: 1; transform: scale(1.02); }
.embed-play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent, var(--white)); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.embed-play-icon svg { width: 30px; height: 30px; margin-left: 3px; }
.embed-provider { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(5,13,28,.78); border-radius: 999px; }
.embed-iframe { display: block; width: 100%; border: 0; background: #000; }
.embed-play:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }

/* ---- Film players: always fit the screen, whatever the shape of the film ----
   The player is as wide as the film's shape allows for a height that leaves the whole picture (and its
   controls) visible under the header: a vertical clip is a tall narrow player, a wide one fills the row. */
.unified-project-media .media-frame.is-video {
  --player-h: calc(100vh - var(--header-h) - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  aspect-ratio: auto;
  background: var(--night-deep);
}
@supports (height: 100svh) {
  .unified-project-media .media-frame.is-video { --player-h: calc(100svh - var(--header-h) - 48px); }
}
.unified-project-media .media-frame.is-video video,
.unified-project-media .media-frame.is-video .embed-play,
.unified-project-media .media-frame.is-video .embed-iframe {
  width: min(100%, 1120px, calc(var(--player-h) * var(--vr, 1.7778)));
  height: auto;
  aspect-ratio: var(--vr-css, 16 / 9);
  max-height: var(--player-h);
}
.unified-project-media .media-frame.is-video video { object-fit: contain; background: #000; }
.unified-project-media .media-frame.is-video figcaption { align-self: stretch; text-align: center; padding: 10px 12px 12px; }

/* ---- Service pages (servicios/…) ---- */
.service-page { padding-bottom: 80px; }
.service-intro p { max-width: 680px; }
.service-intro .btn { margin-top: 26px; }
.service-page h2 { margin: 0 0 16px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.service-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-cols p { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-points li { padding: 6px 0 6px 18px; border-left: 2px solid var(--aqua); color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-projects { padding-top: 56px; }
.service-projects .section-head { margin-bottom: 0; }
.service-projects .work-grid { padding-bottom: 24px; }
.service-more { margin: 0 0 56px; }
.service-faq { padding: 56px 0; border-top: 1px solid var(--line); }
.service-faq dl { margin: 0; max-width: 760px; }
.service-faq-item { padding: 18px 0; border-top: 1px solid var(--line); }
.service-faq-item dt { color: var(--white); font-size: 15px; font-weight: 700; }
.service-faq-item dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-cta { padding: 56px 0; border-top: 1px solid var(--line); }
.service-cta p { max-width: 560px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-others { padding-top: 48px; border-top: 1px solid var(--line); }
.service-others h2 { font-size: 18px; }
.service-chips, .service-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.service-links { margin-top: 18px; }
.service-chip { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--white); font-size: 13px; transition: border-color .2s ease, color .2s ease; }
.service-chip:hover, .service-chip:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.service-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 44px 0 56px; }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--night-raised); transition: border-color .2s ease, transform .2s ease; }
.service-card:hover, .service-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.service-card h2 { margin: 0; font-size: 22px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.service-card-cta { margin-top: auto; padding-top: 14px; color: var(--accent-text); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-unavailable { padding: 90px 0; color: var(--muted); }
.service-unavailable p { margin: 0 0 20px; font-size: 16px; }
@media (max-width: 860px) {
  .service-cols { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .service-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .service-hub-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .service-card { transition: none; } }

/* ---- Contact form: inline validation, loading state, success panel ---- */
.form-row label.is-required::after { content: " *"; color: var(--accent-text); }
.field-error {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #ff9a8f;
  min-height: 14px;
}
.field-error:empty { display: none; }
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] { border-color: #ff9a8f; }

.contact-form[hidden] { display: none; }
.btn.is-loading { opacity: .7; cursor: progress; }

.form-success {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 40px 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--night-deep);
}
.form-success[hidden] { display: none; }
.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent, var(--white));
}
.form-success-icon svg { width: 24px; height: 24px; }
.form-success h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.form-success p { margin: 0; max-width: 420px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-success .btn { margin-top: 8px; }

/* ==========================================================================
   Lumiret components
   ========================================================================== */

body { font-size: 16px; line-height: 1.5; }
[data-auto-empty] { display: none !important; }
.site-header .btn-primary { padding: 11px 18px; }

/* ---- Hero: brand gradient, orbits, floating astronaut ---- */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h)), 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}
@supports (height: 100svh) { .hero { min-height: min(calc(100svh - var(--header-h)), 860px); } }
.hero-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 14%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 82%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 74% 30%, rgba(255,255,255,.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 60%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 94% 12%, rgba(255,255,255,.6) 50%, transparent 51%),
    linear-gradient(90deg, rgba(5,13,28,.72) 0%, rgba(5,13,28,.25) 55%, rgba(5,13,28,0) 100%),
    linear-gradient(0deg, var(--night-deep) 0%, rgba(5,13,28,0) 32%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 32px;
  padding: 64px 0 120px;
}
.hero-content h1 {
  margin: 16px 0 0;
  font-size: clamp(50px, 7.4vw, 108px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .92;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--helmet);
  background: linear-gradient(95deg, var(--helmet) 0%, var(--aqua) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy { max-width: 540px; margin: 24px 0 0; color: #d6e3f5; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-outline { border-color: rgba(255,255,255,.4); background: rgba(5,13,28,.2); backdrop-filter: blur(6px); }
.hero .btn-outline:hover, .hero .btn-outline:focus-visible { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }

.hero-mascot { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-mascot img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); animation: float 7s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(3deg); }
}
.hero-orbits { position: absolute; z-index: -1; right: max(-120px, calc((100% - 1320px) / 2 - 140px)); top: 50%; width: 760px; height: 760px; transform: translateY(-54%); pointer-events: none; }
.hero-orbits span { position: absolute; inset: 0; border: 1px solid rgba(156, 212, 242, .22); border-radius: 50%; }
.hero-orbits span:nth-child(2) { inset: 90px; border-color: rgba(95, 227, 207, .2); }
.hero-orbits span:nth-child(3) { inset: 190px; border-style: dashed; border-color: rgba(255,255,255,.14); animation: spin 60s linear infinite; }
.hero-orbits span:nth-child(1)::after { content: ""; position: absolute; top: 14%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 18px var(--aqua); }
.hero-orbits span:nth-child(2)::after { content: ""; position: absolute; bottom: 8%; right: 20%; width: 7px; height: 7px; border-radius: 50%; background: var(--helmet); box-shadow: 0 0 14px var(--helmet); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero.has-photo .hero-mascot, .hero.has-photo .hero-orbits { display: none; }
.hero.has-photo .hero-inner { grid-template-columns: minmax(0, 1fr); }
.hero.has-photo .hero-overlay { background: linear-gradient(90deg, rgba(5,13,28,.85) 0%, rgba(5,13,28,.4) 70%), linear-gradient(0deg, var(--night-deep) 0%, rgba(5,13,28,0) 40%); }

/* services ticker along the bottom of the hero */
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(5,13,28,.55);
  backdrop-filter: blur(8px);
}
.hero-ticker-track { display: flex; width: max-content; animation: marquee-scroll 38s linear infinite; }
.hero-ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.hero-ticker li { display: inline-flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font-size: 15px; font-weight: 600; color: #dbe7f7; white-space: nowrap; }
.hero-ticker li::after { content: "✦"; color: var(--aqua); font-size: 12px; }
.hero-ticker li[hidden] { display: none; }
.hero-ticker:hover .hero-ticker-track { animation-play-state: paused; }

/* ---- Services ---- */
.services-section .section-head { margin-bottom: 48px; }
.service-group + .service-group { margin-top: 44px; }
.service-group-title {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.service-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.service-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.service-tile {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--night-card) 0%, var(--night-raised) 100%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-tile:hover, .service-tile:focus-visible { transform: translateY(-4px); border-color: rgba(95, 227, 207, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.service-tile[hidden] { display: none; }
.service-tile-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--accent) 0%, #0d8f9b 100%);
  color: var(--white);
}
.service-tile-icon svg { width: 24px; height: 24px; }
.service-tile h4 { margin: 8px 0 0; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.service-tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.service-tile-cta { margin-top: auto; padding-top: 10px; color: var(--accent-text); font-size: 14px; font-weight: 600; }
.service-tile:hover .service-tile-cta span[aria-hidden], .service-tile:focus-visible .service-tile-cta span[aria-hidden] { margin-left: 4px; }

.plan-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 44px; padding: 34px 36px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(95, 227, 207, .28) 0%, transparent 55%),
    linear-gradient(120deg, #0d3fa8 0%, #1662f0 55%, #0b7f8c 100%);
  box-shadow: 0 24px 60px rgba(8, 40, 110, .45);
}
.plan-callout h3 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.plan-callout p { max-width: 620px; margin: 10px 0 0; color: #dfeafe; font-size: 16px; line-height: 1.55; }
.plan-callout .btn-primary { background: var(--white); color: var(--night-deep); }
.plan-callout .btn-primary:hover, .plan-callout .btn-primary:focus-visible { background: var(--night-deep); color: var(--white); }

/* ---- Process ---- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-raised); }
.process-step::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--aqua)); opacity: .8; }
.process-num { display: block; color: var(--aqua); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.process-step h3 { margin: 14px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.process-step p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- Why Lumiret ---- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
.why-intro h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; }
.why-intro p { max-width: 460px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-point { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.why-point h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 700; }
.why-point h3::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 14px rgba(95, 227, 207, .7); }
.why-point p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-grid h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--night-raised); }
.faq-item summary { position: relative; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--aqua); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---- Contact ---- */
.contact-section { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--night-raised) 0%, var(--night) 100%); }
.contact-section > .contact-grid > div:first-child { position: relative; }
.btn-whatsapp { margin-top: 26px; background: #1fa855; color: var(--white); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: var(--white); color: #0b5a2c; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp[hidden] { display: none; }
.contact-mascot { width: 180px; height: auto; margin-top: 40px; opacity: .95; animation: float 8s ease-in-out infinite; }

/* ---- Floating WhatsApp button ---- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 450;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

/* ---- Footer ---- */
.site-footer { padding: 64px 0 28px; background: var(--night-deep); }
.site-footer .shell.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); align-items: start; gap: 40px; }
.footer-logo img { width: 170px; height: auto; }
.footer-about p { max-width: 340px; margin: 16px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.site-footer .footer-col { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.footer-col h2 { margin: 0 0 6px; color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--white); }
.site-footer .shell.footer-bottom { display: block; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---- Service pages ---- */
.service-hero-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; background: linear-gradient(140deg, var(--accent) 0%, #0d8f9b 100%); color: var(--white); }
.service-hero-icon svg { width: 30px; height: 30px; }
.service-intro h1 { max-width: 900px; }
.service-hub-group { padding-top: 44px; }
.service-hub-group .service-hub-grid { padding: 0; }
.service-card .service-tile-icon { margin-bottom: 4px; }
.service-card[hidden] { display: none; }
.service-card { border-radius: var(--radius); }
.service-cta { margin-top: 56px; padding: 44px 40px; border: none; border-radius: calc(var(--radius) + 6px); background: radial-gradient(120% 140% at 100% 0%, rgba(95, 227, 207, .22) 0%, transparent 55%), linear-gradient(120deg, #0d3fa8 0%, #1662f0 60%, #0b7f8c 100%); }
.service-cta p { color: #dfeafe; }
.service-cta .btn-primary { background: var(--white); color: var(--night-deep); }
.service-cta .btn-primary:hover, .service-cta .btn-primary:focus-visible { background: var(--night-deep); color: var(--white); }
.service-faq-item dt { font-size: 17px; }
.service-page .page-intro p { font-size: 17px; }

/* ---- 404 ---- */
.notfound { text-align: left; }
.notfound-mascot { width: 160px; height: auto; margin-bottom: 20px; animation: float 7s ease-in-out infinite; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Work page empty state ---- */
.work-empty { grid-column: 1 / -1; border-top: none; font-size: 17px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0 110px; }
  .hero-mascot { order: -1; width: 190px; justify-self: start; }
  .hero-orbits { width: 520px; height: 520px; right: -220px; top: 30%; }
  .plan-callout { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .site-footer .shell.footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .nav-drawer .nav-links { font-size: 24px; font-weight: 600; }
}
@media (max-width: 560px) {
  .hero-content h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero-copy { font-size: 16px; }
  .hero-mascot { width: 150px; }
  .process-steps, .why-points { grid-template-columns: 1fr; }
  .service-tiles { grid-template-columns: 1fr; }
  .site-footer .shell.footer-grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .service-cta { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot img, .contact-mascot, .notfound-mascot, .hero-orbits span { animation: none; }
  .hero-ticker-track { animation: none; }
  .hero-ticker { overflow-x: auto; }
}

/* services: one 4 × 2 grid, each card labelled with its family */
.services-section .service-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-tile-group { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: right; }
.service-tile-marketing .service-tile-icon { background: linear-gradient(140deg, #0d8f9b 0%, var(--accent) 100%); }
@media (max-width: 1100px) { .services-section .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services-section .service-tiles { grid-template-columns: 1fr; } }
.service-page .service-hub-group > .service-group-title { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; color: var(--muted); }

/* ---- Services menu in the header (hover / keyboard focus) ---- */
.nav-menu { position: relative; }
.main-nav .nav-links .nav-menu-trigger::before { content: ""; }
.nav-menu-trigger { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .nav-links a.nav-menu-trigger::after { display: none; }
.nav-menu-trigger { position: relative; }
.main-nav .nav-menu > .nav-menu-trigger { padding-right: 16px; }
.main-nav .nav-menu > .nav-menu-trigger { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3b3cb' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right center; }
.nav-menu-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; z-index: 600;
  width: min(620px, 90vw);
  padding: 22px 22px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 20, 39, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-menu:hover .nav-menu-panel, .nav-menu:focus-within .nav-menu-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.nav-menu-col { display: flex; flex-direction: column; gap: 2px; }
.nav-menu-title, .drawer-services .nav-menu-title { margin: 0 0 6px; padding: 0 10px; color: var(--aqua); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.main-nav .nav-menu-col a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--white); font-size: 15px; }
.main-nav .nav-menu-col a::after { display: none; }
.main-nav .nav-menu-col a:hover, .main-nav .nav-menu-col a:focus-visible { background: rgba(255, 255, 255, .06); }
.nav-svc-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: linear-gradient(140deg, var(--accent) 0%, #0d8f9b 100%); color: var(--white); }
.nav-svc-icon svg { width: 17px; height: 17px; }
.main-nav a.nav-menu-all { display: block; margin-top: 14px; padding: 12px 10px 2px; border-top: 1px solid var(--line); color: var(--accent-text); font-size: 14px; font-weight: 600; }
.main-nav a.nav-menu-all::after { display: none; }
.nav-menu-col a[hidden] { display: none; }

/* drawer (mobile): services listed under "Servicios" */
.drawer-services { display: grid; gap: 18px; margin: -8px 0 4px; padding-left: 4px; }
.drawer-services .nav-menu-col { gap: 0; }
.drawer-services .nav-menu-title { padding: 0; }
.nav-drawer .drawer-services a { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 17px; font-weight: 500; color: var(--muted); }
.nav-drawer { overflow-y: auto; }

/* ---- Project cards: what we did ---- */
.project-card-services { margin: 6px 0 0; color: var(--aqua); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.work-grid + .filter-row, .filter-row { padding-top: 26px; }
.filter-pill[aria-pressed="true"] { color: var(--white); background: var(--accent); border-color: var(--accent); }

/* ---- Contact: consent checkbox ---- */
.form-check label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.45; text-transform: none; letter-spacing: 0; cursor: pointer; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--accent); }
.form-check a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Footer: contact column + legal row ---- */
.site-footer .shell.footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); }
.footer-contact span { color: var(--muted); }
.site-footer .shell.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--white); }
@media (max-width: 1100px) { .site-footer .shell.footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer .shell.footer-grid { grid-template-columns: 1fr; } }

/* ---- Legal page ---- */
.legal-body { max-width: 720px; padding: 40px 0 90px; }
.legal-body h2 { margin: 32px 0 10px; font-size: 20px; font-weight: 700; }
.legal-body p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
