/* Paleta G6 — :root y tema claro (crema / piedra / naranja). Sin negros.
   Colores base: #e1ded0 (crema), #726c63 (piedra), #fe3b1f (naranja). */

:root {
  --g6-cream: #e1ded0;
  --g6-stone: #726c63;
  --g6-orange: #fe3b1f;

  --g6-white: #ffffff;
  --g6-ink: var(--g6-stone);
  --g6-ink-muted: #8a8379;
  --g6-surface: var(--g6-white);
  --g6-surface-warm: var(--g6-cream);
  --g6-accent: var(--g6-orange);
  --g6-border: rgba(114, 108, 99, 0.18);
  --g6-border-strong: rgba(114, 108, 99, 0.28);
  --g6-overlay-hero: rgba(114, 108, 99, 0.38);
  --g6-overlay-card: rgba(114, 108, 99, 0.82);
  --g6-hero-text: #fffef9;
  --g6-cream-veil: rgba(225, 222, 208, 0.92);
}

/* Base */
body.g6-brand {
  background: var(--g6-cream) !important;
  color: var(--g6-ink) !important;
}

body.g6-brand .page-wrapper {
  background: transparent !important;
  color: inherit;
}

/* Cabecera: capa flotante; el hero rellana desde top:0; barra = contenedor (ver g6-header-nav) */
body.g6-brand #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
}

body.g6-brand #header .wpo-site-header,
body.g6-brand #header a,
body.g6-brand #header button,
body.g6-brand #header .navigation,
body.g6-brand #header .navigation-holder,
body.g6-brand #header .navbar-header {
  pointer-events: auto;
}

/* Tema: quita padding lateral fijo; sin caja a ancho completo detrás de la barra */
body.g6-brand .wpo-header-style,
body.g6-brand .wpo-header-style-s3,
body.g6-brand .wpo-header-style .wpo-site-header,
body.g6-brand .wpo-header-style-s3 .wpo-site-header,
body.g6-brand .wpo-site-header {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.g6-brand .wpo-site-header .navbar-nav > li > a,
body.g6-brand .wpo-site-header .menu-item-has-children > a,
body.g6-brand .wpo-site-header .sub-menu a {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-site-header .navbar-nav > li > a:hover,
body.g6-brand .wpo-site-header .sub-menu a:hover,
body.g6-brand .wpo-header-style-s3 .navbar-nav a:hover,
body.g6-brand .wpo-header-style .navbar-nav a:hover {
  color: var(--g6-accent) !important;
}

body.g6-brand .wpo-header-style-s3 .header-right .theme-btn,
body.g6-brand .wpo-header-style .header-right .close-form .theme-btn,
body.g6-brand .wpo-site-header .close-form .theme-btn {
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: 1px solid transparent !important;
  border-radius: 999px;
  font-size: clamp(0.88rem, 1.05vw, 1rem) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.5rem 0.6rem !important;
  min-height: 2.85rem;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body.g6-brand .wpo-header-style-s3 .header-right .theme-btn:hover,
body.g6-brand .wpo-header-style .close-form .theme-btn:hover,
body.g6-brand .wpo-site-header .close-form .theme-btn:hover {
  background: color-mix(in srgb, var(--g6-orange) 88%, #000 12%) !important;
  color: var(--g6-white) !important;
}

body.g6-brand .icon-bar,
body.g6-brand .wpo-header-style-s3 .icon-bar,
body.g6-brand .wpo-header-style .icon-bar {
  background: var(--g6-ink) !important;
}

/* Botones principales */
body.g6-brand .theme-btn,
body.g6-brand a.theme-btn,
body.g6-brand button.theme-btn,
body.g6-brand .wpo-testimonial-wrap .theme-btn {
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: 1px solid transparent !important;
}

body.g6-brand .theme-btn .rolling-text,
body.g6-brand .theme-btn span {
  color: inherit !important;
}

body.g6-brand .theme-btn:hover,
body.g6-brand a.theme-btn:hover {
  background: color-mix(in srgb, var(--g6-orange) 90%, #000 10%) !important;
  color: var(--g6-white) !important;
}

/* CTAs: naranja como resalte (mismo criterio en about / proyectos) */
body.g6-brand .wpo-about-section .about-btn .theme-btn,
body.g6-brand .wpo-about-section-s3 .about-btn .theme-btn,
body.g6-brand .wpo-project-section .project-allBtn .theme-btn,
body.g6-brand .wpo-service-section .project-allBtn .theme-btn {
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: 1px solid var(--g6-accent) !important;
}

body.g6-brand .wpo-about-section .about-btn .theme-btn:hover,
body.g6-brand .wpo-about-section-s3 .about-btn .theme-btn:hover,
body.g6-brand .wpo-project-section .project-allBtn .theme-btn:hover,
body.g6-brand .wpo-service-section .project-allBtn .theme-btn:hover {
  background: color-mix(in srgb, var(--g6-orange) 90%, #000 10%) !important;
  color: var(--g6-white) !important;
}

/* #proyectos: mismo botón naranja que #estudio (anula bordre negro y compactación del HTML base de project-s3) */
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn,
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: 1px solid var(--g6-accent) !important;
  border-radius: 35px !important;
  text-transform: none !important;
  padding: 19px 45px !important;
  font-size: clamp(0.88rem, 1.05vw, 1rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
}

body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn:hover,
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn:focus-visible,
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn:hover,
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn:focus-visible {
  background: color-mix(in srgb, var(--g6-orange) 90%, #000 10%) !important;
  color: var(--g6-white) !important;
  border-color: color-mix(in srgb, var(--g6-orange) 90%, #000 10%) !important;
}

body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn .rolling-text,
body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn .rolling-text {
  line-height: 25px !important;
  height: 25px !important;
}

@media (max-width: 767px) {
  body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn,
  body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn {
    padding: 10px 25px !important;
    font-size: 14px !important;
  }

  body.g6-brand .wpo-project-section-s3 .title .project-allBtn .theme-btn .rolling-text,
  body.g6-brand .wpo-project-section-s3 .title .project-allBtn .view-cart-btn .rolling-text {
    height: 29px !important;
    line-height: 34px !important;
  }
}

body.g6-brand .wpo-service-section .service-left .content .icon img {
  filter: brightness(0) saturate(100%) invert(32%) sepia(5%) saturate(500%) hue-rotate(5deg) brightness(0.9);
  opacity: 0.9;
}

/* Hero: ocupa el ancho; con cabecera absoluta, el fondo arranca en top:0 del viewport */
body.g6-brand .wpo-hero-slider-s3,
body.g6-brand .wpo-hero-slider {
  margin-top: 0 !important;
}

body.g6-brand .wpo-hero-slider-s3 .slide-inner.slide-bg-image,
body.g6-brand .wpo-hero-slider .slide-inner.slide-bg-image,
body.g6-brand .wpo-hero-slider-s3 .hero-inner,
body.g6-brand .wpo-hero-slider .hero-inner {
  background-position: center top !important;
}

/* Hero: overlay cálido, texto legible (no negro) */
body.g6-brand .wpo-hero-slider .slide-inner::before,
body.g6-brand .wpo-hero-slider-s3 .slide-inner::before,
body.g6-brand .hero-inner::before {
  background: var(--g6-overlay-hero) !important;
}

body.g6-brand .wpo-hero-slider .slide-content h2,
body.g6-brand .wpo-hero-slider-s3 .slide-sub-title h2,
body.g6-brand .wpo-hero-slider .scroll-btn span {
  color: var(--g6-hero-text) !important;
}

body.g6-brand .wpo-hero-slider-s3 .sub-title:not(.g6-hero-subtitle-block) p,
body.g6-brand .wpo-hero-slider-s3 .sub-title:not(.g6-hero-subtitle-block) a.theme-btn,
body.g6-brand .wpo-hero-slider-s3 .slide-content .sub-title:not(.g6-hero-subtitle-block) p {
  color: var(--g6-hero-text) !important;
}

body.g6-brand .wpo-hero-slider-s3 .sub-title:not(.g6-hero-subtitle-block) a.theme-btn {
  background: var(--g6-accent) !important;
  border: none !important;
}

/* Fracción / bullet swiper */
body.g6-brand .wpo-hero-slider .swiper-pagination,
body.g6-brand .wpo-hero-slider-s3 .swiper-pagination,
body.g6-brand .wpo-hero-slider .swiper-pagination-total,
body.g6-brand .wpo-hero-slider-s3 .swiper-pagination-bullets {
  color: var(--g6-hero-text) !important;
}

/* About S3 y default */
body.g6-brand .wpo-about-section,
body.g6-brand .wpo-about-section-s3 {
  background: var(--g6-surface) !important;
}

body.g6-brand .wpo-about-section .content h2,
body.g6-brand .wpo-about-section-s3 .content h2,
body.g6-brand .wpo-about-section .content p,
body.g6-brand .wpo-about-section-s3 .content p {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-about-section .about-funfact h3,
body.g6-brand .wpo-about-section .about-funfact h3 span,
body.g6-brand .wpo-about-section .about-funfact h3 .odometer,
body.g6-brand .wpo-about-section .about-funfact h4,
body.g6-brand .about-funfact h4 {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-about-section .about-funfact h3 .icon,
body.g6-brand .about-funfact h3 .icon {
  color: var(--g6-ink) !important;
}

body.g6-brand .video-btn,
body.g6-brand .wpo-about-section .video-btn,
body.g6-brand .wpo-about-section-s3 .video-btn {
  border-color: var(--g6-ink) !important;
  background: var(--g6-surface) !important;
}

body.g6-brand .video-btn path,
body.g6-brand .wpo-about-section .video-btn path,
body.g6-brand .wpo-about-section-s3 .video-btn path {
  stroke: var(--g6-ink) !important;
}

body.g6-brand .video-wrap span,
body.g6-brand .wpo-about-section-s3 .video-wrap span {
  color: var(--g6-ink) !important;
}

/* Proyectos */
body.g6-brand .wpo-project-section,
body.g6-brand .wpo-project-section-s3 {
  background: var(--g6-surface-warm) !important;
}

body.g6-brand .wpo-project-section .title h2,
body.g6-brand .wpo-project-section-s3 .project-title h2,
body.g6-brand .wpo-project-section .project-title h2 {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-project-section .project-title p,
body.g6-brand .wpo-project-section-s3 .project-title p,
body.g6-brand .wpo-project-section-s3 .title .project-title p {
  color: var(--g6-ink-muted) !important;
}

body.g6-brand .wpo-project-section .project-card .content {
  background: var(--g6-overlay-card) !important;
}

body.g6-brand .wpo-project-section .project-card .content h2 a,
body.g6-brand .wpo-project-section .project-card .content span {
  color: var(--g6-hero-text) !important;
}

/* Servicios (S3 y default) */
body.g6-brand .wpo-service-section,
body.g6-brand .wpo-service-section-s3 {
  background: var(--g6-surface) !important;
}

body.g6-brand .wpo-service-section .service-top .content,
body.g6-brand .wpo-service-section-s3 {
  color: var(--g6-ink);
}

body.g6-brand .wpo-service-section .service-top .content {
  background: var(--g6-cream-veil) !important;
}

body.g6-brand .wpo-service-section .service-top .content h2,
body.g6-brand .wpo-service-section .service-top .content p,
body.g6-brand .wpo-service-section-s3 .service-left h2 a,
body.g6-brand .wpo-service-section-s3 .service-left p,
body.g6-brand .wpo-service-section-s3 .content h2 a,
body.g6-brand .wpo-service-section-s3 .content p,
body.g6-brand .wpo-service-section .service-left .content p,
body.g6-brand .wpo-service-section .service-left .content h2 a {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-service-section .service-left .content .icon img {
  filter: none;
  opacity: 0.75;
}

body.g6-brand .wpo-service-section .service-left .content h2 a,
body.g6-brand .wpo-service-section .service-left .content p {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-service-section-s3 .content .icon,
body.g6-brand .wpo-service-section .service-left .content .icon {
  opacity: 0.9;
}

body.g6-brand .service-card {
  background: var(--g6-surface) !important;
  border: 1px solid var(--g6-border) !important;
}

body.g6-brand .service-card h2 a,
body.g6-brand .service-card p {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-service-section-s3 .wpo-service-slider,
body.g6-brand .wpo-service-section-s3 .item img {
  border-color: var(--g6-border) !important;
}

/* Cifras */
body.g6-brand #cifras.wpo-funfact-section,
body.g6-brand #cifras.wpo-funfact-section-s3,
body.g6-brand .wpo-funfact-section,
body.g6-brand .wpo-funfact-section-s3 {
  background: var(--g6-cream) !important;
  border-top: 1px solid var(--g6-border);
  border-bottom: 1px solid var(--g6-border);
}

body.g6-brand .wpo-funfact-section .item h2 span,
body.g6-brand .wpo-funfact-section .item h2 .odometer,
body.g6-brand .wpo-funfact-section-s3 .item h2,
body.g6-brand #cifras .item h2 .odometer {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-funfact-section .item h3,
body.g6-brand #cifras .item h3 {
  color: var(--g6-ink-muted) !important;
}

body.g6-brand .wpo-funfact-section .item h2 .icon,
body.g6-brand #cifras .item h2 .icon {
  color: var(--g6-ink) !important;
}

/* Testimonios */
body.g6-brand .wpo-testimonial-section,
body.g6-brand .wpo-testimonial-section-s2 {
  background: var(--g6-cream) !important;
}

body.g6-brand .wpo-testimonial-section .item .bg-image::before,
body.g6-brand .wpo-testimonial-section-s2 .item .bg-image::before {
  background: var(--g6-cream) !important;
  opacity: 0.75 !important;
}

body.g6-brand .wpo-testimonial-section .item .content h3,
body.g6-brand .wpo-testimonial-section-s2 .item .content h3,
body.g6-brand .wpo-testimonial-section .item .content h4,
body.g6-brand .wpo-testimonial-section .item .content span,
body.g6-brand .wpo-testimonial-section-s2 .item .content h4,
body.g6-brand .wpo-testimonial-section-s2 .item .content span,
body.g6-brand .wpo-testimonial-section-s2 .item .content h3,
body.g6-brand .wpo-testimonial-section-s2 .item .content {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-testimonial-section .item .content h3,
body.g6-brand .wpo-testimonial-section-s2 .item .content h3,
body.g6-brand .wpo-testimonial-section .item .content h4,
body.g6-brand .wpo-testimonial-section-s2 .item .content h4,
body.g6-brand .wpo-testimonial-section .item .content span,
body.g6-brand .wpo-testimonial-section-s2 .item .content span,
body.g6-brand .wpo-testimonial-section .item .content .icon img,
body.g6-brand .wpo-testimonial-section-s2 .item .content .icon img {
  filter: none !important;
}

body.g6-brand .wpo-testimonial-section .item .content h4::before,
body.g6-brand .wpo-testimonial-section .item .content h4::after,
body.g6-brand .wpo-testimonial-section-s2 .item .content h4::before {
  background: var(--g6-border-strong) !important;
}

/* Precios (solo index) */
body.g6-brand .wpo-pricing-section,
body.g6-brand .wpo-pricing-section.section-padding,
body.g6-brand .wpo-pricing-section .section-title h2,
body.g6-brand .wpo-pricing-section .section-title p,
body.g6-brand .wpo-pricing-section .section-title,
body.g6-brand .wpo-pricing-section .row {
  background: var(--g6-surface) !important;
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-pricing-section .section-title h2,
body.g6-brand .wpo-pricing-section .section-title p {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-pricing-section .section-title p {
  color: var(--g6-ink-muted) !important;
}

body.g6-brand .wpo-pricing-section .container-fluid,
body.g6-brand .wpo-pricing-section .section-title {
  background: var(--g6-surface) !important;
}

body.g6-brand .wpo-pricing-section .row {
  background: var(--g6-cream) !important;
  padding: 2rem 0 3rem;
  border-radius: 0;
}

body.g6-brand .pricing-card {
  background: var(--g6-surface) !important;
  border: 1px solid var(--g6-border) !important;
  color: var(--g6-ink) !important;
  box-shadow: 0 8px 32px rgba(114, 108, 99, 0.08);
}

body.g6-brand .pricing-card .title h2,
body.g6-brand .pricing-card .pricing-top h2,
body.g6-brand .pricing-card ul li,
body.g6-brand .pricing-card p {
  color: var(--g6-ink) !important;
}

body.g6-brand .pricing-card .theme-btn,
body.g6-brand .wpo-pricing-section .theme-btn,
body.g6-brand .wpo-pricing-section .theme-btn {
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: 1px solid var(--g6-accent) !important;
}

body.g6-brand .pricing-card.active {
  background: var(--g6-cream) !important;
  border: 1px solid var(--g6-accent) !important;
  box-shadow: 0 0 0 1px var(--g6-border-strong);
}

/* Team (#socios: blanco + cuadrícula en g6-socios-section.css) */
body.g6-brand .wpo-team-section:not(#socios),
body.g6-brand .wpo-team-section-s2 {
  background: var(--g6-cream) !important;
}

body.g6-brand .wpo-team-section .title h2,
body.g6-brand .wpo-team-section-s2 .title h2,
body.g6-brand .wpo-team-section .title p,
body.g6-brand .wpo-team-section-s2 .title p,
body.g6-brand .wpo-team-section .team-card h2 a,
body.g6-brand .wpo-team-section-s2 .team-card h2 a,
body.g6-brand .wpo-team-section .team-card span,
body.g6-brand .wpo-team-section-s2 .team-card span {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-team-section .team-card h2 a:hover,
body.g6-brand .wpo-team-section-s2 .team-card h2 a:hover {
  color: var(--g6-accent) !important;
}

/* Partners */
body.g6-brand .wpo-partners-section {
  background: var(--g6-surface) !important;
  border-top: 1px solid var(--g6-border);
  border-bottom: 1px solid var(--g6-border);
}

/* Footer */
body.g6-brand .about-widget .g6-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  line-height: 0;
}

body.g6-brand .about-widget .g6-footer-brand img:first-child {
  height: clamp(1.75rem, 2.5vw, 2.25rem);
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

body.g6-brand .about-widget .g6-footer-brand img:last-child {
  height: clamp(1.2rem, 1.8vw, 1.55rem);
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  opacity: 0.95;
}

body.g6-brand .wpo-site-footer:not(.g6-footer-float),
body.g6-brand .wpo-site-footer:not(.g6-footer-float) .wpo-upper-footer,
body.g6-brand .wpo-site-footer:not(.g6-footer-float) .wpo-lower-footer,
body.g6-brand .wpo-site-footer:not(.g6-footer-float) .wpo-lower-footer .container-fluid {
  background: var(--g6-surface-warm) !important;
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-upper-footer p,
body.g6-brand .wpo-upper-footer .link-widget a,
body.g6-brand .wpo-upper-footer .widget li,
body.g6-brand .wpo-lower-footer p,
body.g6-brand .wpo-lower-footer a,
body.g6-brand .wpo-lower-footer .right a {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-lower-footer a:hover,
body.g6-brand .wpo-upper-footer a:hover,
body.g6-brand .wpo-upper-footer .link-widget a:hover,
body.g6-brand .wpo-lower-footer .right a span:hover,
body.g6-brand .wpo-lower-footer a:hover {
  color: var(--g6-accent) !important;
}

body.g6-brand .wpo-lower-footer {
  border-top: 1px solid var(--g6-border) !important;
}

body.g6-brand .wpo-upper-footer .widget-title h3,
body.g6-brand .wpo-lower-footer .copyright,
body.g6-brand .wpo-lower-footer .right a {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-upper-footer .newsletter-widget input,
body.g6-brand .wpo-upper-footer .newsletter-widget .input-fild,
body.g6-brand .wpo-upper-footer .newsletter-widget input.input-fild {
  background: var(--g6-surface) !important;
  border: 1px solid var(--g6-border) !important;
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-upper-footer .newsletter-widget button {
  background: var(--g6-accent) !important;
  color: var(--g6-white) !important;
  border: none !important;
}

/* Hero team strip */
body.g6-brand .hero-team span,
body.g6-brand .wpo-hero-slider .scroll-btn,
body.g6-brand .wpo-hero-slider-s3 + .scroll-btn {
  color: var(--g6-hero-text) !important;
}

body.g6-brand .wpo-hero-slider .scroll-btn,
body.g6-brand .wpo-hero-slider-s3 .scroll-btn,
body.g6-brand .scroll-befor img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Odometer / números */
body.g6-brand .odometer,
body.g6-brand .odometer * {
  color: inherit;
}

/* Scroll / cursor: mantener ligeros */
body.g6-brand .wpo-hero-slider .scroll-btn {
  text-decoration: none;
}

body.g6-brand .preloader,
body.g6-brand .preloader .vertical-centered-box {
  background: var(--g6-cream) !important;
}

.preloader:has(.g6-preloader-mark) .loader-circle,
.preloader:has(.g6-preloader-mark) .loader-line-mask {
  display: none;
}

.preloader .g6-preloader-mark {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(6.5rem, 20vw, 9.5rem);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

body.g6-brand .preloader .content .g6-preloader-mark {
  animation: g6-preloader-pulse 1.25s ease-in-out infinite;
}

@keyframes g6-preloader-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.82;
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.g6-brand .preloader .content .g6-preloader-mark {
    animation: none;
  }
}

body.g6-brand .wpo-upper-footer .social-widget a,
body.g6-brand .wpo-upper-footer .social-widget i,
body.g6-brand .wpo-lower-footer .social-widget a {
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-upper-footer .social-widget a:hover,
body.g6-brand .wpo-lower-footer .social-widget a:hover,
body.g6-brand .wpo-upper-footer .social-widget a:hover i {
  color: var(--g6-accent) !important;
}

body.g6-brand .header-search-form .form-control,
body.g6-brand .header-search-form input,
body.g6-brand .wpo-header-style-s3 .header-search-form .form-control {
  background: var(--g6-surface) !important;
  border: 1px solid var(--g6-border) !important;
  color: var(--g6-ink) !important;
}

/* Testimonio S2 (vista S3) — bloque claro, sin caja negra */
body.g6-brand .wpo-testimonial-section-s2 {
  background: var(--g6-cream) !important;
}

body.g6-brand .wpo-testimonial-section-s2 .owl-nav button,
body.g6-brand .wpo-testimonial-section .owl-nav button {
  background: var(--g6-cream) !important;
  border: 1px solid var(--g6-border) !important;
  color: var(--g6-ink) !important;
}

body.g6-brand .wpo-testimonial-section-s2 .owl-dots .owl-dot span,
body.g6-brand .wpo-testimonial-section .owl-dots .owl-dot span,
body.g6-brand .wpo-hero-slider-s3 .owl-dots .owl-dot span {
  background: var(--g6-cream) !important;
  border: 1px solid var(--g6-border) !important;
}

body.g6-brand .wpo-testimonial-section-s2 .owl-dots .owl-dot.active span,
body.g6-brand .wpo-testimonial-section .owl-dots .owl-dot.active span,
body.g6-brand .wpo-hero-slider-s3 .owl-dots .owl-dot.active span,
body.g6-brand .wpo-hero-slider-s3 .owl-dots .owl-dot span:hover,
body.g6-brand .wpo-hero-slider .swiper-pagination-bullet-active {
  background: var(--g6-accent) !important;
  border-color: var(--g6-accent) !important;
}

body.g6-brand .wpo-testimonial-section-s2 .item .content h3,
body.g6-brand .wpo-testimonial-section-s2 .item .content h4,
body.g6-brand .wpo-testimonial-section-s2 .item .content span,
body.g6-brand .wpo-testimonial-section-s2 .item .content .icon,
body.g6-brand .wpo-testimonial-section-s2 .item {
  color: var(--g6-ink) !important;
  background: transparent !important;
}

body.g6-brand .wpo-testimonial-section-s2 .item .content .icon {
  color: var(--g6-ink) !important;
  fill: var(--g6-ink) !important;
  opacity: 0.4;
  filter: none !important;
}

body.g6-brand .wpo-testimonial-section-s2 .item .content .icon img,
body.g6-brand .wpo-testimonial-section-s2 .item .content .icon svg {
  filter: brightness(0) saturate(100%) invert(32%) sepia(5%) saturate(500%) !important;
  opacity: 0.6;
}

/* Ajuste ícono quote path si SVG inline */
body.g6-brand .wpo-testimonial-section-s2 .item .content {
  text-align: start;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1.5rem;
}

/* —— Navegación: una sola fila en desktop (evita salto a dos líneas) —— */
@media (min-width: 992px) {
  body.g6-brand .wpo-site-header #navbar.collapse,
  body.g6-brand .wpo-site-header .navigation-holder {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
  }

  body.g6-brand .wpo-site-header #navbar .navbar-nav,
  body.g6-brand .wpo-site-header #navbar .navbar-nav.g6-nav-primary {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100%;
    height: auto !important;
    margin-bottom: 0 !important;
  }

  body.g6-brand .wpo-site-header #navbar .navbar-nav > li,
  body.g6-brand .wpo-site-header .navbar-nav > li {
    float: none !important;
    flex: 0 0 auto;
  }

  body.g6-brand .wpo-site-header .navbar-nav > li > a,
  body.g6-brand .wpo-site-header .menu-item-has-children > a {
    white-space: nowrap !important;
    line-height: 1.2 !important;
    max-width: none !important;
    padding: 1.2rem clamp(0.2rem, 0.5vw, 0.5rem) !important;
    font-size: clamp(0.75rem, 0.9vw, 0.9rem) !important;
    letter-spacing: 0.01em;
  }

  body.g6-brand .wpo-header-style-s3 .navbar-nav > li > a {
    font-size: clamp(0.7rem, 0.86vw, 0.86rem) !important;
    padding: 1.1rem clamp(0.1rem, 0.4vw, 0.4rem) !important;
  }

  body.g6-brand .wpo-header-style-s3 .header-right {
    flex-shrink: 0;
  }

  body.g6-brand .wpo-header-style-s3 .header-right .close-form .theme-btn {
    font-size: clamp(0.82rem, 0.95vw, 0.98rem) !important;
    padding: 0.6rem 1.35rem 0.55rem !important;
    min-height: 2.75rem;
    line-height: 1.2 !important;
  }

  body.g6-brand .wpo-header-style .navbar-nav > li > a {
    font-size: clamp(0.78rem, 0.92vw, 0.92rem) !important;
    padding: 1.1rem clamp(0.2rem, 0.5vw, 0.5rem) !important;
  }
}
