/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* ============================================
   REMEDIA! — Estilos globais do child theme
   ============================================ */

/* --- Botón con icona animada no hover ---
   Uso: engadir clase "btn-icon-move" en Advanced > CSS Classes do widget Button
   A frecha (ou calquera icona) desprázase á dereita no hover.
   -------------------------------------------- */
.btn-icon-move .elementor-button-icon svg {
  transition: transform 250ms ease;
}

.btn-icon-move .elementor-button:hover .elementor-button-icon svg {
  transform: translateX(5px);
}

/* --- Animación de flotación ---
   Uso: clase "deco-float" en calquera widget decorativo
   -------------------------------------------- */
@keyframes remedia-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.deco-float {
  animation: remedia-float 4.5s ease-in-out infinite;
}

/* --- Scroll indicator ---
   Uso: widget HTML co markup .scroll-indicator
   Posiciónase só, non precisa configurar nada en Elementor.
   -------------------------------------------- */
@keyframes remedia-scroll-line {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.scroll-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-indicator .scroll-line-el {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #edbb28, transparent);
  animation: remedia-scroll-line 2s ease-in-out infinite;
}


@media (max-width: 767px) {
.scroll-indicator {
  bottom: 4px;
  gap: 4px;
}
	
  .scroll-indicator span {
      font-size: 0.7rem;
  }
	
	.scroll-indicator .scroll-line-el {
  width: 1px;
  height: 32px;

}

}


/* --- Flotación + rotación -90° ---
   Uso: clase "deco-float-r90" no widget xa rotado -90°
   Combina a rotación co movemento vertical para que non se pisen.
   -------------------------------------------- */
@keyframes remedia-float-r90 {
  0%, 100% { transform: rotate(-90deg) translateX(0); }
  50% { transform: rotate(-90deg) translateX(-8px); }
}

.deco-float-r90 {
  transform: rotate(-90deg);
  animation: remedia-float-r90 4.5s ease-in-out infinite;
}

/* --- Marquee ticker ---
   Uso: widget HTML co markup .remedia-marquee
   Colocar nunha sección con fondo amarelo (#edbb28) e sen padding lateral.
   -------------------------------------------- */
@keyframes remedia-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.remedia-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}

.remedia-marquee-inner {
  display: inline-flex;
  animation: remedia-marquee 55s linear infinite;
}

.remedia-marquee-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.1em;
  padding: 0 8px;
  flex-shrink: 0;
}

.remedia-marquee-text .sep {
  display: inline-block;
  margin: 0 16px;
  opacity: 0.4;
}

/* --- Fila de puntos decorativos (estilo tríptico) ---
   Uso: widget HTML co markup .dot-row
   Variantes de aliñamento: dot-row-left / dot-row-right / dot-row-center
   Variantes de cor: dark (puntos negros) / white (puntos brancos) / sen clase (amarelos)
   -------------------------------------------- */
.dot-row {
  display: flex;
  gap: 8px;
  padding: 24px 0;
}

.dot-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #edbb28;
  opacity: 0.4;
}

.dot-row.dark .dot {
  background: #000000;
  opacity: 0.25;
}

.dot-row.white .dot {
  background: #ffffff;
  opacity: 0.2;
}

.dot-row-left {
  justify-content: flex-start;
  padding-left: clamp(32px, 6vw, 120px);
}

.dot-row-right {
  justify-content: flex-end;
  padding-right: clamp(32px, 6vw, 120px);
}

.dot-row-center {
  justify-content: center;
}

/* --- Servizos: hover coordenado ---
   Uso: clase "service-item" no contedor de cada fila de servizo
   Os estilos base (cores, opacidade, bordes) van en Elementor.
   Aquí só o hover e as transicións.
   -------------------------------------------- */
.service-item {
  transition: border-color 0.3s ease;
}

.service-item .elementor-heading-title,
.service-item .elementor-text-editor p {
  transition: color 0.3s ease, opacity 0.4s ease;
}

.service-item:hover {
  border-color: #edbb28 !important;
}

.service-item:hover + .service-item {
  border-top-color: #edbb28 !important;
}

.service-item:hover > .elementor-widget-heading .elementor-heading-title {
  color: #edbb2859 !important;
}

.service-item:hover .e-child .elementor-widget-heading .elementor-heading-title {
  color: #edbb28;
}

.service-item:hover .elementor-text-editor p {
  color: rgba(255, 255, 255, 0.7);
}


/* --- Formulario de contacto ---
   Uso: clase "remedia-contact-form" no container/section que envolve o form
   -------------------------------------------- */
.remedia-contact-form .elementor-field-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.remedia-contact-form .elementor-field-group {
  margin-bottom: 0;
  padding: 0 !important;
}

.remedia-contact-form .elementor-form-fields-wrapper {
  gap: 24px 20px;
}

.remedia-contact-form .elementor-field-textual {
  background: #2a2a2a !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  padding: 14px 16px !important;
  transition: border-color 0.3s ease;
}

.remedia-contact-form .elementor-field-textual:focus {
  border-color: #edbb28 !important;
  outline: none;
}

.remedia-contact-form .elementor-field-textual::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

.remedia-contact-form textarea.elementor-field-textual {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox de privacidade */
.remedia-contact-form .elementor-field-type-acceptance {  margin-top: 8px;}
.remedia-contact-form .elementor-field-type-acceptance .elementor-field-option {  display: flex;  align-items: center;  gap: 10px;}

.remedia-contact-form .elementor-acceptance-field {  width: 14px !important;  height: 14px !important;  min-width: 14px;  accent-color: #edbb28;}

.remedia-contact-form .elementor-field-type-acceptance label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.remedia-contact-form .elementor-field-type-acceptance label a {
  color: #edbb28;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.remedia-contact-form .elementor-field-type-acceptance label a:hover {
  color: #d4a520;
}

/* Botón de envío */
.remedia-contact-form .elementor-button {
  width: 100%;
  padding: 16px 32px !important;
  background: #edbb28 !important;
  border: 2px solid #edbb28 !important;
  border-radius: 6px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000 !important;
  transition: all 250ms ease;
}

.remedia-contact-form .elementor-button:hover {
  background: #d4a520 !important;
  border-color: #d4a520 !important;
}

.remedia-contact-form .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: row-reverse;
}

.remedia-contact-form .elementor-button .e-font-icon-svg {
  width: 16px;
  height: 16px;
  fill: #000000 !important;
}

.remedia-contact-form .elementor-button-icon svg {
  transition: transform 250ms ease;
}

.remedia-contact-form .elementor-button:hover .elementor-button-icon svg {
  transform: translateX(5px);
}

/* Responsive */

.remedia-contact-form .elementor-col-50 {
  width: calc(50% - 10px) !important;
  flex: 0 0 calc(50% - 10px) !important;
}
@media (max-width: 768px) {
  .remedia-contact-form .elementor-col-50 {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}


/* --- Cards de entrdas ---
   -------------------------------------------- */
/* Card entradas */
.remedia-blog {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.3s ease;
	border: 1px solid #e5e5e5;
}
.remedia-blog:hover {
    transform: translateY(-0.25rem);
}

/* Imaxe */
.remedia-blog .blog-image {
    overflow: hidden;
    position: relative;
}
.remedia-blog .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.remedia-blog:hover .blog-image img {
    transform: scale(1.05);
}

/* Liña amarela animada */
.remedia-blog .blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #edbb28;
    transition: width 0.4s ease;
}
.remedia-blog:hover .blog-image::after {
    width: 100%;
}

.remedia-blog .blog-badge .jet-listing-dynamic-terms {
    display: inline-flex;
    align-items: center;
    background: #edbb28;
    padding: 0.375rem 0.625rem;
    border-radius: 3.125rem;
    transition: background 0.3s ease;
}
.remedia-blog:hover .blog-badge .jet-listing-dynamic-terms {
    background: #edbb28;
}

/* Botón */
.remedia-blog .link-blog .elementor-button-icon {
    transition: transform 0.3s ease;
}
.remedia-blog:hover .link-blog .elementor-button-icon {
    transform: translateX(0.25rem);
}

