/* =====================================================
   RESET & BASE
===================================================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: #191919;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================================================
   VARIABLES
===================================================== */
:root {
  --ml-yellow: #ffe600;
  --ml-blue: #3483fa;
  --ml-blue-hover: #2968c8;
  --text-dark: #191919;
  --text-gray: #767676;
  --footer-gray: #6e6e6e;
  --border-light: #e6e6e6;
  --border-input: #999999;
  --footer-bg: #f5f5f5;
}

/* =====================================================
   HEADER
===================================================== */
.top-header {
  background-color: var(--ml-yellow);
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 50px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 32px;
  width: auto;
}

/* =====================================================
   MAIN / HERO
===================================================== */
.main-content {
  width: 100%;
}

.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 49px 206px 10px 211px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* ---------- Columna izquierda ---------- */
.hero-left {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  flex-shrink: 0;
}

.headline {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.43;
  color: var(--text-dark);
}

.left-bottom {
  margin-top: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.security-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 323px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.security-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.security-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
}

.chevron-right-icon {
  width: 7px;
  height: 13px;
  flex-shrink: 0;
}

.help-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ml-blue);
}

.help-link:hover {
  text-decoration: underline;
}

/* ---------- Columna derecha (tarjeta) ---------- */
.hero-right {
  flex-shrink: 0;
  width: 100%;
  max-width: 464px;
}

.login-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 32px 34px;
  width: 100%;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.text-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 16px;
  color: var(--text-dark);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  margin-bottom: 19px;
}

.text-input:focus {
  outline: none;
  border-color: var(--ml-blue);
  box-shadow: 0 0 0 1px var(--ml-blue);
}

.btn-continue {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  background-color: var(--ml-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.btn-continue:hover {
  background-color: var(--ml-blue-hover);
}

.create-account-link {
  display: block;
  text-align: center;
  margin-top: 27px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ml-blue);
}

.create-account-link:hover {
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  margin-top: 39px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.divider-text {
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-gray);
}

.google-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 27px;
  padding: 0 12px;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #747775;
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.google-box:hover {
  background-color: rgba(60, 64, 67, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-signin-text {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  letter-spacing: 0.15px;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background-color: var(--footer-bg);
  padding: 22px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--footer-gray);
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--ml-blue);
  font-size: 13px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-text {
  color: var(--footer-gray);
  font-size: 13px;
}

/* =====================================================
   RESPONSIVE - TABLET (<= 1100px)
===================================================== */
@media (max-width: 1100px) {
  .hero {
    padding: 48px 60px 56px;
  }

  .headline {
    font-size: 28px;
  }

  .left-bottom {
    margin-top: 200px;
  }
}

/* =====================================================
   RESPONSIVE - TABLET VERTICAL (<= 860px)
===================================================== */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 40px 32px 48px;
    gap: 48px;
  }

  .hero-left {
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .headline {
    text-align: center;
  }

  .left-bottom {
    margin-top: 40px;
    align-items: center;
    width: 100%;
  }

  .security-box {
    max-width: 400px;
    margin: 0 auto;
  }

  .help-link {
    align-self: center;
  }

  .hero-right {
    max-width: 464px;
    width: 100%;
  }
}

/* =====================================================
   RESPONSIVE - MOBILE (<= 480px)
===================================================== */
@media (max-width: 480px) {
  .top-header {
    height: 52px;
    padding-left: 24px;
  }

  .logo-img {
    height: 26px;
  }

  .hero {
    padding: 32px 20px 40px;
    gap: 36px;
  }

  .headline {
    font-size: 24px;
    line-height: 1.35;
  }

  .login-card {
    padding: 24px 20px;
  }

  .security-box {
    max-width: 100%;
  }

  .site-footer {
    padding: 20px 24px;
    justify-content: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    width: 100%;
  }
}