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

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.5;
  background-color: #0e0e0e;
  color: #e5e5e5;
}

/* CONTENEDOR */
.container {
  min-height: 100vh;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* HERO */
h1 {
  letter-spacing: 0.06em;
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 5rem);
}

h2 {
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

p {
  margin-top: 40px;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ABOUT */
section {
  margin-top: 90px;
}

 section h3 {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 22px;
}

  section p {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.75;
    opacity: 0.9;
  }

hr {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 80px 0;
}

/* PROJECT*/
.project {
  margin-top: 24px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

.project a {
  color: #e5e5e5;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 229, 229, 0.3);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.project a:hover {
  opacity: 1;
  border-color: rgba(229, 229, 229, 0.7);
}



/*LINKS*/
.sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 80px;
}

.sections a {
  text-decoration: none;
  color: #c9b8a6;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.sections a:hover {
  opacity: 1;
  transform: translateX(6px);
}

/* FOOTER */
footer {
  margin-top: 90px;
  font-size: 0.8rem;
  opacity: 0.35;
  letter-spacing: 0.12em;
}


/* RESPONSIVE */
@media (max-width: 600px) {
  .container {
    padding: 80px 20px 60px;
  }
  section {
    margin-top: 70px;
  }
  footer {
    margin-top: 90px;
  }
}

/* ######################################## */
/* SECCION WRITING */

.writing-section {
  margin-top: 90px;
}

.writing-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.writing-list a {
  text-decoration: none;
  color: #e5e5e5;
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.writing-list a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.review-cover {
  margin-top: 60px;
}

.review-cover img {
  width: 40%;
  height: 40%;
  max-width: 420px;
  display: block;
}

.review-content {
  margin-top: 60px;
  max-width: 560px;
}

.rating-section {
  margin-top: 60px;
}

.rating-box {
  margin-top: 24px;
  opacity: 0.85;
}

.rating-box select {
  margin-top: 12px;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
  padding: 6px 10px;
  font-family: inherit;
}

.averageScore {
  margin-top: 16px;
  opacity: 0.6;
}

.rating-message {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.average-rating {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.average-rating.animate {
  opacity: 0;
  transform: translateY(4px);
}

.your-rating {
  font-size: 0.85rem;
  opacity: 0.7;
}





/*COMMENTS*/
.comments-section {
  margin-top: 60px;
}

.comments-section summary {
  cursor: pointer;
  opacity: 0.7;
}

.comments-list {
  margin-top: 24px;
}

.comment-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-form textarea {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
  padding: 12px;
  font-family: inherit;
  resize: vertical;
}

.comment-form button {
  all: unset;
  cursor: pointer;
  opacity: 0.7;
}

