:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #0b5f73; /* Teal Farven (aprox) */
  --secondary: #1c8aa6;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  position: relative;
}

/* Fondo: planilla + plano estructural, desenfocado, mismo tono slate/teal */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 90% 0%,
      rgba(30, 64, 175, 0.18),
      transparent 50%
    ),
    radial-gradient(
      800px 500px at 50% 100%,
      rgba(11, 95, 115, 0.08),
      transparent 55%
    ),
    var(--bg);
}

.page-backdrop__art {
  position: absolute;
  inset: -8% -5%;
  background: url("./Aset/hero-backdrop.svg") center / cover no-repeat;
  opacity: 0.72;
  filter: blur(5px) saturate(0.92);
  transform: scale(1.04);
}

.page-backdrop__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.82) 0%,
    rgba(248, 250, 252, 0.68) 38%,
    rgba(248, 250, 252, 0.88) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .page-backdrop__art {
    filter: blur(2px) saturate(0.95);
  }
}

a {
  color: inherit;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 10;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.25);
}

.brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  border: none;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}

.navlinks a:hover {
  background: rgba(226, 232, 240, 0.6);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.06);
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.btn-primary {
  background: var(--primary);
  border-color: rgba(30, 64, 175, 0.3);
  color: white;
  box-shadow: 0 14px 26px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

main {
  padding: 56px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  position: relative;
}

.hero__domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-weight: 700;
  width: fit-content;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

h1 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: none;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: center;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.panel {
  padding: 18px;
}

section {
  margin-top: 40px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

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

#iniciativas .grid {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.feature h3 {
  margin: 8px 0 6px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

details.card.feature.product-card {
  padding: 0;
  display: block;
}

details.product-card {
  min-height: 0;
}

details.product-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  border-radius: inherit;
}

details.product-card > summary::-webkit-details-marker {
  display: none;
}

details.product-card > summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 4px rgba(28, 138, 166, 0.22);
}

details.product-card:hover > summary .product-card__name {
  color: var(--primary);
}

details.product-card[open] {
  border-color: rgba(28, 138, 166, 0.35);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.1);
}

.product-card__title-block {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-card__hint {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.35;
}

.product-card__logo-wrap {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.65);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-card__logo {
  width: 100%;
  height: 100%;
  max-height: 40px;
  object-fit: contain;
  padding: 4px;
  background: transparent;
  filter: drop-shadow(0 6px 12px rgba(2, 6, 23, 0.08));
}

.product-card__status {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.85);
  color: var(--muted);
  white-space: nowrap;
}

.product-card__status--live {
  border-color: rgba(28, 138, 166, 0.35);
  background: rgba(28, 138, 166, 0.1);
  color: var(--primary);
}

.product-card__status--planned {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(241, 245, 249, 0.9);
}

.product-card__chevron {
  flex: 0 0 auto;
  align-self: center;
  font-size: 10px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease;
}

details.product-card[open] > summary .product-card__chevron {
  transform: rotate(180deg);
}

.product-card__body {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.product-card__body-logo {
  padding-top: 14px;
}

.product-card__body-logo .product-card__logo-wrap {
  width: 190px; /* más ancho para logos horizontales */
  height: 96px; /* mantiene altura aprox 2x */
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.product-card__body-logo .product-card__logo {
  max-height: 96px;
  padding: 0;
}

.product-card__body-content {
  padding-top: 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.product-card__body p + p {
  margin-top: 2px;
}

.product-card__actions {
  padding-top: 4px;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__actions .btn {
  width: auto;
  align-self: flex-start;
}

@media (max-width: 520px) {
  .product-card__body {
    grid-template-columns: 1fr;
  }

  .product-card__body-logo {
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card__chevron {
    transition: none;
  }
}

.contact-panel__body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
  padding-top: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-form__field label {
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
}

.contact-form__submit {
  align-self: flex-end;
}

.contact-form__notice {
  margin: 14px 0 0;
  line-height: 1.45;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

input[type="email"],
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.45;
  resize: vertical;
  min-height: 44px;
}

textarea {
  min-height: 120px;
}

input[type="email"]:focus,
textarea:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

footer {
  padding: 28px 0 40px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 18px;
}

.small {
  font-size: 13px;
}

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