
/*##############################

STILOS PARA ARTICULOS DE PROJECTOS WEB

##############################*/

.project-wrapper{
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

.project-hero{
  text-align: center;
  margin-bottom: 30px;
}

.project-subtitle{
  opacity: .8;
  line-height: 1.6;
}

.project-buttons{
  margin-top: 15px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.btn{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  text-decoration:none;
  font-weight:600;
  background:rgba(255,255,255,.08);
}

.btn.primary{
  background:rgba(255,255,255,.18);
}

.project-section{
  margin-top: 30px;
}

.project-stack ul,
.project-section ul{
  padding-left:20px;
  line-height:1.8;
}

.project-gallery{
  margin-top:30px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

@media(min-width:768px){
  .gallery-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.gallery-grid img{
  width:100%;
  border-radius:12px;
}

.project-cta{
  text-align:center;
  margin-top:40px;
}


.notice-available{
    color: #fff;
    background-color: green;
    padding: 0.5em;
    text-transform: capitalize;
    font-weight: bold;
}



/* =====================================================
   mod_webcontact_pro — Modern Light UI (Template-proof)
   Target: .ddc (our module wrapper)
===================================================== */

.ddc{
  width: 100%;
  padding: clamp(18px, 2.6vw, 40px) 12px;
  box-sizing: border-box;
}

.ddc .ddc__wrap{
  width: min(920px, 100%);
  margin: 0 auto;
}

.ddc .ddc__card{
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: clamp(18px, 2.6vw, 32px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.08);
  box-sizing: border-box;
}

/* Head */
.ddc .ddc__head{
  margin-bottom: 14px;
}

.ddc .ddc__title{
  margin: 0 0 6px 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ddc .ddc__sub{
  margin: 0;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.72);
}

/* Alerts */
.ddc .ddc__alert{
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(2, 6, 23, 0.03);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.ddc .ddc__alert.is-success{
  border-color: rgba(34, 197, 94, 0.35);
}

.ddc .ddc__alert.is-error{
  border-color: rgba(239, 68, 68, 0.35);
}

/* Form */
.ddc .ddc__form{
  display: grid;
  gap: 14px;
}

/* Grid 2 columns */
.ddc .ddc__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px){
  .ddc .ddc__grid{
    grid-template-columns: 1fr;
  }
}

/* Fields */
.ddc .ddc__field{
  display: grid;
  gap: 7px;
}

.ddc .ddc__label{
  font-size: 13px;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.86);
}

/* Inputs */
.ddc .ddc__input,
.ddc .ddc__textarea{
  width: 100%;
  box-sizing: border-box;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;

  padding: 12px 14px;
  color: #0f172a;

  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

/* Placeholder */
.ddc .ddc__input::placeholder,
.ddc .ddc__textarea::placeholder{
  color: rgba(15, 23, 42, 0.40);
}

/* Focus */
.ddc .ddc__input:focus,
.ddc .ddc__textarea:focus{
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Textarea */
.ddc .ddc__textarea{
  resize: vertical;
  min-height: 170px;
}

/* Chips */
.ddc .ddc__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ddc .ddc__chip{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ddc .ddc__chip-input{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ddc .ddc__chip-ui{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(2, 6, 23, 0.02);
  color: rgba(15, 23, 42, 0.82);
  font-size: 13px;
  user-select: none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.ddc .ddc__chip:hover .ddc__chip-ui{
  transform: translateY(-1px);
}

.ddc .ddc__chip-input:checked + .ddc__chip-ui{
  border-color: rgba(124, 58, 237, 0.30);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
  color: #0f172a;
}

/* Actions */
.ddc .ddc__actions{
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

/* Button */
.ddc .ddc__btn{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;

  font-weight: 750;
  cursor: pointer;

  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.16);

  transition: transform .12s ease, filter .12s ease;
}

.ddc .ddc__btn:hover{
  filter: brightness(1.03);
}

.ddc .ddc__btn:active{
  transform: translateY(1px);
}

/* Note */
.ddc .ddc__note{
  margin: 0;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

/* Honeypot hidden */
.ddc .ddc__hp{
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}



.ddc__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.ddc__chip{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.ddc__chip-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.ddc__chip-ui{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:13px;
  user-select:none;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.ddc__chip:hover .ddc__chip-ui{
  transform:translateY(-1px);
}

.ddc__chip-input:checked + .ddc__chip-ui{
  background:rgba(124,58,237,.25);
  border-color:rgba(124,58,237,.45);
  box-shadow:0 0 0 4px rgba(124,58,237,.15);
}
