/* Cards & Services */
.card{background:var(--card);padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.featured{text-align:center}

/* Services: switch to flex for wrapping control */
.services{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:18px;
}

/* para los textos de las targetas de fotos y videos */
a{
    text-decoration: none;
    color: black;
}

dt{
    margin-top: 70px;
    font-weight: 800;
}

.service{
    padding:14px;border-radius:8px;background:linear-gradient(180deg,#fff,#f3faf9);border:1px solid rgba(0,0,0,0.04);
    flex:1 1 220px; /* grow, shrink, base width */
    min-width:220px;
}
.service h3{margin:0 0 8px;font-size:1rem}
.muted{color:var(--muted);margin:0;font-size:0.9rem}

/* Portfolio: use flex for responsive wrapping */
.portfolio{margin-top:28px}
.grid{
    display:flex;
    flex-direction: column;
    flex-wrap:wrap;
    gap:12px;
}
.project{
    flex:1 1 200px;
    min-width:200px;
    height: 500px;
}

.project img, .featured img, .responsive-img{width:100%;height:350px;object-fit:cover;border-radius:8px;display:block}


/* Button */
.boton{
    background:#000000;color:var(--accent);padding:10px 16px;border-radius:8px;font-weight:700;text-decoration:none
}

.boton:hover,
.boton:focus {
    background-color: #111;
    color: #fff;
    outline: none;
}

/* About and Contact */
.about{margin-top:28px}
.contact{margin-top:28px}

/* Row: replace grid with flex for form rows / two columns */
.row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.row > *{
    flex:1 1 calc(50% - 6px);
    min-width:200px;
}
.full{margin-top:12px}
input,textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:8px}
.form-actions{margin-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.btn{background:var(--accent);color:#fff;padding:10px 14px;border:0;border-radius:8px;font-weight:700;text-decoration:none}
.tel-link{color:var(--muted);text-decoration:none}
.form-status{margin-top:10px;color:var(--muted);font-size:0.9rem}


/* Responsive adjustments */
@media(max-width:700px){
  .hero{flex-direction:column}
  .hero-right{order:-1}
  .project img, .featured img, .responsive-img{height:200px}
  .row{flex-direction:column}
  .row > *{flex:1 1 100%;min-width:0}
  .service, .project{flex:1 1 100%;min-width:0}
}

/* small spacing override for .muted if present elsewhere */
.muted{
  margin-top: 10px;
}

@media (max-width: 700px) {
    .about-text p,
    .faq dd { margin-bottom: 1.25rem; }
}