/* ============================================================
   HANDY — Hoja de estilos personalizada
   Versión: 1.0
   ============================================================ */

/* === Variables de marca === */
:root {
  --handy-brand:       #41268f;
  --handy-brand-dark:  #2d1a64;
  --handy-brand-light: #ccb3f2;
  --handy-lavender:    #e7d7ff;
  --handy-bg:          #f0f0f0;
  --handy-text:        #1a1a1c;
  --handy-text-muted:  rgba(26, 26, 28, 0.65);
  --handy-white:       #ffffff;
}

/* === Tipografía global === */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, button,
input, textarea, select {
  font-family: 'Inter', sans-serif !important;
}

/* === Utilidad de color de marca === */
.text-brand  { color: var(--handy-brand); }
.text-muted  { color: var(--handy-text-muted); }

/* ============================================================
   HEADER / LOGO
   ============================================================ */
.handy-logo { max-height: 30px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding-top: 70vh;
  padding-bottom: 40px;
}

.hero-bg-img { object-fit: cover; }

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-overlay { opacity: 0.5; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-image-col {
  position: relative;
  padding: 48px 40px;
}

/* Gradiente morado de fondo */
.about-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(207deg, #41268F 0%, #CCB3F2 83.13%);
  border-radius: 32px;
  z-index: 0;
  transform: translate(0px, 70px);
  width: 80%;
  height: 80%;
}

/* Panel glass detrás de la imagen */
.about-image-col::before {
  content: '';
  position: absolute;
  inset: 30px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.about-image-col figure { position: relative; z-index: 2; }

.about-handy-icon {
  max-height: 50px;
  object-fit: contain;
}

.about-desc {
  color: var(--handy-text-muted);
  line-height: 1.65;
  font-weight: 400;
  max-width: 520px;
}

/* ============================================================
   BENEFICIOS SECTION
   ============================================================ */
.section-subtitle {
  color: var(--handy-text-muted);
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ============================================================
   FEATURES / CARDS GRID
   ============================================================ */
.feature-card { padding-top: 180px; }

.card-icon-figure {
  position: absolute;
  height: 200px;
  width: 200px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.card-icon-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 47.6%, #FFF 84.13%);
  pointer-events: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   BOTONES CTA — morado base, hover más fuerte
   ============================================================ */
.btn-secondary-v2 {
  background-color: var(--handy-brand) !important;
  border-color: var(--handy-brand) !important;
  color: var(--handy-white) !important;
}
.btn-secondary-v2 .btn-v2-icon {
  fill: var(--handy-white) !important;
}
.group\/btn-v2:hover .group-hover\/btn-v2\:btn-primary-v2,
.group\/btn-v2:hover .btn-secondary-v2 {
  background-color: var(--handy-brand-dark) !important;
  border-color: var(--handy-brand-dark) !important;
  color: var(--handy-white) !important;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.accordion-arrow {
  background-color: var(--handy-brand) !important;
}
.accordion-arrow svg path {
  stroke: white !important;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .contact-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Card lavanda izquierda */
.contact-card-lavender {
  background-color: var(--handy-lavender);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.contact-handy-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  max-height: 48px;
  object-fit: contain;
}

.contact-card-title {
  color: #0d0d12;
  font-weight: 400;
  max-width: 340px;
  margin: 0;
}

.contact-card-text {
  color: var(--handy-text);
  margin: 0;
}

/* Card formulario derecha */
.contact-form-card {
  background-color: var(--handy-white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.contact-form-intro {
  color: var(--handy-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Banner WhatsApp */
.contact-banner {
  background-color: var(--handy-brand);
  border-radius: 24px;
  padding: 40px 48px;
}

.contact-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .contact-bottom-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .contact-bottom-inner > div:first-child {
    min-width: 300px;
    max-width: 340px;
  }
}

.contact-banner-title {
  color: var(--handy-white);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

.contact-banner-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-banner-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: var(--handy-white);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  font-family: inherit;
}

/* ============================================================
   FOOTER
   ============================================================ */
.handy-footer {
  background-color: var(--handy-bg);
  position: relative;
}

.footer-main {
  padding: 64px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-icon-wrapper { margin-bottom: 8px; }

.footer-icon {
  max-height: 52px;
  object-fit: contain;
}

.footer-city {
  color: var(--handy-brand);
  font-size: 0.95rem;
  margin: 0;
}

.footer-email {
  color: var(--handy-brand);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(65, 38, 143, 0.15);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: var(--handy-brand);
  font-size: 0.85rem;
  margin: 0;
}

.footer-privacy {
  color: var(--handy-brand);
  font-size: 0.85rem;
  text-decoration: none;
}
