/*

TemplateMo 582 Tale SEO Agency
https://templatemo.com/tm-582-tale-seo-agency

Versión revisada (UX/UI): variables de marca, media queries ordenadas
de mayor a menor, foco accesible, sin código muerto ni prefijos obsoletos.

*/

/* ---------------------------------------------
Tabla de contenido
------------------------------------------------
01. Variables de marca
02. Reset y base
03. Estilos globales
04. Preloader
05. Header y navegación
06. Pre-header
07. Banner
08. Servicios
09. Blog / proyectos
10. Infos y estadísticas
11. Cita (Google Calendar)
12. Contacto
13. Footer y botón WhatsApp
14. Otras páginas (page-heading, video, clientes, CTA, pasos, FAQ)
15. Responsive (de mayor a menor)
--------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");

/* ---------------------------------------------
01. Variables de marca
--------------------------------------------- */
:root {
  --brand-primary: #5b03e4;
  --brand-blue: #0400e3;
  --brand-navy: #2213a8;
  --brand-accent: #3afe4a;
  /* Verde legible sobre fondo blanco (el neón #3afe4a no cumple contraste AA) */
  --brand-accent-text: #0e8a1f;
  --btn-bg: #02658d;

  --text-dark: #2a2a2a;
  --text-body: #191a20;
  --text-muted: #7a7a7a;

  --surface: #fff;
  --surface-soft: #f7f7f7;
  --field-bg: #f3fbf8;

  --gradient-brand: linear-gradient(90deg, #0400e3 0%, #3dff57 100%);

  --radius-lg: 23px;
  --radius-pill: 25px;
  --shadow-card: 0 0 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 0 10px rgba(0, 0, 0, 0.15);

  --section-gap: clamp(3rem, 6vw, 5.625rem);
  --card-padding: clamp(1.5rem, 5vw, 3.75rem);
}

/* ---------------------------------------------
02. Reset y base
--------------------------------------------- */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, address, cite, code, em, img, small, strong, sub, sup, b, u, i,
dl, dt, dd, ol, ul, li, figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-body);
}

body {
  overflow-x: hidden;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

ul {
  margin-bottom: 0;
}

p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: #000;
}

/* Antes: width:100% global, que estiraba cualquier imagen pequeña */
img {
  max-width: 100%;
  height: auto;
}

/* Foco visible para navegación con teclado (antes se eliminaba con outline:none) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Bootstrap 4 usa .sr-only; Bootstrap 5 usa .visually-hidden. Se define aquí por compatibilidad. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------
03. Estilos globales
--------------------------------------------- */
::selection {
  background: var(--brand-primary);
  color: #fff;
}

.templatemo-feature {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 50%;
}

.main-button a,
.second-button a {
  font-size: 14px;
  color: #fff;
  background-color: var(--btn-bg);
  padding: 12px 30px;
  display: inline-block;
  border-radius: var(--radius-pill);
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: opacity 0.3s, background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.main-button a:hover,
.second-button a:hover {
  color: #fff;
  opacity: 0.6;
}

.section {
  padding-top: 30px;
  margin-top: var(--section-gap);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading .line-dec {
  width: 60px;
  height: 2px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #5500e3 0%, #c63dff 100%);
}

.section-heading h2 {
  color: var(--text-dark);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  text-transform: capitalize;
  margin-bottom: 30px;
  line-height: 1.45;
}

.section-heading h2 em,
.section-heading h2 span {
  color: var(--brand-accent-text);
  font-style: normal;
}

/* ---------------------------------------------
04. Preloader
--------------------------------------------- */
.js-preloader {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.99);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes dot {
  50% { transform: translateX(96px); }
}

@keyframes dots {
  50% { transform: translateX(-31px); }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  margin-top: 12px;
  margin-left: 31px;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: var(--brand-primary);
  border-radius: 50%;
}

/* ---------------------------------------------
05. Header y navegación
--------------------------------------------- */
.background-header {
  background-color: var(--surface);
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-hover) !important;
  transition: all 0.5s ease 0s;
}

.header-area {
  position: absolute;
  background: var(--gradient-brand);
  height: 110px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
  display: flex;
}

.header-area .main-nav .logo {
  margin-top: 25px;
  flex-basis: 20%;
  transition: all 0.3s ease 0s;
}

.background-header .main-nav .logo {
  margin-top: 10px;
}

.header-area .main-nav .nav {
  flex-basis: 80%;
  height: 110px;
  margin: 0;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
  justify-content: flex-end;
}

.header-area .main-nav .nav li {
  padding-left: 30px;
  padding-right: 30px;
}

.header-area .main-nav .nav li:first-child {
  padding-left: 60px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0;
}

.header-area .main-nav .nav li:nth-child(4) {
  padding-right: 45px;
}

/* Texto blanco sobre un degradado que termina en verde claro: la sombra mejora el contraste */
.header-area .main-nav .nav li a {
  display: block;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease 0s;
  height: 110px;
  line-height: 110px;
  border: transparent;
  letter-spacing: 1px;
}

.background-header .main-nav .nav li a {
  height: 80px;
  line-height: 80px;
}

.header-area .main-nav .border-button {
  flex-basis: 20%;
  margin-top: 13px;
  text-align: right;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active,
.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #fff;
  opacity: 0.8;
}

.header-area .main-nav .nav li.has-sub {
  position: relative;
  padding-right: 15px;
}

/* Flecha del submenú: Font Awesome 6 (antes usaba la familia "FontAwesome" de la v4) */
.header-area .main-nav .nav li.has-sub::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f107";
  font-size: 12px;
  color: #fff;
  position: absolute;
  right: 0;
  top: 45px;
}

.background-header .main-nav .nav li.has-sub::after {
  top: 32px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 160px;
  border-radius: 0 0 5px 5px;
  background-color: #eee;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 110px;
  opacity: 0;
  transition: all 0.3s;
  transform: translateY(2em);
  visibility: hidden;
  z-index: -1;
}

.background-header .main-nav .nav li.has-sub ul.sub-menu {
  top: 80px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: #eee;
  color: var(--text-dark);
  text-shadow: none;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li:last-child a {
  border-bottom: none;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a:hover {
  background: #fff;
  color: var(--brand-primary);
  padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu,
.header-area .main-nav .nav li.has-sub:focus-within ul.sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0);
}

/* Botón hamburguesa */
.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 17px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span::before,
.header-area .main-nav .menu-trigger span::after {
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span::before,
.header-area .main-nav .menu-trigger span::after {
  content: "";
  width: 75%;
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span::before {
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span::after {
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span::before,
.header-area .main-nav .menu-trigger.active span::after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span::before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span::after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.header-area.header-sticky .nav li a.active {
  color: #fff;
}

/* Menú móvil. Se mantiene !important en color/medidas porque debe ganar
   a las reglas de escritorio con mayor especificidad (a.active, :hover). */
@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 992px) {
  .header-area .main-nav .nav { display: flex !important; }
}

@media (max-width: 991px) {
  .header-area {
    padding: 0 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }

  .header-area .container {
    padding: 0;
  }

  .header-area .main-nav {
    overflow: hidden;
  }

  .header-area .main-nav .logo {
    position: absolute;
    left: 30px;
    top: 0;
    margin-left: 0;
  }

  .background-header .main-nav .logo,
  .background-header .main-nav .border-button {
    top: 0 !important;
  }

  .header-area .main-nav .border-button {
    position: absolute;
    top: 15px;
    right: 70px;
  }

  .header-area .menu-trigger {
    display: block !important;
  }

  .header-area .main-nav .nav {
    display: none;
    float: none;
    width: 100%;
    height: auto;
    flex-basis: 100%;
    margin-left: 0;
    transition: none;
  }

  .header-area.header-sticky .nav {
    margin-top: 100px !important;
  }

  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }

  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 !important;
    border: none !important;
    background: var(--surface-soft) !important;
    color: var(--text-body) !important;
    text-shadow: none;
  }

  .header-area .main-nav .nav li a:hover,
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    background: #eee !important;
    color: var(--brand-primary) !important;
    opacity: 1;
  }

  /* El submenú se muestra apilado (antes quedaba oculto y las páginas
     "El Equipo" y "FAQs" eran inaccesibles en móvil) */
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: relative;
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: none;
    top: 0;
    width: 100%;
    height: auto;
    box-shadow: none;
    transition: none;
  }

  .header-area .main-nav .nav li.has-sub::after {
    color: #3b566e;
    right: 30px;
    font-size: 14px;
    top: 15px;
  }
}

/* ---------------------------------------------
06. Pre-header
--------------------------------------------- */
.pre-header {
  background-color: var(--surface);
  padding: 15px 0;
  display: none;
}

.pre-header ul li {
  display: inline-block;
}

.pre-header .left-info ul li {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid var(--brand-navy);
}

.pre-header .left-info ul li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.pre-header .left-info ul li a {
  font-size: 14px;
}

.pre-header .left-info ul li a i {
  font-size: 18px;
  margin-right: 10px;
}

.pre-header ul li a {
  color: var(--brand-navy);
  transition: color 0.4s;
}

.pre-header ul li a:hover {
  color: var(--brand-accent-text);
}

.pre-header .social-icons {
  text-align: right;
}

.pre-header .social-icons ul li {
  margin-left: 10px;
}

.pre-header .social-icons ul li a {
  font-size: 22px;
}

/* ---------------------------------------------
07. Banner
--------------------------------------------- */
.main-banner {
  position: relative;
  padding: 140px 0 60px;
}

.main-banner h6 {
  font-size: 35px;
  color: var(--brand-navy);
  text-transform: uppercase;
  font-weight: 700;
}

.main-banner .line-dec {
  margin: 30px 0 20px;
  width: 210px;
  max-width: 60%;
  height: 2px;
  background-color: #decdfa;
}

/* El título principal ahora es <h1> (SEO); se conserva h4 por compatibilidad */
.main-banner h1,
.main-banner h4 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.main-banner h1 em,
.main-banner h4 em {
  font-style: normal;
  color: #034ae4;
}

.main-banner h1 span,
.main-banner h4 span {
  color: var(--brand-accent-text);
}

.main-banner p {
  color: var(--text-body);
  padding-right: 25%;
  margin-bottom: 30px;
}

.main-banner .main-button,
.main-banner .second-button {
  display: inline-block;
}

.main-banner span {
  display: inline-block;
  margin: 0 10px;
  color: var(--text-muted);
}

.main-banner .img-fluid {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

/* Tarjeta de texto sobre la imagen de fondo del banner */
.main-banner .caption {
  background-color: rgba(250, 250, 250, 0.95);
  padding: 60px;
  border-radius: var(--radius-lg);
}

/* ---------------------------------------------
08. Servicios
--------------------------------------------- */
.services {
  position: relative;
  overflow: hidden;
}

.services .section-heading {
  padding: 5px 0 180px;
}

.services .section-heading h2 {
  padding-right: 30px;
}

.services::before {
  content: url(../images/services-left.jpg);
  top: 120px;
  left: 0;
  position: absolute;
  width: 844px;
  height: 714px;
  z-index: -1;
}

.services .service-item {
  border: 1.5px solid #d7ffd8;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.875rem);
  background-color: var(--surface);
  margin-bottom: 30px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.services .service-item h4 {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--text-dark);
  margin-top: 20px;
  line-height: 1.5;
  transition: color 0.4s;
}

.services .service-item:hover {
  border-color: #fff;
  box-shadow: var(--shadow-hover);
}

.services .service-item:hover h4 {
  color: var(--brand-primary);
}

/* ---------------------------------------------
09. Blog / proyectos
--------------------------------------------- */
.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.43;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 24px;
  line-height: 1.33;
}

.projects .section-heading {
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.projects .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.projects .card {
  max-width: 100%;
}

.projects .item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.projects .item .down-content {
  background-color: var(--surface);
  border: 1px solid #f3d7ff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 30px;
  position: relative;
}

.projects .item .down-content h4 {
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.5;
  width: 75%;
}

.projects .item .down-content a {
  width: 46px;
  height: 46px;
  display: inline-block;
  line-height: 46px;
  text-align: center;
  background-color: #fff;
  box-shadow: var(--shadow-hover);
  border-radius: 50%;
  position: absolute;
  right: 30px;
  top: 50%;
  color: var(--brand-primary);
  transform: translateY(-23px);
}

.projects .owl-nav {
  position: absolute;
  max-width: 1320px;
  top: -126px;
  right: 16%;
  text-align: right;
}

.projects .owl-nav .owl-prev span,
.projects .owl-nav .owl-next span {
  width: 46px;
  height: 46px;
  line-height: 42px;
  font-size: 24px;
  display: inline-block;
  color: #fff;
  background-color: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.projects .owl-nav .owl-next span {
  margin-left: 15px;
}

.projects .owl-nav .owl-prev span:hover,
.projects .owl-nav .owl-next span:hover {
  opacity: 1;
}

/* ---------------------------------------------
10. Infos y estadísticas
--------------------------------------------- */
.infos {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: clamp(3rem, 8vw, 7.5rem) 0;
  margin-top: clamp(3rem, 8vw, 7.5rem);
}

.infos .main-content {
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
}

.infos .main-content .left-image {
  background-image: url(../images/left-infos.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.infos .main-content .left-image img {
  display: none;
  width: 100%;
}

.infos .main-content .section-heading {
  padding: var(--card-padding) var(--card-padding) 30px;
}

.infos .main-content .skills {
  padding: 0 var(--card-padding);
}

.skills {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}

.skill-slide {
  flex: 1 1 140px;
  min-width: 120px;
  position: relative;
  padding: 16px 0;
}

.skill-slide h6 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #1a2b49;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.skill-slide span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.skill-slide.marketing h6 { color: #2563eb; }
.skill-slide.digital h6 { color: #16a34a; }

.infos .main-content p.more-info {
  font-weight: bold;
  margin-top: -15px;
  padding: 0 var(--card-padding) var(--card-padding);
}

/* ---------------------------------------------
11. Cita (botón de Google Calendar)
--------------------------------------------- */
.cita {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ---------------------------------------------
12. Contacto
--------------------------------------------- */
.contact-us {
  position: relative;
}

.contact-us .contact-us-content {
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  background-color: var(--surface);
  box-shadow: var(--shadow-card);
}

.contact-us .contact-us-content #contact-form {
  padding: var(--card-padding);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid #d8d7ff;
}

.contact-us #map iframe {
  width: 100%;
  height: 670px;
  border: 0;
}

#contact-form .section-heading {
  text-align: center;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--field-bg);
  border: 1px solid transparent;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input {
  height: 46px;
}

#contact-form textarea {
  height: 120px;
  padding: 15px;
  resize: vertical;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #555;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(91, 3, 228, 0.15);
}

#contact-form button {
  border: none;
  height: 46px;
  background-color: var(--brand-blue);
  width: 100%;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.4s;
}

#contact-form button:hover {
  opacity: 0.6;
}

.contact-us-content .more-info {
  text-align: center;
  background: var(--gradient-brand);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 45px 30px 15px;
}

.contact-us-content .more-info .info-item {
  text-align: center;
  margin-bottom: 30px;
}

.contact-us-content .more-info i {
  font-size: 32px;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.contact-us-content .more-info h4 a {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------
13. Footer y botón WhatsApp
--------------------------------------------- */
/* ---------------------------------------------
Footer
--------------------------------------------- */
.site-footer {
  --footer-bg: #0d0d45;
  --footer-text: rgba(255, 255, 255, 0.82);
  --footer-line: rgba(255, 255, 255, 0.14);

  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: var(--section-gap);
  text-align: left;
  padding: 0;
  position: relative;
}

/* Línea de degradado de marca, igual que el header */
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--gradient-brand);
}

.site-footer p {
  color: var(--footer-text);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.site-footer a {
  color: var(--footer-text);
  transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.site-footer a:focus-visible {
  outline-color: var(--brand-accent);
}

/* Franja CTA */
.footer-cta {
  border-bottom: 1px solid var(--footer-line);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.footer-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
}

.site-footer .footer-btn--solid {
  background: var(--brand-accent);
  color: #0d0d45;
}

.site-footer .footer-btn--solid:hover {
  color: #0d0d45;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(58, 254, 74, 0.35);
}

.site-footer .footer-btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.site-footer .footer-btn--ghost:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

/* Columnas */
.footer-main {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
}

.footer-col {
  margin-bottom: 2rem;
}

/* El logo va sobre una base clara para que se vea con cualquier versión */
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 56px;
}

.footer-about {
  max-width: 340px;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #fff;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #5500e3 0%, #c63dff 100%);
}

.footer-links li + li {
  margin-top: 0.65rem;
}

.footer-links a {
  display: inline-block;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  transform: translateX(4px);
}

/* Contacto */
.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.footer-contact li + li {
  margin-top: 1rem;
}

.footer-contact i {
  color: var(--brand-accent);
  margin-top: 0.3rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

/* Redes sociales: objetivos táctiles de 44px */
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--footer-line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #0d0d45;
  transform: translateY(-3px);
}

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid var(--footer-line);
  padding: 1.25rem 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
}

.footer-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
}

.site-footer .footer-top:hover {
  background: var(--brand-accent);
  color: #0d0d45;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 767px) {
  .footer-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta__actions {
    width: 100%;
  }

  .footer-cta__actions .footer-btn {
    flex: 1 1 100%;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Botón flotante de WhatsApp. Si ya lo defines en otro CSS, deja solo uno. */
.whatsapp-btn {
  position: fixed;
  right: clamp(1rem, 3vw, 1.875rem);
  bottom: clamp(1rem, 3vw, 1.875rem);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 200;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.08);
}

/* ---------------------------------------------
14. Otras páginas
    (about, team, faqs). Se conserva porque no
    se sabe si otras páginas lo usan.
--------------------------------------------- */
.page-heading {
  padding: 120px 0 30px;
  margin-top: 110px;
}

.page-heading::before {
  content: url(../images/banner-left.png);
  top: -1px;
  left: 0;
  position: absolute;
  width: 194px;
  height: 655px;
  z-index: -1;
}

.page-heading h6 {
  font-size: 20px;
  color: var(--brand-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.page-heading .line-dec {
  margin: 30px 0 20px;
  width: 210px;
  max-width: 60%;
  height: 2px;
  background-color: #decdfa;
}

.page-heading h4 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-heading h4 em {
  font-style: normal;
  color: var(--brand-primary);
}

.page-heading h4 span {
  color: #c03afe;
}

.page-heading p {
  padding-right: 25%;
  margin-bottom: 30px;
}

.page-heading .main-button,
.page-heading .second-button {
  display: inline-block;
}

.page-heading span {
  display: inline-block;
  margin: 0 10px;
  color: var(--text-muted);
}

/* Video + barras */
.video-info {
  background-image: url(../images/video-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 60px;
}

.video-info .video-thumb {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: -60px;
}

.video-info .video-thumb a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-23px, -23px);
  background-color: #fff;
  border-radius: 50%;
  color: var(--brand-primary);
  display: inline-block;
  text-align: center;
  width: 46px;
  height: 46px;
  line-height: 46px;
}

.video-info .section-heading {
  padding: 60px 15px 30px;
}

.video-info .section-heading h2 {
  color: #fff;
  padding-right: 30px;
}

.video-info .section-heading .line-dec {
  background: #fff;
}

.video-info .section-heading p {
  color: #fff;
}

.video-info .skills {
  padding: 0 15px;
}

.video-info .skill-slide {
  position: relative;
  width: 100%;
  background-color: rgba(249, 235, 255, 0.1);
  height: 100px;
  border-radius: 5px;
  margin-bottom: 60px;
}

.video-info .skill-slide .fill {
  height: 10px;
  background-color: var(--brand-primary);
  border-radius: 5px;
}

.video-info .skill-slide h6 {
  position: absolute;
  color: #fff;
  font-size: 15px;
  left: 0;
  top: -25px;
}

.video-info .skill-slide span {
  position: absolute;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  top: -25px;
}

.video-info .marketing .fill { width: 90%; }
.video-info .digital .fill { width: 80%; }
.video-info .media .fill { width: 95%; }
.video-info .marketing span { right: 10%; }
.video-info .digital span { right: 20%; }
.video-info .media span { right: 5%; }

/* Clientes felices (pestañas) */
.happy-clients {
  position: relative;
}

.happy-clients::before {
  content: url(../images/contact-left.jpg);
  top: -60px;
  left: 0;
  position: absolute;
  width: 103px;
  height: 464px;
  z-index: -1;
}

.happy-clients::after {
  content: url(../images/contact-left.jpg);
  bottom: -90px;
  right: 0;
  transform: scaleX(-1);
  position: absolute;
  width: 103px;
  height: 464px;
  z-index: -1;
}

.happy-clients .section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.happy-clients .section-heading .line-dec {
  margin: 0 auto 20px;
}

.happy-clients .naccs {
  position: relative;
  overflow: hidden;
}

.happy-clients .naccs .menu {
  border: 1px solid #e0e0e0;
  background-color: var(--surface);
  padding: 25px 0;
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
}

.happy-clients .naccs .menu div {
  border-right: 1px solid #e0e0e0;
  width: 24.6%;
  display: inline-block;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.happy-clients .naccs .menu div.last-item {
  border-right: none;
}

.happy-clients .naccs .menu div.active {
  color: var(--brand-primary);
}

.happy-clients ul.nacc {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.happy-clients ul.nacc li {
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  position: absolute;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.happy-clients ul.nacc li img {
  padding-left: 45px;
}

.happy-clients ul.nacc li h4 {
  font-size: 30px;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.happy-clients ul.nacc li .line-dec {
  background-color: var(--brand-primary);
  width: 60px;
  height: 2px;
  margin-bottom: 25px;
}

.happy-clients ul.nacc li .info {
  margin-top: 30px;
}

.happy-clients ul.nacc li .info span {
  display: inline-block;
  background-color: var(--brand-primary);
  border-radius: 20px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  padding: 0 20px;
  margin-right: 20px;
  margin-bottom: 30px;
}

.happy-clients ul.nacc li .info span.last-span {
  margin-right: 0;
}

.happy-clients ul.nacc li.active {
  position: relative;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
}

/* CTA */
.cta {
  background-image: url(../images/cta-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  position: relative;
  z-index: 15;
  margin-top: 120px;
}

.cta h4 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  color: #fff;
  line-height: 1.5;
}

.cta .main-button {
  text-align: right;
}

.cta .main-button a {
  background-color: #fff;
  color: var(--brand-primary);
  margin-top: 30px;
}

/* Pasos */
.happy-steps {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 80px 0;
}

.happy-steps h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  color: #000;
  text-align: center;
  margin-bottom: 60px;
}

.happy-steps .steps {
  background-color: rgba(250, 250, 250, 0.2);
  padding: 30px;
  border-radius: var(--radius-lg);
}

.happy-steps .steps .item {
  padding: 25px;
  text-align: center;
  border-right: 1px solid rgba(250, 250, 250, 0.2);
  margin-right: -15px;
}

.happy-steps .steps .last-item {
  border-right: none;
  margin-right: 0;
}

.happy-steps .steps .item h4 {
  font-size: 20px;
  color: #000;
  margin-top: 15px;
}

/* Preguntas frecuentes */
.most-asked {
  position: relative;
}

.most-asked .section-heading {
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.most-asked .accordions .accordion {
  border-bottom: 1px solid #eee;
}

.most-asked .accordions .last-accordion {
  border-bottom: none;
}

/* Antes: padding con !important que anulaba el media query de 768px */
.most-asked .accordion-head {
  padding: clamp(1.25rem, 3vw, 2.2rem) 0;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 200ms ease-in-out;
}

.most-asked .accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}

.most-asked .accordion-head.is-open {
  color: var(--brand-primary);
  border-bottom: none;
}

.most-asked .accordion-head.is-open .icon {
  transform: rotate(45deg);
}

.most-asked .accordion-body {
  padding: 0;
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid #fff;
}

.most-asked .accordion-body > .content p {
  padding: 0 0 30px;
}

.most-asked #free-quote {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--card-padding);
  margin-left: 45px;
  background-color: var(--surface);
}

#free-quote .section-heading {
  margin-bottom: 40px;
}

#free-quote input {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-lg);
  background-color: #f9ebff;
  border: 1px solid transparent;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 15px;
}

#free-quote input::placeholder {
  color: #555;
}

#free-quote input:focus {
  border-color: var(--brand-primary);
}

#free-quote button {
  border: none;
  height: 46px;
  background-color: var(--brand-primary);
  width: 100%;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.4s;
}

#free-quote button:hover {
  opacity: 0.8;
}

/* ---------------------------------------------
15. Responsive (max-width, de mayor a menor)
    El orden descendente evita los !important
    que antes servían para "ganar" el cascade.
--------------------------------------------- */
@media (max-width: 1200px) {
  .services::before {
    top: 60%;
    transform: translateY(-50%);
  }
}

@media (max-width: 1000px) {
  .happy-clients .naccs .menu div {
    width: 24.5%;
    font-size: 15px;
    border-right: none;
  }
}

@media (max-width: 992px) {
  .pre-header .left-info ul li {
    padding-right: 10px;
    margin-right: 10px;
  }

  .pre-header .left-info ul li a {
    font-size: 13px;
  }

  .main-banner .caption {
    padding: 30px;
    text-align: center;
  }

  .main-banner .img-fluid {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .main-banner p {
    padding-right: 0;
  }

  .main-banner .line-dec {
    margin: 30px auto 20px;
  }

  /* Imagen decorativa solo útil en escritorio; el hueco de 180px tampoco hace falta */
  .services::before {
    display: none;
  }

  .services .section-heading {
    padding-bottom: 30px;
  }

  .projects .owl-nav {
    text-align: center;
    right: auto;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
  }

  .projects .section-heading {
    text-align: center;
  }

  .projects .section-heading .line-dec {
    margin: 0 auto 20px;
  }

  .infos .main-content .left-image {
    background-image: none;
  }

  .infos .main-content .left-image img {
    display: block;
  }

  .contact-us #map {
    margin-bottom: 30px;
  }

  .contact-us #map iframe {
    height: 350px;
  }

  .contact-us-content .more-info .info-item {
    margin-bottom: 45px;
  }

  .page-heading img {
    margin-top: 45px;
  }

  .video-info .section-heading {
    padding: 60px 0 30px;
  }

  .video-info .skills {
    padding: 0;
  }

  .happy-clients .naccs .menu div {
    width: 100%;
    margin: 15px 0;
  }

  .happy-clients .naccs .menu {
    padding: 15px;
  }

  .happy-clients ul.nacc li img {
    padding-left: 0;
    margin-top: 45px;
  }

  .cta h4,
  .cta .main-button {
    text-align: center;
  }

  .happy-steps .steps .item {
    margin-right: 0;
    border-right: none;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(250, 250, 250, 0.2);
  }

  .happy-steps .steps .last-item {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .most-asked #free-quote {
    margin-left: 0;
    margin-top: 45px;
  }
}

@media (max-width: 767px) {
  .pre-header {
    display: none;
  }

  .header-area {
    top: 0;
  }

  .main-banner {
    margin-top: 1px;
    padding: 140px 0 40px;
  }

  .main-banner span {
    margin: 0 3px;
  }

  .main-banner .main-button a,
  .main-banner .second-button a {
    padding: 12px 20px;
  }

  .skills {
    gap: 16px;
    justify-content: space-between;
  }

  .skill-slide {
    flex: 1 1 45%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
  }

  .projects .item .down-content {
    padding: 25px 15px 15px;
  }

  .projects .item .down-content h4 {
    text-align: center;
    width: 100%;
    font-size: 18px;
  }

  .projects .item .down-content a {
    top: 0;
    right: auto;
    left: 50%;
    transform: translate(-23px, -23px);
  }

  .contact-us-content .more-info {
    padding: 30px 15px 0;
  }
}

@media (max-width: 504px) {
  .main-banner {
    padding: 130px 0 30px;
  }

  .main-banner .img-fluid {
    max-width: 252px;
  }

  .main-banner .caption {
    padding: 24px 18px;
  }

  /* Los dos botones del banner se apilan a ancho completo y son fáciles de tocar */
  .main-banner .main-button,
  .main-banner .second-button {
    display: block;
    margin-bottom: 12px;
  }

  .main-banner .main-button a,
  .main-banner .second-button a {
    display: block;
    text-align: center;
  }

  .main-banner span {
    display: none;
  }

  .skill-slide h6 {
    font-size: 1.6rem;
  }

  .skill-slide span {
    font-size: 0.75rem;
  }
}