/* ============================================================
   cv.css — Estilos del diseño del currículum (sólo el .page)
   ============================================================ */

.page {
  width: 210mm;
  min-height: 297mm;
  margin: auto;
  background: white;
  display: grid;
  grid-template-columns: 300px 1fr;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  overflow: hidden;
}

.left {
  background: #fff;
  padding: 35px 20px 40px 20px;
  border-left: 40px solid #eb8c3d;
  border-right: 1px solid #e0e0e0;
}

.profile {
  text-align: center;
  margin-bottom: 22px;
}

.profile-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  margin-bottom: 26px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  border-bottom: 2px solid #eb8c3d;
  padding-bottom: 5px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.contact-icon {
  width: 22px;
  height: 22px;
  background: #eb8c3d;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.skill {
  margin-bottom: 14px;
}

.skill-name {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 7px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: #eb8c3d;
  border-radius: 4px;
}

.list {
  padding-left: 14px;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.right {
  padding: 38px 40px 40px 40px;
}

.header {
  margin-bottom: 30px;
}

.name {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.name span {
  font-weight: 300;
}

.headline {
  color: #eb8c3d;
  font-size: 22px;
  font-weight: 500;
}

.main-section {
  margin-bottom: 26px;
}

.main-title {
  border-top: 2px solid #eb8c3d;
  padding-top: 10px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a1a2e;
}

.summary {
  font-size: 13px;
  line-height: 1.75;
  color: #444;
}

.desc-list {
  margin: 6px 0 0 0;
  padding-left: 18px;
}

.desc-list li {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 3px;
  color: #444;
}

.desc-p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0 0 5px 0;
  color: #444;
}

.job {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.job:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.job-title {
  color: #eb8c3d;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  margin-bottom: 3px;
}

.job-company {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.job-description {
  font-size: 13px;
  line-height: 1.7;
}

.job-description ul {
  margin-top: 8px;
  padding-left: 20px;
}

.education-item {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.education-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.edu-degree {
  color: #eb8c3d;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .5px;
}

.edu-school {
  font-weight: 600;
  margin-top: 3px;
  margin-bottom: 3px;
  font-size: 13px;
}

.muted {
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}



[contenteditable="true"] {
  outline: none;
  transition: background 0.2s ease;
  border-radius: 4px;
  padding: 2px 4px;
}

[contenteditable="true"]:hover {
  background: rgba(235, 140, 61, 0.08);
}

[contenteditable="true"]:focus {
  background: rgba(235, 140, 61, 0.15);
}

@media print {
  body {
    background: white;
    padding: 0;
  }
  .page {
    box-shadow: none;
    margin: 0;
    width: 100%;
  }
}
