/* =========================================================
   Tutto Estética — Estilos de componentes
   Clases pensadas para usarse en el campo "Clases CSS"
   de los widgets de Elementor (pestaña Avanzado).
   ========================================================= */

/* ---------- Tipografía base ---------- */
body,
.elementor-widget-text-editor,
.elementor-button {
  font-family: var(--tt-font-body);
  color: var(--tt-text);
}

h1, h2, h3, h4,
.elementor-heading-title {
  font-family: var(--tt-font-heading);
  color: var(--tt-text);
}

/* ---------- Barra superior ---------- */
.tt-topbar {
  background-color: var(--tt-topbar);
}
.tt-topbar,
.tt-topbar a,
.tt-topbar .elementor-icon-list-text,
.tt-topbar .elementor-heading-title {
  color: #fff !important;
  font-size: 14px;
}
.tt-topbar .elementor-icon-list-icon svg,
.tt-topbar .elementor-social-icon {
  fill: #fff;
  color: #fff;
}

/* ---------- Cabecera / navegación ---------- */
.tt-header {
  background-color: var(--tt-white);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.05);
}
.tt-nav .elementor-item {
  font-family: var(--tt-font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 15px;
  color: var(--tt-text) !important;
}
.tt-nav .elementor-item.elementor-item-active,
.tt-nav .elementor-item:hover {
  color: var(--tt-primary) !important;
}

/* ---------- Eyebrow (antetítulo rojo) ---------- */
.tt-eyebrow .elementor-heading-title,
.tt-eyebrow {
  color: var(--tt-primary) !important;
  font-family: var(--tt-font-body) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
}

/* ---------- Títulos display ---------- */
.tt-title-display .elementor-heading-title {
  font-family: var(--tt-font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.tt-title-display em,
.tt-accent {
  color: var(--tt-primary);
  font-style: italic;
}

/* ---------- Botones ---------- */
.tt-btn .elementor-button,
.elementor-button.tt-btn {
  font-family: var(--tt-font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--tt-radius);
  padding: 16px 30px;
  transition: all 0.25s ease;
}

/* Botón sólido */
.tt-btn-primary .elementor-button {
  background-color: var(--tt-primary);
  color: #fff;
  border: 2px solid var(--tt-primary);
}
.tt-btn-primary .elementor-button:hover {
  background-color: var(--tt-primary-dark);
  border-color: var(--tt-primary-dark);
  transform: translateY(-2px);
}

/* Botón contorno */
.tt-btn-outline .elementor-button {
  background-color: transparent;
  color: var(--tt-primary);
  border: 2px solid var(--tt-primary);
}
.tt-btn-outline .elementor-button:hover {
  background-color: var(--tt-primary);
  color: #fff;
}

/* ---------- Secciones ---------- */
.tt-section-hero {
  background: linear-gradient(180deg, var(--tt-pink-bg) 0%, var(--tt-pink-light) 100%);
}
.tt-section-soft {
  background-color: var(--tt-pink-bg);
}

/* ---------- Iconos de servicios (icon-box) ---------- */
.tt-service .elementor-icon-box-icon {
  margin-bottom: 0;
}
.tt-service .elementor-icon {
  background-color: var(--tt-pink-light);
  color: var(--tt-primary);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all 0.25s ease;
}
.tt-service:hover .elementor-icon {
  background-color: var(--tt-primary);
  color: #fff;
}
.tt-service .elementor-icon-box-title {
  text-transform: uppercase;
  font-family: var(--tt-font-body) !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.tt-service .elementor-icon-box-description {
  color: var(--tt-text-muted);
  font-size: 14px;
}

/* ---------- Lista con checks ---------- */
.tt-checklist .elementor-icon-list-icon svg,
.tt-checklist .elementor-icon-list-icon i {
  color: var(--tt-primary);
  fill: var(--tt-primary);
}
.tt-checklist .elementor-icon-list-text {
  font-weight: 600;
  color: var(--tt-text);
}

/* ---------- Tarjeta destacada (diagnóstico) ---------- */
.tt-card {
  background-color: var(--tt-pink-card);
  border-radius: var(--tt-radius-lg);
}

/* ---------- Redondeo de imágenes ---------- */
.tt-img-round img {
  border-radius: var(--tt-radius-lg);
}

/* ---------- Pie de página (estilo destacado, fondo claro) ---------- */
.tt-footer {
  background-color: var(--tt-white);
}

/* Titular grande */
.tt-footer-headline .elementor-heading-title {
  font-family: var(--tt-font-body);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--tt-text);
}
.tt-footer-headline .tt-accent-word {
  color: var(--tt-primary);
}
/* Subrayado dibujado a mano (SVG en línea) */
.tt-footer-headline .tt-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18'%3E%3Cpath d='M4 12 Q150 0 296 9' stroke='%23CE1935' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 95%;
  background-size: 100% 10px;
  padding-bottom: 14px;
}

/* Bloque de contacto (llámanos / escríbenos) */
.tt-footer-contact .elementor-icon {
  color: var(--tt-primary);
  fill: var(--tt-primary);
  font-size: 30px;
  background: transparent;
}
.tt-footer-contact .elementor-icon-box-title,
.tt-footer-contact .elementor-icon-box-title a {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px !important;
  font-weight: 700;
  font-family: var(--tt-font-body) !important;
  color: var(--tt-text) !important;
  margin-bottom: 2px;
}
.tt-footer-contact .elementor-icon-box-description {
  font-size: 20px;
  font-weight: 700;
  color: var(--tt-text);
  font-family: var(--tt-font-body);
}

/* Títulos de columna */
.tt-footer .tt-footer-col-title .elementor-heading-title {
  font-family: var(--tt-font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--tt-text);
}
.tt-footer .tt-footer-brand .elementor-heading-title {
  font-family: var(--tt-font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--tt-text);
}
.tt-footer p,
.tt-footer .elementor-icon-list-text,
.tt-footer .elementor-widget-text-editor {
  color: var(--tt-text-muted);
  font-size: 15px;
}
.tt-footer .elementor-icon-list-text {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.tt-footer .elementor-icon-list-item:hover .elementor-icon-list-text {
  color: var(--tt-primary);
  padding-left: 4px;
}

/* Redes sociales (monocromo, hover rojo) */
.tt-footer .elementor-social-icon {
  background: transparent;
  color: var(--tt-text);
  font-size: 18px;
  transition: color 0.2s ease;
}
.tt-footer .elementor-social-icon:hover {
  color: var(--tt-primary);
  background: transparent;
}

/* Newsletter */
.tt-newsletter .elementor-field-textual,
.tt-newsletter input[type="email"] {
  border: 1px solid #e7d9db !important;
  border-radius: 50px !important;
  padding: 16px 22px !important;
  background: var(--tt-white) !important;
  font-family: var(--tt-font-body);
}
.tt-newsletter .elementor-button {
  background-color: var(--tt-primary);
  color: #fff;
  border-radius: 50px;
  font-family: var(--tt-font-body);
  font-weight: 600;
  padding: 14px 36px;
  transition: background-color 0.2s ease;
}
.tt-newsletter .elementor-button:hover {
  background-color: var(--tt-primary-dark);
}

/* Barra inferior */
.tt-footer-bottom {
  background: var(--tt-white);
  border-top: 1px solid #eee;
}
.tt-footer-bottom,
.tt-footer-bottom .elementor-widget-text-editor,
.tt-footer-bottom a {
  color: var(--tt-text-muted);
  font-size: 14px;
}
.tt-footer-bottom a { text-decoration: none; }
.tt-footer-bottom a:hover { color: var(--tt-primary); }

/* ---------- Responsive helper ---------- */
@media (max-width: 767px) {
  .tt-title-display .elementor-heading-title {
    font-size: 40px !important;
  }
}
