:root {
  --bg: #f4f1e8;
  --surface: #fffdf9;
  --surface-2: #f1ece2;
  --ink: #182433;
  --ink-soft: #56616f;
  --line: rgba(24, 36, 51, 0.12);
  --brand: #10263d;
  --brand-2: #183c60;
  --accent: #c9a84c;
  --accent-soft: #f0dfae;
  --white: #ffffff;
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 12px 30px rgba(16, 38, 61, 0.08);
  --shadow-md: 0 22px 54px rgba(16, 38, 61, 0.14);
  --shadow-lg: 0 32px 80px rgba(10, 26, 44, 0.2);
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 168, 76, 0.08), transparent 32%),
    linear-gradient(180deg, #f6f1e8 0%, #f3efe7 28%, #fbfaf7 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; line-height: 1.7; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.34);
  background: rgba(201, 168, 76, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  background: rgba(16, 38, 61, 0.82);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent) 0%, #e4cf8b 100%);
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.88);
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
}

.brand-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.site-nav .nav-pill {
  background: var(--accent);
  color: var(--brand);
}

.site-nav .nav-pill:hover {
  background: #dec57a;
  color: var(--brand);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 46px;
  height: 46px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  background:
    radial-gradient(circle at 15% 18%, rgba(201, 168, 76, 0.22), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(24, 60, 96, 0.32), transparent 18%),
    linear-gradient(145deg, #081522 0%, var(--brand) 52%, #173a5d 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 78% 66%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
  background-size: 26px 26px, 34px 34px;
  opacity: 0.34;
  animation: drift 18s linear infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 34px;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin-top: 18px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-copy h1 span {
  color: var(--accent-soft);
}

.hero-lead {
  margin-top: 22px;
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent) 0%, #e5cf85 100%);
  color: var(--brand);
  box-shadow: 0 14px 30px rgba(201, 168, 76, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(201, 168, 76, 0.32);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.btn.wide {
  width: 100%;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.proof-strip li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.panel-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-top: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  color: var(--white);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.summary-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-grid h3 {
  color: var(--accent-soft);
  font-size: 15px;
  margin-bottom: 8px;
}

.summary-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-dark {
  background: linear-gradient(145deg, #0b1724 0%, #10263d 50%, #173452 100%);
}

.section-accent {
  background: linear-gradient(145deg, #11263d 0%, #183c60 100%);
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin-top: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-head p {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.value-grid,
.module-grid,
.contact-cards {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.value-card,
.module-card,
.contact-cards article,
.portal-card,
.compare-card,
.demo-card,
.faq-item,
.timeline-step,
.rol-card {
  border-radius: var(--radius-md);
}

.value-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.value-index {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.value-card h3,
.module-card h3,
.timeline-step h3,
.compare-card h3,
.portal-card h3,
.demo-card h3,
.faq-item summary {
  font-size: 18px;
  font-weight: 800;
}

.value-card p,
.module-card p,
.timeline-step p,
.portal-card li,
.faq-item p,
.compare-note,
.contact-copy p,
.demo-card p,
.form-note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.showcase-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-top: 38px;
}

.showcase-copy,
.showcase-figure,
.shot-card,
.workflow-figure {
  border-radius: var(--radius-lg);
}

.showcase-copy {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(249, 245, 235, 0.96) 100%);
  border: 1px solid rgba(16, 38, 61, 0.1);
  box-shadow: var(--shadow-sm);
}

.showcase-copy h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.showcase-copy p {
  margin-top: 14px;
  color: var(--ink-soft);
}

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

.showcase-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.showcase-figure {
  overflow: hidden;
  border: 1px solid rgba(16, 38, 61, 0.12);
  box-shadow: var(--shadow-md);
  background: #dde3ea;
}

.showcase-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.shot-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(16, 38, 61, 0.1);
  box-shadow: var(--shadow-sm);
}

.shot-card-wide {
  grid-column: span 3;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8ecf1;
}

.shot-card-wide img {
  aspect-ratio: 18 / 8;
}

.shot-card figcaption,
.workflow-figure figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
}

.shot-card figcaption strong,
.workflow-figure figcaption strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
}

.shot-card figcaption span,
.workflow-figure figcaption span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.module-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(16, 38, 61, 0.1);
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.module-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0.32) 100%);
  font-size: 24px;
}

.dark-grid,
.accent-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.dark-copy h2,
.accent-copy h2 {
  margin-top: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--white);
}

.dark-copy p,
.accent-copy p,
.portal-card li,
.compare-row span,
.compare-note {
  color: rgba(255, 255, 255, 0.72);
}

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

.security-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-list strong {
  color: var(--white);
}

.compare-card,
.portal-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.compare-card h3,
.portal-card .portal-card-head {
  color: var(--accent-soft);
  font-size: 20px;
  font-weight: 800;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row strong {
  color: var(--white);
  text-align: right;
}

.compare-note {
  margin-top: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.timeline-step span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--accent-soft);
  font-weight: 900;
}

.workflow-figure {
  margin: 28px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(249, 245, 235, 0.96) 100%);
  border: 1px solid rgba(16, 38, 61, 0.1);
  box-shadow: var(--shadow-sm);
}

.workflow-figure img {
  width: 100%;
  background: #eef1f5;
}

.accent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.portal-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.faq-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-grid {
  align-items: stretch;
}

.contact-copy h2 {
  margin-top: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.contact-cards {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.contact-cards article {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards a,
.contact-cards strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
}

.demo-card {
  padding: 28px;
  background: linear-gradient(180deg, #fffaf0 0%, #f8f2e5 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: var(--shadow-md);
}

.demo-card form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.demo-card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
}

.demo-card input,
.demo-card textarea {
  width: 100%;
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.demo-card input:focus,
.demo-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}

.form-note a,
.contact-cards a,
.site-footer a {
  color: var(--brand);
}

.site-footer {
  padding: 42px 0 24px;
  background: #101c2a;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  color: var(--white);
}

.site-footer h4 {
  margin-bottom: 12px;
  color: var(--accent-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 18px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .showcase-hero,
  .dark-grid,
  .accent-grid,
  .contact-grid,
  .value-grid,
  .module-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .showcase-hero,
  .dark-grid,
  .accent-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .shot-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(8, 21, 34, 0.96);
    box-shadow: var(--shadow-lg);
  }

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

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 72px 0 58px;
  }

  .hero-panel,
  .summary-grid,
  .value-grid,
  .module-grid,
  .shot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-card-wide {
    grid-column: span 1;
  }

  .showcase-copy,
  .demo-card {
    padding: 24px;
  }

  .section {
    padding: 66px 0;
  }

  .timeline-step {
    grid-template-columns: 48px 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
