/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* CUSTOM STYLE */
/* ── Secciones ── */
/* ── #hero ── */
.hero-title strong { color: #E98E2B; }
.eyebrow.light { color: rgba(255,255,255,0.85); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-lead { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.6; }
.hero-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 0.98rem; text-decoration: none; }
.hero-phone small { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.7; }
.hero-meta-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; max-width: 720px; }
.hero-meta-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: #E98E2B; margin-bottom: 4px; }
.hero-meta-item span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .hero-meta-bar { grid-template-columns: 1fr; gap: 20px; }
}

/* ── #despacho ── */
.btn-accent {
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 142, 43, 0.3);
}

/* ── #servicios ── */
.servicios-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .servicios-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Grid layout - primera tarjeta (featured) ocupa doble ancho */
.services-grid .w-post-elm:nth-child(1) {
  grid-column: span 2;
}

/* Animaciones de entrada escalonadas */
.services-grid .w-post-elm:nth-child(1) {
  animation: fade-in 0.6s ease both;
}

.services-grid .w-post-elm:nth-child(2) {
  animation: slide-up 0.6s ease both 0.1s;
}

.services-grid .w-post-elm:nth-child(3) {
  animation: slide-up 0.6s ease both 0.2s;
}

.services-grid .w-post-elm:nth-child(4) {
  animation: slide-up 0.6s ease both 0.3s;
}

.services-grid .w-post-elm:nth-child(5) {
  animation: slide-up 0.6s ease both 0.4s;
}

.services-grid .w-post-elm:nth-child(6) {
  animation: slide-up 0.6s ease both 0.5s;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estilos de tarjeta de servicio (aplicar en Grid Layout) */
.service-card {
  position: relative;
  overflow: hidden;
  background: #0B0342;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 142, 43, 0.3);
}

.service-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.05);
}

.service-title {
  position: absolute;
  bottom: 32px;
  left: 28px;
  right: 28px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  margin: 0;
}

.service-tag {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 2;
  background: #E98E2B;
  color: #fff;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
}

.service-hover {
  position: absolute;
  inset: 0;
  background: rgba(11, 3, 66, 0.94);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.service-card:hover .service-hover {
  opacity: 1;
}

.service-hover h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
}

.service-hover p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E98E2B;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 12px;
}

.arrow-dot svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ── #stats ── */
.stats-head {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── #derecho-civil ── */
.heading-accent strong { color: #E98E2B; }
.civil-quote {
  position: absolute;
  right: 32px;
  bottom: 32px;
  background: rgba(11, 3, 66, 0.92);
  color: #fff;
  padding: 24px;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
  z-index: 2;
}
.w-btn.btn-accent {
  background: #E98E2B !important;
  border-color: #E98E2B !important;
  color: #fff !important;
}
.w-btn.btn-accent:hover {
  background: #C77820 !important;
  border-color: #C77820 !important;
}

/* ── #hosteleria ── */
.hosteleria-heading strong { color: #E98E2B; }

/* ── #faq ── */
.btn-accent:hover {
  background: #C77820;
  border-color: #C77820;
}

/* ── #contacto ── */
.contact-block {
  margin-bottom: 8px;
}
.contact-block .w-iconbox-icon {
  color: #39B4FD;
  background: rgba(57, 180, 253, 0.12);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-block h4 {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 4px 0;
}
.contact-block a,
.contact-block span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-block a:hover {
  color: #E98E2B;
  text-decoration: underline;
}
.contact-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ── Pie de página ── */
.footer-contact strong { display: block; color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.footer-contact a { color: rgba(255,255,255,0.85); font-weight: 600; text-decoration: none; transition: color 0.25s ease; }
.footer-contact a:hover { color: #E98E2B; }
/* END CUSTOM STYLE */
