.portal { min-height: 100vh; color: #f3f7ff; background: radial-gradient(ellipse at 78% 25%, #161650, transparent 52%), linear-gradient(145deg, #041427, #0b1831); }
.portal-wrap { width: min(100% - 2.5rem, 1500px); margin-inline: auto; }
.portal-header { background: #061225; border-bottom: 1px solid #294267; }
.portal-header .portal-wrap, .portal-header nav, .portal-brand { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.7rem); }
.portal-header .portal-wrap { justify-content: space-between; min-height: 76px; padding-block: .75rem; flex-wrap: wrap; }
.portal-header nav { flex-wrap: wrap; }
.portal-header a { color: #f3f7ff; text-decoration: none; }
.portal-header a:hover { text-decoration: underline; text-underline-offset: .3em; }
.portal-brand { font-size: clamp(1.05rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; }
.portal-brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.portal-header .lang-btn { color: #f3f7ff; background: #0d284c; border-color: #5287c9; }
.portal-hero { display: grid; grid-template-columns: 1fr 1.07fr; gap: 1.5rem; align-items: center; padding-block: clamp(2rem, 4vw, 3.7rem) 2rem; }
.portal-hero h1 { margin: .55rem 0; max-width: 21ch; font-size: clamp(2rem, 3.25vw, 3.55rem); line-height: 1.06; letter-spacing: -.04em; }
.portal-hero p { max-width: 60ch; margin: .65rem 0 1rem; color: #d9e6fa; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.portal-hero .portal-kicker { margin: 0; color: #47ccff; font-size: clamp(.78rem, 1.3vw, 1.02rem); font-weight: 800; text-transform: uppercase; }
.portal-visual { display: block; width: 100%; height: auto; align-self: center; border-radius: 1.25rem; }
.portal-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.portal .portal-button, .portal-card a { display: inline-block; padding: .65rem .95rem; border: 1px solid transparent; border-radius: .65rem; background: #065bce; color: white; font-weight: 750; text-decoration: none; }
.portal .portal-outline { border-color: #4fa9ff; background: #07182e; }
.portal .portal-button:hover, .portal-card a:hover { text-decoration: underline; text-underline-offset: .25em; }
.portal-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.8rem); }
.portal-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.2rem, 2.5vw, 2.3rem); border: 1px solid #399ffb; border-radius: 18px; color: #fff; }
.portal-sql { background: linear-gradient(90deg, #071c37 46%, #071c3777), url('/assets/hero-database.jpg') center right / cover; }
.portal-ai { background: radial-gradient(ellipse at 100% 60%, #573685, transparent 75%), #241742; border-color: #b369ff; }
.portal-card h2 { margin: 0; line-height: 1.2; }
.portal-card p { margin: .3rem 0 .65rem; color: #f0eaff; }
.portal-card ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.portal-card li::before { content: '✓'; color: #62cbff; padding-inline-end: .6rem; font-weight: 800; }
.portal-card a { margin-top: auto; }
.portal-ai a { background: #7135c6; }
.portal-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 2rem 0; }
.portal-benefits li { border-inline-start: 2px solid #4179b6; padding-inline-start: .85rem; }
.portal-benefits strong, .portal-benefits span { display: block; }
.portal-benefits span, .portal-footer { color: #c7d4ec; }
.portal-footer { padding-block: 1.25rem; border-top: 1px solid #294267; }
.portal a:focus-visible, .portal button:focus-visible { outline: 3px solid #a9d0ff; outline-offset: 3px; }
@media (max-width: 840px) {
  .portal-hero { grid-template-columns: 1fr; }
  .portal-hero h1 { max-width: 28ch; }
  .portal-visual { max-width: 620px; width: 100%; }
  .portal-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .portal-wrap { width: calc(100% - 2rem); }
  .portal-cards { grid-template-columns: 1fr; }
}

.portal-consult { position: relative; max-width: 100%; }
.portal-consult summary { display: flex; align-items: center; gap: .65rem; cursor: pointer; list-style: none; caret-color: transparent; }
.portal-consult summary::-webkit-details-marker { display: none; }
.portal-consult-arrow { flex: 0 0 auto; margin-left: auto; line-height: 1; }
.portal-consult ul { position: absolute; z-index: 3; top: 100%; left: 0; min-width: 100%; width: max-content; max-width: calc(100vw - 2rem); margin: 6px 0 0; padding: 5px; list-style: none; border: 1px solid #4fa9ff; border-radius: 12px; background: #07182e; box-shadow: 0 8px 24px #0005; }
.portal-consult li a { display: block; color: #fff; text-decoration: none; padding: .65rem .75rem; border-radius: 7px; }
.portal-consult li a:is(:hover, :focus-visible) { background: #153456; }

.portal .portal-footer { background: transparent; }

.portal-hero {
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse at 0 58%, #0675bc30, transparent 50%),
    radial-gradient(ellipse at 100% 68%, #5e36d22e, transparent 58%);
}

.portal-hero .portal-kicker {
  color: #8ad3ff;
  text-transform: none;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.portal-hero .portal-kicker strong {
  color: #f4f7fc;
}

.portal-sql {
  box-shadow: inset 0 0 2rem #2498f723;
}

.portal-ai {
  box-shadow: inset 0 0 2rem #9857f837;
}

.portal-footer .footer-facebook {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: max-content;
  margin: .75rem auto;
  text-decoration: none;
}

.portal-footer .footer-facebook-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: #0866ff;
  color: #fff;
  font: 700 32px/1 Arial, sans-serif;
}

.portal-footer .footer-facebook-label {
  margin: 0;
  color: #f4f7fc;
  font-size: 1rem;
}

.portal-footer .footer-facebook:hover .footer-facebook-icon {
  background: #0759df;
}

.portal-footer .footer-facebook:hover .footer-facebook-label {
  text-decoration: underline;
}
