:root {
  --primary: #6B4226;
  --secondary: #D1A074;
  --light: #FAF3E0;
  --dark: #2D1B0F;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: #ead4b2 url('https://www.transparenttextures.com/patterns/wood-pattern.png') repeat;
  color: #444;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

main { 
  flex: 1; 
}

.hero {
  background: #faf3e0 url('../img/logo_velatella.jpg') center top no-repeat;
  background-size: contain;
  min-height: 500px;
  border-bottom: 5px solid var(--secondary);
  margin-bottom: 4rem;
}

h1 {
  font-family: 'Courgette', cursive;
  color: var(--primary);
}

h2.title {
  font-family: 'Courgette', cursive;
  font-size: 2.8rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
  border-bottom: 5px solid var(--secondary);
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* ==================== GRID PRODUCTOS ==================== */
.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: white;
  border: 3px solid var(--primary);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}
.card:hover { 
  transform: translateY(-12px); 
}

.card-img {
  height: 300px;
  background: #fff8e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-body { 
  padding: 1.8rem; 
}
.card-title {
  font-family: 'Courgette', cursive;
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.card-text { 
  font-size: 0.95rem; 
  margin-bottom: 1rem; 
  color: #555; 
}
.card-list { 
  font-size: 0.92rem; 
  margin-bottom: 1.2rem; 
}
.card-list li { 
  margin-bottom: 0.4rem; 
}
.price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  text-align: right;
}

/* ==================== BOTÓN PRINCIPAL (Cómo trabajamos en equipo) ==================== */
.bg-gradient-to-b {
  background: linear-gradient(to bottom, #fffbeb, #ffffff);
}

.from-amber-50 { 
  --tw-gradient-from: #fffbeb; 
}
.to-white { 
  --tw-gradient-to: #ffffff; 
}

.bg-primary { 
  background-color: var(--primary); 
}
.hover\:bg-secondary:hover { 
  background-color: var(--secondary); 
}

/* ==================== FOOTER ==================== */
footer {
  background: #1c110a;
  color: #ddd;
  text-align: center;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
}
footer a { 
  color: var(--secondary); 
  text-decoration: none; 
  font-weight: 700; 
}
footer a:hover { 
  color: #fff; 
}
.fragancias {
  font-size: 0.78rem;
  color: #999;
  max-width: 1000px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

/* ==================== SECCIÓN DESCRIPCIÓN ==================== */
.description-section {
  background: linear-gradient(to bottom, #fff8e8, #faf3e0);
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 6px solid var(--secondary);
}
.container { max-width: 1100px; margin: 0 auto; }
.main-heading {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}
.description-text {
  font-size: 1.25rem;
  color: #444;
  line-height: 1.8;
}

/* ==================== BOTÓN FINAL QUE NO SE PUEDE IGNORAR ==================== */
.team-button-wrapper {
  text-align: center;
  padding: 5rem 1rem 4rem;
  background: #faf3e0;
}
.team-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  padding: 2rem 4rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(107, 66, 38, 0.4);
  transition: all 0.4s ease;
  border: 6px solid white;
}
.team-button:hover {
  background: var(--secondary);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(107, 66, 38, 0.5);
  color: #fff;
}
.team-button-subtitle {
  display: block;
  font-size: 1.1rem;
  margin-top: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
}

/* ==================== PÁGINA equipo.html ==================== */
.equipo-page { background: #faf3e0; }

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 3px solid var(--secondary);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px rgba(107, 66, 38, 0.15);
  margin: 2rem 0;
}

.section-title {
  font-family: 'Courgette', cursive;
  font-size: 3rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 5px;
  background: var(--secondary);
  margin: 1rem auto;
  border-radius: 3px;
}

.role-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 3px solid var(--primary);
}
.scrum-master { border-top: 12px solid #6B4226; }
.product-owner { border-top: 12px solid #D1A074; }
.dev-team { border-top: 12px solid #8B5A2B; }

.task-list, .done-list {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 2rem auto;
  line-height: 2.2;
}
.task-list li::before, .done-list li::before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.4rem;
}

.risk-item {
  background: #fff8e8;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 8px solid var(--primary);
  font-size: 1.1rem;
}

.big-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.5rem 4rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(107,66,38,0.4);
  transition: all 0.4s;
}
.big-button:hover {
  background: var(--secondary);
  transform: translateY(-8px);
}

/* CENTRA EL TÍTULO PRINCIPAL DEL CATÁLOGO */
h2.title {
  font-family: 'Courgette', cursive;
  font-size: 3rem;           /* o el tamaño que quieras */
  text-align: center;
  color: var(--primary);
  margin: 4rem auto 3rem auto;
  padding-bottom: 0.8rem;
  width: fit-content;
  border-bottom: 6px solid var(--secondary);
  position: relative;
}

/* Opcional: efecto bonito extra (línea centrada perfecta) */
h2.title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: var(--secondary);
  border-radius: 3px;
}
