:root {
  --navy: #0d3155;
  --navy-dark: #071f38;
  --blue: #198dcc;
  --turquoise: #21c4c3;
  --turquoise-light: #8de2df;
  --mint: #71d8cb;
  --white: #ffffff;
  --background: #f8fbfd;
  --text: #18324b;
  --muted: #698095;
  --border: #e5eef4;
  --shadow: 0 25px 70px rgba(16, 50, 82, 0.13);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225,235,242,.85);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
}

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

.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -2px;
  color: var(--navy);
}

.logo span {
  color: var(--turquoise);
  margin-left: 2px;
}

.brand-name {
  border-left: 1px solid #d7e1e8;
  padding-left: 15px;
  color: #73879a;
  font-size: 14px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #546b80;
}

.nav a:hover {
  color: var(--turquoise);
}

.header-actions {
  display: flex;
  margin-left: 32px;
  gap: 10px;
}

.btn {
  border-radius: 999px;
  min-height: 45px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: .2s ease;
}

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

.btn-light {
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
}

.btn-primary {
  color: white;
  border: none;
  background: linear-gradient(135deg,#20c6c3,#189cd3);
  box-shadow: 0 12px 25px rgba(28,177,199,.22);
}

.btn-outline {
  border: 1px solid #d8e8ee;
  color: var(--navy);
  background: rgba(255,255,255,.8);
}

.btn-large {
  min-height: 54px;
  padding: 0 27px;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 25px;
  color: var(--navy);
}

.mobile-menu {
  display: none;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 90px;
  background:
    radial-gradient(circle at 82% 18%, rgba(105,221,218,.16), transparent 28%),
    radial-gradient(circle at 4% 75%, rgba(48,160,216,.08), transparent 30%),
    linear-gradient(180deg,#ffffff,#fbfdff);
}

.hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  color: #53b5c8;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px,5.2vw,72px);
  line-height: 1.02;
  letter-spacing: -4px;
  color: var(--navy);
}

.hero h1 span {
  background: linear-gradient(90deg,#17a7d0,#2ac9c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 580px;
  margin-top: 27px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
}

.hero-checks {
  margin-top: 24px;
  display: flex;
  gap: 23px;
  color: #72879a;
  font-size: 13px;
}

/* DASHBOARD */

.portal-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-start;
}

.visual-orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-one {
  width: 510px;
  height: 510px;
  right: -65px;
  background: linear-gradient(135deg,#0e365c,#22c9c3);
  opacity: .95;
}

.orbit-two {
  width: 410px;
  height: 410px;
  right: -8px;
  border: 44px solid rgba(255,255,255,.15);
}

.dashboard-card {
  position: relative;
  z-index: 3;
  width: 100%;
  border-radius: 22px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(.5deg);
}

.dashboard-top {
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid #eef3f6;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-top strong {
  color: var(--navy);
}

.dashboard-top span {
  color: #8aa0b1;
  font-size: 12px;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.dashboard-user > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dashboard-user small {
  color: #90a0af;
  margin-top: 2px;
}

.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg,var(--turquoise),var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 135px 1fr;
}

.dashboard-sidebar {
  padding: 22px 15px;
  border-right: 1px solid #eef3f6;
  background: #fbfdfe;
}

.dashboard-sidebar > div {
  padding: 11px 12px;
  border-radius: 9px;
  margin-bottom: 7px;
  color: #8495a5;
  font-size: 11px;
  display: flex;
  gap: 8px;
}

.sidebar-active {
  background: #eaf8fa !important;
  color: #1aa9b7 !important;
  font-weight: 600;
}

.dashboard-content {
  padding: 31px;
}

.dashboard-heading small {
  color: var(--turquoise);
  letter-spacing: .15em;
  font-weight: 700;
  font-size: 9px;
}

.dashboard-heading h3 {
  margin-top: 6px;
  color: var(--navy);
  font-family: "Manrope",sans-serif;
}

.dashboard-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 13px;
}

.mini-card {
  min-height: 92px;
  border: 1px solid #edf2f5;
  border-radius: 14px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 7px 20px rgba(26,65,94,.04);
}

.mini-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mini-card strong {
  color: var(--navy);
  font-size: 12px;
}

.mini-card span {
  margin-top: 5px;
  font-size: 10px;
  color: #879aaa;
}

.mini-card b {
  color: #b8c5ce;
}

.mini-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
}

.turquoise {
  color:#17aaa9;
  background:#dff7f5;
}

.mint {
  color:#39ae98;
  background:#e2f7f2;
}

.blue {
  color:#408dc8;
  background:#e7f2fb;
}

/* FEATURES */

.features-section {
  padding: 100px 0;
  background: white;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section-heading > span {
  color: var(--turquoise);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
}

.section-heading h2 {
  margin-top: 14px;
  font-family:"Manrope",sans-serif;
  font-size: 42px;
  line-height:1.13;
  letter-spacing:-2px;
  color: var(--navy);
}

.section-heading p {
  margin-top:16px;
  color:var(--muted);
  line-height:1.7;
}

.features-grid {
  margin-top: 60px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:50px;
}

.feature {
  text-align:center;
}

.feature-icon {
  width:70px;
  height:70px;
  margin:0 auto 19px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:700;
}

.icon-blue {
  background:#e5f2fb;
  color:#468ec3;
}

.icon-mint {
  background:#e0f7f2;
  color:#36b39e;
}

.icon-cyan {
  background:#e8f6fa;
  color:#2eaabd;
}

.icon-turquoise {
  background:#dff7f5;
  color:#19aaa8;
}

.feature h3 {
  color:var(--navy);
  font-family:"Manrope",sans-serif;
  font-size:18px;
}

.feature p {
  margin-top:10px;
  font-size:14px;
  color:#7a8e9f;
  line-height:1.7;
}

/* ACCESS */

.access-section {
  padding: 55px 0 110px;
}

.access-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
}

.access-card {
  min-height:350px;
  border-radius:27px;
  padding:45px;
  overflow:hidden;
  position:relative;
}

.access-dark {
  color:white;
  background:linear-gradient(135deg,#092843,#0c4564);
  display:grid;
  grid-template-columns:1.1fr .9fr;
}

.access-light {
  background:
    radial-gradient(circle at 90% 10%,rgba(34,200,194,.16),transparent 27%),
    linear-gradient(145deg,#f6fbfd,#eff9fa);
  border:1px solid #e5f1f3;
}

.access-label {
  font-size:10px;
  letter-spacing:.18em;
  color:#8bdedc;
  font-weight:700;
}

.turquoise-label {
  color:#1cb2b0;
}

.access-card h2 {
  margin-top:15px;
  font-family:"Manrope",sans-serif;
  font-size:39px;
  line-height:1.05;
  letter-spacing:-2px;
}

.access-card p {
  margin-top:17px;
  max-width:290px;
  line-height:1.7;
  font-size:14px;
  opacity:.8;
}

.white-button {
  margin-top:26px;
  background:white;
  color:var(--navy);
}

.access-light h2 {
  color:var(--navy);
}

.access-light p {
  color:#647c90;
}

.access-light .btn {
  margin-top:26px;
}

.access-decoration {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.decoration-circle {
  position:absolute;
  width:250px;
  height:250px;
  border-radius:50%;
  background:radial-gradient(circle,#1a6676,transparent 66%);
}

.access-ofy {
  position:relative;
  font-size:46px;
  font-weight:800;
  letter-spacing:-4px;
}

.access-decoration p {
  position:relative;
  font-family:"Manrope",sans-serif;
  font-size:16px;
  opacity:.85;
}

.registration-note {
  position:absolute;
  right:35px;
  bottom:35px;
  width:180px;
}

.registration-note p {
  font-size:12px;
}

.note-line {
  width:60px;
  height:3px;
  background:var(--turquoise);
  border-radius:2px;
}

/* FOOTER */

.footer {
  border-top:1px solid #e8eff4;
  background:#fbfdfe;
}

.footer-inner {
  min-height:100px;
  display:flex;
  align-items:center;
}

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

.footer-brand > span {
  color:#8193a2;
  font-size:13px;
}

.footer-location {
  margin-left:50px;
  color:#8193a2;
  font-size:13px;
}

.footer-links {
  margin-left:auto;
  display:flex;
  gap:28px;
}

.footer-links a {
  color:#75899a;
  font-size:13px;
}

.footer-bottom {
  text-align:center;
  color:#9aabb8;
  font-size:11px;
  padding:17px;
  border-top:1px solid #edf2f5;
}

/* RESPONSIVE */

@media (max-width: 950px) {

  .nav,
  .header-actions {
    display:none;
  }

  .menu-button {
    display:block;
  }

  .mobile-menu.active {
    display:flex;
    flex-direction:column;
    gap:15px;
    padding:22px 24px 30px;
    border-top:1px solid #e8eef2;
    background:white;
  }

  .mobile-menu a {
    padding:10px 0;
  }

  .mobile-login,
  .mobile-register {
    text-align:center;
    border-radius:999px;
  }

  .mobile-login {
    border:1px solid #dce9ee;
  }

  .mobile-register {
    background:linear-gradient(135deg,#20c6c3,#189cd3);
    color:white;
  }

  .hero {
    padding: 44px 0 60px;
  }

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

  .hero-copy {
    text-align:center;
  }

  .hero-description {
    margin-left:auto;
    margin-right:auto;
  }

  .hero-actions,
  .hero-checks {
    justify-content:center;
  }

  .portal-visual {
    max-width:680px;
    width:100%;
    margin:0 auto;
  }

  .orbit-one {
    right:50%;
    transform:translateX(50%);
  }

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

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

@media (max-width: 600px) {

  .container {
    width:min(100% - 30px,1180px);
  }

  .header-inner {
    height:70px;
  }

  .brand-name {
    display:none;
  }

  .brand-logo {
    height: 38px;
  }

  .footer-logo {
    height: 34px;
  }

  .hero h1 {
    font-size:44px;
    letter-spacing:-2.5px;
  }

  .hero-description {
    font-size:15px;
  }

  .hero-actions {
    flex-direction:column;
  }

  .hero-actions .btn {
    width:100%;
  }

  .hero-checks {
    gap:12px;
    font-size:11px;
    flex-wrap:wrap;
  }

  .portal-visual {
    min-height:auto;
  }

  .orbit-one,
  .orbit-two {
    display:none;
  }

  .dashboard-card {
    transform:none;
  }

  .dashboard-body {
    grid-template-columns:1fr;
  }

  .dashboard-sidebar {
    display:none;
  }

  .dashboard-content {
    padding:22px;
  }

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

  .dashboard-user > div:first-child {
    display:none;
  }

  .section-heading h2 {
    font-size:34px;
  }

  .features-grid {
    grid-template-columns:1fr 1fr;
    gap:35px 20px;
  }

  .feature p {
    font-size:12px;
  }

  .access-card {
    padding:34px 28px;
  }

  .access-dark {
    grid-template-columns:1fr;
  }

  .access-decoration {
    display:none;
  }

  .registration-note {
    position:static;
    margin-top:38px;
    width:100%;
  }

  .footer-inner {
    flex-direction:column;
    gap:16px;
    padding:35px 0;
  }

  .footer-location,
  .footer-links {
    margin-left:0;
  }
}

/* LOGO OFICIAL OFY */
.brand-logo {
  height: 34px !important;
  width: auto !important;
  max-width: 145px !important;
  object-fit: contain !important;
}

.footer-logo {
  height: 30px !important;
  width: auto !important;
  max-width: 135px !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .brand-logo {
    height: 30px !important;
    max-width: 130px !important;
  }
}

/* AJUSTE FINAL LOGO OFY */
.brand-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 190px !important;
}

.footer-logo {
  height: 38px !important;
  width: auto !important;
  max-width: 165px !important;
}
