/* ===================================
   VARIABLES CSS
   =================================== */
:root {
  --color-primary-blue: #015ea3;
  --color-primary-blue-alt: #005ea4;
  --color-primary-blue-dark: #003d6b;
  --color-secondary-teal: #006a7f;
  --color-accent-yellow: #f7bb13;
  --color-accent-yellow-hover: #ffd60a;
  --color-text-dark: #2a2a2a;
  --color-text-medium: #555555;
  --color-text-medium2: #3e3e3e;
  --color-text-light: #606060;
  --color-white: #ffffff;
  --color-gray-light: #f5f5f5;
  --color-header-bg: rgba(5, 89, 146, 0.85);
  --color-vigovi-blue: #005fa8;
  --color-primary-card: #013b67;
  --color-secondary-card: #c4940f;
  --z-contact-header: 1001;

  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --font-fallback: Arial, Helvetica, sans-serif;
  --font--footer: "Lato", sans-serif;
  --font-opensans: "Open Sans", sans-serif;
  --font-vergara: Verdana, sans-serif;
}

/* ===================================
   RESET Y CONFIGURACIÓN GENERAL
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fallback);
  height: auto;
  overflow: auto;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   CONTENEDOR PRINCIPAL
   =================================== */

.main-container {
  display: grid;
  grid-template-columns: 34vw 1fr;
  grid-template-areas: "sidebar content";
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0 4.2vw 0 6.2vw;
  gap: 1.5vw;
  overflow: visible;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 15vh;
}

.flexslider {
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.flexslider .slides {
  margin: 0;
  padding: 0;
}

.flexslider .slides li {
  margin: 0;
  padding: 0;
}

.desktop-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.desktop-slider .slides li {
  background-size: 100% 760px;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 800px;
}

.desktop-slider .flex-control-paging li {
  margin: 0;
  display: block;
}

.desktop-slider .flex-control-paging li a {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
  text-indent: -9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
}

.desktop-slider .flex-control-paging {
  position: absolute;
  top: 83%;
  right: 32rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: auto;
  bottom: auto;
  left: auto;
  z-index: 999;
}

.desktop-slider .flex-control-paging li {
  margin: 0;
  display: block;
  z-index: 999;
}

.desktop-slider .flex-control-paging li a:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.desktop-slider .flex-control-paging li a.flex-active {
  background: var(--color-accent-yellow);
  border-color: var(--color-accent-yellow);
  transform: scale(1.1);
}

.desktop-slider .flex-control-paging li a:active,
.mobile-hero-section .flex-control-paging li a:active {
  transform: scale(0.95);
}

.desktop-slider .slides,
.mobile-hero-section .slides {
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .desktop-slider .flex-control-paging li a,
  .mobile-hero-section .flex-control-paging li a {
    transition: none;
  }
}

/* ===================================
   SIDEBAR
   =================================== */
.sidebar {
 grid-area: sidebar;
 background-color: var(--color-white);
 padding: 20px 2vw 20px 13.7vw;
 display: grid;
 grid-template-rows: auto auto 1fr;
 grid-template-areas:
   "logo"
   "navigation"
   "main-text";
 gap: 1rem;
 position: relative;
 z-index: 2;
 height: 100%;
 width: 100%;
}

/* Logo */

.logo-section {
  grid-area: logo;
  margin-bottom: 0;
  width: 100%;
  max-width: 20vw;
  overflow: hidden;
}

.logo-container {
  text-align: center;
  padding: 1rem 0 1rem 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.logo-placeholder {
  width: 100%;
  max-width: 24rem;
  height: auto;
  min-height: 16rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.logo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link:focus {
  outline: 2px solid var(--color-primary-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.sidebar {
  transition: padding 0.3s ease;
}

.logo-placeholder {
  transition: max-width 0.3s ease, min-height 0.3s ease;
}

.nav-icon-circle {
  transition: width 0.3s ease, height 0.3s ease;
}


/* ===================================
   NAVIGATION 
   =================================== */
.navigation {
  grid-area: navigation;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
  margin-left: 2rem;
  width: 100%;
  max-width: 20vw;
  transition: margin 0.2s ease, padding 0.2s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.3rem, 0.8vw, 0.5rem);
  width: 100%;
  max-width: 100%;
  transition: gap 0.2s ease;
}

.nav-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: clamp(0.3rem, 0.8vw, 0.5rem);
  width: 100%;
  max-width: 100%;
  padding: clamp(0.2rem, 0.5vw, 0.25rem) clamp(0.6rem, 1.2vw, 1rem);
  box-sizing: border-box;
}

.nav-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.nav-item:hover {
  background-color: rgba(217, 216, 216, 0.235);
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* ===================================
   ICONOS DE NAVEGACIÓN 
   =================================== */

.nav-icon-circle {
  width: 3.25rem;
  height: 3.25rem;
  background-color: var(--color-primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* ===================================
   TEXTO DE NAVEGACIÓN 
   =================================== */

.nav-text {
  font-family: var(--font-primary);
  color: var(--color-text-light);
  font-size: clamp(1.1rem, 1.8vw, 1.37rem);
  font-weight: 500;
  letter-spacing: clamp(0.01rem, 0.03vw, 0.025rem);
  transition: all 0.3s ease;
}

/* ===================================
   ESTADOS ACTIVOS E INTERACTIVOS
   =================================== */

.nav-item.active .nav-text {
  color: var(--color-primary-blue);
  font-weight: 700;
}

.nav-item.active .nav-icon-circle {
  transform: scale(1.1);
}

.nav-item:hover .nav-icon-circle {
  background-color: var(--color-primary-blue-dark);
}

.main-text {
 grid-area: main-text;
 align-self: end;
 display: flex;
 flex-direction: column;
 font-family: var(--font-primary);
 max-width: 60vw;
 gap: 0;
 padding-bottom: 2rem;
 padding-left: 1.5vw;
}

.main-text {
 grid-area: main-text;
 align-self: flex-start;
 display: flex;
 flex-direction: column;
 font-family: var(--font-primary);
 max-width: 60vw;
 gap: 0;
}

/* TEXTO "CONSTRUCCIÓN" */
.main-text .text-construccion {
 font-size: 3.25vw;
 font-weight: 400;
 color: var(--color-text-dark);
 line-height: 1.1;
 letter-spacing: clamp(0.05rem, 0.15vw, 0.15rem);
 margin: 0;
 background-color: white;
 padding: 1.2vw 0 0vw 0;
 display: inline-block;
 white-space: nowrap;
}

/* TEXTO "PLANEACIÓN Y" */
.main-text .text-planeacion {
 font-size: 3.25vw;
 font-weight: 700;
 color: var(--color-primary-blue-alt);
 line-height: 1.1;
 letter-spacing: clamp(0.05rem, 0.15vw, 0.15rem);
 margin: 0;
 background-color: white;
 padding: 1vw 0 1.2vw 0;
 display: inline-block;
 white-space: nowrap;
}

/* CONTENEDOR "DISEÑO DE" */
.main-text .text-diseno-de {
 display: flex;
 align-items: baseline;
 margin: -1.3vh 0 0 0;
 background-color: transparent;
}

/* TEXTO "DISEÑO" */
.main-text .text-diseno-de .diseno {
 font-size: 1.5vw;
 font-weight: 700;
 color: var(--color-secondary-teal);
 line-height: 1.2;
 letter-spacing: 0.2vw;
 background-color: transparent;
 padding: clamp(0.2rem, 0.5vw, 0.4rem) clamp(0.15rem, 0.4vw, 0.3rem);
 white-space: nowrap;
}

/* TEXTO "DE" */
.main-text .text-diseno-de .de {
 font-size: 1.2vw;
 font-weight: 400;
 color: var(--color-text-medium);
 line-height: 1.2;
 letter-spacing: clamp(0.05rem, 0.12vw, 0.1rem);
 background-color: transparent;
 white-space: nowrap;
}

/* TEXTO "INGENIERÍA ESTRUCTURAL" */
.main-text .text-ingenieria {
 font-size: 1.15vw;
 font-weight: 400;
 color: var(--color-text-medium);
 line-height: 1.2;
 letter-spacing: clamp(0.05rem, 0.12vw, 0.1rem);
 margin: 0;
 background-color: transparent;
 white-space: nowrap;
}
/* ===================================
   CONTENIDO PRINCIPAL
   =================================== */
.main-content {
  position: relative;
  overflow: visible;
  background-repeat: no-repeat;
  background-position: top center;
}

.content-area {
  position: relative;
  z-index: 2;
}

/* ===================================
   HEADER DE CONTACTO
   =================================== */
.contact-header {
  position: absolute;
  top: 4.8rem;
  display: grid;
  left: clamp(-0.8rem, -1.5vw, -1rem);
  right: -4.2vw;
  background-color: var(--color-header-bg);
  padding: 2.5rem 2.6rem;
  z-index: var(--z-contact-header);
  box-sizing: border-box;
  margin: 0;
}

.contact-header::before,
.contact-header::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 0px solid transparent;
  transform: translateZ(0);
}

.contact-header::before {
  top: -8px;
  border-bottom: 8px solid var(--color-primary-blue-dark);
}

.contact-header::after {
  bottom: -8px;
  border-top: 8px solid var(--color-primary-blue-dark);
}

.contact-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5.6vw;
  padding-left: 3.8vw;
  transition: gap 0.2s ease;
}

.contact-item {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 0.8vw;
  font-weight: 400;
  transition: font-size 0.2s ease;
}

.contact-item a {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-secondary);
}

.contact-item.phone a {
  font-weight: 500;
}

.contact-item:hover {
  color: var(--color-accent-yellow-hover);
  text-shadow: 0 0 20px rgba(255, 214, 10, 0.441);
}

.contact-icon {
  width: 1.7vw;
  height: 1.7vw;
  background-color: var(--color-accent-yellow);
  border-radius: 50%;
  margin-right: clamp(0.8rem, 1.2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-icon-img {
  width: 1vw;
  height: 1vw;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.facebook-icon {
  margin-right: 0;
  margin-left: -1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facebook-icon .contact-icon-img {
  align-self: flex-end;
  width: 1.9vw;
  height: 1.4vw;
}

.email-icon,
.phone-icon {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-header {
  transition: padding 0.3s ease;
}

.contact-item {
  transition: font-size 0.3s ease;
}

.contact-icon {
  transition: width 0.3s ease, height 0.3s ease;
}

/* ===================================
   FOOTER DE CONTACTO
   =================================== */
.footer-contacto {
  position: relative;
  color: white;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.footer-two-sections {
  display: flex;
  min-height: 37.2rem;
  width: 100%;
}

.footer-logo-section {
  background-color: #212121;
  flex: 0 0 36.1%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  background-color: var(--color-white);
  padding: 1rem 3rem;
}

.footer-logo-container img {
  max-width: 280px;
  max-height: 254px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-contact-section {
  background-color: #171717;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
}

.contact-items-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 6rem;
}

.contact-item-horizontal {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-icon-simple {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #015ea3;
  border-radius: 50%;
  margin-top: 0.2rem;
}

.icon-blue {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-text {
  flex: 1;
}

.contact-label {
  color: white;
  font-family: var(--font--footer);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  line-height: 1.2;
}

.contact-data {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  line-height: 1.4;
  font-family: var(--font--footer);
  font-weight: 400;
}

.contact-data a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-secondary, "Poppins", sans-serif);
  font-weight: 400;
}

.contact-data a:hover {
  color: var(--color-primary-blue, #015ea3);
}

.contact-data address {
  font-style: normal;
  line-height: 1.4;
}

.copyright-bar {
  background-color: var(--color-primary-blue);
  color: white;
  min-height: 11rem;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}

.container-footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
  padding: 0 16rem;
}

.copyright-text,
.desarrollo-por {
  font-size: 1.1rem;
  font-family: var(--font-fallback);
  font-weight: normal;
}

.desarrollo-por {
  display: flex;
  align-items: center;
}

.tecweb-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  transition: opacity 0.3s ease;
}

.tecweb-link:hover {
  opacity: 0.8;
}

.tecweb-logo {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.5rem;
}

/* ===================================
   ANIMACION PARA TRANSICION DE MQ
   =================================== */

.footer-two-sections {
  transition: min-height 0.3s ease, flex-direction 0.3s ease;
}

.footer-logo-section {
  transition: padding 0.3s ease, justify-content 0.3s ease;
}

.footer-logo-container {
  transition: padding 0.3s ease, justify-content 0.3s ease;
}

.footer-logo-container img {
  transition: max-width 0.3s ease, max-height 0.3s ease;
}

.footer-contact-section {
  transition: padding 0.3s ease;
}

.contact-items-container {
  transition: gap 0.3s ease, flex-direction 0.3s ease, align-items 0.3s ease;
}

.contact-item-horizontal {
  transition: justify-content 0.3s ease, text-align 0.3s ease, gap 0.3s ease,
    padding 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.contact-icon-simple {
  transition: width 0.3s ease, height 0.3s ease, margin-top 0.3s ease,
    order 0.3s ease;
}

.icon-blue {
  transition: width 0.3s ease, height 0.3s ease;
}

.contact-text {
  transition: order 0.3s ease;
}

.contact-label {
  transition: font-size 0.3s ease;
}

.contact-data {
  transition: font-size 0.3s ease;
}

.copyright-bar {
  transition: min-height 0.3s ease;
}

.copyright-content {
  transition: padding 0.3s ease, flex-direction 0.3s ease, gap 0.3s ease,
    justify-content 0.3s ease, text-align 0.3s ease;
}

.copyright-text,
.desarrollo-por {
  transition: font-size 0.3s ease, width 0.3s ease, text-align 0.3s ease,
    justify-content 0.3s ease;
}

.tecweb-logo {
  transition: width 0.3s ease, height 0.3s ease;
}

/* ===================================
   SECCIÓN CONSTRUCTORA VIGOVI
   =================================== */

.vigovi-section {
  width: 100%;
  padding: 0;
  background-color: var(--color-white);
  position: relative;
  height: 100%;
  min-height: 600px;
}

.vigovi-container {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: none;
  margin: 0;
  height: 100%;
  min-height: 600px;
  padding: 0 0 6rem 0rem;
}

/* ===================================
   LADO IZQUIERDO - IMAGEN
   =================================== */
.vigovi-image-side {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vigovi-image-container {
  width: 1895px;
  height: 609px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../img/sections/section1/imagen1.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.vigovi-image-top {
  position: absolute;
  top: 22%;
  left: 47%;
  width: 507px;
  height: 324px;
  z-index: 10;
  background-image: url("../img/sections/section1/imagen2.png");
  background-color: transparent;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  border: 1.5rem solid white;
}

/* ===================================
   LADO DERECHO - CONTENIDO
   =================================== */
.vigovi-content-side {
  flex: 1;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 6rem 4rem 0rem;
  position: relative;
}

.vigovi-content {
  max-width: 500px;
  width: 100%;
}

.vigovi-header {
  margin-bottom: 3rem;
  width: 120%;
}

.vigovi-title {
  font-family: var(--font-primary);
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vigovi-constructora {
  font-size: 5.5rem;
  font-weight: 400;
  color: var(--color-primary-blue);
  letter-spacing: 0.1rem;
}

.vigovi-brand {
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  letter-spacing: 0.05rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.8rem;
}

.vigovi-sa {
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  letter-spacing: 0.1rem;
}

.vigovi-description {
  font-family: var(--font-opensans);
  font-size: 1.7rem;
  line-height: 2;
  color: var(--color-text-medium2);
  font-weight: 400;
  text-align: left;
  max-width: 100%;
}

.vigovi-description p {
  margin: 0;
  width: 110%;
}

/* ===================================
  TRANSICIONES SUAVES PARA VIGOVI
  =================================== */

.vigovi-section {
  transition: all 0.3s ease;
}

.vigovi-container {
  transition: flex-direction 0.3s ease, padding 0.3s ease, gap 0.3s ease,
    min-height 0.3s ease;
}

.vigovi-image-side {
  transition: flex 0.3s ease, justify-content 0.3s ease;
}

.vigovi-image-container {
  transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease,
    box-shadow 0.3s ease;
}

.vigovi-image-top {
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease,
    border-width 0.3s ease;
}

.vigovi-content-side {
  transition: padding 0.3s ease, text-align 0.3s ease, justify-content 0.3s ease;
}

.vigovi-content {
  transition: max-width 0.3s ease;
}

.vigovi-header {
  transition: margin-bottom 0.3s ease, width 0.3s ease;
}

.vigovi-title {
  transition: align-items 0.3s ease, gap 0.3s ease;
}

.vigovi-constructora {
  transition: font-size 0.3s ease;
}

.vigovi-brand {
  transition: font-size 0.3s ease, justify-content 0.3s ease,
    flex-direction 0.3s ease, gap 0.3s ease;
}

.vigovi-sa {
  transition: font-size 0.3s ease;
}

.vigovi-description {
  transition: font-size 0.3s ease, line-height 0.3s ease, text-align 0.3s ease;
}

.vigovi-description p {
  transition: width 0.3s ease;
}

/* ===================================
   SEGUNDA SECCIÓN
   =================================== */

.second-section {
  width: 100%;
  height: calc(45vh + 21rem);
  min-height: calc(180px + 21rem);
  position: relative;
  overflow: hidden;
}

.second-content-area {
  height: 22rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.second-background {
  width: 100%;
  height: 50vh;
  min-height: 180px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.99) 10%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../img/sections/section1/imagen3.png");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* ===================================
   TARJETAS DE VALORES
   =================================== */

.values-container {
  position: absolute;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 6rem;
  z-index: 10;
  width: 100%;
}

.value-card {
  background-color: var(--color-primary-card);
  border-radius: 0;
  padding: 2.5rem 0rem 1.1rem 0rem;
  text-align: center;
  width: 330px;
  height: 455px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.value-description-box {
  background-color: #005fa8;
  width: 100%;
  padding: 0rem 3.3rem 0rem 3.3rem;
  margin-top: 7.5rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 50px;
  background-color: var(--color-secondary-card);
  z-index: 1;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 20px;
  background-color: var(--color-secondary-card);
  z-index: 1;
}

.value-icon {
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 2rem 0;
  z-index: 2;
}

.value-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.value-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0.1rem;
  position: absolute;
  top: 280px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 2;
}
.value-card:first-child .value-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 0.1rem;
  position: absolute;
  top: 265px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 2;
}

.value-description {
  font-family: var(--font-opensans);
  font-size: 1.45rem;
  color: white;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* ===================================
  TRANSICIONES SUAVES PARA SEGUNDA SECCIÓN
  =================================== */

.second-section {
  transition: height 0.3s ease, min-height 0.3s ease, margin 0.3s ease,
    border-radius 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.second-content-area {
  transition: height 0.3s ease, min-height 0.3s ease;
}

.second-background {
  transition: height 0.3s ease, min-height 0.3s ease, border-radius 0.3s ease,
    display 0.3s ease;
}

.values-container {
  transition: top 0.3s ease, gap 0.3s ease, flex-direction 0.3s ease,
    position 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.value-card {
  transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

.value-card::before,
.value-card::after {
  transition: width 0.3s ease, height 0.3s ease;
}

.value-icon {
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease;
}

.value-icon img {
  transition: width 0.3s ease, height 0.3s ease;
}

.value-title {
  transition: font-size 0.3s ease, top 0.3s ease;
}

.value-description-box {
  transition: padding 0.3s ease, margin-top 0.3s ease;
}

.value-description {
  transition: font-size 0.3s ease;
}

/* ===================================
   SECCIÓN NOSOTROS - HERO
   =================================== */

.nosotros-hero-section {
  width: 100%;
  height: auto;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.nosotros-hero-container {
  display: flex;
  height: auto;
  width: 100%;
}

/* ===================================
   LADO IZQUIERDO - IMAGEN
   =================================== */
.nosotros-image-side {
  flex: 0 0 55%;
  position: relative;
  background-image: url("../img/sections/section2/imagen1.png");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.nosotros-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 0.5) 70%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ===================================
   LADO DERECHO - CONTENIDO
   =================================== */
.nosotros-content-side {
  flex: 1;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0rem 6rem 0rem;
  position: absolute;
  top: 0;
  left: 43%;
  right: 0;
  bottom: 0;
  z-index: 15;
  width: 60%;
}

.nosotros-content {
  max-width: 720px;
  width: 150%;
}

.nosotros-header {
  margin-bottom: 4rem;
}

.nosotros-title {
  font-family: var(--font-primary);
  font-size: 5.1rem;
  font-weight: 700;
  color: var(--color-vigovi-blue);
  letter-spacing: 0.2rem;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.nosotros-description {
  font-family: var(--font-opensans);
  font-size: 1.7rem;
  line-height: 2;
  color: var(--color-text-medium2);
  margin-bottom: 4rem;
  letter-spacing: 0.5px;
}

.nosotros-description p:last-child {
  margin-bottom: 0;
}

.nosotros-description strong {
  color: var(--color-vigovi-blue);
  font-weight: 700;
}

/* ===================================
   BOTÓN CALL TO ACTION
   =================================== */
.nosotros-cta {
  margin-top: 5rem;
}

.nosotros-btn {
  display: inline-block;
  background-color: var(--color-accent-yellow);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 2.2rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.1rem;
}

.nosotros-btn:hover {
  background-color: rgb(255, 201, 22);
}

/* ===================================
  TRANSICIONES SUAVES PARA NOSOTROS
  =================================== */
.nosotros-hero-section {
  transition: all 0.3s ease;
}

.nosotros-hero-container {
  transition: flex-direction 0.3s ease, min-height 0.3s ease;
}

.nosotros-image-side {
  transition: flex 0.3s ease, background-position 0.3s ease;
}

.nosotros-content-side {
  transition: padding 0.3s ease, text-align 0.3s ease, justify-content 0.3s ease;
}

.nosotros-content {
  transition: max-width 0.3s ease;
}

.nosotros-title {
  transition: font-size 0.3s ease, letter-spacing 0.3s ease;
}

.nosotros-description {
  transition: font-size 0.3s ease, line-height 0.3s ease, text-align 0.3s ease;
}

.nosotros-btn {
  transition: all 0.3s ease, font-size 0.3s ease, padding 0.3s ease,
    width 0.3s ease;
}

/* ===================================
   SECCIÓN MISIÓN Y VISIÓN
   =================================== */

.mision-vision-section {
  width: 100%;
  height: 640px;
  position: relative;
  background-image: url("../img/sections/section2/imagen2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}

.mision-vision-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1700px;
  margin: 0 auto;
  padding: 11rem 4rem;
  position: relative;
  z-index: 10;
  gap: 2rem;
}

/* ===================================
   LADO IZQUIERDO - CONTENIDO
   =================================== */
.mision-vision-content-side {
  flex: 1;
  max-width: 800px;
  padding-left: 26.5rem;
}

.mision-vision-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 115%;
}

/* Estilos para Misión */
.mision-block {
  margin-bottom: 1rem;
}

.mision-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-transform: capitalize;
}

.mision-description {
  font-family: var(--font-opensans);
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--color-white);
  margin: 0;
  font-weight: 400;
}

/* Estilos para Visión */
.vision-block {
  margin-bottom: 0;
}

.vision-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-transform: capitalize;
}

.vision-description {
  font-family: var(--font--footer);
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--color-white);
  margin: 0;
  font-weight: 400;
}

/* ===================================
   LADO DERECHO - IMAGEN
   =================================== */
.mision-vision-image-side {
  flex: 0 0 650px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mision-vision-image-container {
  width: 100%;
  max-width: 650px;
  position: relative;
}
.mision-vision-image {
  width: 100%;
  height: auto;
  border-radius: 25px;
  object-fit: cover;
  aspect-ratio: 664/442;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===================================
  TRANSICIONES SUAVES PARA MISION Y VISION
  =================================== */

.mision-vision-section {
  transition: height 0.3s ease, min-height 0.3s ease, padding 0.3s ease;
}

.mision-vision-container {
  transition: max-width 0.3s ease, padding 0.3s ease, gap 0.3s ease,
    flex-direction 0.3s ease;
}

.mision-vision-content-side {
  transition: max-width 0.3s ease, padding-left 0.3s ease, order 0.3s ease;
}

.mision-vision-content {
  transition: width 0.3s ease, gap 0.3s ease, text-align 0.3s ease;
}

.mision-title,
.vision-title {
  transition: font-size 0.3s ease, margin 0.3s ease;
}

.mision-description,
.vision-description {
  transition: font-size 0.3s ease, line-height 0.3s ease, text-align 0.3s ease;
}

.mision-vision-image-side {
  transition: flex 0.3s ease, order 0.3s ease, width 0.3s ease,
    max-width 0.3s ease, margin 0.3s ease;
}

.mision-vision-image-container {
  transition: max-width 0.3s ease;
}

/* ===================================
  SECCIÓN NUESTROS VALORES
  =================================== */

.valores-section {
  width: 100%;
  height: 500px;
  padding: 6rem 0;
  background-color: var(--color-white);
  position: relative;
}

.valores-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.valores-header {
  margin-bottom: 6rem;
}

.valores-title {
  font-family: var(--font-primary);
  font-size: 5.5rem;
  font-weight: 400;
  color: var(--color-vigovi-blue);
  margin: 0;
  letter-spacing: 0.1rem;
}

.valores-highlight {
  color: var(--color-primary-blue);
  font-weight: 700;
}

.valores-cards-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8rem;
  flex-wrap: wrap;
}

.valor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
}

.valor-icon {
  width: 150px;
  height: 150px;
  background-color: var(--color-primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.valor-card:nth-child(2) .valor-icon img {
  width: 95px;
  height: 95px;
}

.valor-card:nth-child(3) .valor-icon img {
  width: 95px;
  height: 95px;
}

.valor-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-primary-blue);
  margin: 0;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 150px;
}

/* ===================================
  TRANSICIONES SUAVES PARA MISION Y VISION
  =================================== */

.valores-section {
  transition: height 0.3s ease, min-height 0.3s ease, padding 0.3s ease;
}

.valores-container {
  transition: max-width 0.3s ease, padding 0.3s ease;
}

.valores-header {
  transition: margin-bottom 0.3s ease;
}

.valores-title {
  transition: font-size 0.3s ease;
}

.valores-cards-container {
  transition: gap 0.3s ease, flex-direction 0.3s ease, align-items 0.3s ease;
}

.valor-card {
  transition: width 0.3s ease, max-width 0.3s ease;
}

.valor-icon {
  transition: width 0.3s ease, height 0.3s ease, margin-bottom 0.3s ease;
}

.valor-icon img {
  transition: width 0.3s ease, height 0.3s ease;
}

.valor-title {
  transition: font-size 0.3s ease, max-width 0.3s ease;
}

/* ===================================
  SECCIÓN SERVICIOS
  =================================== */

.servicios-section {
  width: 100%;
  padding-bottom: 8rem;
  position: relative;
}

.servicios-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
}

.servicios-header {
  text-align: right;
  margin-bottom: 6rem;
  padding-inline: 2rem;
}

.servicios-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 400;
  color: var(--color-vigovi-blue);
  margin: 0 0 1rem 0;
  letter-spacing: 0.1rem;
}

.servicios-subtitle {
  font-family: var(--font-primary);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  margin: 0;
  letter-spacing: 0.1rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-principal {
  grid-column: 1 / -1;
  grid-row: 1;
}

.servicio-principal .servicio-info {
  padding: 3rem 2rem;
}

.servicio-inferior .servicio-info {
  padding: 3rem 2rem;
}

.servicios-row-superior {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

.servicio-inferior {
  grid-column: 1 / -1;
  grid-row: 3;
}

.servicio-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.servicio-principal .servicio-image {
  height: 385px;
}

.servicio-inferior .servicio-image {
  height: 385px;
}

.servicio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.servicio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary-blue) 0%,
    var(--color-vigovi-blue) 100%
  );
  padding: 2rem;
  text-align: center;
}

.servicio-titulo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.servicio-principal .servicio-titulo {
  font-size: 2.2rem;
}

.servicio-inferior .servicio-titulo {
  font-size: 2.2rem;
}
/* ===================================
  TRANSICIONES SUAVES PARA SERVICIOS
  =================================== */
.servicios-section {
  transition: padding-bottom 0.3s ease;
}

.servicios-container {
  transition: max-width 0.3s ease, padding 0.3s ease;
}

.servicios-header {
  transition: margin-bottom 0.3s ease, padding-inline 0.3s ease,
    text-align 0.3s ease;
}

.servicios-title {
  transition: font-size 0.3s ease;
}

.servicios-subtitle {
  transition: font-size 0.3s ease;
}

.servicios-grid {
  transition: gap 0.3s ease;
}

.servicios-row-superior {
  transition: gap 0.3s ease;
}

.servicio-card {
  transition: width 0.3s ease, max-width 0.3s ease, margin 0.3s ease,
    transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-image {
  transition: height 0.3s ease;
}

.servicio-titulo {
  transition: font-size 0.3s ease;
}

/* ===================================
   SECCIÓN PROYECTOS
   =================================== */
.proyectos-hero-section {
  width: 100%;
  min-height: 22.5rem;
  position: relative;
  background-image: url(../img/sections/section4/estructura/imagen14.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 40rem;
}

.proyectos-hero-container {
  position: relative;
  z-index: 2;
  max-width: 60vw;
  width: 100%;
  text-align: center;
}

.proyectos-header {
  margin-bottom: 0;
}

.proyectos-title {
  font-family: var(--font-primary);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.proyectos-subtitle {
  font-size: 3vw;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.1rem;
  line-height: 1.2;
  text-transform: none;
}

.proyectos-main-title {
  font-size: 2.8vw;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.15rem;
  line-height: 1.1;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.proyectos-highlight {
  color: var(--color-accent-yellow);
  font-weight: 700;
}

/* ===================================
   SECCIÓN GALERÍA DE PROYECTOS - ORIGINAL
   =================================== */

.proyectos-galeria-section {
  width: 100%;
  background-color: var(--color-white);
  padding: 2rem 2rem 5rem 2rem;
  position: relative;
}

.proyectos-galeria-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ===================================
   GRID DE GALERÍA
   =================================== */

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.galeria-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    width: 100%;
}

.galeria-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.03);
}

/* ===================================
   OVERLAY DE ZOOM
   =================================== */

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-blue);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.galeria-item:hover .zoom-icon {
  transform: scale(1);
}

.zoom-icon svg {
  width: 24px;
  height: 24px;
}

/* ===================================
   CONTADOR DE IMÁGENES
   =================================== */

.galeria-contador {
  text-align: center;
  margin-bottom: 3rem;
}

.contador-actual {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  color: var(--color-text-medium);
  font-weight: 500;
}

#imagenes-mostradas {
  color: var(--color-primary-blue);
  font-weight: 600;
}

/* ===================================
   BOTÓN LOAD MORE
   =================================== */

.load-more-container {
  text-align: center;
  margin-top: 4rem;
}

.load-more-btn {
  background: linear-gradient(
    135deg,
    var(--color-primary-blue) 0%,
    var(--color-vigovi-blue) 100%
  );
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(1, 94, 163, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  position: relative;
  overflow: hidden;
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 94, 163, 0.4);
  background: linear-gradient(
    135deg,
    var(--color-vigovi-blue) 0%,
    var(--color-primary-blue) 100%
  );
}

.load-more-btn:active {
  transform: translateY(0);
}

.load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(1, 94, 163, 0.3);
}

/* Estados del botón */
.btn-text,
.btn-loading {
  transition: opacity 0.3s ease;
}

.load-more-btn.loading .btn-text {
  opacity: 0;
}

.load-more-btn.loading .btn-loading {
  display: inline-flex !important;
}

/* Spinner de carga */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   ANIMACIONES PARA NUEVAS IMÁGENES
   =================================== */

.galeria-item.new-item {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: fadeInUp 0.5s ease forwards;
}

.galeria-item.new-item:nth-child(odd) {
  animation-delay: 0.1s;
}

.galeria-item.new-item:nth-child(even) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===================================
   MENSAJE SIN IMÁGENES
   =================================== */

.no-imagenes {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  border-radius: 12px;
  border: 2px dashed #ccc;
}

.no-imagenes p {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: #666;
  margin: 0;
}

/* ===================================
   CONTADOR EN IMAGEN
   =================================== */

.image-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===================================
   ESTADO SIN MÁS IMÁGENES
   =================================== */

.load-more-btn.no-more {
  background: #6c757d;
  cursor: default;
}

.load-more-btn.no-more:hover {
  transform: none;
  background: #6c757d;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* ===================================
   GRID DE GALERÍA
   =================================== */

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.galeria-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.galeria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

/* ===================================
   OVERLAY DE ZOOM
   =================================== */

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(85, 85, 85, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transform: scale(1.5);
  transition: transform 0.3s ease;
}

.galeria-item:hover .zoom-icon {
  transform: scale(2);
}

.zoom-icon svg {
  width: 30px;
  height: 30px;
}

/* ===================================
   MENSAJE SIN IMÁGENES
   =================================== */

.no-imagenes {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  border-radius: 12px;
  border: 2px dashed #ccc;
}

.no-imagenes p {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: #666;
  margin: 0;
}

/* ===================================
   SECCIÓN PRINCIPAL DE CONTACTO
   =================================== */
.contacto-hero-section {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 4rem 4rem 4rem;
  position: relative;
  min-height: 600px;
}

.contacto-hero-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.9rem;
}

.contacto-header-banner {
  width: 100%;
  background-image: url(../img/sections/section5/imagen1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 3.5rem 6rem;
  text-align: center;
  overflow: hidden;
}

.contacto-main-title {
  font-family: var(--font-primary);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  line-height: 1.1;
}

.contacto-subtitle-section {
  width: 100%;
  text-align: center;
}

.contacto-subtitle {
  font-family: var(--font-opensans);
  font-size: 1.8rem;
  color: var(--color-text-medium2);
  margin: 0;
  line-height: 1.5;
}

.contacto-subtitle-bold {
  font-weight: 700;
  color: var(--color-text-dark);
}

.contacto-form-container {
  width: 100%;
  background-color: var(--color-white);
  padding: 0;
}

.contacto-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-row {
  display: flex;
  gap: 0.8rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group-third {
  flex: 1;
  min-width: 0;
}

.form-group-full {
  width: 100%;
}

.form-input,
.form-textarea {
  font-family: var(--font-vergara);
  padding: 1.8rem 1.8rem;
  border: none;
  background-color: #e8e8e8;
  border-radius: 0;
  outline: none;
  color: var(--color-text-medium);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999999;
  font-weight: 400;
  opacity: 1;
  font-size: 1.1rem;
  min-height: 1.5rem;
}

.form-input:focus,
.form-textarea:focus {
  background-color: #dcdcdc;
  box-shadow: 0 0 0 3px rgba(1, 94, 163, 0.1);
}

.form-textarea {
  resize: vertical;
  line-height: 1.6;
  font-family: var(--font-verdana);
}

.form-submit-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.contacto-submit-btn {
  background: #015ea3;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: normal;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  min-width: 165px;
}

.contacto-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(1, 94, 163, 0.35);
}

.contacto-submit-btn:active {
  box-shadow: 0 2px 8px rgba(1, 94, 163, 0.3);
}

/* ===================================
  TRANSICIONES SUAVES PARA CONTACTO
  =================================== */

.contacto-hero-section {
  transition: all 0.3s ease, padding 0.3s ease, min-height 0.3s ease;
}

.contacto-hero-container {
  transition: max-width 0.3s ease, gap 0.3s ease;
}

.contacto-header-banner {
  transition: padding 0.3s ease, background-size 0.3s ease;
}

.contacto-main-title {
  transition: font-size 0.3s ease, line-height 0.3s ease;
}

.contacto-subtitle {
  transition: font-size 0.3s ease, line-height 0.3s ease;
}

.contacto-form {
  transition: gap 0.3s ease;
}

.form-row {
  transition: gap 0.3s ease, flex-direction 0.3s ease;
}

.form-group-third {
  transition: width 0.3s ease;
}

.form-input,
.form-textarea {
  transition: all 0.3s ease, padding 0.3s ease, font-size 0.3s ease;
}

.contacto-submit-btn {
  transition: all 0.3s ease, font-size 0.3s ease, padding 0.3s ease,
    width 0.3s ease, max-width 0.3s ease, min-width 0.3s ease;
}

.form-submit-container {
  transition: margin-top 0.3s ease;
}

/* ===================================
   SECCIÓN DE INFORMACIÓN DE CONTACTO
   =================================== */

.contacto-info-section {
  width: 100%;
  height: auto;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.contacto-info-overlay-image {
  position: absolute;
  bottom: 0;
  left: 42%;
  transform: translateX(-65%);
  width: 355px;
  height: 578px;
  z-index: 3;
  pointer-events: none;
}

.contacto-info-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 650px;
}

.contacto-info-image-side {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-info-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.contacto-info-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 75%
  );
  z-index: 1;
}

.contacto-info-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.contacto-info-content-side {
  flex: 1;
  background-image: url("../img/sections/section5/imagen2copia.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 16rem;
  position: relative;
}

.contacto-info-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 500px;
}

.contacto-info-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.contacto-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contacto-info-item:nth-child(2) .contacto-info-icon img {
  width: 30px;
  height: 23px;
}

.contacto-info-icon img {
  width: 30px;
  height: 30px;
}

.contacto-info-text {
  flex: 1;
}

.contacto-info-label {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.contacto-info-data {
  font-family: var(--font-opensans);
  font-size: 2.5rem;
  color: var(--color-white);
  margin: 0;
  line-height: 1.4;
}

.contacto-info-data a {
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contacto-info-data a:hover {
  color: var(--color-accent-yellow);
  text-shadow: 0 0 10px rgba(247, 187, 19, 0.5);
}

/* ===================================
  TRANSICIONES
  =================================== */

.contacto-info-section {
  transition: min-height 0.3s ease, background-color 0.3s ease,
    padding 0.3s ease;
}

.contacto-info-container {
  transition: flex-direction 0.3s ease, min-height 0.3s ease;
}

.contacto-info-image-side {
  transition: flex 0.3s ease, order 0.3s ease, height 0.3s ease,
    display 0.3s ease;
}

.contacto-info-overlay-image {
  transition: all 0.3s ease, left 0.3s ease, transform 0.3s ease,
    width 0.3s ease, height 0.3s ease, bottom 0.3s ease, display 0.3s ease;
}

.contacto-info-overlay-image img {
  transition: width 0.3s ease, height 0.3s ease;
}

.contacto-info-content-side {
  transition: padding-inline 0.3s ease, padding 0.3s ease,
    background-image 0.3s ease, justify-content 0.3s ease, order 0.3s ease;
}

.contacto-info-content {
  transition: gap 0.3s ease, max-width 0.3s ease, text-align 0.3s ease;
}

.contacto-info-item {
  transition: all 0.3s ease, padding 0.3s ease, gap 0.3s ease,
    flex-direction 0.3s ease, background-color 0.3s ease,
    border-radius 0.3s ease, box-shadow 0.3s ease, margin-bottom 0.3s ease,
    align-items 0.3s ease;
}

.contacto-info-icon {
  transition: all 0.3s ease, width 0.3s ease, height 0.3s ease,
    background-color 0.3s ease, align-self 0.3s ease, flex-shrink 0.3s ease;
}

.contacto-info-icon img {
  transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease;
}

.contacto-info-text {
  transition: text-align 0.3s ease;
}

.contacto-info-label {
  transition: font-size 0.3s ease, color 0.3s ease;
}

.contacto-info-data {
  transition: font-size 0.3s ease, color 0.3s ease;
}

.contacto-info-data a {
  transition: all 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

/* ===================================
  SECCIÓN DE DIRECCIÓN 
  =================================== */

.direccion-section {
  width: 100%;
  background-color: var(--color-primary-blue);
  padding: 3.9rem 0;
  position: relative;
}

.direccion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.direccion-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.direccion-icon img {
  width: 15px;
  height: 18px;
}

.direccion-texto {
  font-family: var(--font-fallback);
  font-size: 1.8rem;
  color: var(--color-white);
  margin: 0;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
}

/* ===================================
   SECCIÓN DE MAPA
   =================================== */

.mapa-section {
  width: 100%;
  background-color: var(--color-white);
  padding: 0;
  position: relative;
}

.mapa-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mapa-content {
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}

.mapa-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===================================
   ESTILOS PARA FORMULARIO DE CONTACTO
   =================================== */

/* Contenedor del reCAPTCHA */
.recaptcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

/* ===================================
   MENSAJES DE ERROR POR CAMPO
   =================================== */
.error-mensaje {
  display: none;
  color: #e74c3c;
  font-family: var(--font-opensans);
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
  line-height: 1.3;
  position: relative;
  padding-left: 1.5rem;
}

.error-mensaje:before {
  content: "⚠";
  position: absolute;
  left: 0;
  top: 0;
  color: #e74c3c;
  font-weight: bold;
}

.error-mensaje.show {
  display: block;
}

/* ===================================
   MENSAJE DE ÉXITO INTEGRADO
   =================================== */
.mensaje-exito {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mensaje-exito .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  animation: bounceIn 0.6s ease-out;
}

.mensaje-exito p {
  font-family: var(--font-opensans);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.mensaje-exito-flotante {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    z-index: 9999;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.4);
    font-family: var(--font-opensans);
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    max-width: 400px;
    display: none;
}

/* ===================================
   ALERTAS GENERALES (VIGOVI)
   =================================== */
.alerta-vigovi {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  font-family: var(--font-opensans);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease-out;
}

.alerta-vigovi.error-box {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: var(--color-white);
  border-left: 5px solid #a93226;
}

.alerta-vigovi.success-box {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: var(--color-white);
  border-left: 5px solid #229954;
}

/* ===================================
   LOADING VIGOVI
   =================================== */
#loading-vigovi {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: var(--color-white);
  font-family: var(--font-opensans);
}

.spinner-vigovi {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--color-accent-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

#loading-vigovi span {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-white);
}

/* ===================================
   EFECTOS Y ANIMACIONES
   =================================== */

/* Efecto shake para errores */
.shake {
  animation: shake 0.6s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Efecto fade-in para mensaje de éxito */
.fade-in-success {
  animation: fadeInSuccess 0.8s ease-out;
}

@keyframes fadeInSuccess {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Efecto bounce para icono de éxito */
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  70% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Efecto slide-in para alertas */
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animación del spinner */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===================================
   EFECTOS EN INPUTS (VIGOVI)
   =================================== */

/* Estado focused para campos */
.form-group.focused .form-input,
.form-group.focused .form-textarea {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(1, 94, 163, 0.1);
  background-color: #f8f9fa;
}

/* Hover mejorado en inputs */
.form-input:hover,
.form-textarea:hover {
  border-color: var(--color-secondary-teal);
  transition: all 0.3s ease;
}

/* Estados de error en inputs */
.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #e74c3c;
  background-color: #fdf2f2;
}

/* Estados de éxito en inputs */
.form-group.success .form-input,
.form-group.success .form-textarea {
  border-color: #27ae60;
  background-color: #f2fdf4;
}

/* ===================================
   MEJORAS AL BOTÓN DE ENVÍO
   =================================== */
.contacto-submit-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contacto-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 94, 163, 0.3);
}

.contacto-submit-btn:active {
  transform: translateY(0);
}

.contacto-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ===================================
   ANIMACIONES WOW
   =================================== */

.fade-in-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.fade-in-scroll.from-top {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-bottom {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-left {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.from-right {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-scroll.active,
.fade-in-scroll.from-top.active,
.fade-in-scroll.from-bottom.active,
.fade-in-scroll.from-left.active,
.fade-in-scroll.from-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ===================================
   PÁGINA ERROR 404
   =================================== */

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.error-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(1, 94, 163, 0.05) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.error-container > * {
  position: relative;
  z-index: 2;
}

.error-container h1 {
  font-family: var(--font-primary);
  font-size: 15rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--color-primary-blue) 0%,
    var(--color-vigovi-blue) 50%,
    var(--color-accent-yellow) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 2rem 0;
  line-height: 0.9;
  text-shadow: none;
  animation: pulse 2s ease-in-out infinite;
}

.error-container h2 {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-vigovi-blue);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.error-container p {
  font-family: var(--font-opensans);
  font-size: 1.8rem;
  color: var(--color-text-medium);
  margin: 0 0 4rem 0;
  line-height: 1.6;
  max-width: 600px;
  font-weight: 400;
}

.boton-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    var(--color-primary-blue) 0%,
    var(--color-vigovi-blue) 100%
  );
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.8rem 4rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  box-shadow: 0 8px 25px rgba(1, 94, 163, 0.3);
  position: relative;
  overflow: hidden;
}

.boton-contacto::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.boton-contacto:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(1, 94, 163, 0.4);
  background: linear-gradient(
    135deg,
    var(--color-vigovi-blue) 0%,
    var(--color-accent-yellow) 100%
  );
  color: var(--color-white);
  text-decoration: none;
}

.boton-contacto:hover::before {
  left: 100%;
}

.boton-contacto:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}

.boton-contacto::after {
  content: "→";
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.boton-contacto:hover::after {
  transform: translateX(3px);
}

/* ANIMACIONES */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* ELEMENTOS DECORATIVOS */
.error-container::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: var(--color-accent-yellow);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 4s ease-in-out infinite reverse;
  z-index: 1;
}

/* ===================================
BOTON PARA IR ARRIBA
   =================================== */
a#toTop {
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 37px;
  color: var(--color-gray-light);
  border-radius: 50%;
  position: fixed;
  background: var(--color-accent-yellow);
  -moz-box-shadow: 0 0 3px 2px #fff;
  -ms-box-shadow: 0 0 3px 2px #fff;
  -o-box-shadow: 0 0 3px 2px #fff;
  -webkit-box-shadow: 0 0 3px 2px #fff;
  box-shadow: 0 0 3px 2px #fff;
  left: 40px;
  bottom: 90px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  z-index: 20;
  padding: 30px 0 0 30px;
}
a#toTop::before {
  display: block;
  content: "‹";
  transform: rotate(90deg);
  font-size: 50px;
  text-align: center;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 100%;
}
