/*
Theme Name: GESCIC
Theme URI: https://cic.gescic.com/
Author: GESCIC
Description: Tema de bloque de replica del origen GESCIC. Home piloto.
Version: 1.2.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gescic
Tags: block-theme, full-site-editing
*/

/* ==========================================================================
   1. Base y reset acotado
   ========================================================================== */
:root {
  --gescic-red: #E33958;
  --gescic-lime: #B2CB30;
  --gescic-yellow: #F6B200;
  --gescic-teal: #009D88;
  --gescic-blue: #4054B2;
  --gescic-primary: #6EC1E4;
  --gescic-accent: #61CE70;
  --gescic-secondary: #54595F;
  --gescic-text: #7A7A7A;
  --gescic-software: #5A93B1;
  --gescic-footer: #2CA6BD;
  --gescic-legal: #EADC45;
  --gescic-hover: #EA5757;
  --gescic-hero-green: #67DD64;
  --gescic-hero-yellow: #F3B900;
  --gescic-cookie: #373737;
  --gescic-cookie-dark: #202020;
  --gescic-form-button: #69727D;
  --gescic-body: #333333;
  --gescic-link: #c36;
  --gescic-header-height: 75px;
  --gescic-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gescic-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--gescic-link);
  text-decoration: none;
}

a:hover {
  color: #000;
}

/* El tema de bloques inyecta separacion entre nodos raiz; el origen no la tiene. */
.wp-site-blocks {
  margin: 0;
  padding: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-block-template-part {
  margin: 0;
  padding: 0;
}

.gescic-main,
.wp-block-post-content {
  margin: 0;
  padding: 0;
}

.gescic-container {
  width: 100%;
  max-width: var(--gescic-container);
  margin: 0 auto;
  padding: 0 10px;
}

.gescic-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.gescic-section p {
  margin: 0;
}

.gescic-section img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .gescic-section {
    scroll-margin-top: var(--gescic-header-height);
  }
}

/* ==========================================================================
   2. Cabecera (part)
   ========================================================================== */
.gescic-header-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #FFFFFF87;
}

.gescic-header {
  width: 100%;
  background: transparent;
}

.gescic-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--gescic-header-height);
  min-height: var(--gescic-header-height);
}

.gescic-header__col {
  padding: 10px;
}

.gescic-header__logo {
  display: flex;
  justify-content: center;
}

.gescic-header__logo a {
  display: inline-block;
  line-height: 0;
}

.gescic-header__logo img {
  width: 190px;
  height: 55px;
  display: block;
}

.gescic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.gescic-nav a {
  flex: 0 0 auto;
  display: block;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
  text-align: center;
  white-space: nowrap;
}

.gescic-nav a:hover {
  color: #000;
}

.gescic-nav a.is-active {
  color: #000;
}

.gescic-header__phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  color: var(--gescic-red);
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.gescic-header__phone svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: var(--gescic-red);
}

.gescic-header__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.gescic-header__phone-link:hover {
  color: var(--gescic-hover);
  text-decoration: none;
}

.gescic-menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .gescic-nav {
    display: none;
  }

  .gescic-menu-toggle {
    display: block;
    position: relative;
  }

  .gescic-menu-toggle summary {
    width: max-content;
    padding: 6px 0;
    list-style: none;
    cursor: pointer;
    color: #333;
    font-size: 24px;
    line-height: 1;
  }

  .gescic-menu-toggle summary::-webkit-details-marker {
    display: none;
  }

  .gescic-menu-toggle nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1001;
    min-width: 220px;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .gescic-menu-toggle nav a {
    display: block;
    padding: 10px 24px;
    color: #33373d;
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .gescic-header__inner {
    grid-template-columns: 75% 25%;
    height: auto;
  }

  .gescic-header__col--phone {
    grid-column: 1 / -1;
    width: auto;
    justify-content: center;
  }

  .gescic-header__logo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 55px;
  }
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.gescic-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin-top: calc(-1 * var(--gescic-header-height)) !important;
  padding: calc(var(--gescic-header-height) + 10px) 10px 10px;
  text-align: center;
  background-color: #7a5f75;
  background-image: url("/wp-content/uploads/2026/11/barcelona_1920x1020.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.gescic-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--gescic-container);
}

.gescic-hero__line1 {
  display: inline-block;
  padding: 0 20px;
  background: #54595F4F;
  color: #fff;
  font-family: "Revalia", sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 2.8px;
  animation: gescic-zoom-back 1.2s ease-out both;
}

.gescic-hero__line2 {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 620px;
  min-height: 82.5px;
  margin-top: 10px;
  padding: 0 20px;
  background: #54595F4F;
  font-family: "Revalia", sans-serif;
  font-size: 55px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 2.8px;
  text-shadow: 19px 0 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.gescic-hero__word {
  grid-area: 1 / 1;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: gescic-word 12s linear infinite;
}

.gescic-hero__word:nth-child(1) { color: var(--gescic-hero-green); animation-delay: 0s; }
.gescic-hero__word:nth-child(2) { color: var(--gescic-hero-yellow); animation-delay: 3s; }
.gescic-hero__word:nth-child(3) { color: var(--gescic-hero-green); animation-delay: 6s; }
.gescic-hero__word:nth-child(4) { color: var(--gescic-hero-yellow); animation-delay: 9s; }

.gescic-hero__flor {
  width: 100px;
  height: 100px;
  margin: 10px auto 0;
  animation: gescic-gira 1.8s linear infinite;
}

@keyframes gescic-zoom-back {
  0% { opacity: 0; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes gescic-word {
  0% { opacity: 0; transform: translateX(-40px); }
  2% { opacity: 1; transform: translateX(0); }
  23% { opacity: 1; transform: translateX(0); }
  25% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 0; transform: translateX(40px); }
}

@keyframes gescic-gira {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .gescic-hero {
    padding-right: 0;
    padding-left: 0;
  }

  .gescic-hero__line1 {
    padding: 0;
    background: transparent;
    color: transparent;
    font-size: 1px;
    letter-spacing: 0;
    animation: none;
  }

  .gescic-hero__line2 {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 45px;
    padding: 0;
    font-size: clamp(20px, 6.6vw, 30px);
  }

  .gescic-hero__flor {
    width: 80px;
    height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gescic-hero__line1,
  .gescic-hero__line2,
  .gescic-hero__flor,
  .gescic-hero__word {
    animation: none;
  }

  .gescic-hero__line1 {
    opacity: 1;
    transform: none;
  }

  .gescic-hero__word {
    opacity: 0;
    transform: none;
  }

  .gescic-hero__word:first-child {
    position: relative;
    opacity: 1;
  }
}

/* ==========================================================================
   4. Servicios
   ========================================================================== */
.gescic-services {
  display: flex;
  align-items: center;
  padding: 50px 0;
  background: var(--gescic-accent);
}

@media (min-width: 768px) {
  .gescic-services {
    min-height: 100vh;
    padding: 0;
  }
}

.gescic-services__grid {
  display: grid;
  grid-template-columns: 37.999% 23.401% 38.248%;
  align-items: center;
}

.gescic-services__cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 50px;
}

.gescic-services__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gescic-services__image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.gescic-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  text-align: center;
}

.gescic-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 214px;
}

.gescic-service-card__icon img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.gescic-service-card__title {
  margin: 10px 0;
  color: #fff;
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 3px;
}

.gescic-service-card__desc {
  max-width: 100%;
  margin: 10px 0;
  color: var(--gescic-secondary);
  font-size: 16px;
  line-height: 1.5;
}

.gescic-service-card__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 4px;
  background: #fff0;
  color: var(--gescic-red);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: color 0.3s;
}

.gescic-service-card__button:hover {
  color: var(--gescic-hover);
}

.gescic-service-card__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 767px) {
  .gescic-services__grid {
    grid-template-columns: 1fr;
  }

  .gescic-services__cards {
    padding: 0 20px;
  }

  .gescic-services__image img {
    width: 80%;
    height: auto;
    max-height: 500px;
    margin: 20px auto;
  }

  .gescic-service-card__icon {
    height: 180px;
  }
}

/* ==========================================================================
   5. Catalogo
   ========================================================================== */
.gescic-catalog {
  display: flex;
  align-items: center;
  padding: 50px 0;
  background: var(--gescic-yellow);
  overflow: hidden !important;
}

@media (min-width: 768px) {
  .gescic-catalog {
    min-height: 100vh;
    padding: 0;
  }
}

.gescic-catalog .gescic-container {
  padding: 0 50px;
}

.gescic-catalog__title {
  margin: 0 0 50px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 82px;
  font-weight: 800;
  line-height: 2.8em;
  letter-spacing: 7px;
  text-align: center;
  text-shadow: 9px 3px 10px rgba(0, 0, 0, 0.3);
}

.gescic-carousel {
  position: relative;
  padding: 0 50px;
}

.gescic-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gescic-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.gescic-carousel__track {
  display: flex;
}

.gescic-carousel__item {
  flex: 0 0 25%;
  padding: 0 10px;
  scroll-snap-align: start;
}

.gescic-carousel__item img {
  display: block;
  width: 100%;
  height: auto;
}

.gescic-carousel__prev,
.gescic-carousel__next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gescic-carousel__prev { left: 0; }
.gescic-carousel__next { right: 0; }

@media (max-width: 767px) {
  .gescic-catalog .gescic-container {
    padding: 0 15px;
  }

  .gescic-catalog__title {
    margin-bottom: 30px;
    font-size: 24px;
    letter-spacing: 7px;
  }

  .gescic-carousel {
    padding: 0 20px;
  }

  .gescic-carousel__item {
    flex: 0 0 50%;
  }
}

/* ==========================================================================
   6. Software
   ========================================================================== */
.gescic-software {
  display: flex;
  align-items: center;
  padding: 50px 0;
  background: var(--gescic-software);
}

@media (min-width: 768px) {
  .gescic-software {
    min-height: 100vh;
    padding: 0;
  }
}

.gescic-software__grid {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: var(--gescic-container);
  margin: 0 auto;
}

.gescic-software__grid > .wp-block-column {
  min-width: 0;
}

.gescic-software__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.gescic-software__bombillas {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}

.gescic-software__title {
  margin: 10px 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.2;
}

.gescic-software__desc {
  max-width: 520px;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9em;
  letter-spacing: 0.3px;
}

.gescic-software__button {
  display: inline-block;
  margin-bottom: 30px;
  padding: 20px 40px;
  border-radius: 10px;
  background: red;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}

.gescic-software__button:hover {
  background: var(--gescic-yellow);
  color: var(--gescic-secondary);
}

.gescic-software__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gescic-software__libros {
  width: 65%;
  height: 230px;
  object-fit: contain;
  object-position: right bottom;
}

.gescic-software__spacer {
  height: 210px;
}

.gescic-software__hombre {
  width: auto;
  max-width: 100%;
  max-height: 499px;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 767px) {
  .gescic-software__grid {
    grid-template-columns: 1fr;
  }

  .gescic-software__left {
    padding: 20px 15px;
  }

  .gescic-software__bombillas {
    margin: -26px 0 -95px;
  }

  .gescic-software__spacer {
    height: 10px;
  }

  .gescic-software__right {
    align-items: center;
  }

  .gescic-software__libros {
    width: 100%;
    height: auto;
    max-height: 230px;
  }

  .gescic-software__hombre {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

/* ==========================================================================
   7. Contacto
   ========================================================================== */
.gescic-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background-color: #fff;
  background-image: url("/wp-content/uploads/2026/11/contacto_bg_1920.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 90% auto;
}

.gescic-contact__content {
  width: 100%;
  max-width: var(--gescic-container);
  margin: 0 auto;
  padding: 0 10px;
}

.gescic-contact__title {
  position: relative;
  height: 24px;
  margin: 100px 0 15px;
  color: var(--gescic-accent);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.gescic-contact__title span {
  position: absolute;
  right: 0;
  left: 0;
  opacity: 0;
  animation: gescic-contact-word 6s linear infinite;
}

.gescic-contact__title span:nth-child(2) {
  animation-delay: 3s;
}

@keyframes gescic-contact-word {
  0% { opacity: 1; }
  47% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.gescic-contact__banner {
  width: 100%;
  margin-top: 0;
}

.gescic-contact__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Formulario (Fluent Forms) */
.gescic-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: 15px auto 81px;
  padding: 0 15px;
  text-align: left;
}

.gescic-form-wrap .fluentform,
.gescic-form-wrap .ff-fluentform-default-cls {
  --ff-primary-color: #69727D;
  --ff-secondary-color: #69727D;
}

.gescic-form-wrap .ff-el-input--label label {
  padding-bottom: 7px;
  color: var(--gescic-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.gescic-form-wrap .ff-el-form-control {
  min-height: 40px;
  padding: 5px 14px;
  border: 1px solid var(--gescic-form-button);
  border-radius: 3px;
  background: #fff;
  color: #1f2124;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.gescic-form-wrap textarea.ff-el-form-control {
  min-height: 120px;
}

.gescic-form-wrap .ff-el-form-control:focus {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.gescic-form-wrap .ff-el-group {
  margin-bottom: 13px;
}

.gescic-form-wrap .ff-btn-submit {
  min-height: 40px;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--gescic-form-button);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.gescic-form-wrap .ff-btn-submit:hover {
  background: var(--gescic-form-button);
  color: #fff;
}

@media (max-width: 767px) {
  .gescic-contact__title {
    margin: 60px 0 15px;
  }

  .gescic-form-wrap {
    margin: 15px auto 40px;
  }

  .gescic-contact__banner img {
    height: 70px;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gescic-contact__title span {
    animation: none;
  }

  .gescic-contact__title span:first-child {
    opacity: 1;
  }
}

/* ==========================================================================
   8. Pie
   ========================================================================== */
.gescic-footer {
  width: 100%;
}

.gescic-footer__main {
  padding: 0 0 60px;
  background: var(--gescic-footer);
}

.gescic-footer__grid {
  display: grid;
  grid-template-columns: 37.165% 29.142% 33.33%;
  align-items: stretch;
}

.gescic-footer__col {
  padding: 10px;
}

.gescic-footer__logo {
  margin-top: 9px;
}

.gescic-footer__logo img {
  width: 190px;
  height: 57px;
}

.gescic-footer__contact {
  margin-top: 15px;
}

.gescic-footer__contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.gescic-footer__contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 21px;
}

.gescic-footer__contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  margin-right: 20px;
  fill: #fff;
}

.gescic-footer__contact a {
  color: #fff;
}

.gescic-footer__title {
  margin: 43px 0 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gescic-footer__services {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  color: #FFFFFFD4;
  font-size: 14px;
  font-weight: 300;
}

.gescic-footer__services li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 11px;
}

.gescic-footer__services svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  margin-right: 21px;
  fill: #FFFFFFD4;
}

.gescic-footer__services a {
  color: #FFFFFFD4;
}

.gescic-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
}

.gescic-footer__brand img {
  width: 150px;
  height: auto;
}

.gescic-footer__brand-title {
  margin-top: 10px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 1px;
  text-align: center;
}

.gescic-footer__legal {
  min-height: 50px;
  background: var(--gescic-legal);
}

.gescic-footer__legal-grid {
  display: grid;
  grid-template-columns: 33.33% 33.33% 33.33%;
  align-items: center;
  min-height: 50px;
}

.gescic-footer__copyright {
  color: #000;
  font-size: 13px;
  font-weight: 300;
  text-align: center;
}

.gescic-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gescic-footer__legal-links li {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 12px;
  font-weight: 300;
}

.gescic-footer__legal-links svg {
  width: 6px;
  height: 6px;
  margin-right: 12px;
  fill: #000;
}

.gescic-footer__legal-links a {
  color: #000;
}

.gescic-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.gescic-footer__social a,
.gescic-footer__social-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
}

.gescic-footer__social svg {
  width: 26px;
  height: 26px;
  fill: #000;
}

.gescic-footer__social-icon {
  color: #000;
}

@media (max-width: 1024px) {
  .gescic-footer__main {
    padding: 50px 20px;
  }

  .gescic-footer__grid {
    grid-template-columns: 50% 50%;
  }

  .gescic-footer__contact {
    display: none;
  }

  .gescic-footer__contact ul {
    font-size: 22px;
  }

  .gescic-footer__services {
    font-size: 20px;
  }

  .gescic-footer__legal {
    padding: 0 20px;
  }

  .gescic-footer__legal-grid {
    grid-template-columns: 30% 51% 15%;
  }

  .gescic-footer__legal-links li {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .gescic-footer__main {
    padding: 15px 15px 40px;
  }

  .gescic-footer__grid {
    grid-template-columns: 100%;
  }

  .gescic-footer__col--brand {
    margin-top: 44px;
  }

  .gescic-footer__contact {
    display: block;
  }

  .gescic-footer__title {
    margin: 20px 0 0;
    font-size: 23px;
    letter-spacing: 3.9px;
    text-align: center;
  }

  .gescic-footer__services {
    font-size: 25px;
    text-align: center;
  }

  .gescic-footer__services li {
    justify-content: center;
    text-align: center;
  }

  .gescic-footer__services svg {
    display: none;
  }

  .gescic-footer__brand {
    align-items: center;
  }

  .gescic-footer__legal-grid {
    grid-template-columns: 100%;
    gap: 8px;
    padding: 8px 0;
  }

  .gescic-footer__copyright {
    text-align: center;
  }

  .gescic-footer__social {
    justify-content: center;
  }
}

/* ==========================================================================
   9. Utilidades de accesibilidad
   ========================================================================== */
.gescic-sr-only {
  position: absolute;
  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) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .gescic-service-card__button,
  .gescic-software__button {
    transition: none;
  }
}


/* Ajuste de fidelidad: boton Enviar sobre Fluent Forms (el plugin inyecta #409EFF) */
.gescic-form-wrap form.fluent_form_3 .ff-btn-submit.ff-btn-submit:not(.ff_btn_no_style) {
  background: #69727D !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 3px !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 23px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 12px 24px !important;
  min-height: 40px !important;
}

/* ==========================================================================
   10. Paginas interiores (replica)
   ========================================================================== */
.gescic-page {
  width: 100%;
}

/* 10.1 Hero de dos columnas */
.gescic-interior-hero {
  margin: 150px 0;
}

.gescic-interior-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.gescic-interior-hero__title {
  width: 38.583%;
  padding: 10px;
  text-align: center;
}

.gescic-interior-hero__title h1 {
  color: var(--gescic-red);
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.gescic-interior-hero__aside {
  width: 61.417%;
  padding: 10px;
  text-align: center;
}

.gescic-interior-hero__aside h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.gescic-interior-hero__aside p {
  margin: 0.9rem 0 0;
  color: #fff;
}

.gescic-page--paginas-web .gescic-interior-hero__aside {
  background: #6EC1E4;
}

.gescic-page--paginas-web .gescic-interior-hero__aside p {
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 400;
}

.gescic-page--seo .gescic-interior-hero__aside {
  background: #B2CB30;
}

.gescic-page--seo .gescic-interior-hero__aside p {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 400;
}

.gescic-page--tiendas-online .gescic-interior-hero__aside {
  background: #F6B200;
}

.gescic-page--tiendas-online .gescic-interior-hero__aside p {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 400;
}

/* 10.2 Flip-box (paginas-web) */
.gescic-flipboxes {
  margin: 100px 0;
}

.gescic-flipboxes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gescic-flipbox {
  position: relative;
  height: 280px;
  perspective: 1000px;
  outline: none;
}

.gescic-flipbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.gescic-flipbox:hover .gescic-flipbox__inner,
.gescic-flipbox:focus .gescic-flipbox__inner {
  transform: rotateX(180deg);
}

.gescic-flipbox__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 0;
  color: #fff;
  text-align: center;
  backface-visibility: hidden;
}

.gescic-flipbox__face--back {
  transform: rotateX(180deg);
}

.gescic-flipbox:nth-child(odd) .gescic-flipbox__face--front {
  background: var(--gescic-yellow);
}

.gescic-flipbox:nth-child(odd) .gescic-flipbox__face--back {
  background: var(--gescic-teal);
}

.gescic-flipbox:nth-child(even) .gescic-flipbox__face--front {
  background: var(--gescic-teal);
}

.gescic-flipbox:nth-child(even) .gescic-flipbox__face--back {
  background: var(--gescic-yellow);
}

.gescic-flipbox__icon svg {
  width: 125px;
  height: 125px;
  fill: #fff;
}

.gescic-flipbox__title {
  margin: 10px 0 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.gescic-flipbox__face--front .gescic-flipbox__title {
  font-family: "Russo One", sans-serif;
  letter-spacing: 9px;
}

.gescic-flipbox__desc {
  margin: 10px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* 10.3 Ventajas (paginas-web) */
.gescic-advantages {
  margin: 100px 0;
}

.gescic-advantages__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.gescic-advantages__content {
  width: 50%;
  padding: 10px;
}

.gescic-advantages__media {
  width: 50%;
  padding: 10px;
  text-align: center;
}

.gescic-advantages__media img {
  width: 100%;
  max-width: 455px;
  height: auto;
}

.gescic-advantages__title {
  margin: 0 0 20px;
  color: var(--gescic-red);
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.gescic-iconbox {
  display: flex;
  align-items: center;
  gap: 23px;
  text-align: center;
}

.gescic-iconbox + .gescic-iconbox {
  margin-top: 20px;
}

.gescic-iconbox__icon {
  flex: 0 0 auto;
  line-height: 0;
}

.gescic-iconbox__icon svg {
  width: 75px;
  height: 75px;
}

.gescic-iconbox__desc {
  margin: 0;
  color: #000;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 10.4 Catalogo de trabajos (paginas-web) */
.gescic-portfolio {
  margin: 100px 0 150px;
}

.gescic-portfolio__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}

.gescic-portfolio__item {
  width: calc((100% - 40px) / 3);
}

.gescic-portfolio__inner {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gescic-portfolio__image {
  display: block;
  line-height: 0;
}

.gescic-portfolio__image img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

.gescic-portfolio__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 10px;
  background: var(--gescic-lime);
  text-align: center;
  overflow-wrap: anywhere;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gescic-portfolio__item:hover .gescic-portfolio__content,
.gescic-portfolio__item:focus-within .gescic-portfolio__content {
  opacity: 1;
}

.gescic-portfolio__title {
  margin: 0 0 5px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.gescic-portfolio__desc {
  margin: 0 0 5px;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* 10.5 Banner CIC */
.gescic-banner {
  width: 100%;
}

.gescic-banner a {
  display: block;
  line-height: 0;
}

.gescic-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* 10.6 Banda de texto (seo) */
.gescic-seo-band {
  background: var(--gescic-lime);
}

.gescic-seo-band__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.gescic-seo-band__text {
  width: 50%;
  padding: 10px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.gescic-seo-band__media {
  width: 50%;
  padding: 10px;
  text-align: center;
}

.gescic-seo-band__media img {
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* 10.7 Tres bloques con imagen */
.gescic-threeboxes {
  margin: 100px 0;
}

.gescic-threeboxes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gescic-threebox {
  padding: 10px;
  text-align: center;
}

.gescic-threebox img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.gescic-threebox h2,
.gescic-threebox h3 {
  margin: 0.9rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.gescic-page--seo .gescic-threebox h2 {
  color: var(--gescic-red);
  font-size: 20px;
}

.gescic-page--tiendas-online .gescic-threebox h3 {
  color: #000;
  font-size: 22px;
}

/* 10.8 Banda CTA (seo) */
.gescic-cta {
  margin-bottom: 100px;
  padding: 10px 0;
  background: var(--gescic-lime);
}

.gescic-cta__line {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.gescic-cta__phone {
  color: var(--gescic-red);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.gescic-cta__note {
  margin: 0.9rem 0 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* 10.9 Texto e imagen (tiendas-online) */
.gescic-textmedia {
  margin: 100px 0;
}

.gescic-textmedia__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.gescic-textmedia__text {
  width: 50%;
  padding: 10px;
}

.gescic-textmedia__media {
  width: 50%;
  padding: 10px;
  text-align: center;
}

.gescic-textmedia__media img {
  width: 100%;
  height: 423px;
  object-fit: cover;
}

/* 10.10 Icon-box grande (tiendas-online) */
.gescic-iconboxes--lg .gescic-iconbox__desc {
  font-size: 25px;
}

@media (max-width: 767px) {
  .gescic-interior-hero__title,
  .gescic-interior-hero__aside,
  .gescic-advantages__content,
  .gescic-advantages__media,
  .gescic-seo-band__text,
  .gescic-seo-band__media,
  .gescic-textmedia__text,
  .gescic-textmedia__media {
    width: 100%;
  }

  .gescic-page--paginas-web .gescic-interior-hero {
    margin: 18px 0 0;
    padding: 0;
  }

  .gescic-page--seo .gescic-interior-hero {
    margin: 26px 0 0;
    padding: 0;
  }

  .gescic-page--tiendas-online .gescic-interior-hero {
    margin: 20px 0 0;
    padding: 0;
  }

  .gescic-page--seo .gescic-interior-hero__title h1 {
    font-size: 29px;
  }

  .gescic-flipboxes__grid,
  .gescic-threeboxes__grid {
    grid-template-columns: 100%;
  }

  .gescic-portfolio__item {
    width: 100%;
  }

  .gescic-iconbox {
    flex-direction: column;
  }

  .gescic-cta__line {
    font-size: 33px;
  }

  .gescic-cta__phone {
    font-size: 35px;
  }

  .gescic-textmedia__media img {
    height: auto;
  }

  .gescic-banner img {
    height: 70px;
    object-fit: cover;
  }
}

/* ==========================================================================
   11. Animaciones de entrada — Software a medida
   ========================================================================== */
@keyframes gescic-slide-down {
  from { opacity: 0; transform: translate3d(0, -100px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes gescic-slide-right {
  from { opacity: 0; transform: translate3d(100px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes gescic-slide-up {
  from { opacity: 0; transform: translate3d(0, 100px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.gescic-software.gescic-anim-ready .gescic-software__bombillas,
.gescic-software.gescic-anim-ready .gescic-software__libros,
.gescic-software.gescic-anim-ready .gescic-software__hombre {
  opacity: 0;
}

.gescic-software.is-visible .gescic-software__bombillas {
  animation: gescic-slide-down 1.5s ease-out both;
}

.gescic-software.is-visible .gescic-software__libros {
  animation: gescic-slide-right 1.2s ease-out both;
}

.gescic-software.is-visible .gescic-software__hombre {
  animation: gescic-slide-up 1.5s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .gescic-software.gescic-anim-ready .gescic-software__bombillas,
  .gescic-software.gescic-anim-ready .gescic-software__libros,
  .gescic-software.gescic-anim-ready .gescic-software__hombre {
    opacity: 1;
  }

  .gescic-software.is-visible .gescic-software__bombillas,
  .gescic-software.is-visible .gescic-software__libros,
  .gescic-software.is-visible .gescic-software__hombre {
    animation: none;
  }
}
/* ==========================================================================
   12. Banner de cookies — ajuste de ancho en movil
   ========================================================================== */
#moove_gdpr_cookie_info_bar {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
  box-sizing: border-box;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   13. Página Software a medida
   ========================================================================== */
.gescic-sw-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1065px;
  background-image: url("/wp-content/uploads/2026/11/software_a_mida.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.gescic-sw-hero__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  text-align: left;
}

.gescic-sw-hero__content {
  min-width: 0;
}

.gescic-sw-hero__title {
  margin: 0 0 8px;
  color: #E33958;
  font-family: "Montserrat", sans-serif;
  font-size: 65px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gescic-sw-hero__sub {
  display: block;
  margin: 0 0 24px;
  padding: 0;
  color: #54595F;
  font-family: "Lemonada", cursive;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.gescic-sw-hero__inner .gescic-sw-hero__lead {
  max-width: none;
  margin: 0;
  padding: 0;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 4px 4px 10px rgba(255, 255, 255, 0.51);
}

.gescic-sw-intro {
  padding: 100px 0;
  background: #fff;
}

.gescic-sw-intro__title {
  margin: 40px 0 24px;
  color: #4054B2;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .gescic-sw-intro__title {
    margin-top: 100px;
  }
}

@media (min-width: 1024px) {
  .gescic-sw-hero__title {
    margin-top: 100px;
  }
}

.gescic-sw-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 100px;
}

.gescic-sw-intro__grid p {
  margin: 0 0 20px;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.gescic-sw-intro__grid img {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0 0;
}

.gescic-sw-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  padding: 30px 20px;
  background: #F6B200;
  color: #fff;
  text-align: center;
}

.gescic-sw-band__text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.8em;
  letter-spacing: 4.1px;
  text-transform: uppercase;
}

.gescic-sw-band__rotator {
  display: inline-grid;
  vertical-align: bottom;
  font-weight: 400;
}

.gescic-sw-band__word {
  grid-area: 1 / 1;
  opacity: 0;
  animation: gescic-sw-band-word 18s linear infinite;
}

.gescic-sw-band__word:nth-child(1) { animation-delay: 0s; }
.gescic-sw-band__word:nth-child(2) { animation-delay: 3s; }
.gescic-sw-band__word:nth-child(3) { animation-delay: 6s; }
.gescic-sw-band__word:nth-child(4) { animation-delay: 9s; }
.gescic-sw-band__word:nth-child(5) { animation-delay: 12s; }
.gescic-sw-band__word:nth-child(6) { animation-delay: 15s; }

@keyframes gescic-sw-band-word {
  0% { opacity: 1; }
  13% { opacity: 1; }
  16.666% { opacity: 0; }
  100% { opacity: 0; }
}

.gescic-sw-gallery {
  margin: 100px 0;
}

.gescic-sw-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px;
  padding: 0;
}

.gescic-sw-filter {
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.gescic-sw-filter:hover,
.gescic-sw-filter.is-active {
  background: #F6B200;
  color: #fff;
}

.gescic-sw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.gescic-sw-item {
  margin: 0;
  padding: 9px;
  text-align: center;
}

.gescic-sw-item.is-hidden {
  display: none;
}

.gescic-sw-item img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gescic-sw-item__cat {
  margin: 12px 0 0;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.gescic-sw-banner {
  width: 100%;
}

.gescic-sw-banner a {
  display: block;
  line-height: 0;
}

.gescic-sw-banner img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .gescic-sw-hero {
    min-height: 0;
  }

  .gescic-sw-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 15px;
  }

  .gescic-sw-hero__title {
    margin: 0;
    font-size: 45px;
    line-height: 1;
  }

  .gescic-sw-hero__sub {
    margin: 0 0 16px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
  }

  .gescic-sw-hero__inner .gescic-sw-hero__lead {
    margin: 0;
    padding: 0;
    font-size: 18px;
  }

  .gescic-sw-intro {
    padding: 60px 0;
  }

  .gescic-sw-intro__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gescic-sw-band__text {
    font-size: 18px;
  }

  .gescic-sw-band__rotator {
    font-size: 21px;
  }

  .gescic-sw-gallery {
    margin: 60px 0;
  }

  .gescic-sw-filters {
    margin-bottom: 25px;
  }

  .gescic-sw-filter {
    padding: 8px 10px;
    font-size: 14px;
  }

  .gescic-sw-grid {
    grid-template-columns: 1fr;
  }

  .gescic-sw-item img {
    height: 300px;
  }

  .gescic-sw-banner img {
    height: 70px;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gescic-sw-band__word {
    animation: none;
  }

  .gescic-sw-band__word:first-child {
    opacity: 1;
  }
}
/* ==========================================================================
   14. Páginas legales
   ========================================================================== */
.gescic-legal {
  padding: 0 0 100px;
}

.gescic-legal h1 {
  color: #E33958;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.gescic-legal--aviso h1,
.gescic-legal--cookies h1,
.gescic-legal--privacidad h1 {
  margin: 100px 0;
}

.gescic-legal__content {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.gescic-legal--aviso .gescic-legal__content {
  margin: 100px 0;
}

.gescic-legal--cookies .gescic-legal__content {
  margin: 50px 0 100px;
}

.gescic-legal--privacidad .gescic-legal__content {
  margin: 0;
}

.gescic-legal h2 {
  color: #E33958;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin: 30px 0 15px;
}

.gescic-legal p {
  margin: 0 0 15px;
}

.gescic-legal ul {
  margin: 0 0 15px 25px;
  padding: 0;
  list-style: disc;
}

.gescic-legal li {
  margin: 0 0 8px;
}

.gescic-legal a {
  color: #E33958;
}

@media (max-width: 767px) {
  .gescic-legal h1 {
    font-size: 32px;
  }

  .gescic-legal--aviso h1,
  .gescic-legal--cookies h1,
  .gescic-legal--privacidad h1 {
    margin: 60px 0;
  }

  .gescic-legal--aviso .gescic-legal__content {
    margin: 60px 0;
  }

  .gescic-legal--cookies .gescic-legal__content {
    margin: 30px 0 60px;
  }
}